# Video Contact Sheet: Storyboard Grid Image from Any Video (`data-done-right/video-contact-sheet`) Actor

Turn video file URLs into a storyboard contact sheet: one grid image with timecodes and a tile-to-timestamp list. Frames evenly, every N seconds or by scene; set columns, size and header. Good for LLM vision. Direct files only, no YouTube. Free when a video fails.

- **URL**: https://apify.com/data-done-right/video-contact-sheet.md
- **Developed by:** [Data Done Right](https://apify.com/data-done-right) (community)
- **Categories:** Videos, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.00 / 1,000 contact sheet createds

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 Contact Sheet: Storyboard Grid Image from Any Video

This **video contact sheet** generator turns a video file URL into one **storyboard grid image**: evenly spaced frames, a frame every N seconds, or one frame per scene, each tile labelled with its timecode, plus a list that maps every tile to its exact timestamp. One image lets a person (or a vision model) see a whole video at a glance. It runs ffmpeg and Pillow: no browser, API key or AI model to set up.

> **What it does NOT do.** It reads **direct video files** (mp4, mov, webm, mkv, avi...) from a URL. It does **not** download from YouTube, Vimeo, TikTok, Instagram or other streaming sites, and it rejects those page links without charge. It does **not** describe, transcribe or understand the video: you get an image and timestamps, not captions. Scene mode uses a plain frame-difference score, so it finds cuts, not "interesting" moments, and it can miss soft dissolves or fire on flashes. It does not pick a single best frame as a cover image (see Video Thumbnail Generator), and it does not extract the individual frames as files (see Video Frame Extractor). It respects robots.txt and cannot read files behind a login or on private addresses.

### What you get

- **A contact sheet image per video** (JPG, PNG or WebP) with a signed download link: a grid of 1 to 96 frames, with an optional header strip (name, length, resolution, tile count) and timecodes or tile numbers on the tiles.
- **Three ways to choose frames:** `even` (N frames spread over the whole video), `interval` (one frame every N seconds) and `scene` (one frame per detected scene, a storyboard).
- **A `tiles` list in every row:** for each tile its number, row, column, sheet, timestamp in seconds, timecode and how it was chosen (`even`, `interval`, `scene`, or `fill`), so a script or an agent can say "the shot in row 2, column 3 is at 00:01:12".
- **Layout control:** grid with N columns, automatic grid, one-row filmstrip, one-column strip; tile width, gap, background colour, label corner; a maximum sheet width or height so the image fits your vision model or chat tool; optional splitting of long storyboards into several sheets.

### How to make a contact sheet from a video URL

1. Paste one or more **direct video URLs** in `videoUrls` (the prefilled sample works as is).
2. Leave the defaults for a 12-tile, 4-column sheet of evenly spaced frames with timecodes, or change `tiles`, `columns` and `tileWidth`.
3. Run it. Each video gets a `sheetUrl` and a `tiles` list in the dataset. The image is also in the run's key-value store and the run summary is in the `SUMMARY` record.

### How to make a storyboard with one frame per scene

Set `selection` to `scene`. The Actor scans a small copy of the whole video for scene changes (`sceneThreshold`, default 0.3: lower finds more, smaller changes), merges cuts closer together than `minSceneSeconds` (default 1), and puts a frame a little after each cut on the sheet. If there are more scenes than `tiles`, the first scene and the strongest cuts are kept. If there are fewer, `fillMissingScenes` (on by default) adds evenly placed frames in the longest gaps; each tile's `method` is `scene` or `fill`, and `note` says what happened. Scene mode decodes the whole file, so it only runs for videos up to `maxSceneScanMinutes` (default 5); longer videos get evenly spaced tiles instead, with a note. The scene score of each cut is in the `tiles` list.

### How to get one frame every N seconds

Set `selection` to `interval` and `intervalSeconds` (a frame in the middle of every N seconds). `tiles` is the maximum: if the video would need more, the interval is widened so the sheet still has `tiles` frames, and `note` shows the interval used. Use `tilesPerSheet` to split a long video into several sheets instead of widening.

### How to make a sheet for an LLM or vision model

Use a header strip (on by default), tile labels `timecode` or `timecode+number`, and set `maxSheetWidth` (and `maxSheetHeight`) to the largest image your model or chat tool takes without shrinking it; the tiles are made smaller to fit. Give the model the image and the `tiles` list from the same row, so it can quote timestamps. The sheet is one image per video, so it is far cheaper for the model than sending many frames. This Actor does not call any model itself.

### Input

| Field | Default | What it does |
|---|---|---|
| `videoUrls` (required) | one sample | Direct video file URLs. Example: `https://example.com/clip.mp4`. |
| `videos` | none | Per-video `name`: `[{"url": "...", "name": "launch-ad"}]`. The name goes into file names and the header. |
| `selection` | `even` | `even`, `interval` or `scene`. |
| `tiles` | 12 | Frames on the sheet (1 to 96); the maximum in interval mode. |
| `intervalSeconds` | 10 | Interval mode: one frame per N seconds. |
| `sceneThreshold` | 0.3 | Scene mode sensitivity (0.05 to 0.95). |
| `minSceneSeconds` | 1 | Scene mode: merge cuts closer than this. |
| `fillMissingScenes` | true | Scene mode: add evenly placed frames when fewer scenes than tiles. |
| `layout` | `grid` | `grid` (uses `columns`), `auto`, `filmstrip` (one row) or `vertical` (one column). |
| `columns` | 4 | Tiles per row for `grid`. |
| `tileWidth` | 320 | Tile width in px (never larger than the video). |
| `tilePadding` | 4 | Gap between tiles in px. |
| `backgroundColor` | `#181818` | Hex colour of the gaps and the header. Light backgrounds get dark header text. |
| `tileLabels` | `timecode` | `timecode`, `timecode+number`, `number` or `none`. |
| `labelPosition` | `bottom-left` | Corner of the tile label. |
| `headerStrip` | true | Strip with name, length, resolution and tile count above the grid. |
| `maxSheetWidth` / `maxSheetHeight` | 0 (no limit) | Shrink the tiles until the whole sheet fits. |
| `tilesPerSheet` | 0 (one sheet) | Split into several sheets of at most this many tiles. |
| `maxSheetsPerVideo` | 4 | Cap on the sheets (and so the charge) of one video; tiles beyond it are left out, with a note. |
| `imageFormat` / `imageQuality` | `jpg` / 85 | `jpg`, `png` or `webp`; quality for JPG and WebP. |
| `maxVideosPerRun` | 100 | Hard cap per run; the rest are listed as skipped. |
| `maxVideoSizeMb` | 500 | Source files above this are rejected (max 2,048). |
| `maxDurationMinutes` | 240 | Longer videos are rejected without charge. |
| `maxSceneScanMinutes` | 5 | Scene mode only for videos up to this length; longer ones get evenly spaced tiles. |
| `videoTimeoutSecs` | 600 | Per download and per ffmpeg step. |
| `outputStoreName` | none | Keep the images in a named store until you delete it. |

### Output

One dataset row per sheet. This is a real row from a local run of the prefilled sample (960x540, 5 s, 8 tiles, 4 columns, `tileWidth` 240); the `tiles` list is cut to two entries here:

```json
{
  "sourceUrl": "https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4",
  "videoIndex": 1, "name": null, "durationSeconds": 5.055, "videoWidth": 960, "videoHeight": 540, "fps": 29.97, "codec": "h264",
  "format": "jpg", "sheetNumber": 1, "sheetCount": 1,
  "sheetUrl": "https://api.apify.com/v2/key-value-stores/<STORE_ID>/records/v01-contact-sheet.jpg",
  "sheetKey": "v01-contact-sheet.jpg", "selection": "even",
  "tileCount": 8, "firstTileNumber": 1, "columns": 4, "rows": 2, "tileWidth": 240, "tileHeight": 135,
  "sheetWidth": 980, "sheetHeight": 334, "sheetBytes": 66496,
  "tiles": [
    {"tile": 1, "row": 1, "column": 1, "sheet": 1, "timestamp": 0.316, "timecode": "00:00:00.316", "method": "even", "sceneScore": null},
    {"tile": 2, "row": 1, "column": 2, "sheet": 1, "timestamp": 0.948, "timecode": "00:00:00.948", "method": "even", "sceneScore": null}
  ],
  "status": "ok", "error": null, "note": null
}
```

A video that cannot be processed gets one row with `status` `error` (or `skipped`), the reason in `error` and no image. A split video gets one row per sheet (`sheetNumber`, `sheetCount`; tiles are numbered across sheets). `note` carries things like "5 scenes were found; the first and the 3 strongest cuts are shown", "interval widened to 6.0 s" or "tile width was reduced from 320 to 232 px to fit maxSheetWidth".

### Use cases

- Give an LLM or agent a visual summary of a video in one image, with timestamps it can cite.
- Review long recordings (screen captures, lectures, meetings, surveillance exports) at a glance.
- Build a storyboard or shot overview of an ad, trailer or edit, one frame per scene.
- Make catalogue or archive thumbnails for a media library, in a uniform grid.
- Add a visual index to a video pipeline: cut with the trimmer, scan scenes, then contact-sheet each clip.

### How much does it cost

Pay per event: **$0.01 per contact sheet delivered** (`sheet-created`, $10 per 1,000). A video is charged only when all its sheets were created and stored; with the default settings that is one sheet per video. If you split a video into several sheets you pay for each. Rejected links, failed and skipped videos and the `SUMMARY` record are free. Plan discounts apply (Silver about 10%, Gold and higher about 20%).

- 1,000 videos (one sheet each): $10.
- 10,000 videos: $100.
- 100,000 videos: $1,000.

The price is per sheet whatever the video length, so `maxDurationMinutes`, `maxVideoSizeMb`, `maxSceneScanMinutes` and `maxSheetsPerVideo` also limit the work one charge can cause. `maxVideosPerRun` caps a run, and if you set a maximum spend per run the Actor stops cleanly when it is reached and removes the files it could not charge for. A local run of the 5-second sample (download, 8 tiles, sheet) took about 2 seconds. On a generated 2-minute 1080p test clip the scene scan took about 7 seconds on one CPU thread and cutting 12 evenly spaced frames under 1 second; a real Apify run may be slower.

### FAQ

#### Which video sources work?

Direct links to video files that the server returns with a normal GET: mp4, mov, webm, mkv, avi and similar. HLS or DASH playlists (m3u8, mpd) and pages of video sites are rejected without charge. The host must allow automated fetching in its robots.txt, and links to private or internal addresses are blocked.

#### How is this different from Video Thumbnail Generator and Video Frame Extractor?

Video Thumbnail Generator picks one cover frame and can add a simple evenly spaced sheet. This Actor is for the sheet itself: scene-based or interval tiles, layout choices (columns, filmstrip, size caps, split sheets, header strip, colours, label styles) and a tile-to-timestamp list in the output. Video Frame Extractor returns the individual frames as files, priced per frame. If you need one good cover image, use the thumbnail generator; if you need the frames, use the extractor.

#### How good is scene detection?

It compares each frame of a small copy of the video with the previous one and reports a score from 0 to 1. Hard cuts score high; fades, slow dissolves and moving cameras score low, so they can be missed, while flashes, strobe effects and fast action can cause extra cuts. Tune `sceneThreshold` (lower for more cuts) and `minSceneSeconds`. In tests on clips with hard cuts at known times the tiles landed on the cuts. The scan decodes the whole file, which is why it is limited by `maxSceneScanMinutes`.

#### What happens if only part of the job fails?

All or nothing per video. If a sheet cannot be made, the video gets an error row, no file is kept and no charge is made. Individual frames that cannot be decoded are left out and the row notes how many; the sheet is still delivered if at least one tile exists.

#### Which image sizes do I get?

The sheet is about `columns` x `tileWidth` wide plus the gaps, with the tile height from the video's aspect ratio. A video narrower than `tileWidth` gives smaller tiles. With `maxSheetWidth` or `maxSheetHeight` the tiles shrink until the whole sheet fits (down to a minimum tile width of about 40 px). Very large grids of small tiles are hard to read for people and models alike, so prefer fewer tiles or split sheets.

#### Which limits apply?

Files up to 2 GB (default 500 MB), 240 minutes by default, up to 1,000 videos per run, 96 tiles per video, up to 48 tiles per sheet when splitting. The whole file is downloaded once per video, and files with no readable video track get an error row. Labels use a built-in font, which shows timecodes and numbers only (no accented or non-Latin text in the header, so unusual file names may show gaps).

#### How long are the images kept?

In the run's key-value store, which expires with your plan's retention period. Set `outputStoreName` to keep them in a named store until you delete it.

### Use with the Apify API, MCP, n8n and Make

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("data-done-right/video-contact-sheet").call(run_input={
    "videoUrls": ["https://example.com/launch.mp4"],
    "selection": "scene", "tiles": 12, "maxSheetWidth": 1600})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["status"], row["sheetUrl"] or row["error"])
    for t in row["tiles"] or []:
        print(t["tile"], t["timecode"], t["method"])
```

JavaScript:

```js
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<APIFY_TOKEN>' });
const run = await client.actor('data-done-right/video-contact-sheet').call({
  videoUrls: ['https://example.com/launch.mp4'], selection: 'interval', intervalSeconds: 5, layout: 'filmstrip' });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

In n8n or Make use the Apify node with the actor name and the same JSON. With Apify's MCP server (mcp.apify.com) an AI assistant can call it: "make a storyboard contact sheet of this mp4". It needs only a video URL.

### Related tools

- **Video Frame Extractor: Keyframes, Scenes & Thumbnails for AI**: the individual frames as files (keyframes, scene changes, every N seconds), priced per frame.
- **Video Thumbnail Generator: Poster Frame & Contact Sheet**: one auto-picked cover frame per video, with a simple evenly spaced sheet.
- **Video Scene Detection & Shot List: Cut Timecodes to CSV**: the scene cut timecodes as a shot list, without images.
- **Cut Video: Video Trimmer, Clip Cutter & Video to GIF**: cut clips, segments, GIFs or MP3s from video URLs.

# Actor input Schema

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

Direct links to video files (mp4, mov, webm, mkv, avi). Example: https://example.com/clip.mp4. Each video gets one contact sheet (more if you split it). YouTube, Vimeo, TikTok and other streaming-site page links are rejected, with no charge.

