# x402.agentutility.ai Video-to-Subtitles

> x402.agentutility.ai Video-to-Subtitles is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-16).

Generates word-wrapped SRT or VTT subtitle files from a video using Whisper v3, with auto language detection and optional English translation.

## Facts

- Endpoint: POST https://x402.agentutility.ai/video-to-subtitles
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-agentutility-ai-video-to-subtitles-4e7712be
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pqehDQoIJ_TmTreBimUTN

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-agentutility-ai-video-to-subtitles-4e7712be -d '<json body>'
```

Example prompt: Can you generate an SRT subtitle file for my video at this URL? It's in Spanish and I'd like the captions translated to English and ready to drop into Premiere.

## When to prefer this

Choose this endpoint when you need fast, automated subtitle or closed-caption generation for a video file, especially when auto language detection or English translation is needed. It is purpose-built for agent workflows that need SRT or VTT output directly usable in VLC, Adobe Premiere, or FFmpeg without post-processing. Prefer it over general transcription endpoints when the output format (SRT/VTT with timestamps and word-wrapping) is important, and over manual captioning services when cost and speed matter at $0.02 per call.

## Known failure modes

- Video URL inaccessible or format unsupported — returns error with no subtitle output
- Audio too quiet or unclear for Whisper v3 to transcribe accurately — may return incomplete or garbled captions
- Very long videos may time out or require chunking
- Unsupported output format requested — returns format error
- Payment (x402 USDC) not provided or rejected — returns 402 Payment Required

## How this service works

Generates subtitles from video with Whisper v3, word-wrapped and ready for VLC / Premiere / FFmpeg. Auto-detects language and can translate to English. Use it as a video subtitle generator, auto-subtitle and closed captions tool, SRT generator, VTT generator, video CC endpoint, or accessibility captions source.

## Output

A JSON response containing the subtitle file content as a string in the requested format (SRT or VTT), with word-wrapped, timestamped captions generated by Whisper v3. The SRT output includes numbered cue blocks with start/end timestamps and wrapped text lines ready for direct use in VLC, Premiere, or FFmpeg.

## 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": [
      "media_url"
     ],
     "properties": {
      "task": {
       "enum": [
        "transcribe",
        "translate"
       ],
       "type": "string",
       "description": "'transcribe' (default) keeps original language, or 'translate' to English."
      },
      "format": {
       "enum": [
        "srt",
        "vtt"
       ],
       "type": "string",
       "description": "Subtitle format: 'srt' (default) or 'vtt'."
      },
      "language": {
       "type": "string",
       "description": "Source language hint (ISO code). Optional; auto-detected if omitted."
      },
      "media_url": {
       "type": "string",
       "description": "URL of the video or audio file to generate subtitles from. Max 60 minutes."
      },
      "max_chars_per_line": {
       "type": "number",
       "description": "Max characters per subtitle line, 16-120. Default 42."
      }
     }
    },
    "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": {
      "format": {
       "type": "string"
      },
      "subtitles": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "format": "srt",
  "subtitles": "1\n00:00:00,000 --> 00:00:03,000\nHello.\n"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-agentutility-ai-video-to-subtitles-4e7712be/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
