{"uid":"cap_wbvGHSLtrxUh1Vf8UieC9","slug":"caption-translate-pack-video-subtitle-generation-translation-356a7fe7","name":"Caption Translate Pack — Video Subtitle Generation & Translation","description":"Generates translated subtitles from any video URL in one call. Composite: one call runs video-to-subtitles + translate. SRT subtitles are generated via Whisper v3, then the subtitle text is translated into the target language (100+ languages, structure preserved). Returns original subtitles, translated subtitles, and per-component telemetry. Use it for localized video captions, an SRT generator plus translation, or subtitle localization.","url":"https://x402.agentutility.ai/caption-translate-pack","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":["video_url","target_language"],"properties":{"video_url":{"type":"string","description":"Public http(s) URL of the video. Max 2048 chars."},"target_language":{"type":"string","description":"Target language name or ISO code (e.g. 'Spanish', 'es'). Max 60 chars."}}},"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"},"degraded":{"type":"boolean"},"subtitles":{"type":"string"},"video_url":{"type":"string"},"components":{"type":"array","items":{"type":"object","properties":{"ms":{"type":"integer"},"ok":{"type":"boolean"},"name":{"type":"string"}}}},"composed_of":{"type":"array","items":{"type":"string"}},"target_language":{"type":"string"},"translated_subtitles":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"format":"srt","degraded":false,"subtitles":"1\n00:00:00,000 --> 00:00:03,000\nHello.\n","video_url":"https://samplelib.com/mp4/sample-5s.mp4","components":[{"ms":5100,"ok":true,"name":"video-to-subtitles"},{"ms":1400,"ok":true,"name":"translate"}],"composed_of":["video-to-subtitles","translate"],"target_language":"Spanish","translated_subtitles":"1\n00:00:00,000 --> 00:00:03,000\nHola.\n"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.07","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.07/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.07","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.07","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iHC0HrQNGxArRBdDOcGTq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.07","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Transcribes a video URL into SRT subtitles using Whisper v3, then translates those subtitles into any of 100+ target languages in a single API call.","exampleAgentPrompt":"Can you generate translated SRT subtitles for this video (https://example.com/myvideo.mp4) in Spanish? I need both the original English subtitles and the Spanish translation.","exampleUseCases":[{"title":"Localize course videos for international students","prompt":"I have a lecture video at https://university.com/lectures/intro-econ.mp4 and I need SRT subtitle files in Mandarin Chinese for my students in China — can you transcribe and translate the subtitles for me?"},{"title":"Accessibility captions for social media video","prompt":"Can you generate French subtitles for this product demo video at https://cdn.mybrand.com/demo-v2.mp4? I want both the original English and the French translation so I can add them to our Instagram post."},{"title":"Subtitle localization for a streaming platform","prompt":"We're launching our documentary in Brazil and need Portuguese subtitles. The video is at https://streaming.myplatform.com/docs/nature-ep1.mp4 — please transcribe it and give me the translated SRT file in Brazilian Portuguese."}],"resultDescription":"Returns a JSON object containing: the original SRT-formatted subtitles, the translated SRT-formatted subtitles (with timestamps preserved), the target language, the video URL, the output format (srt), a degraded boolean flag indicating partial failures, and a components array showing per-step latency and success status for the transcription and translation stages.","failureModes":["Video URL is not publicly accessible or requires authentication — returns error or degraded response","Video is too long or large and exceeds processing limits","Unsupported or unrecognized target language code — may fall back or error","Audio quality too poor for Whisper transcription — may produce inaccurate subtitles","Network timeout fetching the video URL","Translation sub-component fails — degraded=true returned with only original subtitles"],"whenToPreferThis":"Choose this endpoint when you need both transcription and translation of a video in a single call, rather than chaining two separate services. It is ideal when you already have a public video URL and need localized SRT captions ready to embed. Prefer it over manual pipelines when cost predictability ($0.07/call) and simplicity matter. If you only need transcription without translation, a video-to-subtitles-only endpoint may be cheaper.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:13:38.306Z","isFirstParty":false}