## `videos` (type: `array`):

Optional: \[{"url": "https://example.com/a.mp4", "name": "launch-ad"}, ...]. The name goes into the file names and the sheet header. Used in addition to 'Video URLs'.

## `selection` (type: `string`):

even = N frames evenly spaced over the whole video. interval = one frame every N seconds. scene = one frame per scene (the Actor scans the whole video for cuts; long videos take longer).

## `tiles` (type: `integer`):

Frames on the sheet. In interval mode this is the maximum (the interval is widened if the video would need more). Example: 12.

## `intervalSeconds` (type: `number`):

Interval mode only: one frame in the middle of every N seconds. Example: 10.

## `sceneThreshold` (type: `number`):

Scene mode only. Lower finds more, smaller changes; higher only hard cuts. 0.3 suits most videos. Example: 0.3.

## `minSceneSeconds` (type: `number`):

Scene mode only. Cuts closer together than this are merged (dissolves and flashes produce many detections). Example: 1.

## `fillMissingScenes` (type: `boolean`):

Scene mode only. When fewer scenes than tiles are found, add frames in the longest gaps so the sheet has the tile count you asked for. Off = the sheet has only the scene frames.

## `layout` (type: `string`):

grid = the number of columns below. auto = a near-4:3 grid for the tile count. filmstrip = one row. vertical = one column.

