hermosodocs

stitch_video

Stitch multi-scene video

Area: CONTENT FACTORY · Creative generation. Generated from the running MCP server, like the rest of the tool reference.

Description

Render a multi-scene STITCHED video (≥2 scenes) — ONLY for spots LONGER than ONE clip of the chosen model. A multi-beat ad that FITS one clip renders better and cheaper as ONE single-pass generate_video/render_ad (a single generation carries the whole hook->demo->payoff arc) — never stitch those. What fits is the model’s own maximum from hermoso_capabilities, not a fixed number: 15s on most models, 30s on the longest-clip one, so a 30s spot need not be stitched at all if you name that model. Blocks until done. Spends credits.

Parameters

ParameterTypeDescription
scenesrequiredobject[]array of scene objects (visual + optional voiceover/seconds)
aspectRatiostringoutput aspect ratio, e.g. 9:16 (default) / 1:1 / 16:9
voiceoverstringfull voiceover script spoken across the scenes
voicestringvoiceover voice name, e.g. Rachel / George
resolutionstring720p (default), 1080p for full detail, or 480p for a cheaper draft
modelstringvideo model id from hermoso_capabilities — omit to let the router pick
durationSecondsnumbertotal spot length in seconds (defaults to the sum of the scenes’ seconds)
get_costbooleantrue: return the price only; nothing runs or bills
expected_creditsnumberthe get_cost price; refused unbilled if the live price differs
idempotency_keystringchosen once, resent unchanged on retries: the same key never buys twice

Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/stitch_video.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"stitch_video","arguments":{"scenes":"<array>"}}}

CLI

hermoso call stitch_video --json '{"scenes":"<array>"}'

Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.

All 102 Creative generation tools · tools.json