Transcribe audio
POST /audio/transcriptions
Turn speech into text with an audio model, in the request format of OpenAI's speech to text API. Set the OpenAI SDK base URL to https://api.munito.ai/inference/v1 and call audio.transcriptions.create.
- Send one file of WAV, MP3, FLAC, OGG, WebM, MP4 or M4A audio, at most 25 MB and 60 minutes long.
- Munito cuts a recording longer than 30 seconds at its quietest points, transcribes the clips, and joins their text in order.
response_formatisjson(the default) ortext. Timestamps, word log probabilities and streaming are not available.
The answer bills input and output tokens at the chat prices of the model. One second of audio is 25 input tokens, and usage gives the audio tokens apart from the text tokens of the instructions.
Your Munito API key.
In: header
Header Parameters
priority, standard or flex. The response names the tier that is billed; see x-ratelimit-over-limit.
"standard"Value in
- "priority"
- "standard"
- "flex"
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
The audio file: WAV, MP3, FLAC, OGG, WebM, MP4 or M4A, at most 25 MB and 60 minutes.
binaryAn audio model from GET /models, such as google/gemma-4-12b.
The language of the audio as an ISO 639-1 code, such as en or de. Omit it to keep the language of the audio.
Names and terms to spell correctly, at most 2,000 characters.
json gives the text and the token usage. text gives the plain text.
Value in
- "json"
- "text"
Sampling temperature from 0 to 1. Omit it for 0.
Response Body
curl -X POST "https://example.com/audio/transcriptions" \
-F file="speech.mp3" \
-F model="google/gemma-4-12b" \
-F language="en"{
"text": "The invoice is due on 14 November, and the total is 1,250 euros.",
"usage": {
"type": "tokens",
"input_tokens": 412,
"input_token_details": {
"text_tokens": 87,
"audio_tokens": 325
},
"output_tokens": 19,
"total_tokens": 431
}
}