# Video Breakdown & Video to Prompt: TikTok, Reels, YouTube (`borderless/video-breakdown-shot-list`) Actor

Break down TikTok, Instagram Reels and YouTube videos for your next creative brief: the 3-second hook and why it works, timed script, every shot with framing and camera move, pacing and CTA. Paste links or a scraper dataset. Plus an AI video prompt per shot (Veo, Kling, Seedance).

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

## Pricing

Pay per event

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

## Video Breakdown & Video to Prompt: TikTok, Reels, YouTube

Turn **TikTok, Instagram Reels and YouTube** videos into references for your next creative brief. Paste links, or the dataset of a scraper run, and get each video taken apart the way an editor would: the **3-second hook** and why it works, the **timed script**, a **shot list** with framing and camera movement, **measured pacing**, the narrative **structure** and the **call to action**. Every shot also comes with **a ready-to-paste AI video prompt** (Veo, Kling, Seedance, MiniMax, Runway, Sora).

Built for performance marketers, ad creatives, UGC creators and editors who study what works on short-form and want to brief or remake it fast.

- **Hook analysis**: what is seen, said and written in the first 3 seconds, the technique by name, and why it works
- **Shot list**: start, end, framing, camera movement, action, on-screen text and audio for every shot
- **Video prompt per shot**: 40 to 80 words with subject, action, setting, framing, camera move, light, style and length, written to work in models that refuse real people and logos
- **Pacing, counted not guessed**: shot count, cuts per minute, average and median shot length, cuts in the first 3 seconds
- **Timed transcript**: spoken and sung words verbatim, with who speaks
- **Structure**: format, narrative beats with timestamps, call to action, tone and audience
- **Scraper datasets in, breakdowns out**: pick the output of an Instagram, TikTok or YouTube scraper run and every video in it is broken down, with **author and view count carried over** so you can rank by what performed
- **14 languages** for the analysis; transcripts stay verbatim, prompts stay in English
- **No API key, no subscription, no login.** Pay per video.

### Pricing

You pay only for breakdowns that come out. A video that is private, removed, live, unsupported, or that the model cannot read: zero.

| Video length | You pay |
|---|---|
| Up to 1 minute (ads, Shorts, hooks) | $0.08 |
| 3 minutes | $0.16 |
| 5 minutes | $0.24 |
| 10 minutes | $0.44 |

That is **$0.08 per video**, including the first minute, plus **$0.04 for each started minute after it**. Set `maxMinutesPerVideo` to cap long videos, or a maximum charge on the run: the Actor stops before the video that would pass it.

### Input

| Field | What it does | Default |
|---|---|---|
| `videoUrls` | TikTok video links, Instagram Reels and post links, YouTube watch, Shorts or youtu.be links, or a direct public https link to an MP4, MOV or WebM file (up to 150 MB). | |
| `datasetId` | Optional. The dataset of a scraper run (apify/instagram-scraper, apify/instagram-reel-scraper, clockworks/tiktok-scraper, a YouTube scraper, or any dataset with a video or post URL per item). Photos and carousels come back as free rows. | |
| `maxDatasetItems` | How many items to read from the dataset, 1 to 50. | 50 |
| `outputLanguage` | Language of the analysis (English, Portuguese, Spanish, French, German, Italian, Japanese, Korean, Chinese, Hindi, Indonesian, Russian, Turkish, Arabic) | English |
| `maxMinutesPerVideo` | 1 to 20. Longer videos are analyzed up to this point, and you pay only for those minutes. | 10 |

Up to 50 videos per run, links and dataset together.

```json
{
  "videoUrls": [
    "https://www.tiktok.com/@brand/video/7300000000000000000",
    "https://www.instagram.com/reel/REEL_CODE/",
    "https://www.youtube.com/shorts/VIDEO_ID"
  ],
  "outputLanguage": "English",
  "maxMinutesPerVideo": 10
}
```

#### From a scraper run

Scrape a competitor's profile, a hashtag or a keyword with any TikTok or Instagram scraper, then pass its dataset here. Each item keeps its `author` and `views`, so the Overview table shows which hook and which pacing belong to the videos that performed.

```json
{
  "datasetId": "YOUR_SCRAPER_RUN_DATASET_ID",
  "maxDatasetItems": 30
}
```

For TikTok, turn on video download in the scraper when it offers it: the Actor then reads the file the scraper already saved, which is the most reliable path. Without it, the Actor downloads each video from its TikTok link.

