generate_video_from_image
Animate static images into videos using text prompts to guide motion and effects. Transform photos into dynamic content by describing desired animation sequences.
Instructions
Animate an image into a video. The image serves as the starting frame and the prompt guides the animation. Use upload_file first if you have a local image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_url | Yes | URL of the image to animate (use upload_file for local images) | |
| prompt | Yes | Text description guiding how to animate the image (e.g., 'camera slowly pans right, gentle breeze moves the leaves') | |
| model | No | Image-to-video model. Options: fal-ai/wan-i2v, fal-ai/kling-video/v2.1/standard/image-to-video | fal-ai/wan-i2v |
| duration | No | Video duration in seconds | |
| aspect_ratio | No | Video aspect ratio (e.g., '16:9', '9:16', '1:1') | 16:9 |
| negative_prompt | No | What to avoid in the video (e.g., 'blur, distort, low quality') | |
| cfg_scale | No | Classifier-free guidance scale (0.0-1.0). Lower values give more creative results. |