{"uid":"cap_oV0jT_fl_IRJP2VT_P2Zg","slug":"x402-deployer-x402-deployer-workers-dev-cec1dca8","name":"Video/Audio to Subtitle File Generator (SRT/VTT via Whisper v3)","description":"Generate subtitles from video / video subtitle generator / auto-subtitle / closed captions / video captions / SRT generator / VTT generator / video CC / accessibility captions. Whisper v3 powered. Word-wrapped, ready for VLC / Premiere / FFmpeg. Auto-detect language + translate-to-English.","url":"https://x402-deployer.x402-deployer.workers.dev/video-to-subtitles","method":"POST","headers":{},"bodySchema":{"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"}}}}}}},"responseSchema":null,"example":{"request":{"input":{"body":{"task":"transcribe","format":"vtt","language":"en","media_url":"https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3","max_chars_per_line":50},"type":"http","method":"POST","bodyType":"json"}},"response":{"task":"transcribe","format":"vtt","cue_count":6,"mime_type":"text/vtt","subtitles":"WEBVTT\n\n00:00:00.020 --> 00:01:03.920\n♪ ♪ ♪ ♪ ♪ ♪ ♪\n\n00:01:06.020 --> 00:01:25.560\n♪♪♪\n\n00:01:26.100 --> 00:02:11.060\n♪♪ ♪♪\n\n00:02:13.720 --> 00:04:05.040\n♪ ♪ ♪ ♪ ♪ ♪ ♪\n\n00:04:06.040 --> 00:05:48.300\n♪ ♪ ♪ ♪ ♪ ♪ ♪ ♪\n\n00:05:50.240 --> 00:06:09.980\nThank you.\n","source_url":"https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3","duration_seconds":372.715083,"detected_languages":null}},"exampleRequest":{"task":"transcribe","format":"vtt","language":"en","media_url":"https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3","max_chars_per_line":50},"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VX4RBCuwUyDlIEU5BZ-Yg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Transcribes a video or audio URL using Whisper v3 and returns a downloadable SRT or VTT subtitle file.","exampleAgentPrompt":"Generate SRT subtitles for this video: https://example.com/my-lecture.mp4 — use Whisper to transcribe it and give me a proper subtitle file I can load into a video editor.","exampleUseCases":null,"resultDescription":"Returns an SRT or VTT subtitle file with timestamped caption segments derived from the audio track of the provided video or audio URL, suitable for use in video players or editors.","failureModes":["Invalid or inaccessible URL — returns error if the media URL is unreachable or returns non-audio/video content","Unsupported media format — may fail for rare or DRM-protected formats","Timeout for very long media files — large files may exceed processing limits","Unspecified format defaults — if SRT vs VTT not specified, result format may be unpredictable","Payment failure — x402 payment of $0.08 USDC must succeed before processing begins"],"whenToPreferThis":"Choose this endpoint when you need a standalone subtitle file (SRT or VTT) from any publicly accessible video or audio URL, especially when accessibility, captioning, or downstream subtitle editing is the goal — rather than a full prose summary or raw transcript.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:54:41.747Z","isFirstParty":false}