Assemble clips into one video
flow_assembleJoin downloaded scene clips into one MP4 using local ffmpeg, keeping each clip’s own sound and layering music, voiceover, trims, cutaways, and end cards without credits.
Instructions
Join a project's downloaded scene clips in order into one MP4 (local ffmpeg, no credits). Keeps each clip's own sound and can lay a music track and a voiceover on top.
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": {
"project": "<project>"
},
"name": "flow_assemble"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Film size as WIDTHxHEIGHT, e.g. '1080x1920' for a phone-ready vertical master. Default: the biggest clip, after any crop. | |
| clips | No | Absolute clip paths in play order. Default: every scene-NN.mp4 in the project folder (first variant of each). | |
| music | No | Absolute path to a music file; looped and trimmed to the film length. | |
| trims | No | One entry per clip, in play order: the seconds of that clip to keep, e.g. [{from: 0.6}, null, {to: 8.4}] cuts a dead start off clip 1 and an awkward pause off the end of clip 3 (null keeps a clip whole). The same clip may be listed twice with two windows to cut a repeated or fluffed line out of its middle. Use flow_transcribe's word times to find the cut points, and never cut inside a stray sound at the start of a take. | |
| inserts | No | B-roll cutaways: show another clip's picture over part of a clip while that clip's own sound keeps playing - the person keeps talking over the product shot and the picture cuts back to them mid-take, in sync and at the same loudness. Better than voice_lines when the line comes from one of the film's own clips. | |
| project | Yes | Same project name used in flow_generate. | |
| end_card | No | A closing card: big centred words over the film's own last frame, blurred and darkened. Free, made on this computer. | |
| end_hold | No | Hold the last frame this many seconds at the end, fading to black over its last `fade` seconds. | |
| loudness | No | Level the finished film's sound to this loudness in LUFS. Flow's takes come out near -24, which is quiet on a phone; social video sits around -14. | |
| voiceover | No | Absolute path to a voiceover audio file, starts at 0:00. | |
| duck_music | No | Pull the music down automatically while the voiceover speaks, and let it back up in the gaps. | |
| clip_volume | No | Volume of the clips' own sound, 0-1. Lower it (around 0.2-0.3) so a narration sits clearly on top; 1 keeps it as recorded. | |
| music_curve | No | Music level over the film on top of music_volume: {at: seconds, volume}, straight lines between points. Fade in, drop for a quiet moment, rise for the ending. | |
| output_name | No | final | |
| voice_lines | No | A timed voiceover built from separate lines, each placed at its own moment in the film - for example lines cut from several Flow takes in your avatar's voice, each landing on the title it describes. Replaces `voiceover`. | |
| music_volume | No | ||
| hold_last_frame | No | Freeze the final frame so a longer voiceover is not cut off. | |
| remove_watermark | No | Paint out the sparkle mark Google's video models put in the bottom-right corner, found automatically and filled from the pixels around it (no crop). The invisible SynthID mark stays, and platforms still expect an AI-content label. | |
| watermark_margin | No | With remove_watermark: grow the mask by this many pixels and make it a diamond. Use about 10 after a long Extend chain, where the mark has been redrawn thicker. Look at the corner afterwards. |