Documentation
API Reference
POST
Audio Transcriptions
/v1/audio/transcriptions
Transcribes audio into the input language.
Interactive Example
Request & Response Example
Headers
Authorization
stringRequired
Bearer token for authentication.
Content-Type
stringRequired
Must be
multipart/form-data
. This is handled by your HTTP client.Request Body (Multipart Form)
model
stringRequired
ID of the transcription model to use. Must be of type
audio/transcriptions
.file
fileRequired
The audio file object to transcribe.
Strict Parameter Validation
Only the `model` and `file` parameters are accepted in the form data. Submitting any other parameters will result in a 400 Bad Request error.
Response Body (200 OK)
text
stringThe transcribed text.
duration
numberThe duration of the audio in seconds.
Was this page helpful?