fix_beat
Fix a video beat
Description
Surgically re-render ONE time window (1.5-8s) of an existing rendered video and splice it back on the VIDEO TRACK ONLY — the rest of the video and ALL audio stay byte-identical. Use when one beat/shot is broken ('the shot at 8 seconds glitches') and a full re-render would waste the parts that worked; bills only the replacement clip's seconds (~1/3 of a full render). Do NOT pick a window covering spoken dialogue (a video-only splice under speech breaks lip-sync) — pass speechWindows to enforce this. A FINISHED VIDEO-BLOCKS FILM (make_explainer's explainer or faceless channel; get_job says it is editable) is edited ONE BLOCK at a time instead: pass `job` (its job id) and `block` (1-based) or `atSeconds`, with `prompt` for a different shot and/or `line` for new narration words. Only that block is re-rendered and/or re-read; every other block, take, the music and the captions are the film's own and stay aligned. It is priced as that block alone and charged exactly what it quotes (dryRun). The original film is kept; a new film comes back, and it can be edited again. Feedback maps to one named move, never a re-render: quieter/louder (music db, audio_gain), faster/slower (speed; slower = zooms and pans at 0.7x), tighten (trim), retime (to a word anchor), recut (order, in-out points), regrade (timeline exposure/contrast/saturation keys).
Parameters
| Parameter | Type | Description |
|---|---|---|
videoUrl | string | the served URL of the master video to fix (not needed with `job`) |
startSeconds | number | window start in seconds (not needed with `job`) |
endSeconds | number | window end in seconds (window 1.5-8s; not needed with `job`) |
prompt | string | what the replacement footage should show — describe the shot, matching the master's style. With `job`: the change to that block's picture, in words |
job | string | a finished video-blocks film (explainer / faceless channel): its job id. Edits one block of it instead of splicing a window |
block | number | with `job`: which block, 1-based (block 3 = 20-30s of a film of 10s blocks) |
atSeconds | number | with `job`: the moment in the film instead of `block` ("the line at 0:12" = 12) |
line | string | with `job`: the new narration for that block, the exact words to say (said as written, never rewritten; refused for free when it cannot fit the block) |
refImage | string | optional product/style anchor image URL |
speechWindows | number[][] | [[start,end],...] windows with spoken lines — the fix window must not overlap these |
dryRun | boolean | true = return the estimated credits this fix reserves and render nothing |
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/fix_beat.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"fix_beat","arguments":{}}}
CLI
hermoso call fix_beat --json '{}'
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
make_explainerMake an explainer videoget_jobGet render jobvideo_framesLook at video framesedit_timelineCompose an edit (timeline)post_editPost-production editfinish_videoFinish videomake_motion_filmMake a motion graphics video