hermosodocs

hook_variants

New opening hooks for a video

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

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

ParameterTypeDescription
videorequiredstringthe finished video to give new hooks: its served file URL
countnumberhow many hook versions, 1-5 (default 3)
notesstringanything the hooks must respect, e.g. "keep it calm", "show the product in every hook"
hookSecondsnumberwhere 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.
productImagestringproduct photo URL used as a reference in hooks that show the product (defaults to the workspace brand’s first product photo)
useBrandbooleanfalse = send no brand name or product photo (for a video that is not this workspace brand’s)
planobjectthe `plan` object a previous dryRun returned, to render exactly those hooks without planning again
quoteOnlybooleantrue = the exact credits, free; nothing runs
dryRunbooleantrue = the paid plan and the price, no render
hooksobject[]your own openings, one version each
hooks[].urlstringviral hook to join in front: a post link or a video file
hooks[].promptstringan opening described in words
hooks[].mechanicstringa named hook mechanic id from list_hooks
hooks[].startnumberurl: skip the video’s own first seconds
hooks[].cutAtnumberurl: override the found payoff cut
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/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.

All 102 Creative generation tools · tools.json