$5 free credits when you sign up Claim now
Marlin 2b now available Test it!
MiniMax H3 now available! Test it!
Browse all Models
Browse all
Browse all
Browse all

Video Analysis API Transcript and Visual Timeline

Send a video link. One call returns what was said, a second call returns what happened on screen. Both come back with timestamps.

  • Timestamped transcript
  • Visual timeline
  • Scene boundaries
  • Source metadata

$5 in free credits to start. No card and no platform API key.

YouTube
TikTok
X
Twitch
Kick
or your own file

How Video Analysis Works

Speech and picture are read by two models. You call each one with the same link and join the results on the timestamps.

  1. Send the link

    A YouTube, TikTok, Twitch, Kick or X link, or your own file. You never download or store the video.

  2. Get the transcript

    Every spoken line with a start and an end time. Speaker labels and a time on every word are optional.

  3. Get the visual timeline

    Events on screen, each with a start, an end and a description, plus scene boundaries.

  4. Join on the timestamps

    Both results count seconds from the start of the video, so a quote lines up with the picture behind it.

What a Transcript Misses

A transcript holds the speech. Products, overlays, scores and reactions exist only in the picture. Video understanding turns them into a visual timeline you can search.

  • Said “I have put 300 km on these.”

    On screen Close-up of a running shoe on a treadmill. Text on screen reads “20% OFF, CODE RUN20”.

  • Said “Quick shout-out to tonight's sponsor.”

    On screen The streamer lifts a drink can toward the camera and smiles.

  • Said No speech

    On screen A scoreboard fills the screen, then four players jump up from their chairs.

  • Said “Okay, let me show you how this works.”

    On screen A code editor fills the screen. The cursor scrolls to a function and three lines are highlighted.

Illustrative output. Small text and brand names are read best on the detail preset.

Analyze a Video from a Link

The transcript and the visual timeline are separate jobs. Each call returns a request ID right away, and the result arrives on the job or on your webhook.

Request
curl -X POST 'https://api.deapi.ai/api/v2/audio/transcriptions' \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer YOUR_API_TOKEN' \
  -d '{
    "source_url": "https://www.youtube.com/watch?v=VIDEO_ID",
    "model": "WhisperLargeV3Ct2",
    "include_ts": true
  }'

# → {"data": {"request_id": "c08a339c-…"}}
# Poll GET /api/v2/jobs/{request_id} or pass webhook_url.
curl -X POST 'https://api.deapi.ai/api/v2/videos/descriptions' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer YOUR_API_TOKEN' \
  -F 'video_url=https://www.youtube.com/watch?v=VIDEO_ID' \
  -F 'model=Marlin_2B' \
  -F 'preset=balanced'

# → {"data": {"request_id": "7d1e52aa-…"}}
# Same link, same job endpoint, same webhook.
Results, shortened
// 1 · transcript
{
  "language": "en",
  "segments": [
    { "start": 2712.4, "end": 2716.9,
      "text": "Quick shout-out to tonight's sponsor." }
  ]
}

