Video Thumbnail Generator: Poster Frame & Contact Sheet avatar

Video Thumbnail Generator: Poster Frame & Contact Sheet

Pricing

from $6.40 / 1,000 video thumbnaileds

Go to Apify Store
Video Thumbnail Generator: Poster Frame & Contact Sheet

Video Thumbnail Generator: Poster Frame & Contact Sheet

Make a poster thumbnail and/or contact sheet from video file URLs: auto-picks a sharp, well-lit frame (skips black and flat ones) or cuts the frame at your time. jpg/png/webp, signed links. Direct files only, no YouTube, no face or content AI. Free when a video fails.

Pricing

from $6.40 / 1,000 video thumbnaileds

Rating

0.0

(0)

Developer

Data Done Right

Data Done Right

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 days ago

Last modified

Features

Limited permissions

Share

This video thumbnail generator turns video file URLs into a poster frame and/or a contact sheet: it picks a sharp, well-exposed frame automatically (or cuts the frame at a time you choose) and builds a grid of evenly spaced frames with timecodes. You get JPG, PNG or WebP images with signed download links, one dataset row per video. It runs ffmpeg and Pillow, so there is 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. The automatic pick is a plain image heuristic: it skips black, washed-out and flat frames and prefers detail and contrast. It does not recognise faces, text, people or what is "interesting", and it does not judge aesthetics, so for a hand-picked cover use a poster time. It does not add titles, overlays or captions to the image. It respects robots.txt and cannot read files behind a login or on private addresses.

What you get

  • Poster frame: one image per video, either the best-scoring frame or the exact frame at your time (seconds, HH:MM:SS or a percentage).
  • Contact sheet: one grid image per video, 1 to 48 evenly spaced frames, each labelled with its timecode.
  • One row per video: links, the chosen time, frame size, file size, video facts (duration, resolution, fps, codec), status and notes. The price is per video, whichever outputs you choose.

How to generate a thumbnail from a video URL

  1. Paste one or more direct video URLs in videoUrls (the prefilled sample works as is).
  2. Leave posterTimestamp empty for the automatic pick, or set a time such as 12.5, 00:01:05 or 25%.
  3. Run it. Each video gets posterUrl and/or sheetUrl in the dataset. Files are also in the run's key-value store, with the run summary in the SUMMARY record.

How to make a contact sheet of a video

Set outputs to contactSheet (or leave both), then choose contactSheetTiles (frames in the grid), contactSheetColumns and contactSheetTileWidth. The frames are taken from the middle of equal slices of the whole video, so they cover it from start to end. Timecodes on the tiles can be switched off with contactSheetTimecodes.

How to get the frame at an exact time

Set posterTimestamp for the whole run, or give one video its own time in videos: [{"url": "https://example.com/a.mp4", "name": "launch-ad", "posterTimestamp": "00:00:12"}]. A time past the end of the video uses the last frame and the row says so in note. An unreadable time gives that video an error row and no charge.

How the automatic pick works

Without a poster time, the Actor decodes candidateFrames small frames (default 16) spread across the video, ignoring the first and last skipEdgesPercent (default 5%). Each frame is scored on edge detail, contrast and mid-range brightness. Frames that are nearly black, nearly white or almost one colour (fades, blank title cards, solid backgrounds) are rejected. The best of the rest is cut again at full size. The row shows posterMethod (auto), posterScore (0 to 1, comparable within one video only) and framesScored. If every sampled frame is dark or flat, the least bad one is used and note says so. It cannot know which frame you would like best: if two frames score exactly the same, the earlier one wins.

Input

FieldDefaultWhat it does
videoUrls (required)one sampleDirect video file URLs. Example: https://example.com/clip.mp4.
videosnonePer-video name and posterTimestamp: [{"url": "...", "name": "ad", "posterTimestamp": "50%"}].
outputsbothposter, contactSheet or both.
posterTimestampempty (auto)Poster time: 12.5, 00:01:05 or 25%.
imageFormatjpgjpg, png or webp.
imageQuality851 to 100, JPG and WebP only.
posterWidth1280Max poster width in px, 0 = original. Never upscales.
candidateFrames16Frames compared for the auto pick (4 to 40).
skipEdgesPercent5Ignore this share of the start and the end (0 to 30).
contactSheetTiles12Frames in the grid (1 to 48).
contactSheetColumns4Tiles per row (1 to 12).
contactSheetTileWidth320Tile width in px (80 to 640).
contactSheetTimecodestrueTimecode on each tile.
maxVideosPerRun100Hard cap on videos per run (max 1,000). Extra videos are listed as skipped.
maxVideoSizeMb500Larger files are rejected (max 2,048).
maxDurationMinutes240Longer videos are rejected without charge.
videoTimeoutSecs600Per download and per ffmpeg step.
outputStoreNameemptyKeep the images in a named key-value store.

