flow_frames_to_video
Animates a starting image or interpolates between first and last frames in Google Flow, turning stills into MP4 videos from a prompt with configurable aspect ratio, duration, and resolution.
Instructions
Animate a starting image frame or interpolate smoothly between a starting frame and an ending frame in Google Flow.
Args: prompt: Description of the camera motion, action, transition, and sound design. first_frame: Local file path for the starting frame. last_frame: Optional local file path for the ending frame. aspect_ratio: '16:9' or '9:16'. Default '16:9'. duration: Duration in seconds (default 10). resolution: '360p', '720p', '1080p', or '4k'. Default '720p'. output_path: Optional local file path to save the generated MP4. use_browser_credits: If True (default), uses your logged-in Google Flow web session & credits without needing an API key.
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>",
"first_frame": "<first_frame>"
},
"name": "flow_frames_to_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| duration | No | ||
| last_frame | No | ||
| resolution | No | 720p | |
| first_frame | Yes | ||
| output_path | No | ||
| aspect_ratio | No | 16:9 | |
| use_browser_credits | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |