/v1/audio/transcriptions endpoint converts speech recordings into text using open-weight transcription models including Whisper and Voxtral, all served from Meliai’s European provider network. The endpoint accepts multipart/form-data uploads and is compatible with the OpenAI Audio Transcriptions API, so existing integrations migrate with a single base_url change. You can optionally specify the language and provide a prompt to improve accuracy for domain-specific vocabulary.
Endpoint
Bearer sk-mel-<KEY> via Authorization header.Content-Type:
multipart/form-data
Parameters
string
required
The transcription model ID to use. Whisper-family and Voxtral models available on the Meliai network are listed under
GET /v1/models. Check model capabilities for supported languages and audio formats.file
required
The audio file to transcribe, submitted as a
multipart/form-data field. Supported formats include MP3, MP4, MPEG, MPGA, M4A, WAV, and WEBM. Maximum file size depends on the model and provider.string
ISO 639-1 language code of the audio (e.g.
"en", "de", "fr", "nl"). When omitted, the model auto-detects the language. Providing the correct language code improves accuracy and reduces latency.string
Format of the transcription output:
"json"—{"text": "..."}(default)"text"— plain text string"srt"— SubRip subtitle format with timestamps"vtt"— WebVTT subtitle format with timestamps
string
Optional context string to guide the transcription. Use this to provide domain-specific vocabulary, speaker names, or abbreviations the model should recognise. The prompt is not included in the output.
Examples
Request subtitles
Passresponse_format: "srt" or "vtt" to receive timestamped subtitles — useful for captioning video content.
Domain-specific vocabulary
Use theprompt field to improve recognition of unusual terms:
Response
For the default"json" response format:
"text" format, the response body is the plain transcript string. For "srt" and "vtt", the body is the subtitle file content.
string
The full transcribed text. Present in
"json" response format.object
Per-request environmental footprint. Fields:
energy_kwh, carbon_g_co2, water_liters, renewable_percent, pue, provider_id, location. Present in "json" format responses.object
Itemised cost:
energy (EUR), credits deducted, and paid_with. Present in "json" format responses.Audio transcription runs on GDPR-compliant European infrastructure. Audio files and transcripts never leave the EU and are never used to train models.