flow_image_to_video
Generates or reuses an anchor image, then animates it into a short video from a movement prompt, with controls for duration, aspect ratio, resolution, and style.
Instructions
Pipeline: make (or reuse) an anchor image, then animate it with Gemini Omni Flash.
Args: video_prompt: How the scene should move. image_prompt: Prompt for a new anchor image (if image_path is not given). image_path: Existing image to animate. image_model: 'pro' (default here, best detail), 'fast' or 'lite'. duration_seconds: 3-15. aspect_ratio: '16:9' or '9:16'. Overrides preset. resolution: '360p', '720p', '1080p' or '4k'. preset: e.g. 'shorts' or 'youtube-thumbnail'. style: Style preset for the anchor image. negative_prompt: Things to avoid in both steps. confirm_cost: Set true only after the user accepted the cost estimate. output_dir: Override the output folder.
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": {
"video_prompt": "<video_prompt>"
},
"name": "flow_image_to_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | ||
| preset | No | ||
| image_path | No | ||
| output_dir | No | ||
| resolution | No | 720p | |
| image_model | No | pro | |
| aspect_ratio | No | ||
| confirm_cost | No | ||
| image_prompt | No | ||
| video_prompt | Yes | ||
| negative_prompt | No | ||
| duration_seconds | No |