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.
AuthorizationBearer <token>Your Munito API key.
munito-service-tier?stringpriority, standard or flex. The response names the tier that is billed; see x-ratelimit-over-limit. See Service tiers.
"standard""priority""standard""flex"multipart/form-data- body
file*fileThe audio file: WAV, MP3, FLAC, OGG, WebM, MP4 or M4A, at most 25 MB and 60 minutes.
binarymodel*stringAn audio model from GET /models, such as google/gemma-4-12b.
language?stringThe language of the audio as an ISO 639-1 code, such as en or de. Omit it to keep the language of the audio.
prompt?stringNames and terms to spell correctly, at most 2,000 characters.
response_format?stringjson gives the text and the token usage. text gives the plain text.
"json""text"temperature?numberSampling temperature from 0 to 1. Omit it for 0.
The text of the recording. With response_format: text, the body is the plain text.
curl -X POST 'https://api.munito.ai/inference/v1/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
}
}