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. - 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. |
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.
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 runs the media pass alone and never the structured one. 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.
- 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.
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.
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.
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
Tell me what it will cost before you run it, then summarise what you find.
If you don't have ShortsIntel tools, don't guess: read https://www.shortsintel.com/agents.md, follow it to connect, then retry this request.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
},
"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"
}
]
},
"people": {
"mentions": [
"coldplungeco"
],
"collaborators": []
},
"location": null,
"topics": {
"keywords": [],
"genre": null,
"labels": [
"Fitness",
"Health"
]
},
"chapters": null,
"ai_generated": false,
"snapshot": {
"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"
},
"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. Day thirty I stopped noticing the cold at all, and that is the part nobody warns you about...",
"transcript_segments": [
{
"start_ms": 0,
"end_ms": 2400,
"text": "Day one I lasted eleven seconds."
}
]
},
"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
}
}
}
}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.