HTTP/1.1 402 PAYMENT REQUIRED · x402 + MPP dual-stack 500+ tools · 12 rails · 0% seller fee

Subtitle pipeline

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.

$0.10 per call · one payment for the whole workflow
POST /api/skill/subtitle-pipeline

3 tools run server-side in one request. You pay once, settle once, and get a single response - no orchestration, no per-step payments, and a partial-success envelope if any step fails. USDC over x402 on any supported chain.

When to use this pack

An agent processing podcasts, voice notes, or video audio needs shippable subtitle files plus the stats to budget downstream steps (summarization, translation, chapters) - without stitching three tools by hand.

Tools in this pack

All 3 run inside the single $0.10 call above. Each is also callable on its own if you only need one part.

Workflow

  1. Transcribe the audio with transcribe - OpenAI speech-to-text with language detection and duration.
  2. Convert the transcript into subtitle cues with srt-convert in your chosen format (SRT, WebVTT, plain text, or JSON cues).
  3. Run text-stats over the transcript - word count, sentence count, and estimated reading time for downstream budgeting.

Call it directly

Any x402 client pays the 402 and gets the whole workflow back in one response:

npx agent402-client call subtitle-pipeline {"url":"https://upload.wikimedia.org/wikipedia/commons/c/c8/Example.ogg","format":"vtt"}

Run it in Claude

claude mcp add agent402 -s user -- npx -y agent402-mcp@latest

Then paste this prompt into Claude:

Turn the audio at https://upload.wikimedia.org/wikipedia/commons/c/c8/Example.ogg into subtitles using Agent402's subtitle-pipeline skill pack. (1) Transcribe the audio, (2) convert the transcript to vtt subtitles, (3) get the text statistics. Return the subtitle file content, the detected language and duration, and the word count.

← All skill packs