Analyse a reference ad
analyze_referenceAnalyze an MP4, Instagram, or TikTok reference ad to extract beats, graphics, captions, pacing, and a timed transcript; use data mode for insights only.
Instructions
Input: the same fields as quote_analysis. Read a reference ad into a reference_profile (beats, graphics, captions, pacing, timed transcript); mode "data" answers only the data. Pass asset_id of an MP4 asset, at most 120 s and 100 MiB, or source_url of an Instagram reel or post or a TikTok video. A YouTube link is refused: upload its MP4 with create_asset. Charged once it succeeds; a failed analysis costs nothing. 10 new full and 60 new data analyses per hour. The same asset or full link in the same mode answers the same analysis free unless it failed; one made before frames and speakers existed is redone free once. Poll get_reference_analysis with wait_seconds: 50. Price: 70 credits per call; data mode: 10 credits per call. Quote first with quote_analysis.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "analyze_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| asset_id | No | ||
| source_url | No | ||
| max_credits | No |