Skip to main content
POST
Needs media:read. Paid plans only. See Permissions.
The video is either a public post’s video, by its link in url (TikTok, Instagram, YouTube, X, Facebook and more; the post needn’t be yours), or a video of the media library, by media_id. The answer has the transcript, the words on screen, the scenes, the hook, the structure and the key points, and an answer when you send a question. Use it to turn a video into posts, slides or a script, or to see why it works. Videos up to 10 minutes and 300 MB can be watched. Nothing is stored. Cost. A watch costs AI credits by what it really costs, which follows the video’s length: at least 1 credit, about 2 for a one-minute video. credits in the answer says what it cost and what is left. The owner of the workspace in workspace_id pays; without it, the key’s user does. When the payer’s credits don’t cover a watch of this length, the answer is 402 before anything is watched. On the Free plan the answer is 403 plan_limit_reached with limit: ai. Time. A watch takes about 15 to 60 seconds, up to 85 for a long video. Give your client a timeout of at least 100 seconds: a request sent again is a second watch. A watch that can’t finish in time answers 422 and costs nothing; try a shorter clip. Limits. Each payer runs at most 2 watches at once and starts at most 10 a minute. Past either, the answer is 429 with Retry-After, and nothing is charged. In MCP this is the analyze-video tool: see Media tools.

Errors

Nothing is charged on any error. The watch limit’s 429 has the same {message} body and Retry-After header as the request limit, with its own words:
429: 2 watches running (Retry-After: 30)
429: 10 watches this minute

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
url
string<uri>

A public post's link (http or https) with a video. Send url or media_id, not both.

Maximum string length: 2048
media_id
integer

A video of the media library. Send url or media_id, not both. With workspace_id, it must be in that workspace.

question
string | null

What to find out or get from the video, like "Turn it into slide text". The answer is in answer.

Maximum string length: 2000
workspace_id
integer | null

The workspace whose owner pays. It must be one the key can reach. Left out: the key's user pays.

Response

What the video says and shows.

What a video says and shows.

video
object
required

The video watched.

credits
object
required

What this watch cost and what the payer has left.

answer
string | null
required

The answer to question; null when none was sent.

summary
string
required

What the video is about, in two or three sentences.

language
string
required

The language spoken.

hook
string
required

What the first seconds do to keep a viewer watching.

key_points
string[]
required

The points it makes, in order.

structure
object[]
required

Its parts in order.

on_screen_text
object[]
required

Words written on screen.

scenes
object[]
required

What each shot shows.

transcript
string
required

Every word spoken, with [m:ss] marks; empty when nothing is spoken. It comes last, as the longest part.