flow_reference_to_video
Generate a new video by combining reference images with a text prompt in Google Flow, using product, character, or style references to guide the scene.
Instructions
Generate a new video guided by reference images (product, character, style) in Google Flow (Ingredients to Video).
Args: prompt: Natural-language prompt describing how the reference images should be combined in the scene. reference_images: List of local image paths to use as ingredients/references. reference_videos: Optional reference video paths (API mode). 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.
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_reference_to_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| duration | No | ||
| resolution | No | 720p | |
| output_path | No | ||
| aspect_ratio | No | 16:9 | |
| reference_images | No | ||
| reference_videos | No | ||
| use_browser_credits | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |