# Video Thumbnail Extractor

> Video Thumbnail Extractor is a paid API for AI agents from x402-deployer.x402-deployer.workers.dev, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Extracts a single frame (first, middle, or last) from a video URL and returns it as a thumbnail image.

## Facts

- Endpoint: POST https://x402-deployer.x402-deployer.workers.dev/video-thumbnail
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-f398ade6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xHZeHA5zz3wKMS6wuv-W8

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-deployer-x402-deployer-workers-dev-f398ade6 -d '<json body>'
```

Example prompt: Can you grab a thumbnail from this video — https://example.com/myvideo.mp4 — and use the middle frame?

## When to prefer this

Use this endpoint when you need a quick, single-frame thumbnail from a video URL without processing the full video. Ideal for generating previews, poster images, or visual representations of video content. Choose this over full video processing pipelines when only a single representative frame is needed.

## Known failure modes

- Invalid or inaccessible video URL returns an error
- Unsupported video format may fail to extract a frame
- Network timeout if the video file is very large or slow to fetch
- Invalid frame position value returns a validation error
- Payment failure or insufficient USDC balance returns a 402 error

## How this service works

Video thumbnail / video frame extractor. First, middle, or last frame as JPG. fal.ai ffmpeg. Fast — no full transcode.

## Output

Returns a single image frame extracted from the specified position (first, middle, or last) of the given video URL, suitable for use as a thumbnail or preview image.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "video_url"
     ],
     "properties": {
      "video_url": {
       "type": "string",
       "format": "uri",
       "description": "Public http(s) URL of the source video file."
      },
      "frame_type": {
       "enum": [
        "first",
        "middle",
        "last"
       ],
       "type": "string",
       "description": "Which frame to extract: \"first\", \"middle\", or \"last\". Optional; defaults to \"first\"."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "width": {
       "type": "integer"
      },
      "height": {
       "type": "integer"
      },
      "image_url": {
       "type": "string"
      },
      "frame_type": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-f398ade6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-deployer.x402-deployer.workers.dev](https://www.zero.xyz/host/x402-deployer.x402-deployer.workers.dev/llms.txt)
