New opening hooks for a video
hook_variantsGenerate multiple new opening hooks for one finished video ad, then render complete versions to A/B test.
Instructions
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'}).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"video": "<video>"
},
"name": "hook_variants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | the `plan` object a previous dryRun returned, to render exactly those hooks without planning again | |
| count | No | how many hook versions, 1-5 (default 3) | |
| hooks | No | your own openings, one version each | |
| notes | No | anything the hooks must respect, e.g. "keep it calm", "show the product in every hook" | |
| video | Yes | the finished video to give new hooks: its served file URL | |
| dryRun | No | true = the paid plan and the price, no render | |
| get_cost | No | true: return the price only; nothing runs or bills | |
| useBrand | No | false = send no brand name or product photo (for a video that is not this workspace brand’s) | |
| quoteOnly | No | true = the exact credits, free; nothing runs | |
| resolution | No | 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. | |
| hookSeconds | No | where the CURRENT hook ends, in seconds (1.5-4). Omit to use the first shot cut. | |
| productImage | No | product photo URL used as a reference in hooks that show the product (defaults to the workspace brand’s first product photo) | |
| idempotency_key | No | chosen once, resent unchanged on retries: the same key never buys twice | |
| expected_credits | No | the get_cost price; refused unbilled if the live price differs |