video-from-image
Video from Image
Animate a single image into a dynamic video using Google DeepMind's Veo 3.1 model via fal.ai.
See references/fal-api.md for setup, Python patterns, and error handling.
API Endpoint
fal-ai/veo3.1/image-to-video
Parameters
Required
prompt(string): Text description of the video motion and action to generateimage_url(string): URL of the input image to animate (usefal_client.upload_file()for local files)
Optional
| Parameter | Type | Default | Options |
|---|---|---|---|
duration |
string | "8s" | "4s", "6s", "8s" |
aspect_ratio |
string | "auto" | "auto", "9:16", "16:9" |
resolution |
string | "720p" | "720p", "1080p" |
generate_audio |
boolean | true | Disable to save ~50% credits |
CLI Script
python3 scripts/fal_generate.py \
--endpoint video-from-image \
--prompt "Camera slowly pans across the landscape" \
--image /path/to/photo.jpg \
--duration 8s \
--video-resolution 1080p \
--output video.mp4
Tips
- Use descriptive motion language in prompts: pan, zoom, sway, flow, drift
- Describe camera movements for cinematic effects: "slow dolly forward", "aerial pull back"
- Higher resolution (1080p) gives better quality but takes longer and costs more
- Disable audio generation (
generate_audio: False) to save credits when sound is not needed - Ensure input image is at least 720p for best results
- Shorter duration (4s) generates faster and is good for quick previews
More from bluewaves-creations/bluewaves-skills
photographer-testino
Generate images in Mario Testino's glamorous vibrant style. Use when users ask for Testino style, high fashion glamour, bold saturated colors, warm luxurious photography, dynamic sensual energy.
35photographer-lindbergh
Generate images in Peter Lindbergh's iconic black and white style. Use when users ask for Lindbergh style, raw authentic beauty, emotional B&W portraits, supermodel aesthetic, or unretouched natural photography.
30photographer-lachapelle
Generate images in David LaChapelle's surreal pop art style. Use when users ask for LaChapelle style, pop surrealism, hyper-saturated colors, theatrical staging, baroque maximalism, kitsch aesthetic.
24epub-creator
Create production-quality EPUB 3 ebooks from markdown and images with automated QA, formatting fixes, and validation. Use when creating ebooks, converting markdown to EPUB, or compiling chapters into a publishable book. Handles markdown quirks, generates TOC, adds covers, and validates output automatically.
22photographer-vonunwerth
Generate images in Ellen von Unwerth's playful vintage style. Use when users ask for von Unwerth style, playful sensuality, vintage film noir, whimsical feminine photography, retro glamour, narrative storytelling.
19photographer-ritts
Generate images in Herb Ritts' sculptural black and white style. Use when users ask for Ritts style, classical Greek aesthetic, sculptural body photography, California golden hour, minimalist athletic portraits.
18