rewrite_ad_line
Change the hook or call to action
Description
CHANGE THE HOOK OR CALL TO ACTION of a finished video ad in the user's own words. The new words are said where the old ones were, in the speaker's own voice (a paid plan; a matching voice on Free), and the mouth is re-synced to them in that moment alone; every other frame, line, the music and the length stay the source's. hook = the opening sentence, cta = the closing sentence, line = any other spoken line at {atSeconds, text}; hook and cta can go in one call. A new line must fit the moment it replaces at a natural pace: a longer one is refused before anything renders, with the word count that fits. A video nobody speaks in is refused (new words on screen are post_edit text). quoteOnly:true = the price, free. Returns ONE video; the original is kept.
Parameters
| Parameter | Type | Description |
|---|---|---|
videorequired | string | the finished video: a file URL, a render, a job result or list_library; a URL, not a local file path; use upload_file for local files |
hook | string | the new opening line, verbatim (e.g. 'Stop scrolling if your skin hates winter') |
cta | string | the new call to action, verbatim (e.g. 'Tap the link and get 20% off today') |
line | object | any other spoken line: the moment it is said and the new words |
line.atSecondsrequired | number | |
line.textrequired | string | |
voice | string | a named voice instead of the speaker's own, e.g. 'Aria' or 'George' (only when the user asks) |
quoteOnly | boolean | true = the price, nothing runs |
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/rewrite_ad_line.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"rewrite_ad_line","arguments":{"video":"<string>"}}}
CLI
hermoso call rewrite_ad_line --json '{"video":"<string>"}'
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
post_editPost-production edithook_variantsNew opening hooks for a videodub_videoDub videolist_winning_adsWinning ads to start fromchange_voiceChange narrator voicemultiply_adMultiply an adrecast_motionRecast motionedit_videoEdit a video clipproduct_photoshootProduct photoshootrestyle_videoRestyle a video