About this endpoint
What it does
Transcribes speech in an audio file to text using OpenAI Whisper large-v3 (faster-whisper backend). Upload a WAV, MP3, M4A or other common audio file as multipart/form-data and get back the transcript, the auto-detected language and the audio's duration in one synchronous call — no polling, no task ID.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | File | Yes | Audio file to transcribe (WAV, MP3, M4A and most common formats). Maximum file size: 10 MB. |
Response
The response is a single JSON object with three fields.
| Field | Type | Description |
|---|---|---|
| text | String | The transcribed text. Empty string when no speech is found. |
| language | String | Auto-detected language as an ISO 639-1 code, e.g. en, el. |
| duration | Number | Length of the input audio in seconds, e.g. 5.92. This is audio length, not processing time. |
Notes
- Response time scales with audio length: a few seconds for short clips, around 8 seconds for a one-minute recording.
- A file that cannot be decoded as audio returns
400with"Invalid or corrupted audio file — could not decode audio data". A request without afilefield returns422.



