animate_image
Animates a static local image into an MP4 video using AI image-to-video. Provide the image path and a prompt describing the desired motion to generate the clip.
Instructions
Animate a static image using AI image-to-video (fal). The source image is a local file path. Requires a fal API key. Returns the path to the generated MP4.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image_path": "<image_path>",
"prompt": "<prompt>"
},
"name": "animate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | fal model id. Omit for the default. | |
| prompt | Yes | How to animate the image | |
| duration | No | Duration in seconds (provider-dependent). | |
| image_path | Yes | Local path to the source image |