> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zeroruntime.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Mistralai

> Python API reference for the mistralai text-to-speech provider.

## MistralAITTS

Text-to-speech with Mistral's Voxtral voices, using your own Mistral key. Expressive
multilingual speech with zero-shot voice cloning from a short clip.

Authenticates with MISTRALAI\_API\_KEY from your environment, or an explicit
`api_key`.

```python theme={null}
from zeroruntime.plugins import MistralAITTS  # direct to the vendor, with your key
```

### Fields

**model** `str` (default: UNSET)

Voxtral model, e.g. "voxtral-mini-tts-3-0" or "voxtral-mini-tts-2603". Use "mistralai/Voxtral-4B-TTS-2603" with a self-hosted base\_url. Defaults to 'voxtral-mini-tts-3-0'.

**voice** `Optional[str]` (default: UNSET)

Voice ID: a Voxtral 3 preset such as "voice\_478", a Voxtral 2 slug such as "gb\_jane\_neutral", or a voice saved in your Mistral workspace. Defaults to None (not set).

**ref\_audio** `Optional[str]` (default: UNSET)

Base64 audio clip of a few seconds to clone a voice from, used when no voice is set. Defaults to None (not set).

**expressiveness** `Optional[float]` (default: UNSET)

Strength of expressive delivery, 1.0 to 5.0. Higher is more emotive but less like the chosen voice. Leave unset to let Mistral decide. Defaults to None (not set).

**base\_url** `Optional[str]` (default: UNSET)

Address of a self-hosted vLLM-Omni server running Voxtral, e.g. "[http://host:8000/v1](http://host:8000/v1)". Defaults to None (not set).

**chunked\_synthesis** `bool` (default: UNSET)

Synthesize each sentence as soon as it is ready instead of the whole reply at once. Faster first audio for long replies, at some cost to natural flow. Defaults to False.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.