hook_variants
New opening hooks for a video
Description
HOOK MULTIPLIER: give ONE finished video ad N NEW OPENING HOOKS, N complete versions to A/B test. Pass the video's FILE URL (a render, job result, list_library or upload_file). 1-5 versions, default 3. COST: quoteOnly:true returns the exact credits free: state that first. A paid planning read (planCredits) runs next, then each planned version bills like fix_beat for the hook's seconds. dryRun:true pays for that read; pass its `plan` back to render exactly those. Returns ONE JOB PER VERSION; call get_job on each until done, never describe a version before its URL arrives. Full rules: get_instructions({topic:'hook_variants'}).
Parameters
| Parameter | Type | Description |
|---|---|---|
videorequired | string | the finished video to give new hooks: its served file URL |
count | number | how many hook versions, 1-5 (default 3) |
notes | string | anything the hooks must respect, e.g. "keep it calm", "show the product in every hook" |
hookSeconds | number | where the CURRENT hook ends, in seconds (1.5-4). Omit to use the first shot cut. |
resolution | "480p" | "720p" | "1080p" | render tier for the new opening. Defaults to the source’s OWN tier so the hook matches the rest of the ad; a lower tier costs a lot less and is scaled into the source’s canvas (visibly softer for the first seconds). dryRun quotes whichever you pick. |
productImage | string | product photo URL used as a reference in hooks that show the product (defaults to the workspace brand’s first product photo) |
useBrand | boolean | false = send no brand name or product photo (for a video that is not this workspace brand’s) |
plan | object | the `plan` object a previous dryRun returned, to render exactly those hooks without planning again |
quoteOnly | boolean | true = the exact credits, free; nothing runs |
dryRun | boolean | true = the paid plan and the price, no render |
hooks | object[] | your own openings, one version each |
hooks[].url | string | viral hook to join in front: a post link or a video file |
hooks[].prompt | string | an opening described in words |
hooks[].mechanic | string | a named hook mechanic id from list_hooks |
hooks[].start | number | url: skip the video’s own first seconds |
hooks[].cutAt | number | url: override the found payoff cut |
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/hook_variants.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"hook_variants","arguments":{"video":"<string>"}}}
CLI
hermoso call hook_variants --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
list_libraryList libraryupload_fileUpload a local file -> durable public URLfix_beatFix a video beatget_jobGet render jobget_instructionsRead Hermoso's full instructionslist_winning_adsWinning ads to start fromrewrite_ad_lineChange the hook or call to actionmultiply_adMultiply an addub_videoDub videoedit_videoEdit a video clip