Transcribe audio
Transcribe audio into text.
/openai/v1/audio/transcriptions● SupportedRequest body
modelstring必填Verified to take effect.
temperaturenumber可选○ UnsupportedBoth whisper-large-v3-turbo and qwen3-asr-flash return 400.
response_formatstring可选◐ Partially supportedjson/text work on both; verbose_json works only on whisper-large-v3-turbo. srt/vtt return 400.
filestring必填Verified to take effect.
languagestring可选◐ Partially supportedBoth models accept ISO language codes. qwen3-asr-flash may translate output to that language; whisper-large-v3-turbo treats it as an input hint. Non-ISO names may return 502.
promptstring可选◐ Partially supportedVocabulary hints work on whisper-large-v3-turbo only; qwen3-asr-flash returns 400.
timestamp_granularities[]array可选◐ Partially supportedOnly whisper-large-v3-turbo supports segment with verbose_json. word returns 400; qwen3-asr-flash does not support timestamps.
Returns
200
Standard request fields; unrepresentable parameters return input_not_representable.
Errors follow the OpenAI format — see error codes
Response
HTTP 200
Transcription in the requested format.
text/plain
| Name | Type | Description |
|---|---|---|
| $ | string |
application/json
| Name | Type | Description |
|---|---|---|
| text | string | |
| task | string | |
| language | string | |
| duration | number | |
| segments | array<object> | |
| segments[].id | integer | |
| segments[].start | number | |
| segments[].end | number | |
| segments[].text | string | |
| segments[].temperature | number | |
| segments[].avg_logprob | number | |
| segments[].compression_ratio | number | |
| segments[].no_speech_prob | number |