## `columns` (type: `integer`):

Tiles per row for the 'grid' layout. Example: 4.

## `tileWidth` (type: `integer`):

Width of one tile. A tile is never larger than the video itself. Example: 320.

## `tilePadding` (type: `integer`):

Space between and around tiles. 0 = tiles touch. Example: 4.

## `backgroundColor` (type: `string`):

Hex colour of the gaps and the header strip. Example: #181818 (dark) or #ffffff (white).

## `tileLabels` (type: `string`):

timecode = the time in the corner of each tile. number = the tile number (matches the 'tiles' list in the output). none = clean frames.

## `labelPosition` (type: `string`):

Which corner of the tile carries the label.

## `headerStrip` (type: `boolean`):

Add a strip above the grid with the video name, length, resolution and tile count (the sheet then explains itself to a person or a vision model).

## `maxSheetWidth` (type: `integer`):

0 = no limit. If the sheet would be wider, tiles are shrunk to fit. Useful when a vision model or a chat tool downsizes big images. Example: 1600.

## `maxSheetHeight` (type: `integer`):

0 = no limit. If the sheet would be taller, tiles are shrunk to fit. Example: 1600.

## `tilesPerSheet` (type: `integer`):

Split a long storyboard into several sheets of at most this many tiles; each sheet is a separate image, row and charge. 0 puts all tiles on one sheet. Example: 24.

