Transcribe audio (speech-to-text)
transcribe_audioSpeech-to-text for a public MP3 or WAV file (audio_url, up to 30 minutes): transcript, detected language, timestamped segments and optional SRT/VTT subtitles (format=srt|vtt); task=translate returns English. Paid only, no free tier: $0.003 per started audio minute (minimum 1). Call without payment to get the exact quote for your file (x402 payment terms); then retry with params.meta["x402/payment"] or a prepaid credits key (Authorization: Bearer yatc...). Charged only when a transcript is returned. Not for m4a, ogg, flac or webm (convert to MP3 or WAV first).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vad | No | Skip silence with voice activity detection (default false) | |
| task | No | transcribe (default) or translate (to English) | |
| format | No | json (default); srt or vtt also returns subtitles in the srt / vtt field | |
| prompt | No | Optional context words or spellings (max 500 chars) | |
| language | No | Optional ISO 639-1 code of the spoken language (e.g. en, es, de); detected when omitted | |
| audio_url | Yes | Public https URL of an MP3 or WAV file (up to 30 minutes / 30 MB). |