hermosodocs

rewrite_ad_line

Change the hook or call to action

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

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

ParameterTypeDescription
videorequiredstringthe 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
hookstringthe new opening line, verbatim (e.g. 'Stop scrolling if your skin hates winter')
ctastringthe new call to action, verbatim (e.g. 'Tap the link and get 20% off today')
lineobjectany other spoken line: the moment it is said and the new words
line.atSecondsrequirednumber
line.textrequiredstring
voicestringa named voice instead of the speaker's own, e.g. 'Aria' or 'George' (only when the user asks)
quoteOnlybooleantrue = the price, nothing runs
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/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.

All 102 Creative generation tools · tools.json