analyze_video
Analyze video
Description
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.
Parameters
| Parameter | Type | Description |
|---|---|---|
urlrequired | string | 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 |
frames | boolean | also return the frames as images |
words | boolean | string | true | 'only': each spoken word's start/end |
anchors | object[] | {afterWord|beforeWord|atWord, occurrence?, offset?} -> s |
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/analyze_video.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"analyze_video","arguments":{"url":"<string>"}}}
CLI
hermoso call analyze_video --json '{"url":"<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
repurpose_transcriptRepurpose a video transcriptfind_soundFind a soundmake_insertMake an insert clipscore_adScore adcheck_videoCheck a videoreframe_videoReframe videorepurpose_videoRepurpose a video for every placementrepurpose_imageRepurpose a static ad into variants × formatslayerize_imageSplit an image into editable layerssplit_imageCut a picture into tiles