OpenAI

Transcribe audio

Transcribe audio into text.

POST /openai/v1/audio/transcriptions● Supported

Official OpenAI docs ↗

Request body

  • modelstring必填

    Verified to take effect.

  • temperaturenumber可选○ Unsupported

    Both whisper-large-v3-turbo and qwen3-asr-flash return 400.

  • response_formatstring可选◐ Partially supported
    默认 "json"

    json/text work on both; verbose_json works only on whisper-large-v3-turbo. srt/vtt return 400.

    取值 jsontextverbose_json
  • filestring必填

    Verified to take effect.

  • languagestring可选◐ Partially supported

    Both 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 supported

    Vocabulary hints work on whisper-large-v3-turbo only; qwen3-asr-flash returns 400.

  • timestamp_granularities[]array可选◐ Partially supported

    Only 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

NameTypeDescription
$string

application/json

NameTypeDescription
textstring
taskstring
languagestring
durationnumber
segmentsarray<object>
segments[].idinteger
segments[].startnumber
segments[].endnumber
segments[].textstring
segments[].temperaturenumber
segments[].avg_logprobnumber
segments[].compression_rationumber
segments[].no_speech_probnumber