Assemble a multi-segment demo video (hands-off)
assemble_demo_videoStitches video clips + voiceover narration into a single MP4 published to Spaces. Each segment is one of: (a) videoUrl + narrationText (voiceover replaces video's audio track), (b) narrationText only (generates a brand-color title card sized to narration length), (c) videoUrl + audioUrl (drops in a pre-baked audio track). Returns a 24h signed URL to the final MP4. Use this for marketplace catalog submissions, tutorial videos, or any time you'd otherwise screen-record + iMovie by hand. Charged on success only; failed runs are free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segments | Yes | Ordered segment list. Concatenated in order. Max 12 segments / ~3 minutes total for the catalog use-case. | |
| publishAs | No | Optional. When set, ALSO writes the final MP4 to a stable Spaces path at demo-videos/promoted/<publishAs>.mp4 so a public page (e.g. /ai/demo.mp4) can keep embedding the same URL forever. Re-running with the same publishAs key overwrites. Common values: "ai-landing" (powers /ai page), "anthropic-submission" (catalog submission). | |
| outputAspect | No | 16:9 for desktop / YouTube, 9:16 for mobile / TikTok / Shorts, 1:1 for square social. | 16:9 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool result payload (JSON object) |