/audio/transcriptions API across providers.
Common use cases include meeting notes, voice input, subtitles, and call analysis.
Base64 Input
You can also send the audio as base64 in a JSON body:Bash
format value can be flac, m4a, mp3, mp4, mpeg, mpga, ogg, pcm, wav, webm, or x-aac. Audio format support varies by model.
Options
language: the language of the audio (for example,en).prompt: text that guides the transcript’s style or vocabulary.temperature: a value from0to1.response_format:json(default) returnstextandusage.verbose_jsonalso returnslanguage,duration, and word timestamps when available. Word timestamps appear inwords, andsegmentsis empty.timestamp_granularities: set to["word"]to request word timestamps. Requiresresponse_format: "verbose_json". In multipart forms, send this field astimestamp_granularities[].
prompt, temperature, and timestamps varies by model.
Limits
Request bodies can be up to 10 MB. Larger requests return a413 error.
Streaming is not supported: stream: true returns a 400 error.
