# agent402.tools Subtitle Pipeline

> agent402.tools Subtitle Pipeline is a paid API for AI agents from agent402.tools, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-15, last successful call 2026-08-05).

Transcribes an audio file from a URL and returns finished subtitles in SRT, VTT, text, or JSON format plus text statistics in a single call

## Facts

- Endpoint: POST https://agent402.tools/api/skill/subtitle-pipeline
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Last successful call: 2026-08-05
- Success rate: 100% of calls made through Zero
- Rating: 2.7 / 5 from 1 review
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-tools-subtitle-pipeline-4a4e6f67
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZCA9NAQyOtmjEEgt5uesN

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 agent402-tools-subtitle-pipeline-4a4e6f67 -d '<json body>'
```

Example prompt: Transcribe the audio at https://example.com/podcast-episode.mp3 and give me a finished VTT subtitle file along with the word count and estimated reading time.

## When to prefer this

Use this endpoint when you need a complete end-to-end subtitle generation pipeline in a single API call — audio URL in, finished subtitle file and text statistics out. Prefer this over separate transcription and formatting steps when you want SRT, VTT, or JSON cues plus word count and reading time without chaining multiple calls.

## Known failure modes

- Audio URL is not publicly accessible or returns a non-200 status — transcription cannot proceed
- Unsupported audio codec or container format — ffprobe or transcription engine rejects the file
- Audio file is too large or too long — pipeline times out or exceeds processing limits
- Invalid format enum value provided — defaults to VTT or returns a validation error
- Network error fetching the audio URL — returns connection failure
- Payment not completed or x402 auth missing — request rejected before processing

## How this service works

Bundled execution of the Subtitle pipeline workflow - Audio URL → finished subtitles in one call: transcribe the audio, emit the transcript as SRT/WebVTT/JSON cues, and report the text statistics - length, reading time, word count. One x402 payment runs 3 underlying tools (transcribe, srt-convert, text-stats); partial-success per step.

## Output

Returns a complete subtitle file in the requested format (SRT, VTT, text, or JSON cues), the full transcript text, and text statistics including word count, character length, and estimated reading time — all in a single response.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "Public URL of the audio file to transcribe"
  },
  "format": {
   "type": "string",
   "description": "Subtitle output format: srt | vtt | text | json (default vtt)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "args": {
   "url": "https://upload.wikimedia.org/wikipedia/commons/c/c8/Example.ogg",
   "format": "vtt"
  },
  "pack": "subtitle-pipeline",
  "steps": [
   {
    "ok": true,
    "slug": "transcribe",
    "result": {}
   },
   {
    "ok": true,
    "slug": "srt-convert",
    "result": {}
   },
   {
    "ok": true,
    "slug": "text-stats",
    "result": {}
   }
  ],
  "summary": "3/3 steps succeeded"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-tools-subtitle-pipeline-4a4e6f67/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
