Analyze video
analyze_videoExtract a video ad’s transcript, beats, duration, and sampled frame times to study a reference before remixing it. Supports spoken-word timing, frame images, and cost checks.
Instructions
A video ad's structure: verbatim transcript (voiceover + on-screen text), beat list, duration and sampled frame times; study a reference before remixing it. ~A transcription call.
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": {
"url": "<url>"
},
"name": "analyze_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | the video URL (a served /generated/ path or a public http(s) video); a URL, not a local file path; use upload_file for local files | |
| words | No | true | 'only': each spoken word's start/end | |
| frames | No | also return the frames as images | |
| anchors | No | {afterWord|beforeWord|atWord, occurrence?, offset?} -> s | |
| get_cost | No | true: return the price only; nothing runs or bills | |
| 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 |