### Output

One dataset item per video. The **Overview** table puts hook and pacing of every video side by side; the full item has every shot and every line.

```json
{
  "url": "https://www.youtube.com/watch?v=e04ZPbSPLWI",
  "source": "youtube",
  "author": null,
  "views": null,
  "title": "PlayStation - Where The Greatest Play :30 Trailer",
  "durationSeconds": 30,
  "analyzedSeconds": 30,
  "hook": {
    "spokenWords": "",
    "visual": "Logo cuts to an extreme close-up of a thumb flicking an analog stick, then an armored hero bursts through fire.",
    "onScreenText": "",
    "technique": "Pattern interrupt",
    "whyItWorks": "Tactile gamer immersion first, then blockbuster action timed to a driving rock track."
  },
  "pacing": {
    "shotCount": 23,
    "cutsPerMinute": 44,
    "averageShotSeconds": 1.3,
    "medianShotSeconds": 1,
    "shortestShotSeconds": 0.5,
    "longestShotSeconds": 3,
    "cutsInFirst3Seconds": 3
  },
  "structure": {
    "format": "brand film",
    "beats": [
      { "start": 0, "label": "Hook", "description": "Controller input triggers explosive action." },
      { "start": 2.7, "label": "Game montage", "description": "Rapid cuts across stealth, racing, sci-fi and action titles." }
    ],
    "callToAction": "GREATNESS AWAITS",
    "tone": "Epic, energetic, premium, cinematic",
    "audience": "Core gamers"
  },
  "shots": [
    {
      "shot": 2,
      "start": 0.5,
      "end": 1.7,
      "durationSeconds": 1.2,
      "framing": "extreme close-up",
      "cameraMovement": "static",
      "action": "A thumb maneuvers an analog stick on a black controller.",
      "onScreenText": "",
      "audio": "Driving bass guitar and drum rhythm.",
      "regenPrompt": "Macro extreme close-up of a human thumb pushing and tilting a textured analog joystick on a modern game controller, shallow depth of field, moody ambient room lighting, hyper-detailed, 1.2 seconds duration."
    }
  ],
  "transcript": [
    { "start": 2, "end": 14.5, "speaker": "Singer", "text": "Don't worry about everybody else..." }
  ],
  "summary": "A high-energy sizzle reel pairing tactile controller inputs with blockbuster gameplay, cut to the beat.",
  "model": "Gemini 3.8 Flash",
  "framesPerSecond": 4,
  "cutFramesPerSecond": 6,
  "error": null
}
```

`source` is `tiktok`, `instagram`, `youtube` or `file`. `author` and `views` come from the scraper dataset or the video page, and are `null` when neither says. When a video cannot be analyzed, the item has only `url`, `source` and `error`, and that video costs nothing.

### How it works

Google's **Gemini 3.8 Flash** watches the video directly. YouTube links need no download; TikTok and Instagram videos are downloaded in the run (or read from the file your scraper saved) and handed to the model. Short videos are sampled at **4 frames per second**, up to 4 minutes at 2, longer ones at 1, so fast cuts in ads and Shorts are caught. The shot list comes back as structured JSON; the Actor then cleans it (shots in order, inside the video, no empty shots) and **counts the pacing itself** from the shot list, so cuts per minute and shot lengths are arithmetic, not a model's guess.

**Cuts are found before anything is described.** For videos up to about 100 seconds (ads, hooks, Shorts), a separate pass watches the video at **6 frames per second**, ten seconds at a time, with one job: find where one camera take ends and the next begins. Those cuts set where every shot starts and ends, and the breakdown then describes what is inside each one. A pan, a whip pan or a camera that follows someone stays inside its shot instead of being split in two. The pass is tuned to never invent a cut, so a very subtle one (a jump cut in the same setup, two near-identical locations back to back) can be missed, and a shot may then hold two takes. The item says which path ran: `cutFramesPerSecond` is 6 when the cut pass ran and `null` when the shot list came from the breakdown alone.

Cut times are read from the sampled frames, so a cut lands within a quarter of a second in short videos and within about a second in long ones.

### Use cases

