mistralM

Docs

sideBar

Voice

Transcribe speech, generate expressive voices, and build real-time voice agents with Mistral's Voxtral audio models.

Mistral audio covers three jobs: turning speech into text, turning text into speech, and running both in live conversations. Voxtral 3 models transcribe recorded files and live streams, with speaker labels, timestamps, and custom vocabulary. They generate speech with preset or cloned voices, which you direct with emotion and pace tags. You can also send audio to a chat model to summarize or question a recording, and build voice agents that answer callers in real time.

This section is for developers who integrate audio through the API and SDKs, and for product teams who evaluate what Voxtral can do.

lightbulb

Not a developer? Dictate prompts and talk with Work in Voice mode, or analyze a recording by uploading it to a chat, with no code to write.

flag

The audio docs cover Voxtral 3. If your code still calls Voxtral 2 models, Migrate from Voxtral 2 lists what to change.

Get started

1. Create an API key

Every request needs an API key from AI Studio.

  • 1.

    Select Create new key, give the key a name, and set an expiration date.
  • 2.

    Copy the key. It appears only once.
  • 3.

    Store the key in the MISTRAL_API_KEY environment variable, where the examples read it:
export MISTRAL_API_KEY="your-api-key"
flag

For screenshots and every key option, see Create your first API key. If your organization manages keys centrally, see API keys in the Admin docs.

2. Install the SDK

The curl examples need no installation. For Python or TypeScript, install the Mistral SDK:

pip install "mistralai[realtime]"

The realtime extra adds the WebSocket client for realtime transcription.

3. Run your first call

Send a recorded file and get its transcript back. Download the sample recording first, or fetch it from the command line:

curl -O https://docs.mistral.ai/audio/obama.mp3
curl https://api.mistral.ai/v1/audio/transcriptions \
  -H "Authorization: Bearer $MISTRAL_API_KEY" \
  -F model=voxtral-mini-transcribe-3 \
  -F file=@obama.mp3
lightbulb

This example runs on Voxtral Mini Transcribe 3. To check the full response and see what to try next, follow Quickstart: transcribe an audio file.

Meet the models

Voxtral 3 has four models: three turn speech into text, and one turns text into speech, offline or in realtime.

Speech to text

Text to speech

To choose, start from what you need to do:

Model

Use it to

Key numbers

Voxtral Mini Transcribe 3 (voxtral-mini-transcribe-3-0)Transcribe recorded files, with speaker labels, segment timestamps, and custom vocabulary65,536-token context, shared by the audio and the vocabulary list
Voxtral Mini Transcribe Realtime 3 (voxtral-mini-transcribe-realtime-3-0)Transcribe live audio for captions and voice agents, with turn detectionStreaming delay from 80 to 1,200 ms, or 2,400 ms, set per session
Voxtral Small Transcribe 3 (voxtral-small-transcribe-3-0)Transcribe recorded files at higher qualityTranscription only at launch
Voxtral TTS 3 (voxtral-mini-tts-3-0)Generate speech from text with preset or cloned voices, offline or in realtime for live conversations5 output formats, WAV at 24 kHz; 34 emotion tags and 2 pace tags

To compare modes, options, and features in detail, see Speech to Text and Text to Speech.

Understand the concepts

Before you tune options or design a voice product, read how each part of the audio stack works and what each choice trades off.

Offline and realtime
illustrationHeadphones

Offline and realtime

The two ways Mistral processes audio: recorded audio in a single request, or live audio in a streaming session, and what changes between them.

Latency
illustrationTimer

Latency

What latency means in each Mistral audio mode, the delays it adds up, and how to measure it and weigh speed against quality.

Turns and turn-taking
illustrationBubble

Turns and turn-taking

How Voxtral decides when someone has finished speaking, why it matters for live transcription and voice agents, and the trade-off between cutting people off and answering late.

Custom vocabulary
illustrationBook101

Custom vocabulary

Why names, drugs, and product terms come out wrong in transcription and in generated speech, and the hint that fixes each direction: context biasing for spelling, custom pronunciation for sound.

Speakers and diarization
illustrationSound

Speakers and diarization

What diarization tells you about who spoke when, how reference clips turn anonymous speaker labels into known speakers, and what overlapping speech means for your interface.

Voices
illustrationSpeech

Voices

What a voice is in Mistral speech generation, the kinds of voices you can use, and the difference between choosing a voice and directing how it speaks.

What you can build

Pick the scenario closest to your product. Each guide combines several capabilities into one result and links to the article behind every step.