Create transcription

post/v1/audio/transcriptions

Request

Request body multipart/form-data

filestring binary required

The audio file to transcribe. Supported formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, webm.

modelstring required

The speech-to-text model to use. Choose a current speech model from the Models page.

languagestring

The language of the input audio in ISO-639-1 format, such as en, es, or ja. Supplying the language improves accuracy and latency.

promptstring

Optional text to guide the model's style or continue a previous audio segment. The prompt should match the audio language.

response_format'json' | 'text' | 'srt' | 'verbose_json' | 'vtt'

The output format for the transcription.

temperaturenumber

Sampling temperature between 0 and 1. Higher values produce more random output; lower values are more focused. When set to 0, the model auto-adjusts temperature using log probability.

Response

The transcription result.

textstring required

The transcribed text.

Changes

No recorded changes to this operation across all 1 revision of this API.