Assemble Film
assemble_filmQueue an assembled first cut for an existing film project by concatenating every rendered shot clip in order, optionally replacing the cut's audio with the project's audioUrl narration track. Costs 2 credits, plus 1 for each distinct clip that needs cropping or padding and was not already fitted to the same canvas by a completed assembly (completed crops are reused, so re-assembling unchanged shots does not charge for them again). Returns a job ID immediately; call check_job for the permanent cut URL. A failed job is refunded automatically. An identical assembly from the last 10 minutes returns that job without charging again.
Narration replaces all shot audio, including dialogue, lip-sync and ambience; set with_narration to false when shots carry dialogue or sound that must be kept, then layer narration or music under that audio with add_audio_to_video (audio_mode=mix) on the assembled cut. Mode "connect" is the default and preserves every clip even when the result exceeds the target duration, returning an overage warning. Mode "cut_end" trims only the end of the fully assembled output to the project's target duration.
The id must be a real value returned by create_film_project or list_film_projects. One job joins at most 50 clips; for direct video inputs not stored in a film project use merge_media. This does not mix per-shot audio, add transitions, add captions, or perform a full sound mix. On completion it saves assembledUrl and sets status to preview_ok. Run only after every intended shot has a completed clipUrl.
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": {
"id": "<id>"
},
"name": "assemble_film"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Existing film project id returned by create_film_project or list_film_projects; never use a placeholder. | |
| mode | No | connect preserves every clip and warns about target overage; cut_end trims the fully assembled output at the target duration. | connect |
| video_fit | No | Fit clips to the first clip's canvas. crop (default) and auto center-crop mismatches; pad preserves the full frame with black bars; strict (only when the user asks for it) refuses clips with a different aspect ratio. Original shot URLs are preserved; completed crops are reused on later assemblies. | crop |
| skills_used | No | Optional workflow analytics: names of the skills (or skill/reference paths) followed for this call. Stored with generation jobs only. Never include private data, local paths or media URLs. | |
| budget_project | No | Optional budget project this generation's cost counts toward, for tracking spend per client or job. Pass its slug; an id or the exact display name also works. Create one with create_budget_project and find slugs with list_budget_projects. An unknown project never stops the generation: it runs without one, and the result warns how to add it with assign_to_budget_project. | |
| with_narration | No | Replace the stitched video's audio with the project's audioUrl narration track, if present. This discards every shot's own audio, and the cut ends with the shorter of the video and narration. |