{"uid":"cap_pqehDQoIJ_TmTreBimUTN","slug":"x402-agentutility-ai-video-to-subtitles-4e7712be","name":"x402.agentutility.ai Video-to-Subtitles","description":"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.","url":"https://x402.agentutility.ai/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":{"type":"json","example":{"format":"srt","subtitles":"1\n00:00:00,000 --> 00:00:03,000\nHello.\n"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_8erCo1cYhxQVcuwSomZZ9","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":"Generates word-wrapped SRT or VTT subtitle files from a video using Whisper v3, with auto language detection and optional English translation.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Accessible captions for YouTube upload","prompt":"I'm uploading a tutorial video to YouTube and need a VTT captions file — the video is in English, can you auto-generate word-wrapped subtitles from it so I can upload the captions file directly?"},{"title":"Translating foreign language film subtitles","prompt":"I have a French short film I want to share with English-speaking audiences — can you generate an SRT subtitle file from the video and translate everything to English?"},{"title":"Closed captions for video editor workflow","prompt":"I need SRT subtitles generated from this interview video so I can import them into FFmpeg for burn-in — can you transcribe it and give me a properly formatted SRT file?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T12:03:09.788Z","isFirstParty":false}