{"name":"subtitles","description":"Generate ready-to-use subtitle files from a video or audio URL. Send media_url with an optional language, output format of srt or vtt, task of transcribe or translate, and a max_chars_per_line setting, and get back a properly timestamped, word-wrapped subtitles string you can drop straight into VLC, Premiere, or FFmpeg. Runs on Whisper v3 for the underlying transcription and checks media duration first, rejecting anything over 60 minutes. Use it as a subtitle generator, closed-caption creator, or SRT/VTT converter for video editing, accessibility captions, or localization workflows.","price":"$0.08","method":"POST","input_schema":{"properties":{"media_url":{"type":"string","description":"URL of the video/audio file to transcribe into subtitles."},"format":{"type":"string","description":"Subtitle format: srt or vtt. Optional, default srt."},"language":{"type":"string","description":"Source language hint passed to Whisper (ISO code). Optional, auto-detected if omitted."},"task":{"type":"string","description":"transcribe (original language) or translate (to English). Optional, default transcribe."},"max_chars_per_line":{"type":"number","description":"Max characters per subtitle line before wrapping. Optional, 16-120, default 42."}},"required":["media_url"]},"input_example":{"media_url":"https://samplelib.com/mp4/sample-5s.mp4","format":"srt"},"output_example":{"subtitles":"1\n00:00:00,000 --> 00:00:03,000\nHello.\n"},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}