- **Competitor teardown**: scrape a competitor's TikTok or Instagram profile, pass the dataset, and see the hook, pacing and call to action of their most viewed videos side by side.
- **Swipe file of winning ads**: break down 50 ads or Reels in one run and compare hooks and pacing in the Overview table.
- **Remake a reference in AI video**: paste each shot's `regenPrompt` into your video model, shot by shot, with the same framing, move and length.
- **Brief creators**: hand over the hook, beats and shot list instead of "make it like this one".
- **Script study**: the timed transcript plus beats shows where the problem, proof and call to action land.
- **Edit rhythm reference**: match your cut rate to the video that performed.

### Next step: turn the prompts into video

Every shot comes with a `regenPrompt`. To render them without leaving Apify, paste up to 20 of them into the `prompts` field of [MiniMax H3 Max Turbo Video Generator](https://apify.com/borderless/h3-max-turbo-video): one MP4 with sound per prompt, from $0.035 per second, text to video or from a start image. H3 renders 5 to 15 seconds per video, so generate each shot at 5 seconds and trim it to the shot length from the breakdown.

### Limits

- Videos must be **public**. Private, members-only, age-restricted and live videos are refused and not charged.
- Instagram sometimes refuses to open a reel without an account. When that happens the item says so and costs nothing: run an Instagram scraper and pass its dataset, which brings the video file with it.
- Facebook and X links are not supported yet. Download the file and pass a direct MP4 link instead.
- Up to 20 minutes analyzed per video, 50 videos per run.
- In videos longer than about 100 seconds the shot list comes from the breakdown alone, at 1 to 2 frames per second. A fast pan or a long follow shot can be read as a cut there, so treat the shot count of long videos as approximate.

### FAQ

**How long does a breakdown take?** About 30 seconds for a 30-second ad, under 2 minutes for a 4-minute video. Videos in a run go one after another.

**Can I use the prompts commercially?** Yes. They describe the shot in generic terms (no names, no logos), so you own what you generate from them under your video model's terms.

**Why are spoken words in the original language when I chose another one?** Transcripts and on-screen text are verbatim on purpose: that is what you quote and subtitle. Everything descriptive comes in your language.

**Why did a run stop before my last video?** Either the run's maximum charge was reached, or capacity was briefly unavailable. Videos that did not run were not charged.

# Actor input Schema

## `videoUrls` (type: `array`):

TikTok, Instagram Reels and YouTube links (watch, Shorts, youtu.be), or a direct public link to an MP4, MOV or WebM file (up to 150 MB). Up to 50 videos per run, together with the dataset below.

## `datasetId` (type: `string`):

The output of a TikTok, Instagram or YouTube scraper run. Every item with a video becomes a breakdown, with the author and view count carried over, so you can scrape a competitor's profile or a hashtag and break down its top videos in one go. Works with apify/instagram-scraper, apify/instagram-reel-scraper, clockworks/tiktok-scraper and any dataset with a video or post URL per item. Photos and carousels come back as free rows.

## `maxDatasetItems` (type: `integer`):

Reads the first items of the dataset, up to this many.

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

Hook, shot descriptions and structure come in this language. Spoken words and on-screen text stay verbatim; the per-shot video prompts are always in English, the language AI video models follow best.

## `maxMinutesPerVideo` (type: `integer`):

Longer videos are analyzed up to this point, and you pay only for the minutes analyzed.

## Actor input object example

```json
{
  "videoUrls": [
    "https://www.youtube.com/watch?v=e04ZPbSPLWI"
  ],
  "maxDatasetItems": 50,
  "outputLanguage": "English",
  "maxMinutesPerVideo": 10
}
```

# Actor output Schema

## `breakdowns` (type: `string`):

One item per video, with error filled when a video could not be analyzed (and was not charged).

## `overview` (type: `string`):

Hook and pacing of every video side by side.

# 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 = {
    "videoUrls": [
        "https://www.youtube.com/watch?v=e04ZPbSPLWI"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("borderless/video-breakdown-shot-list").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 = { "videoUrls": ["https://www.youtube.com/watch?v=e04ZPbSPLWI"] }

# Run the Actor and wait for it to finish
run = client.actor("borderless/video-breakdown-shot-list").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 '{
  "videoUrls": [
    "https://www.youtube.com/watch?v=e04ZPbSPLWI"
  ]
}' |
apify call borderless/video-breakdown-shot-list --silent --output-dataset

```

## MCP server setup

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

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/8dPYAYmCbcL7S6Y9P/builds/XfaqZ9fSv69Dkfqw1/openapi.json
