Mistral
Text-to-speech
Mistral’s Voxtral text-to-speech models deliver realistic, emotionally expressive multilingual speech with low latency.
Models
Model IDs are passed through to Mistral directly, so newer Voxtral TTS models work as soon as Mistral releases them. See Mistral’s text-to-speech documentation for current models.
Voices
Press play to audition any Mistral voice, then copy config to grab the value for SWML or your SDK.
Voice IDs are passed through to Mistral’s hosted voice library — a voice named myvoice
becomes mistral.myvoice in the voice string.
Find the available voices in
Mistral AI Studio under Audio › Text-to-speech.
There is no default or fallback voice — always set a valid Mistral voice ID.
Note that the preset names published with the open-weight Voxtral model (such as casual_male)
are not accepted by Mistral’s hosted API — use a voice from Mistral AI Studio.
Learn more in Mistral’s documentation:
Reference for Voxtral TTS models and voices.
Overview of Voxtral TTS capabilities.
Languages
Voxtral TTS supports English, French, Spanish, Portuguese, Italian, Dutch, German, Hindi, and Arabic. Language is determined by the model and voice; refer to Mistral’s documentation for the most up-to-date language coverage.
Usage
A voice identifier string has three parts: the mistral engine code, a voice ID, and an optional model.
Format: mistral.<voiceId>:<model>
voiceId(required): a Mistral voice ID from Mistral AI Studio; see Voices.model(optional): a Voxtral TTS model. Defaults tovoxtral-mini-tts-latest.
Examples (replace myvoice with a voice ID from Mistral AI Studio):
You can also set the model with the separate
model
parameter of the languages SWML method
instead of appending :model to the voice string:
Build with Mistral on SignalWire
Create a Space and add credit
If you don’t have one yet, you’ll need to create a SignalWire Space. Be sure to add some credit to test with.
Add a new Resource
Navigate to the Resources tab in your SignalWire Dashboard and click + Add New to create a new Resource.
Create a SWML Script
From the Resources menu, select SWML Script. Name it something fun and recognizable. Ours is titled Mistral Wizard.
Next, paste the following starter script into the text box, replace myvoice with a
voice ID from Mistral AI Studio, and hit Save:
Next steps with SWML
Now you’ve deployed your very first SignalWire voice AI application using Mistral voices. Next, dive deeper into SWML to explore its capabilities!
