# AI Video Breakdown — Hook, Shots, Pacing & Script (`memo23/ai-video-breakdown`) Actor

Paste TikTok, Instagram Reel or YouTube links and get each video broken down: the hook and why it works, measured cuts and pacing, a shot-by-shot list, on-screen text, script, call to action, products shown and a format and tone read. Built for swipe files, creative briefs and ad research.

- **URL**: https://apify.com/memo23/ai-video-breakdown.md
- **Developed by:** [Muhamed Didovic](https://apify.com/memo23) (community)
- **Categories:** AI, Videos, Social media
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $20.00 / 1,000 video breakdowns

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## AI Video Breakdown — Hook, Shot List & Script for TikTok, Reels and YouTube

Paste **TikTok, Instagram Reel or YouTube** links and get every video broken down into structured data: **the hook and why it works, measured cuts and pacing, a shot-by-shot list, on-screen text, the spoken script, the call to action, products shown, format, tone and audience**, plus a short "why it works". Built for swipe files, creative briefs, UGC and ad research. No login, no API key. JSON, CSV or Excel out.

| Input | What you get |
|---|---|
| A competitor's top TikTok | Its hook (spoken, on screen and visual), every shot with what happens in it, and why it holds attention |
| A batch of Reels in your niche | Formats, hook types and pacing side by side, ready to sort and compare |
| A YouTube Short with a product | The products shown and when they first appear, the CTA and whether it is promotional |

### Why use AI Video Breakdown?

- **The hook, three ways.** The opening line as spoken, the opening text on screen and what the first frames show, with the hook type and one sentence on why it stops the scroll.
- **Pacing that is measured, not guessed.** Hard cuts are detected in the video itself: shot count, average shot length, cuts per minute and cuts in the first 3 seconds.
- **A shot list you can brief from.** Every shot with its start and end, framing, what happens, the text on screen and the line spoken over it.
- **The whole script.** Platform captions when the video has them, speech recognition when it does not, with timestamps. Silent and music-only videos are read from the frames.
- **Commercial signals.** Products and brands shown or named with the second they appear, the call to action and its type, and whether the video is promotional, with the evidence.
- **Ready for your own AI.** Flat, consistent fields you can sort in a spreadsheet or hand to ChatGPT or Claude to write new variations.
- **Pay per video.** Links that cannot be read, private videos and videos over your length cap cost nothing.

### How it works

1. Paste video links: TikTok (share links work), Instagram reels and video posts, YouTube videos and Shorts.
2. Each video is read with its title, caption and engagement counts.
3. The script comes from the platform's captions, or from speech recognition when there are none.
4. Hard cuts are detected to measure pacing, and frames are taken from the opening seconds and from every shot.
5. An AI model reads the frames, the shots and the script together and returns the breakdown.
6. One row per video lands in the dataset.

### Input

| Field | Type | Notes |
|---|---|---|
| `urls` | array | **Required.** One video link per line. Profiles, playlists and photo slideshows are skipped with a reason. |
| `outputLanguage` | string | Language of summaries, descriptions and reasons. Quotes stay in their original language. Default `English`. |
| `includeTranscript` | boolean | Add `transcript` and `timestampedTranscript`. Default `true`. |
| `maxVideoMinutes` | integer | Longer videos are skipped and not charged. Default `10`, max `60`. |
| `maxConcurrency` | integer | Videos processed in parallel. Default `2`. |

```json
{
    "urls": [
        "https://www.tiktok.com/@okc.dad/video/7682492258666515726",
        "https://www.youtube.com/shorts/HKs9NvVRi5s",
        "https://www.instagram.com/reel/Dabg9j1xNHM/"
    ],
    "outputLanguage": "English"
}
```

### Output sample

A real row, from the Instagram reel above (lists cut short):

```json
{
  "url": "https://www.instagram.com/reel/Dabg9j1xNHM/",
  "platform": "instagram",
  "author": "nasaadmin",
  "likeCount": 63304,
  "commentCount": 2093,
  "durationSec": 57.8,
  "hook": {
    "spoken": "For 250 years, the United States of America has been the hope of the promise the light and the glory among all of the nations of the world.",
    "onScreen": null,
    "visual": "Dark opening fades into a pilot in a flight suit with a green gear bag walking toward a flag-striped jet on the tarmac.",
    "endsAtSec": 5,
    "type": "bold_claim",
    "whyItWorks": "A sweeping patriotic claim paired with cinematic imagery of a pilot walking toward a jet sets a big, emotional tone right away."
  },
  "tone": "Patriotic, cinematic, inspiring",
  "targetAudience": "Space and aviation enthusiasts, US audiences celebrating Independence Day",
  "pacing": { "shotCount": 14, "cutCount": 13, "avgShotSec": 4.1, "cutsPerMinute": 13.5, "cutsInFirst3Sec": 0 },
  "structure": [
    { "label": "hook", "startSec": 0, "endSec": 5, "summary": "Dark open fading into pilot walking to jet with patriotic voiceover." },
    { "label": "context", "startSec": 5, "endSec": 18.2, "summary": "Cinematic B-roll of flight crew, flag, and jet preparations with narration on the nation's 250 years." }
  ],
  "shots": [
    { "index": 2, "startSec": 18.2, "endSec": 19.2, "framing": "b_roll", "description": "Jet with a blue star-spangled livery and a 250 emblem flies over Washington, D.C.", "onScreenText": null, "spokenLine": null }
  ],
  "cta": { "text": null, "type": "none", "atSec": null },
  "products": [{ "name": "NASA", "brand": "NASA", "firstSeenSec": 10.6 }],
  "isPromotional": false,
  "audio": { "type": "voiceover", "notes": "Narrated voiceover with cinematic music and crowd and ceremony ambience." },
  "summary": "A NASA-posted America 250 tribute that blends patriotic narration with aerial flyovers, astronaut appearances, and stage ceremony footage.",
  "whyItWorks": [
    "Big patriotic opening line paired with cinematic visuals",
    "Aerial flyover footage over Washington landmarks",
    "Astronaut and veteran moments add human emotion"
  ],
  "topics": ["NASA", "Independence Day", "America 250", "Aerospace", "Astronauts"],
  "transcriptSource": "speech_recognition",
  "timestampedTranscript": [
    { "start": 0.46, "end": 10.46, "text": "For 250 years, the United States of America has been the hope of the promise the light and the glory among all of the nations of the world." }
  ],
  "framesAnalyzed": 16
}
```

A link that cannot be broken down returns a row with `error` and `message` instead (`unsupported_url`, `not_a_video`, `video_too_long`, `video_unavailable`, `download_failed`, `analysis_failed`). Those rows are never charged.

### Key output fields

| Field | Description |
|---|---|
| `hook` | `spoken`, `onScreen`, `visual`, `endsAtSec`, `type` (question, bold_claim, story, demo, problem, result_first, curiosity_gap, pattern_interrupt…), `whyItWorks` |
| `format` / `tone` / `targetAudience` | talking_head, voiceover_broll, tutorial, product_demo, skit, ugc_ad, slideshow…; tone and audience in a few words |
| `pacing` | `shotCount`, `cutCount`, `avgShotSec`, `cutsPerMinute`, `cutsInFirst3Sec`, measured from the video |
| `structure` | Beats from start to end: hook, context, problem, proof, demo, story, offer, cta… with times |
| `shots` | Each shot's `startSec`, `endSec`, `framing`, `description`, `onScreenText`, `spokenLine` |
| `onScreenText` | Every text card, verbatim, with the second it first appears |
| `cta` | `text`, `type` (follow, comment, link_in_bio, purchase, subscribe…), `atSec` |
| `products` / `isPromotional` | Products and brands with `firstSeenSec`; promotional flag with `promotionalEvidence` |
| `summary` / `whyItWorks` / `topics` | Two-sentence summary, two to four reasons, topic tags |
| `transcript` / `timestampedTranscript` | The script, from captions or speech recognition (`transcriptSource`) |
| `title` / `caption` / `author` / `viewCount` / `likeCount` / `commentCount` / `uploadedAt` | The video's own details, where the platform shows them |

### Pricing

Pay per event.

| Event | Price | When |
|---|---|---|
| Video breakdown | $0.02 | One per video broken down, covering its first 3 minutes |
| Extra video minute | $0.006 | Each started minute after the first 3 |
| Actor start | $0.005 | Once per run, per GB of memory |

A 45-second TikTok costs $0.02. A 10-minute YouTube video costs $0.02 + 7 × $0.006 = $0.062. Skipped, private and failed videos are free. The free Apify plan breaks down 3 videos per run.

### FAQ

**Which links work?**
Single TikTok videos (including vm.tiktok.com and tiktok.com/t share links), Instagram reels and video posts, YouTube videos and Shorts. Profiles, channels, playlists and photo slideshows are skipped with a reason.

**Is the pacing estimated by the AI?**
No. Cuts are detected in the video itself, so shot count, shot length and cuts per minute are measured. The AI describes the shots it is shown.

**What if a video has no speech?**
It is read from the frames: on-screen text, visuals and shots. `transcriptSource` is `none` for those rows.

**Can I get the breakdown in another language?**
Set `outputLanguage`. Descriptions, summaries and reasons are written in that language; spoken lines and on-screen text are quoted as they are.

**Why did a video fail?**
Private, removed and age-restricted videos cannot be read. Now and then a platform refuses a request; each video is retried 3 times before it is reported, and it is never charged.

**Do I need a TikTok, Instagram or YouTube account?**
No. Nothing here logs in.

### Use cases

- **Swipe files** — break down the top videos in your niche and sort by hook type, format and pacing.
- **Creative briefs** — hand creators the shot list, the hook and the script of a reference video.
- **Ad research** — find promotional videos, the products they show and the calls to action they use.
- **Content strategy** — compare formats, pacing and hooks across a creator's or a competitor's best videos.
- **AI pipelines** — feed structured breakdowns to your own model to write new variations.

### 🤖 For AI Agents & LLM Apps

One required field (`urls`) and one row per video make this an easy tool call. Each row is flat JSON with stable field names: `hook.type`, `format`, `pacing.cutsPerMinute` and `isPromotional` are ready to filter and group, and `whyItWorks`, `shots` and `timestampedTranscript` are ready to quote in a brief. Available over the Apify API and MCP.

### Support

A video that should work and doesn't, or a field you need? Open an issue on the actor's Issues tab with the link.

### Explore more scrapers

- [TikTok Lookalike Finder](https://apify.com/memo23/tiktok-lookalike-finder) — creators similar to any account
- [TikTok Hashtag Scraper](https://apify.com/memo23/tiktok-hashtag-scraper) — videos under any hashtag, to feed into this actor

### ⚠️ Disclaimer

This actor reads only publicly available videos. It does not log in, bypass authentication or access private content. You are responsible for how you use the breakdowns, including copyright in the videos and any platform terms that apply.

### SEO Keywords

video breakdown, ai video analysis, tiktok video analyzer, instagram reel analyzer, youtube shorts analyzer, hook analysis, video hook analyzer, shot list generator, video pacing analysis, ugc ad analysis, ad creative analysis, swipe file, creative brief generator, video script extractor, on-screen text extraction, tiktok transcript, reels transcript, viral video analysis, why videos go viral, competitor video analysis

# Actor input Schema

## `urls` (type: `array`):

One link per line: a TikTok video (share links work), an Instagram reel or video post, a YouTube video or Short. Profiles, playlists and photo slideshows are skipped with a reason and not charged.

## `outputLanguage` (type: `string`):

Language of summaries, shot descriptions, reasons and tags. Quotes of what is said or written on screen always stay in their original language.

## `includeTranscript` (type: `boolean`):

Add transcript and timestampedTranscript to each row: the platform's captions, or speech recognition when a video has none.

## `maxVideoMinutes` (type: `integer`):

Longer videos are skipped and not charged. The price covers the first 3 minutes of a video; each started minute after that is billed as an Extra video minute.

## `maxConcurrency` (type: `integer`):

How many videos are broken down in parallel.

## Actor input object example

```json
{
  "urls": [
    "https://www.tiktok.com/@okc.dad/video/7682492258666515726",
    "https://www.youtube.com/shorts/HKs9NvVRi5s",
    "https://www.instagram.com/reel/Dabg9j1xNHM/"
  ],
  "outputLanguage": "English",
  "includeTranscript": true,
  "maxVideoMinutes": 10,
  "maxConcurrency": 2
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset of video breakdowns.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://www.tiktok.com/@okc.dad/video/7682492258666515726",
        "https://www.youtube.com/shorts/HKs9NvVRi5s",
        "https://www.instagram.com/reel/Dabg9j1xNHM/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("memo23/ai-video-breakdown").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "urls": [
        "https://www.tiktok.com/@okc.dad/video/7682492258666515726",
        "https://www.youtube.com/shorts/HKs9NvVRi5s",
        "https://www.instagram.com/reel/Dabg9j1xNHM/",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("memo23/ai-video-breakdown").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://www.tiktok.com/@okc.dad/video/7682492258666515726",
    "https://www.youtube.com/shorts/HKs9NvVRi5s",
    "https://www.instagram.com/reel/Dabg9j1xNHM/"
  ]
}' |
apify call memo23/ai-video-breakdown --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,memo23/ai-video-breakdown"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/K9XzOlMiu05gtKI9B/builds/V4zYQnHocdHIQ6DX0/openapi.json
