# Hermoso: rewrite_ad_line: Change the hook · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/create/rewrite_ad_line/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Creative generation](https://hermoso.ai/docs/reference/create/) / rewrite_ad_line

# `rewrite_ad_line`

Change the hook or call to action

Area: post-production & analysis · [Creative generation](https://hermoso.ai/docs/reference/create/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/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

Parameter Type Description

`video` required `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.atSeconds` required `number`

`line.text` required `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](https://hermoso.ai/docs/credits/).

## Related tools

- [post_edit](https://hermoso.ai/docs/reference/create/post_edit/) Post-production edit
- [hook_variants](https://hermoso.ai/docs/reference/create/hook_variants/) New opening hooks for a video
- [dub_video](https://hermoso.ai/docs/reference/create/dub_video/) Dub video
- [list_winning_ads](https://hermoso.ai/docs/reference/create/list_winning_ads/) Winning ads to start from
- [change_voice](https://hermoso.ai/docs/reference/create/change_voice/) Change narrator voice
- [multiply_ad](https://hermoso.ai/docs/reference/create/multiply_ad/) Multiply an ad
- [recast_motion](https://hermoso.ai/docs/reference/create/recast_motion/) Recast motion
- [edit_video](https://hermoso.ai/docs/reference/create/edit_video/) Edit a video clip
- [product_photoshoot](https://hermoso.ai/docs/reference/create/product_photoshoot/) Product photoshoot
- [restyle_video](https://hermoso.ai/docs/reference/create/restyle_video/) Restyle a video

[All 102 Creative generation tools](https://hermoso.ai/docs/reference/create/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
