hermosodocs

fix_beat

Fix a video beat

Area: MOTION GRAPHICS IN ONE CALL · Creative generation. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
videoUrlstringthe served URL of the master video to fix (not needed with `job`)
startSecondsnumberwindow start in seconds (not needed with `job`)
endSecondsnumberwindow end in seconds (window 1.5-8s; not needed with `job`)
promptstringwhat the replacement footage should show — describe the shot, matching the master's style. With `job`: the change to that block's picture, in words
jobstringa finished video-blocks film (explainer / faceless channel): its job id. Edits one block of it instead of splicing a window
blocknumberwith `job`: which block, 1-based (block 3 = 20-30s of a film of 10s blocks)
atSecondsnumberwith `job`: the moment in the film instead of `block` ("the line at 0:12" = 12)
linestringwith `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)
refImagestringoptional product/style anchor image URL
speechWindowsnumber[][][[start,end],...] windows with spoken lines — the fix window must not overlap these
dryRunbooleantrue = return the estimated credits this fix reserves and render nothing
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/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.

All 102 Creative generation tools · tools.json