Extract frames from videos (coming soon)
extract_video_framesExtract still frames from video files via direct URL, producing storyboards, scene cuts, or evenly spaced frames with timestamps and a contact sheet for vision models and thumbnails.
Instructions
COMING SOON: this Kanto Labs actor is not public on the Apify Store yet. Until it is, calls return an 'actor not yet public' error and nothing is charged. Extract still frames from video files reachable by direct URL (MP4, MOV, WEBM, MKV, AVI, M4V, MPEG-TS; not YouTube or TikTok pages): an automatic storyboard of scene changes, scene cuts only, N evenly spaced frames, or one frame every N seconds. Returns public image URLs with timestamps for every frame, a free contact-sheet grid image, and the video's duration, resolution, fps and codecs. Use it to let a vision model 'watch' a video, to make thumbnails or storyboards, or to find scene changes. A call must finish within 300 seconds, so send one or a few short videos per call. Cost: $0.002 per frame extracted (default 12 frames per video = $0.024), billed to your Apify account; videos that fail to download or decode are free. Runs the Apify actor kantolabs/video-frame-extractor with your APIFY_TOKEN; maxTotalChargeUsd caps the spend per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | "auto" (default): first frame + strongest scene changes, topped up with evenly spaced frames to frameCount. "scenes": only real cuts (up to maxFramesPerVideo). "count": exactly frameCount evenly spaced frames. "interval": one frame every intervalSeconds (up to maxFramesPerVideo). | |
| maxWidth | No | Scale frames down to this width in px (0 = original). Default 1280, plenty for vision models. | |
| videoUrls | Yes | Direct links to video files, e.g. ["https://media.w3.org/2010/05/sintel/trailer.mp4"]. | |
| frameCount | No | Frames per video in auto and count modes. Default 12. Each frame is charged. | |
| imageFormat | No | Frame image format. Default jpg. | |
| timeoutSecs | No | Give up after this many seconds (max 300, Apify's limit for synchronous runs). Default 280. For big batches, split the input into several calls. | |
| contactSheet | No | Also build one grid image of all frames with timecodes (free). Default true. | |
| sceneThreshold | No | Scene-change sensitivity (lower finds subtler changes). Default "0.3". | |
| intervalSeconds | No | Seconds between frames in interval mode. Default 10. | |
| maxFramesPerVideo | No | Upper limit per video in scenes and interval modes. Default 50. | |
| maxTotalChargeUsd | No | Hard spending cap for this call in USD, enforced by Apify: the run stops once it has charged this much. Default 1 (server setting KANTO_MAX_CHARGE_USD). |