Input example:

{
"videoUrls": ["https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4"],
"outputs": "both",
"imageFormat": "jpg",
"contactSheetTiles": 12,
"contactSheetColumns": 4
}

Output

One row per video. This is a real row from a local run of the sample above (5 s, 960x540):

{
"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",
"posterUrl": "https://api.apify.com/v2/key-value-stores/<storeId>/records/v01-poster.jpg",
"posterKey": "v01-poster.jpg",
"posterTimestamp": 2.101,
"posterTimecode": "00:00:02.101",
"posterMethod": "auto",
"posterScore": 0.7685,
"framesScored": 16,
"posterWidth": 960,
"posterHeight": 540,
"posterBytes": 26254,
"sheetUrl": "https://api.apify.com/v2/key-value-stores/<storeId>/records/v01-contact-sheet.jpg",
"sheetKey": "v01-contact-sheet.jpg",
"sheetTiles": 12,
"sheetColumns": 4,
"sheetWidth": 1300,
"sheetHeight": 556,
"sheetBytes": 143553,
"status": "ok",
"error": null,
"note": null
}

On Apify the links are signed download links. A failed video has status error, the reason in error, and no image fields.

Use cases

  • Give every video in a library or CMS a poster image without picking frames by hand.
  • Build link-preview and Open Graph images from the frame at a fixed time or percentage.
  • Make contact sheets for editors, archivists and reviewers who need to scan a long video at a glance.
  • Create the cover images for a video catalogue, course site or podcast-with-video feed in bulk.
  • Feed a video pipeline: one poster per video as the preview for the clips you cut, merge or subtitle.

How much does it cost

Pay per event: $0.01 per video delivered (video-thumbnailed, $10 per 1,000). A video is charged only when everything you asked for was created: the poster, the contact sheet, or both. If one of them fails, nothing is delivered and nothing is charged. 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: $10.
  • 10,000 videos: $100.
  • 100,000 videos: $1,000.

The price is per video whatever its length, so maxDurationMinutes (default 240) and maxVideoSizeMb (default 500) 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 test of the 5-second 960x540 sample (download, 16 scored frames, poster and a 12-tile sheet) took about 3 seconds in total. If you only need frames, not a scored pick or a sheet per video, Video Frame Extractor charges per frame and can be cheaper for a single frame.

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.

Is the automatic frame really "the best"?

It is the best by a simple measure: detail, contrast and brightness, with black, washed-out and flat frames removed. It does not understand content. It works well to avoid fade-ins, black frames and blank title cards; it will not choose the frame where someone smiles. Raise candidateFrames for a finer search, or set posterTimestamp when you know the moment.

Does it detect scenes?

No. The automatic pick samples evenly spaced frames and does not run scene detection. For scene-change frames, keyframes or one frame every N seconds, use Video Frame Extractor.

What happens if only part of the job fails?

All or nothing per video. If the poster is made but the contact sheet cannot be, the video gets an error row, no file is kept and no charge is made. Frames that cannot be decoded inside a contact sheet 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 poster is shrunk to posterWidth (default 1280 px) keeping the aspect ratio and is never enlarged. The contact sheet is about contactSheetColumns x contactSheetTileWidth wide, with the tile height from the video's aspect ratio.

Which limits apply?

Files up to 2 GB (default 500 MB), 240 minutes by default, up to 1,000 videos per run. The whole file is downloaded once per video, and videos with no readable video track get an error row. Contact sheet text uses a built-in font, which shows timecodes only.

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:

from apify_client import ApifyClient
client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("data-done-right/video-thumbnail-generator").call(run_input={
"videoUrls": ["https://example.com/launch.mp4"],
"outputs": "both", "posterTimestamp": "25%"})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
print(row["status"], row["posterUrl"] or row["error"], row["sheetUrl"])

JavaScript:

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<APIFY_TOKEN>' });
const run = await client.actor('data-done-right/video-thumbnail-generator').call({
videoUrls: ['https://example.com/launch.mp4'], outputs: 'poster', imageFormat: 'webp' });
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 thumbnail and contact sheet for this mp4". It needs only a video URL.

  • Video Frame Extractor: Keyframes, Scenes & Thumbnails for AI: many frames per video (keyframes, scene changes, every N seconds), priced per frame.
  • Cut Video: Video Trimmer, Clip Cutter & Video to GIF: cut clips, segments, GIFs or MP3s from video URLs.
  • Extract Audio from Video: MP3, WAV & FLAC in Bulk: the audio track of each video as an audio file.