insert_scene
Insert a new scene into a video
Description
INSERT a newly generated scene into a clip you already have: the video plays up to startTime, the new scene (5 to 13 seconds) plays, then the original picks up again at resumeTime. Use for a product close-up, a reaction, a reveal or a missing beat in the middle of an ad without re-rendering the rest. resumeTime = startTime keeps every second of the original; a later resumeTime also cuts the footage in between. Describe the scene in prompt and/or attach up to 4 reference pictures (refImages) or 1 reference clip (refVideos). Clips up to 60 seconds; both times between 1.625 and 60 seconds. Paid render (billed per second of NEW scene); returns the whole video's URL.
Parameters
| Parameter | Type | Description |
|---|---|---|
videorequired | string | the source video URL (a render, job result or list_library item) |
startTimerequired | number | seconds into the clip where the new scene starts (1.625-60) |
resumeTimerequired | number | seconds into the ORIGINAL clip where it picks up again after the new scene (2.625-60, at or after startTime) |
prompt | string | what happens in the new scene: the action, the subject, the camera |
seconds | number | length of the new scene, 5-13 seconds (default 5) |
refImages | string[] | up to 4 picture URLs of what should appear (the product, a person, a place) |
refVideos | string[] | up to 1 clip URL whose look or motion the scene follows |
resolution | "480p" | "720p" | default 720p (rendered at 768p); '480p' is cheaper |
get_cost | boolean | true: return the price only; nothing runs or bills |
expected_credits | number | the get_cost price; refused unbilled if the live price differs |
idempotency_key | string | chosen 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/insert_scene.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"insert_scene","arguments":{"video":"<string>","startTime":"<number>","resumeTime":"<number>"}}}
CLI
hermoso call insert_scene --json '{"video":"<string>","startTime":"<number>","resumeTime":"<number>"}'
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.
Related tools
add_presenterAdd a presenter to any videoupscale_videoUpscale videoproduct_moveSix-second product movefinish_draftFinish a draft in 1080psplit_imageCut a picture into tilesrestyle_videoRestyle a videolayerize_imageSplit an image into editable layersedit_videoEdit a video cliprepurpose_imageRepurpose a static ad into variants × formatsmultiply_adMultiply an ad