## `maxSheetsPerVideo` (type: `integer`):

Caps what one video can cost when you split it. Tiles beyond the cap are left out (with a note). Example: 4.

## `imageFormat` (type: `string`):

File type of the sheets.

## `imageQuality` (type: `integer`):

JPG and WebP only. 85 is a good balance. Ignored for PNG.

## `maxVideosPerRun` (type: `integer`):

Hard cap on videos processed in one run (and so on what you can be charged). Videos past the cap are listed as skipped.

## `maxVideoSizeMb` (type: `integer`):

Source files above this size are rejected before the download finishes.

## `maxDurationMinutes` (type: `number`):

Longer videos are rejected without charge. Example: 240 = 4 hours.

## `maxSceneScanMinutes` (type: `number`):

Scene mode decodes the whole video. Videos longer than this get evenly spaced tiles instead (with a note). Example: 5. Raising it raises the compute time per sheet.

## `videoTimeoutSecs` (type: `integer`):

Applies separately to each download and to each ffmpeg step.

## `outputStoreName` (type: `string`):

Optional key-value store name. Named stores are kept until you delete them, while a run's own store expires after your plan's retention period. Example: my-contact-sheets.

## Actor input object example

```json
{
  "videoUrls": [
    "https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4"
  ],
  "selection": "even",
  "tiles": 12,
  "intervalSeconds": 10,
  "sceneThreshold": 0.3,
  "minSceneSeconds": 1,
  "fillMissingScenes": true,
  "layout": "grid",
  "columns": 4,
  "tileWidth": 320,
  "tilePadding": 4,
  "backgroundColor": "#181818",
  "tileLabels": "timecode",
  "labelPosition": "bottom-left",
  "headerStrip": true,
  "maxSheetWidth": 0,
  "maxSheetHeight": 0,
  "tilesPerSheet": 0,
  "maxSheetsPerVideo": 4,
  "imageFormat": "jpg",
  "imageQuality": 85,
  "maxVideosPerRun": 100,
  "maxVideoSizeMb": 500,
  "maxDurationMinutes": 240,
  "maxSceneScanMinutes": 5,
  "videoTimeoutSecs": 600
}
```

# Actor output Schema

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

One row per sheet image with its link, grid size, the tile list (tile number, row, column, timestamp, method) and status, as JSON, CSV, Excel and more.

## `records` (type: `string`):

Key-value store records: the contact sheet image files, the run summary and notes on any problems.

# 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://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("data-done-right/video-contact-sheet").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://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4"] }

# Run the Actor and wait for it to finish
run = client.actor("data-done-right/video-contact-sheet").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://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4"
  ]
}' |
apify call data-done-right/video-contact-sheet --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,data-done-right/video-contact-sheet"
        }
    }
}
```

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/6e1DZ7PtJw0iZN4AX/builds/ZLVz4alioYdCoLXU2/openapi.json
