$ man video-thumbnail
/video-thumbnail
PRICE / CALL
$0.03
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
mediakitCATEGORY
media
STATUS
● live
NAME
video-thumbnail — pull a single still frame out of a video without transcoding the whole file
SYNOPSIS
POST https://x402.agentutility.ai/video-thumbnail
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Pull a single still frame out of a video without transcoding the whole file. Send a video_url and pick frame_type: first, middle, or last, and get back a hosted JPG with its width and height. Runs on fal.ai's ffmpeg extract-frame pipeline, so it's fast because it only decodes the frame it needs. Use it as a video thumbnail generator, video frame extractor, video-to-image converter, or preview-image API for video libraries, CMS thumbnails, and content moderation previews.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| video_url | string | Public http(s) URL of the source video file. | required |
| frame_type | string | Which frame to extract: "first", "middle", or "last". Optional; defaults to "first". enum: first · middle · last | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| image_url | string | Hosted URL of the extracted JPG frame from the video. |
| width | number | Width of the extracted frame in pixels. |
| height | number | Height of the extracted frame in pixels. |
| file_size_bytes | number | Size of the returned JPG file in bytes. |
| content_type | string | MIME type of the extracted frame, typically image/jpeg. |
| frame_type | string | Which frame was extracted: first, middle, or last. |
| source_url | string | Original video URL that the frame was pulled from. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/video-thumbnail \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the video-thumbnail tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- videothumbnailframepreviewextract
- env
- FAL_KEY
- methods
- POST
- cluster
- mediakit
- price
- $0.03 USDC per call
ADJACENT — other endpoints in mediakit
| endpoint | description | price |
|---|---|---|
| logo-detect | Brand logo detection / brand recognition in images. | $0.03 |
| add-watermark | Stamp a text or image watermark onto a PDF, image, or video file. | $0.02 |
| audio-loudnorm | Normalize audio loudness to a target LUFS level for podcasts, YouTube, and Spotify delivery. | $0.02 |
| csv-to-jsonl | Converts CSV or TSV data into JSON, JSONL/NDJSON, or column-oriented arrays. | $0.02 |
| image-translate | Image translator. | $0.02 |
| image-upscale | Upscales an image 2x or 4x via Venice's image/upscale endpoint (default model: venice-sd35). | $0.02 |
| image-watermark | Image watermark / add text or logo watermark to image files. | $0.02 |
| mp4-to-mp3 | Converts MP4, MOV, WebM, MKV, AVI, M4V, and FLV video files to MP3 via CloudConvert, with selectable bitrate (96/128/192 kbps). | $0.02 |
SEE ALSO