Concepts
Analysis
What we derive from a video, why it is computed once and reused, and when asking for a refresh is charged as new work.
- Price
- 23 credits per video, whether the analysis is fresh or read from store.
- Transcript only
- 10 credits for the words alone, without the structured analysis.
- Batch
- Up to 20 videos of a search or Creator videos page in one Run, at 20 credits each.
- Length
- Videos over 10 minutes are refused with
video_too_long, except a YouTube transcript read from captions. - Failures
- A failed analysis is charged nothing.
Analysis is what we derive from a video by watching it: the hook, the claim, the call to action, the transcript, and anything else a model can read off the media that the platform’s metadata does not tell you. It is computed once per video, stored, and returned to everyone who asks afterwards at the same price.
An analysis describes what a video shows and says
An analysis is one extra object on the video you would get from GET /v1/videos/{platform}/{id}. It works on TikTok, Instagram, YouTube (Shorts and long-form) and Facebook. Its fields come in these groups:
| Group | What it holds |
|---|---|
content | What the video is about: a summary, its niche, the languages spoken, the styles it uses, weighted keywords and the transcript. |
hook | The first few seconds: the opening line, what kind of hook it is, the visual that carries it, and why it works. |
persuasion | What the video asks of the viewer: the call to action, whether it is sponsored, the brands and products in it, and the trends it leans on. |
tone | How it is said: register, pacing and emotion, as opposed to what is said. |
visual | What is on screen: setting, shot types, text overlays, editing. |
safety | Anything that would stop you reusing the idea: sensitive topics, claims that need substantiating, brand-safety flags. |
structure | When things happen: timed scenes, each with its visual, text overlay, speech and audio. |
The object also carries its own provenance: version, model, computed_at and source. They tell you how old an analysis is and what produced it.
Every field is a value, such as a hook type, a niche or a sentiment. Nothing here scores the video against its creator. That is what scores are for.
Timed scenes
structure.scenes lists each scene with start_ms, end_ms, visual, text_overlay, speech and audio. It comes from the scene breakdown the pass stores, so an analysis you already have carries scenes with nothing to recompute and nothing to pay.
Scene times are approximate, to about a second. A text overlay is listed at its first appearance: text repeated from an earlier scene is left out, so an empty text_overlay does not mean the screen has no text.
A field is null when the scene has none. The list is empty when the breakdown has no timed scenes, as on a photo carousel.
A photo carousel or a single photo has slides instead. structure.slides lists each slide in order with slide (its number from 1), visual and text_overlay. It is null on a video.
On a video Ad, structure also carries shots detected from the frames, with their accuracy on the Ads page. A video’s analysis carries structure.shots, cuts_per_minute and avg_shot_ms as null.
Every video analysis carries structure.product_first_seen_ms, the start of the first scene a promoted product appears in, or null when none is shown. Its accuracy, measured on Ads only, is on the Ads page.
Every video analysis also carries structure.first_frame, a text description of the opening frame. Its accuracy, checked on Ads only, is on the Ads page.
When to use analysis
Use analysis when you need to know what is in a video, such as how it opens or what it sells. Other questions have their own calls:
| Your question | Use | Price |
|---|---|---|
| What one video says, shows and asks for | POST /v1/videos/{platform}/{id}/intelligence | 23 credits |
| Only the words spoken | GET /v1/videos/{platform}/{id} with include=transcript | 10 credits |
| What a page of search results or a creator's videos say | POST /v1/videos/search or GET /v1/creators/{platform}/{handle}/videos with analysis on | 20 credits per analysed video |
| The video file itself | GET /v1/videos/{platform}/{id} with include=download | 3 credits |
| How a video performs against its creator's usual reach | POST /v1/videos/{platform}/{id}/score | 9 credits |
The transcript is flat-priced at 10 credits, below the full analysis, because it never runs the structured pass. A second read costs the same as the first.
How analysis works
- You ask for one video.
POST /v1/videos/{platform}/{id}/intelligencetakes the same video address as every other video call. - The pass reads the media. A model watches the video and fills each group. It does not need speech: a silent piece to camera still has a hook, a setting, text on screen and a call to action. When the video has no timed captions, its audio goes through speech-to-text first, and the model writes speech from that transcript.
- The result is stored against the video and the version. The first request for a video pays 23 credits and waits for the work.
- Later requests read the stored answer. Every later request at the same version is answered from store, also for 23 credits, and comes back immediately.
When the pass itself changes, its version goes up. Stored analyses at the old version stop being used, and the next request for each video recomputes it, charged as fresh.
The transcript is what is said
content.transcript and include=transcript carry the words spoken, one line per line. content.transcript_source (and the include’s source) is caption when they come from the platform’s caption track, auto_caption when that track is the platform’s automatic captions (YouTube, TikTok), or whisper when from speech-to-text on the audio.
Treat auto_caption as a caption too; its wording and punctuation are approximate. Empty means no speech; null means it could not be read, as on a YouTube Video with no captions.
Changed 2026-11-18: auto_caption added. Transcripts stored before keep their source.
Changed 2026-11-09: the transcript was the scene breakdown before. The scenes are in structure.scenes. Analysis stored before serves the video’s stored speech when it has some, else its timed lines, with a null source. Prices did not change.
Changed 2026-11-10: the source on include=transcript named the analysis input before (speech, captions_only or visual_only, still on the analysis as its own source). It now names where the transcript came from: caption, whisper, or null when unknown. A transcript-only request no longer runs the scene pass; its price is unchanged.
How exact the timings are
Spoken timing is measured from audio. content.transcript_segments comes from the platform’s timed captions or from speech-to-text on the video’s sound, so its times match what is said.
Visual timing stays approximate. The times in structure.scenes are a model’s reading of the video, and a scene can run several seconds. Scenes with speech are aligned to the transcript.
An empty content.transcript_segments means the video has no speech, which includes a video with only music. Null means the timing could not be measured, and the analysis is still complete. Analyses stored before this was added keep their null and are not recomputed.
Refreshing on purpose
Send { "refresh": true } and the pass runs again even though a current answer is stored. It costs the same 23 credits as any other request. The difference is that you wait for the work again instead of reading the stored answer.
There is rarely a reason to. Analysis describes the video, and the video does not change. Only the stats around it do. Refresh when you think the first pass went wrong, not on a schedule.
Analysing a page of videos at once
POST /v1/videos/search with intelligence: true and GET /v1/creators/{platform}/{handle}/videos with intelligence=true analyse up to 20 videos of the page in one Run, at 20 credits each, on every platform.
Each analysed video is an item of the Run at GET /v1/runs/{id}/items. A video that cannot be analysed comes back with intelligence: null and intelligence_error saying why, and is not charged. The Creator videos page itself stays free.
Downloading the video file
Add include=download to a video lookup for a link to the video file. download_url works from anywhere until download_expires_at, which is at least 1 day and up to 7 days away. Anyone holding the link can download the file, so share it as you would the file itself.
Downloads can be switched off. While they are, include=download is refused with 422 feature_unavailable before any Run, and nothing is charged. Ask without download for the analysis or transcript.
The link points at our own copy of the file, never the platform’s, because platform links expire or only work for whoever fetched them. We delete that copy 7 days after making it, which is when the link stops working.
A download costs 3 credits. It is added to the analysis or transcript price when you ask for those too. It costs the same again each time you ask, whether or not a copy already exists. A download-only lookup is a video_intelligence Run, like any other include.
Ask again after the link expires for a fresh one. The Run keeps the link it answered with, so reading the Run again later, or replaying its idempotency key, returns the same link, dead after its download_expires_at.
Limits and prices
| Limit | Value |
|---|---|
| Analysis of one video | 23 credits, fresh or from store, refresh included |
| Transcript only | 10 credits |
| Videos analysed per search or Creator videos page | At most 20, at 20 credits each |
include=download | 3 credits, added to any analysis or transcript price |
| Download link lifetime | At least 1 day, at most 7 days |
| Longest video analysed or downloaded | 10 minutes |
| A failed Run or item | Charged nothing |
Videos that cannot be analysed
A video with no speech in it still analyses. It comes back with source saying the analysis was not built from speech.
Media we cannot fetch does fail: a deleted video, a private account, a platform refusing the download. That Run ends failed with media_unavailable, and a failed Run is charged nothing. Retrying will keep failing until the media comes back, so treat that code as a fact about the video, not a transient error.
A video longer than 10 minutes is not analysed. When its length is known, it is refused with video_too_long before any Run opens. A YouTube video’s length is asked of YouTube first. When the length only turns up once the Run has started, the Run fails and is charged nothing.
A transcript alone (include=transcript) of a longer YouTube video is served from its caption track at the usual transcript price. A long YouTube video with no caption track is still refused with video_too_long.
The same 10-minute cap applies to downloads, and a post that is gone fails with media_unavailable, uncharged. Asked beside analysis, a file that cannot be copied does not cost you the analysis. It comes back with download_error saying why, and the download is not charged.
Example: analyse one video
Ask for the analysis by the video’s platform and id:
POST /v1/videos/{platform}/{id}/intelligence · 23 credits, whether computed now or already stored, and with refresh: true.
Use ShortsIntel to analyse a video.
- platform: tiktok
- id: 7300000000000000000
- refresh: yes
Run it, then summarise what you find.
If you don't have ShortsIntel tools, don't guess: read https://www.shortsintel.com/agents.md.curl -X POST "https://www.shortsintel.com/v1/videos/tiktok/7300000000000000000/intelligence?wait=30" \
-H "Authorization: Bearer sk_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"refresh":true}'const response = await fetch(
"https://www.shortsintel.com/v1/videos/tiktok/7300000000000000000/intelligence?wait=30",
{
method: "POST",
headers: {
"Authorization": "Bearer sk_live_YOUR_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
"refresh": true
}),
},
);
if (!response.ok) {
throw new Error(`ShortsIntel ${response.status}`);
}
const data = await response.json();import requests
response = requests.post(
"https://www.shortsintel.com/v1/videos/tiktok/7300000000000000000/intelligence?wait=30",
headers={
"Authorization": "Bearer sk_live_YOUR_KEY",
"Content-Type": "application/json",
},
json={
"refresh": True,
},
)
response.raise_for_status()
data = response.json()Run it in the Playground (no API Key needed)
200 · The Run finished inside the wait budget: `{ run, result }`. With `estimate=true`, `{ estimate_credits, cached }` instead.
{
"run": {
"id": "run_8f2c1ad04b",
"kind": "video_intelligence",
"status": "completed",
"created_at": "2026-09-08T09:14:02.418Z",
"completed_at": "2026-09-08T09:14:04.930Z",
"charge_credits": 23,
"list_price_credits": 23,
"cached": false
},
"result": {
"platform": "tiktok",
"id": "7300000000000000000",
"url": "https://www.tiktok.com/@someone/video/7300000000000000000",
"description": "3 minutes at 4°C every morning for 30 days. Here is what actually changed. #coldplunge #recovery",
"posted_at": "2026-09-05T06:32:11.000Z",
"duration_seconds": 41,
"thumbnail_url": "https://p16-sign.tiktokcdn.com/obj/tos-cover-7300000000000000000.jpeg",
"hashtags": [
"coldplunge",
"recovery",
"morningroutine"
],
"sound": {
"id": "7180000000000000000",
"title": "original sound - someone",
"author": "someone",
"is_original": true,
"commercial_use": null
},
"sound_mix": {
"sound_volume": 0,
"original_volume": 50,
"mix": "voiceover"
},
"creator": {
"id": "cre_9d4b2a7f1c",
"handle": "someone",
"name": "Someone",
"follower_count": 184300,
"avatar_url": "https://p16-sign.tiktokcdn.com/obj/tos-avatar-someone.jpeg",
"verified": false
},
"region": "US",
"language": "en",
"title": null,
"commerce": {
"is_ad": false,
"paid_partnership": null,
"affiliate": null,
"shop_url": null,
"anchors": [
{
"kind": "54",
"label": "CapCut · Editing made easy"
}
],
"products": [],
"seller_ids": null,
"sales_event": null
},
"people": {
"mentions": [
"coldplungeco"
],
"collaborators": []
},
"location": null,
"topics": {
"keywords": [],
"genre": null,
"labels": [
"Fitness",
"Health"
]
},
"suggested_searches": [
"cold plunge benefits",
"cold plunge"
],
"on_screen_text": [
{
"text": "3 minutes at 4°C",
"start_ms": 0,
"end_ms": 2500
}
],
"chapters": null,
"ai_generated": false,
"is_pinned": null,
"format": "short",
"slides": null,
"reactions": null,
"most_replayed": null,
"audio_languages": null,
"is_sponsored": null,
"sponsor": null,
"snapshot": {
"at": "2026-09-08T09:14:04.219Z",
"views": 1284000,
"likes": 143200,
"comments": 2810,
"shares": 9040,
"saves": 21600
},
"engagement": {
"at": "2026-09-08T09:14:04.219Z",
"views": 1284000,
"likes": 143200,
"comments": 2810,
"shares": 9040,
"saves": 21600
},
"scores": {
"outlier": 4.21,
"outlier_p90": 1.6,
"percentile": 95,
"velocity": {
"views_per_hour": 6698.6,
"window": "snapshot",
"since": "2026-10-03T08:00:00.000Z"
},
"engagement_rate": 0.1376,
"anomaly": false,
"reason": null,
"baseline": {
"median_views": 305000,
"p90_views": 802000,
"engagement_rate": 0.1342,
"posts_per_week": 4.1,
"sample": 20,
"confidence": "high",
"source": "videos",
"computed_at": "2026-09-08T09:14:03.902Z",
"stale": false
}
},
"intelligence": {
"version": 1,
"model": "gemini-2.5-flash",
"computed_at": "2026-09-08T09:14:04.612Z",
"source": "speech",
"content": {
"summary": "A 30-day cold plunge diary that leads with the measurable change and keeps the discomfort visible rather than heroic.",
"niche": "HEALTH_AND_FITNESS",
"languages": [
"en"
],
"content_styles": [
"TALKING_HEAD",
"PROGRESS_DIARY"
],
"keywords": [
{
"keyword": "cold plunge",
"category": "ACTION",
"sentiment": 0.4
},
{
"keyword": "recovery",
"category": "TOPIC",
"sentiment": 0.6
}
],
"transcript": "Day one I lasted eleven seconds.\nDay thirty I stopped noticing the cold at all.",
"transcript_source": "caption",
"transcript_segments": [
{
"start_ms": 0,
"end_ms": 2400,
"text": "Day one I lasted eleven seconds."
},
{
"start_ms": 2400,
"end_ms": 5900,
"text": "Day thirty I stopped noticing the cold at all."
}
]
},
"hook": {
"opening_line": "Day one I lasted eleven seconds.",
"type": "SPECIFIC_DETAIL",
"visual_hook": "Timer overlay counting up on a shot of the plunge tub at dawn",
"rationale": "A concrete, unimpressive number invites the viewer to stay for the number it becomes."
},
"persuasion": {
"call_to_action": {
"type": "FOLLOW",
"text": "Following along? Day 60 starts Monday."
},
"sponsored": false,
"sponsorship_signals": [],
"brands_and_products": [
{
"name": "Plunge",
"kind": "PRODUCT",
"prominence": "INCIDENTAL"
}
],
"trend_references": [
{
"name": "30-day challenge",
"kind": "FORMAT"
}
]
},
"tone": {
"sentiment_label": "Positive",
"sentiment_score": 0.42,
"primary_emotion": "Determination",
"emotion_intensity": 0.6,
"emotion_rationale": "The delivery stays level through visible discomfort, which reads as resolve rather than excitement.",
"speaking_style": "CONVERSATIONAL",
"speaking_style_notes": "Unhurried voiceover over hard cuts between mornings, with no music bed under the first ten seconds."
},
"visual": {
"format": "VLOG",
"setting": "OUTDOOR_HOME",
"face_visibility": "CREATOR_ON_CAMERA",
"on_screen_text": [
"DAY 1",
"DAY 30",
"11s → 3:00"
],
"has_on_screen_captions": true,
"camera_notes": "Fixed tripod at tub height, one handheld reaction shot per morning, cut roughly every two seconds.",
"lighting_notes": "Natural dawn light, cool and slightly underexposed throughout.",
"elements": [
{
"type": "OBJECT",
"name": "ice bath",
"confidence": 0.97
}
]
},
"safety": {
"brand_safety_tier": "SAFE",
"reasons": [],
"notes": null
},
"structure": {
"slides": null,
"scenes": [
{
"start_ms": 0,
"end_ms": 4000,
"visual": "A timer counts up over the plunge tub at dawn.",
"text_overlay": "DAY 1: 11 SECONDS",
"speech": "Day one I lasted eleven seconds.",
"audio": null
}
]
}
}
}
}POST /v1/videos/{platform}/{id}/intelligence · 23 credits, whether computed now or already stored, and with `refresh: true`.
Questions about Analysis
Do I pay again when an analysis is already stored?
Yes, the same 23 credits. A stored answer comes back immediately instead of after the work. The price only buys a new pass when the version has changed or you send refresh.
Can a video with no speech be analysed?
Yes. The pass reads the media, not a transcript. The result’s source says it was not built from speech.
Why did my analysis fail with media_unavailable?
We could not fetch the video: it was deleted, the account is private, or the platform refused the download. The Run is charged nothing. Retrying fails until the media comes back.
How do I get only the transcript?
Ask GET /v1/videos/{platform}/{id} with include=transcript. It costs 10 credits, below the full analysis.
How long does a download link work?
Until download_expires_at, at least 1 day and at most 7 days. After that, ask again for a fresh link.