hermosodocs

insert_scene

Insert a new scene into a video

Area: post-production & analysis · Creative generation. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
videorequiredstringthe source video URL (a render, job result or list_library item)
startTimerequirednumberseconds into the clip where the new scene starts (1.625-60)
resumeTimerequirednumberseconds into the ORIGINAL clip where it picks up again after the new scene (2.625-60, at or after startTime)
promptstringwhat happens in the new scene: the action, the subject, the camera
secondsnumberlength of the new scene, 5-13 seconds (default 5)
refImagesstring[]up to 4 picture URLs of what should appear (the product, a person, a place)
refVideosstring[]up to 1 clip URL whose look or motion the scene follows
resolution"480p" | "720p"default 720p (rendered at 768p); '480p' is cheaper
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/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.

All 102 Creative generation tools · tools.json