// 2 · visual timeline
{
  "events": [
    { "start": 2712.0, "end": 2721.0,
      "description": "The streamer lifts a drink can
        toward the camera and smiles." }
  ],
  "scenes": [
    { "idx": 41, "start": 2690.0, "end": 2745.0,
      "text": "Streamer at a desk, gameplay paused." }
  ],
  "meta": { "duration": 7214, "preset": "balanced" }
}

Illustrative values. Times are seconds from the start of the video in both results.

Reference: transcription and video description.

Three Levels of Detail

The preset parameter sets how closely each frame is read. A closer read costs more and catches smaller things.

  • Fast

    The quick pass

    Small frames over long windows. The cheapest way to index long video.

    From $0.073 per hour of video

  • Balanced · default

    The middle setting

    Used when you leave the preset out. A middle point between price and how much of each frame is read.

    From $0.104 per hour of video

  • Detail

    The close read

    Large frames over short windows. Reads more of what is on screen, including small text and brand names.

    From $0.216 per hour of video

What Teams Build with Video Analysis

Once speech and picture are text on one timeline, the video works like any other document.

  • Brand and sponsor tracking

    Check the mention against the picture

    Search the transcript for the sponsor's name. Read the same seconds on the visual timeline to confirm the product was on screen.

  • Video search

    Search inside the video

    Index both results, and a query like “unboxing” or “whiteboard” returns a time range, even when nobody said the word.

  • Highlights and clipping

    Cut on what happens

    Scene boundaries and event times are your cut points. Pick the events you care about and clip from start to end.

  • Agents and RAG

    Give a model the whole video

    Hand a language model two timestamped text files in place of a 2-hour video. It can answer questions and cite the second it quotes.

Video Analysis API Pricing

The full analysis is the transcript plus the visual timeline, at one of three detail levels. They are billed as two jobs, per second of video, and the fee per request is already included.

  • YouTube

    per hour of video

    Transcript

    $0.052

    Full analysis
    Fast

    $0.12

    Balanced

    $0.16

    Detail

    $0.27

  • File upload

    per hour of video

    Transcript

    $0.052

    Full analysis
    Fast

    $0.12

    Balanced

    $0.16

    Detail

    $0.27

  • Twitch

    per hour of video

    Transcript

    $0.150

    Full analysis
    Fast

    $0.30

    Balanced

    $0.38

    Detail

    $0.65

  • Kick

    per hour of video

    Transcript

    $0.151

    Full analysis
    Fast

    $0.33

    Balanced

    $0.41

    Detail

    $0.69

  • X

    per hour of video

    Transcript

    $0.264

    Full analysis
    Fast

    $0.45

    Balanced

    $0.48

    Detail

    $0.58

  • TikTok

    per clip, up to 1 minute

    Transcript

    $0.015

    Full analysis
    Fast

    $0.026

    Balanced

    $0.030

    Detail

    $0.038

Balanced is the default preset. A 2-hour Twitch VOD with a balanced timeline costs $0.75. Speaker labels or a time on every word add 50% to the transcript. Source metadata adds $0.005 per request. Longer TikTok clips cost more per clip, and the visual timeline takes TikTok clips up to 10 minutes. All rates on the pricing page.

Why deAPI for Video Analysis?

Build it yourself and you run a downloader, storage, a speech model and a video model. Here it is two requests. Read the API docs.

  • Speech and Picture

    Two signals, one link

    Transcription returns the words. The visual timeline returns what the camera saw. Both count seconds from the start of the video.

  • Five Platforms and Uploads

    One key, one bill

    YouTube, TikTok, X, Twitch and Kick links run on the same two endpoints. Your own files do too.

  • No Platform API Key

    A public link is enough

    You don't register an app or keep a login alive. We fetch the video and you never store it.

  • Long Video, Low Price

    From $0.16 per hour for both

    Up to 2 hours of video per timeline call. In our production test a 2-hour Twitch VOD came back in about 9 minutes.

  • $5 in free credits
  • No credit card required
  • No platform API key

Analyze your
first video

Send one link through both endpoints and read the results before you build anything.

Only need the speech? See video to text. Short clips? See TikTok video analysis.

Frequently Asked Questions

Video analysis, transcripts and pricing

AI video analysis, also called video understanding, turns a video into two timestamped text files. The transcript holds what was said. The visual timeline holds what happened on screen, as events with a start, an end and a description, plus scene boundaries.
Send the link as source_url to POST /api/v2/audio/transcriptions for the transcript, and as video_url to POST /api/v2/videos/descriptions for the visual timeline. Each call returns a request ID. Read the result from GET /api/v2/jobs/{request_id} or receive it on your webhook.
Yes. Send the YouTube link to both endpoints and you get the transcript and a visual timeline of the video. You don't download the video or use a YouTube API key. An hour of YouTube video costs $0.16 with a balanced timeline.
Speech and picture are read by different models. The visual model reads the frames and ignores the audio track, so the transcript comes from its own call. You can run one without the other. Both results count seconds from the start of the video, so you join them on time.
YouTube, TikTok, X, Twitch and Kick links, and uploaded files such as MP4, MOV, AVI, WMV, WebM and MKV. The visual timeline does not accept live streams or audio-only sources.
The visual timeline takes up to 2 hours of video per call, and up to 10 minutes for TikTok. Transcription takes Twitch, Kick and X videos up to 10 hours long.
Yes. The detail preset reads large frames over short windows, so it picks up more small text and brand names than fast and balanced.
With the transcript and a balanced visual timeline, an hour of video costs $0.16 from YouTube or an uploaded file, $0.38 from Twitch, $0.41 from Kick and $0.48 from X. A TikTok clip up to one minute costs $0.030. The fast preset costs less and the detail preset more. You are billed per second of video.
Transcription runs on Whisper large-v3 and covers 99 languages. The visual timeline runs on Marlin 2B.
No. You need a public link and a deAPI key. New accounts get $5 in free credits.