- Studio
- Voice
- Text to Speech
Style instructions
Style instructions
Style instructions are not available at launch. The instruction parameter is not supported on the current Voxtral TTS 3 checkpoint. This page documents the intended behavior for when the feature is enabled in a future release.
A style instruction describes, in your own words, how to say the whole input, such as a calm and slow delivery. Use it to set one delivery for the whole output; to change the emotion or the pace of part of the text, use emotion and pace tags.
For how instructions compare with the other ways to direct a voice, see Voices.
Give a delivery instruction
Add instruction to the speech request, next to input and the voice. The value is a short sentence in plain language:
curl -s https://api.mistral.ai/v1/audio/speech \
-H "Authorization: Bearer $MISTRAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "voxtral-mini-tts-3-0",
"input": "Your order shipped this morning and should arrive on Thursday.",
"voice_id": "gb_jane_neutral",
"instruction": "A calm, slow delivery.",
"response_format": "wav"
}' | jq -r '.audio_data' | base64 --decode > calm.wav
Style instructions are not available at launch. It changes how the voice speaks, not what it says or which voice speaks: keep choosing the voice with voice_id.
Instructions, tags, and expressiveness
Three request settings shape the delivery, at different levels:
Setting | Applies to | Details |
|---|---|---|
| instruction | The whole input | This page |
| Emotion and pace tags in input | Part of the text | Emotion and pace tags |
| expressiveness | Controls how expressive the speech is. Higher values trade voice similarity and stability for stronger delivery. | Generate speech |
Style instructions are not available at launch.
Limits and errors
These errors come from the instruction field:
Error | Cause | Fix |
|---|---|---|
| 422 Extra inputs are not permitted | A misspelled field name, such as instructions | Use instruction, singular. |
| 422 with type string_type | instruction isn't a string | Send the instruction as text. |
| Style instructions are not available at launch. | The instruction is over the length limit. It isn't shortened for you. | Shorten the instruction. |
| Style instructions are not available at launch. | The model doesn't support style instructions. | Use a model that supports them. |
For other speech generation errors, see Troubleshooting.
Going further
Emotion and pace tags
Change the emotion and the speaking rate of part of the text with inline tags in the speech input.
Voices (concept)
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.
Voices
Browse the preset voices and manage the voices saved in your workspace through the API.
Troubleshooting
The errors that speech requests return, the usual causes of speech that sounds wrong, flat, cut short, or slow to start, and the setting that fixes each one.