# Video Breakdown AI — Hook Analysis, Shot List, Script & Pacing (`apimy/video-breakdown-ai`) Actor

Break down TikTok, YouTube, Shorts, Instagram Reels or MP4 videos with AI: hook and why it works, beats, shot list with a frame image per shot, measured cuts and pacing, transcript, on-screen text, products, CTA, script template. No login. JSON, CSV, Excel.

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

## Pricing

from $19.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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 AI — Hook Analysis, Shot List, Script & Pacing

Turn any **TikTok, YouTube video or Short, Instagram Reel, Facebook / X video or MP4 file** into a creative breakdown you can
reuse: the **hook** and why it works, the **beats** of the story, a **shot list with a frame image for every shot**,
**measured cuts and pacing**, the **full transcript with timestamps**, every **on-screen text**, **products** shown,
**commercial intent**, the **CTA**, **retention tactics**, **what to copy**, **what to improve** and a **fill-in-the-blanks
script template** — one clean row per video, plus an **LLM-ready Markdown brief** to paste into ChatGPT or Claude.

No login, no cookies, no API keys. Paste links, press Start, download JSON, CSV or Excel.

**Made for:** UGC and ad creators, performance marketers, creative strategists, social media managers, agencies
writing briefs, brands studying competitors, and AI agents that need a structured view of a video.

***

### What you get for each video

| Group | Fields | Example |
|---|---|---|
| Video facts | `url`, `platform`, `title`, `author`, `authorFollowers`, `uploadDate`, `durationSeconds`, `views`, `likes`, `comments`, `shares`, `engagementRate`, `thumbnail`, `sound` | 28.5 s, 30.9 M views, ER 1.37 % |
| Hook | `hookText`, `hookType`, `hookStrength` (1–10), `hook` {start, end, spoken, onScreenText, visual, type, whyItWorks} | "We're unboxing the biggest toy in the world." — bold claim, 9/10 |
| Story | `summary`, `topic`, `format`, `tone`, `targetAudience`, `videoLanguage`, `structure` \[beat, start, end, description] | hook → setup → demo → payoff → CTA |
| Shot list | `shotCount`, `shots` \[index, start, end, durationSeconds, framing, camera, scene, action, onScreenText, spoken, purpose, **frameUrl**] | 13 shots, each with a 480 px still |
| Pacing (measured, not guessed) | `pacing` {measuredCutCount, measuredShotCount, avgShotSeconds, cutsPerMinute, cutTimes, firstCutSeconds, cutsInFirst3Seconds} | 15 cuts, 31.6 cuts/min, first cut at 3.3 s |
| Words | `transcript`, `timestampedTranscript` \[start, end, speaker, text], `onScreenText` \[start, end, text], `onScreenTextAll` | every caption, exact wording |
| Selling | `products` \[name, brand, category, firstSeen, howShown], `commercialIntent` {type, evidence}, `cta`, `ctaText` | own product, "Go buy it right now." |
| Craft | `audio`, `editing` {captionStyle, transitions, effects, notes}, `keyMoments`, `retentionTactics` | word-by-word captions, speed ramps |
| Reuse | `whatToCopy`, `improvements`, `scriptTemplate`, `hashtags`, `llmBrief` | "We're unboxing the \[adjective] \[product] in the world…" |

Three ready-made views in the Output tab: **Breakdowns** (one line per video), **Shot lists** (one line per shot, with the
frame image) and **Creative brief** (hook, beats, what to copy, template).

#### Optional: cross-video insights

