flow_generate_video
Generate videos with native audio from a text prompt using controls for duration, aspect ratio, resolution, camera moves, and image inputs to keep characters consistent.
Instructions
Generate a video with native audio using Gemini Omni Flash.
Args: prompt: Scene, camera movement, lighting, mood, sound. Say "single continuous shot" if you do not want cuts. duration_seconds: 3-15 (3-10 when last_frame_path is given). aspect_ratio: '16:9' or '9:16'. Overrides preset. resolution: '360p', '720p' (default), '1080p' or '4k' (1080p/4k are upscaled). preset: e.g. 'shorts' (9:16) or 'youtube-thumbnail' (16:9). camera: Camera move preset ('push-in', 'orbit', 'drone', 'handheld', ... see flow_list_presets) or your own description. negative_prompt: Things to avoid (e.g. "no dialogue, no text"). anchor_frame_path: Image to start from (image-to-video). last_frame_path: Image to end on (needs anchor_frame_path; interpolation). reference_image_paths: Up to 6 images of characters/objects to keep consistent. confirm_cost: Set true only after the user accepted the cost estimate. output_dir: Override the output folder. enhance_prompt: Ignored. Kept for compatibility with 0.1.0.
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": {
"prompt": "<prompt>"
},
"name": "flow_generate_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| camera | No | ||
| preset | No | ||
| prompt | Yes | ||
| output_dir | No | ||
| resolution | No | 720p | |
| aspect_ratio | No | ||
| confirm_cost | No | ||
| enhance_prompt | No | ||
| last_frame_path | No | ||
| negative_prompt | No | ||
| duration_seconds | No | ||
| anchor_frame_path | No | ||
| reference_image_paths | No |