Transcribe audio to text using OpenDunes speech recognition models.
The speech-to-text endpoint transcribes audio to text, with Arabic (including Algerian Darija), French, and English as first-class languages.
OpenDunes takes the audio inline as base64 JSON, not a multipart file upload, so call the endpoint directly with fetch rather than the OpenAI SDK's audio.transcriptions helper.
| Field | Description |
|---|---|
model | STT model slug (?modality=transcription). |
input_audio.data | Base64-encoded audio bytes. |
input_audio.format | One of wav, mp3, flac, m4a, ogg, webm, aac. |
language | BCP-47 language hint, e.g. "ar", "fr", "en". Optional. |
temperature | 0–1; lower is more deterministic. Optional. |
Transcription is billed per second of audio in DA, rounded up. See the STT API reference.