Turn on **Cross-video insights** and analyse 2+ videos (a channel, a hashtag scrape, your competitors' ads): you get one extra
row with **hook patterns** and how often they repeat, **formats**, **content pillars**, typical **pacing**, **CTA patterns**,
the **best performer and why**, a **5–8 rule playbook** and **3 new video ideas** with hook and outline.

***

### How it works

1. **The video is fetched like a viewer would** — a small copy with sound (about 360–480p is all the AI needs). TikTok,
   Instagram and files go direct; YouTube blocks cloud servers, so it goes through a residential proxy (billed per MB, only
   when used). Instagram has a backup route if the public page refuses.
2. **Cuts are measured with ffmpeg** (scene detection) — real cut times, not a model's guess. They are also given to the AI so
   the shot list follows the real edit.
3. **A multimodal AI model watches and listens to the whole video** and fills a fixed JSON schema: every row has the same
   fields, so you can compare 5 or 500 videos in a spreadsheet.
4. **One still per shot** is cut from the video and saved in the run's storage; its link is in `shots[].frameUrl`
   — a visual storyboard you can drop into a brief.

***

### Input

| Field | What it does | Default |
|---|---|---|
| **Video URLs** (`videoUrls`) | TikTok, YouTube (videos, Shorts), Instagram Reels, Facebook, X or direct MP4 links. Channel, playlist and TikTok profile links take their newest videos. Links without `https://` work too. | two sample videos |
| YouTube search terms (`searchQueries`) | e.g. `skincare routine`, `ugc ad hook`. Takes the top videos of each search. | — |
| Search order (`searchSortBy`) | `relevance` or `date` (newest uploads). | relevance |
| Search: short videos only (`searchShortVideosOnly`) | YouTube's own "under 4 minutes" filter. | on |
| Videos from another Actor's dataset (`datasetId`) | A dataset from a TikTok / YouTube / Instagram scraper run; links are read from `url`, `webVideoUrl`, `videoUrl` or `postUrl`. | — |
| Which dataset videos first (`datasetSortBy`) | `views` (most viewed first) or `original` order. | views |
| Max videos per source (`maxVideosPerSource`) | For channels, profiles, playlists, searches and datasets. | 5 |
| Max videos in total (`maxVideos`) | Hard cap per run. | 50 |
| Output language (`outputLanguage`) | 20 languages or `Same as video`. Analysis text is written in it. | English |
| Translate quotes and transcript (`translateQuotes`) | Off keeps spoken words and on-screen text in the original language. | off |
| Your brief (`briefContext`) | One or two sentences, e.g. *"We sell a vegan protein bar to Gen Z"* — shapes `whatToCopy` and `improvements`. | — |
| Max video length, minutes (`maxVideoMinutes`) | Longer videos are skipped and **not charged**. | 20 |
| Include transcript (`includeTranscript`) | `transcript` + `timestampedTranscript`. | on |
| Frame image for every shot (`includeShotFrames`) | `shots[].frameUrl`. Free. | on |
| LLM-ready brief (`includeLlmBrief`) | `llmBrief` Markdown. | on |
| Cross-video insights (`crossVideoInsights`) | One insights row when 2+ videos are analysed. | off |
| Network route (`proxyMode`) | `auto` (direct, residential only when blocked), `direct` (never pay residential MB; YouTube will refuse), `residential`. | auto |
| Videos in parallel (`maxConcurrency`) | 1–8. | 3 |

#### Example input

```json
{
  "videoUrls": [
    "https://www.tiktok.com/@okc.dad/video/7682492258666515726",
    "https://www.youtube.com/shorts/sHpEqeSByPI",
    "https://www.instagram.com/reel/DckEW9NNVsJ/"
  ],
  "outputLanguage": "English",
  "briefContext": "We are a DTC toy brand planning launch videos",
  "crossVideoInsights": true
}
```

Analyse a competitor's channel:

```json
{ "videoUrls": ["https://www.youtube.com/@MrBeast/shorts"], "maxVideosPerSource": 10, "crossVideoInsights": true }
```

Find and analyse trending how-to videos:

```json
{ "searchQueries": ["skincare routine", "morning routine"], "searchSortBy": "date", "maxVideosPerSource": 5 }
```

***

### Output example (one row, shortened)

```json
{
  "type": "breakdown",
  "url": "https://www.youtube.com/shorts/sHpEqeSByPI",
  "platform": "youtube",
  "title": "Unboxing The World’s Largest Toy",
  "author": "MrBeast",
  "durationSeconds": 28.48,
  "views": 30960064,
  "engagementRate": 0.01371,
  "format": "skit",
  "hookText": "We're unboxing the biggest toy in the world.",
  "hookType": "bold claim",
  "hookStrength": 9,
  "hook": {
    "start": 0, "end": 3.3,
    "spoken": "We're unboxing the biggest toy in the world.",
    "onScreenText": "WORLD'S LARGEST TOY",
    "visual": "MrBeast and a friend in front of a giant, life-sized toy box, then the box is lifted by a crane.",
    "whyItWorks": "It immediately sets a high-stakes, curiosity-inducing premise that promises a massive visual spectacle."
  },
  "shotCount": 13,
  "shots": [
    { "index": 1, "start": 0, "end": 3.3, "framing": "wide", "camera": "handheld",
      "action": "MrBeast and friend walk towards the giant toy box", "onScreenText": "WORLD'S LARGEST TOY",
      "purpose": "hook", "frameUrl": "https://api.apify.com/v2/key-value-stores/…/records/shot-sHpEqeSByPI-001?signature=…" }
  ],
  "pacing": { "measuredCutCount": 15, "avgShotSeconds": 1.78, "cutsPerMinute": 31.6,
              "cutTimes": [3.3, 4.3, 5.467, 7.367, 9, 9.767], "firstCutSeconds": 3.3 },
  "products": [{ "name": "Mega-Tech Mutators", "brand": "MrBeast", "category": "toy", "firstSeen": 5.467, "howShown": "mentioned and held" }],
  "commercialIntent": { "type": "own product", "evidence": "The creator promotes his own toy line and tells viewers to buy it at major retailers." },
  "ctaText": "Go buy it right now.",
  "whatToCopy": ["Use a giant, life-sized version of the product to create a spectacle", "Add a stunt element to the unboxing", "Clear, direct CTA at the end"],
  "scriptTemplate": "We're unboxing the [adjective] [product category] in the world. [Stunt setup]. This is a one-to-one recreation of the [product name] we sell. … Go buy it right now.",
  "aiModel": "gemini-3.1-flash-lite",
  "analyzedAt": "2026-11-21T15:53:40+00:00"
}
```

Failed or skipped videos come as free rows with `type: "error"`, a short `errorCode` and a plain-English reason
(`not_public`, `too_long`, `not_found`, `no_video`, `blocked`…). The run always ends green with a status message.

***

### Pricing (pay per event)

You pay only for videos that were actually analysed. Private, deleted, region-locked, too long, failed and skipped videos
are **free**.

| Event | Free / Bronze | Silver | Gold+ | When |
|---|---|---|---|---|
| Video breakdown | $0.022 / $0.021 | $0.020 | $0.019 | per analysed video, **first 60 seconds included** |
| Extra video minute | $0.012 | $0.0115 | $0.011 | each started minute beyond the first 60 s (Shorts, Reels and most TikToks never pay it) |
| Cross-video insights | $0.002 | $0.002 | $0.002 | per video compared, only when you turn insights on |
| Residential proxy MB | $0.003 | $0.003 | $0.003 | per started MB, only when the site blocked the direct route (YouTube: usually 1–5 MB per short) |
| Instagram backup source | $0.004 | $0.004 | $0.004 | only when Instagram refuses both direct and residential routes |
| Actor start | $0.0005 per GB of memory | | | once per run (1 GB by default) |

**Examples (Free plan prices):**

- 10 TikToks under a minute: 10 × $0.022 = **$0.22**
- 10 YouTube Shorts (~3 MB each through the proxy): 10 × ($0.022 + 3 × $0.003) = **$0.31**
- One 4.5-minute YouTube video: $0.022 + 4 × $0.012 + ~14 MB × $0.003 = **$0.11**
- 20 videos of a channel with insights: 20 × $0.022 (+ proxy MB for YouTube) + 20 × $0.002 = **$0.48+**

Set **Max cost per run** in the run options to cap any run — the Actor stops on its own at the cap, green, with everything
already written paid for.

**Apify Free plan:** up to 10 videos per run. Any paid Apify plan removes the limit.

***

### Compared with the most used alternative

Measured on 21.11.2026 on the same 4 links (2 TikToks, 1 YouTube Short, 1 Instagram Reel), both Actors with default
settings. Numbers are from those runs, not from listings.

| | Video Breakdown AI (this Actor) | tubetext/video-breakdown-ai |
|---|---|---|
| Videos analysed | 4 / 4 | 4 / 4 |
| Price per short video (Free plan) | **$0.022** (+ $0.003/MB on YouTube) | $0.03 |
| Price per short video (Gold) | **$0.019** | $0.022 |
| Included length | 60 s | 3 min |
| Frame image per shot | **yes** (`shots[].frameUrl`) | no |
| Measured cut times | yes | yes |
| Shots found (TikTok skit / recipe / Short / Reel) | 4 / 20 / 13 / 3 | 5 / 26 / 15 / 3 |
| Script template, what to copy, improvements, retention tactics, hook strength | **yes** | no |
| LLM-ready Markdown brief | **yes** | no |
| Cross-video playbook with new video ideas | **yes** (any list of videos) | account summary for one channel / profile |
| Direct MP4 / any file link | **yes** | no |
| YouTube trending lists by country | no | yes |
| TikTok photo slideshows | no | yes |
| Cost of the 4 links on the Free plan | **$0.0975** (4 × $0.022 + 3 MB × $0.003 + start) | $0.1201 (charged: 4 × $0.03 + start) |
| Run time for the 4 links | 95 s | 25 s |

Honest notes: the alternative was faster on this test and includes 3 minutes in its base price, so for videos of 2–3 minutes
it can come out cheaper. For shorts, Reels and TikToks under a minute this Actor is cheaper and gives you the storyboard
frames, the script template and the reuse fields on top.

***

### Use cases

- **Ad creative research** — break down your competitors' winning TikTok and Meta ads: hook, angle, proof, CTA, pacing.
- **UGC briefs** — give creators the shot list with frames and a script template instead of "make it like this video".
- **Content library** — run your own back catalogue, sort by `hookStrength`, `cutsPerMinute` or `format`, find what works.
- **Trend scouting** — YouTube search sorted by date plus cross-video insights: what formats and hooks are rising.
- **Agency reporting** — the `llmBrief` field is a ready Markdown page per video.
- **AI agents and RAG** — fixed schema, timestamps everywhere, no free-text parsing needed.

***

### Integrations

- **API:** `POST https://api.apify.com/v2/acts/apimy~video-breakdown-ai/run-sync-get-dataset-items?token=YOUR_TOKEN` with the
  input JSON — returns the rows directly (for a few videos; use the async run for long lists).
- **JavaScript:** `const { items } = await client.actor('apimy/video-breakdown-ai').call({ videoUrls: [...] }).then(r => client.dataset(r.defaultDatasetId).listItems());`
- **Python:** `run = client.actor("apimy/video-breakdown-ai").call(run_input={"videoUrls": [...]})` then
  `client.dataset(run["defaultDatasetId"]).list_items().items`.
- **AI agents (MCP):** add `apimy/video-breakdown-ai` to the Apify MCP server (`https://mcp.apify.com`) — Claude, ChatGPT,
  Cursor and other MCP clients can call it with a list of links.
- **Make, n8n, Zapier:** use the Apify app — "Run Actor" then "Get dataset items".
- **Chain with scrapers:** run any TikTok / YouTube / Instagram scraper, then pass its dataset ID in
  "Videos from another Actor's dataset" — the most viewed videos are analysed first.
- **Schedules and webhooks:** analyse a channel's newest videos every week and push the rows to Google Sheets or Slack.

***

### FAQ

**Which links work?** TikTok videos (`tiktok.com/@user/video/…`), YouTube videos and Shorts, YouTube channels and playlists,
TikTok profiles, Instagram Reels and video posts, direct video files (MP4, MOV, WebM), and — best effort — Facebook and X
videos.

**Do I need a login, cookies or my own AI key?** No.

**How accurate is the transcript?** The AI listens to the audio track; quotes are exact for clear speech. Music lyrics and
crowd noise are not transcribed word for word. When nobody speaks, `transcript` is empty.

**Why is the shot count different from the measured cut count?** `pacing` is measured by ffmpeg on the picture; `shots` is
the AI's shot list built on those cut times — it merges flashes shorter than 0.3 s and may split a long single take by
action.

**How long does it take?** About 15–40 seconds per short video; 3 videos run in parallel by default.

**What happens with private, deleted or region-locked videos?** A free error row with the reason. Nothing is charged.

**Can I get the analysis in my language?** Yes — 20 languages or "Same as video". Quotes stay in the original language unless
you turn on "Translate quotes and transcript too".

**Is the frame image link permanent?** It lives in the run's key-value store, kept as long as your Apify data retention
(7 days on the Free plan, longer on paid plans). Download the images or the whole store if you need them longer.

**Can it analyse a 1-hour video?** Up to 120 minutes with "Max video length"; each started minute beyond the first is billed
as "Extra video minute". For long podcasts a transcript Actor is cheaper.

***

### Limitations

- TikTok photo slideshows (no video track) are not analysed — they come as a free error row.
- YouTube always needs the residential proxy from cloud servers; with "Direct only" YouTube links fail (free).
- Views, likes and followers are what the platform shows to a logged-out visitor; some are missing on Instagram.
- The analysis is AI-generated: timings are accurate to about half a second, descriptions can be wrong on very dark, very
  fast or very low-resolution videos.
- Live streams are analysed only after they end.

***

### Related Actors

- [Video Frame Extractor](https://apify.com/apimy/video-frame-extractor) — all frames, scenes, keyframes, OCR from any video.

Questions or a feature you need? Open an issue on the Actor page — we answer within a day.

# Changelog

This Actor's version history is a separate document: https://apify.com/apimy/video-breakdown-ai/changelog.md

# Actor input Schema

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

TikTok videos, YouTube videos and Shorts, Instagram Reels, Facebook / X videos or direct MP4 links. Channel, playlist and TikTok profile links take their newest videos (see 'Max videos per source'). Private, deleted or too long videos are skipped and not charged.

## `searchQueries` (type: `array`):

Optional. E.g. 'skincare routine', 'ugc ad'. Each search takes the top videos (up to 'Max videos per source').

## `searchSortBy` (type: `string`):

Relevance (YouTube's default) or newest uploads first.

## `searchShortVideosOnly` (type: `boolean`):

Keep only results under 4 minutes (Shorts and short videos) — YouTube's own duration filter.

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

Optional. A dataset from a TikTok / YouTube / Instagram scraper run. Video links are read from the fields url, webVideoUrl, videoUrl or postUrl. Read-only access to this one dataset is requested.

## `datasetSortBy` (type: `string`):

Most viewed first (uses views / playCount when the dataset has them) or the dataset's own order.

## `maxVideosPerSource` (type: `integer`):

For channels, playlists, TikTok profiles, searches and datasets: how many videos to take from each. Single video links are not affected.

## `maxVideos` (type: `integer`):

Hard cap on the number of videos analysed in one run.

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

Language of the analysis (summary, hook explanation, notes, template). 'Same as video' follows the video's language.

## `translateQuotes` (type: `boolean`):

Off: spoken words and on-screen text stay in their original language. On: they are translated into the output language.

## `briefContext` (type: `string`):

One or two sentences the AI should keep in mind, e.g. 'We sell a vegan protein bar to Gen Z — focus on what we can reuse'. Shapes 'what to copy' and 'improvements'.

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

Longer videos are skipped and not charged. The first 60 seconds are included in the price; each further started minute is billed as 'Extra video minute'.

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

Adds 'transcript' (plain text) and 'timestampedTranscript' (lines with start/end seconds).

## `includeShotFrames` (type: `boolean`):

Saves one still (480 px JPG) per shot and puts its link in shots\[].frameUrl — a visual storyboard. Free.

## `includeLlmBrief` (type: `boolean`):

Adds 'llmBrief': the whole breakdown as Markdown, ready to paste into ChatGPT or Claude.

## `crossVideoInsights` (type: `boolean`):

When 2+ videos are analysed, adds one 'insights' row: hook patterns, formats, pacing, content pillars, best performer and a playbook with 3 new video ideas. Billed once per run as 'Cross-video insights'.

## `proxyMode` (type: `string`):

Auto: direct first, residential proxy only when the site blocks it (YouTube always needs it). Residential traffic is billed per MB only when it was used.

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

How many videos are processed at the same time.

## Actor input object example

```json
{
  "videoUrls": [
    "https://www.tiktok.com/@okc.dad/video/7682492258666515726",
    "https://www.youtube.com/shorts/sHpEqeSByPI"
  ],
  "searchSortBy": "relevance",
  "searchShortVideosOnly": true,
  "datasetSortBy": "views",
  "maxVideosPerSource": 5,
  "maxVideos": 50,
  "outputLanguage": "English",
  "translateQuotes": false,
  "maxVideoMinutes": 20,
  "includeTranscript": true,
  "includeShotFrames": true,
  "includeLlmBrief": true,
  "crossVideoInsights": false,
  "proxyMode": "auto",
  "maxConcurrency": 3
}
```

# Actor output Schema

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

No description

## `shots` (type: `string`):

No description

## `creative` (type: `string`):

No description

## `frames` (type: `string`):

No description

# 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.tiktok.com/@okc.dad/video/7682492258666515726",
        "https://www.youtube.com/shorts/sHpEqeSByPI"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("apimy/video-breakdown-ai").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.tiktok.com/@okc.dad/video/7682492258666515726",
        "https://www.youtube.com/shorts/sHpEqeSByPI",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("apimy/video-breakdown-ai").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.tiktok.com/@okc.dad/video/7682492258666515726",
    "https://www.youtube.com/shorts/sHpEqeSByPI"
  ]
}' |
apify call apimy/video-breakdown-ai --silent --output-dataset

```

## MCP server setup

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

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/TnMgCMM5pzQAJeZHM/builds/lzbFnA8hkNgtH6xi9/openapi.json
