Create transcription
/v1/audio/transcriptionsTranscribe audio files to text, with optional language detection.
Authentication
Authorization Bearer
API key as bearer token in Authorization header.
Request Body
modelstringrequiredModel ID.
languagestringInput audio language.
promptstringTranscription prompt.
response_formatstringResponse format.
temperaturenumberControls decoding randomness for transcription when supported. Lower values favor stable transcripts; higher values allow more alternatives.
timestamp_granularitiesarrayTimestamp granularity levels.
streambooleanStreaming response flag.
enable_itnbooleanConverts spoken or formatted entities into normalized written forms, such as numbers, dates, or times, when supported.
enable_puncbooleanRestores punctuation in the transcribed text when supported.
enable_channel_splitbooleanProcesses audio channels separately and returns channel-aware transcription results when supported.
enable_ddcbooleanDDC processing flag.
enable_speaker_infobooleanReturns speaker-related metadata or labels when supported.
corpusobjectCustom corpus configuration.
hotwordsstringHotword hints.
request_idstringClient request ID.
user_idstringEnd-user ID.
segment_durationnumberAudio segment duration.
audio_formatstringInput audio format.
codecstringInput audio codec.
rateintegerInput audio sample rate in Hz.
bitsintegerInput audio bit depth.
channelintegerNumber of input audio channels.
show_utterancesbooleanReturns utterance-level transcription details, usually including text and timing boundaries, when supported.
enable_nonstreambooleanNon-streaming recognition flag.
uidstringSpeech recognition user ID.
filestringAudio file.
file_urlstringAudio file URL.
audio_datastringInline audio data.
metadataobjectApplication metadata.
extra_bodyobjectAdditional request body fields.
provider_optionsobjectUpstream configuration.
Provide either
fileorfile_url. If both are present,file_urlis used. Additional ASR fields are listed inGET /v1/models/{model_id}.parameter_schema.
Response
textstringTranscribed text.
modelstringModel ID used.
languagestringDetected language code. Returned with verbose_json.
durationnumberAudio duration in seconds. Returned with verbose_json.
taskstringTranscription task type. Returned with verbose_json.
segmentsobject[]Timestamped segments. Returned with verbose_json.
segments.idintegerSegment ID.
segments.startnumberSegment start time in seconds.
segments.endnumberSegment end time in seconds.
segments.textstringSegment text.
utterancesobject[]Utterance-level details. Returned when supported by the selected model.
utterances.startnumberUtterance start time in seconds.
utterances.endnumberUtterance end time in seconds.
utterances.textstringUtterance text.
utterances.speakerstringSpeaker label when returned.