Extend the last clip of a scene
flow_scene_extendGenerates a 7-second continuation of the last clip and downloads it as a separate media file. Automates the extend prompt in Chrome; safe to retry if already generated.
Instructions
Scene Builder "Extend": generates a 7-second continuation of the clip at after_clip_index (must be the last clip) with Veo 3.1 - Lite and downloads it as a separate media file. Spends credits when auto_confirm=true; auto_confirm=false opens the extend prompt, fills it, takes a screenshot and cancels. Safe to retry: if the extension was already generated (clip present at after_clip_index+1, or resume=true after a crash) it is downloaded instead of generated again.
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": {
"scene_url": "<scene_url>",
"prompt": "<prompt>",
"after_clip_index": "<after_clip_index>",
"output_dir": "<output_dir>"
},
"name": "flow_scene_extend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | No | ||
| prompt | Yes | What happens next; Flow continues motion and audio from the last frames | |
| resume | No | ||
| scene_url | Yes | ||
| output_dir | Yes | ||
| auto_confirm | No | ||
| after_clip_index | Yes | Index of the clip to extend (0-based); must be the last clip |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| file | No | ||
| clips | Yes | ||
| model | Yes | ||
| job_id | Yes | ||
| status | Yes | ||
| media_id | No | ||
| scene_url | Yes | ||
| clip_index | Yes | Index of the extension clip in the timeline | |
| elapsed_ms | Yes | ||
| screenshot | No | ||
| hop_seconds | Yes | ||
| total_duration_s | Yes |