# Mistral (/en/ai/models/tts/mistral)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

> Documentation: Conversational AI.
> Documentation version: Main.
> This document describes only this version. [Version index](/llms/doc-versions-convoai-guides-v1.txt).


Mistral provides enterprise-grade AI voice generation with text-to-speech (TTS) models.

### Sample configuration

The following examples show how to configure Mistral TTS when starting a conversational AI agent.

**Python SDK**

```python
from agora_agent import Agent
from agora_agent.agentkit.vendors import MistralTTS

# client is your configured Agora client
agent = (
    Agent(client)
    .with_stt(...)  # configure your STT vendor
    .with_llm(...)  # configure your LLM vendor
    .with_tts(MistralTTS(
        api_key='<MISTRAL_API_KEY>',
        model='voxtral-mini-tts-2603',
        voice='<MISTRAL_TTS_VOICE>',
    ))
)
```

**TypeScript SDK**

```typescript
import { Agent, MistralTTS } from 'agora-agents';

// client is your configured Agora client
const agent = new Agent({ client })
  .withStt(/* configure your STT vendor */)
  .withLlm(/* configure your LLM vendor */)
  .withTts(new MistralTTS({
    apiKey: '<MISTRAL_API_KEY>',
    model: 'voxtral-mini-tts-2603',
    voice: '<MISTRAL_TTS_VOICE>',
  }));
```

**Go SDK**

```go
import (
    "github.com/AgoraIO/agora-agents-go/v2/agentkit"
    "github.com/AgoraIO/agora-agents-go/v2/agentkit/vendors"
)

// client is your configured Agora client
agent := agentkit.NewAgent(client).WithStt(/* configure your STT vendor */).
  WithLlm(/* configure your LLM vendor */).
  WithTts(
    vendors.NewMistralTTS(vendors.MistralTTSOptions{
        APIKey: "<MISTRAL_API_KEY>",
        Model:  "voxtral-mini-tts-2603",
        Voice:  "<MISTRAL_TTS_VOICE>",
    }),
)
```

**REST API**

Use the following `tts` configuration in your request:

```json
"tts": {
  "vendor": "mistral",
  "params": {
    "api_key": "<MISTRAL_API_KEY>",
    "model": "voxtral-mini-tts-2603",
    "voice": "<MISTRAL_TTS_VOICE>"
  }
}
```

### Key parameters

**params required**

**`api_key` (string) required**

The Mistral API key used to authenticate requests. You must provide a valid key for the service to function.

**`model` (string) optional**

The TTS model to use. For example, `voxtral-mini-tts-2603`.

**`voice` (string) optional**

The voice identifier to use.

> **Caution**
>
> The parameters listed on this page are validated for use with Conversational AI Engine. Required parameters must be provided as documented. Any additional parameters are passed through directly to the underlying vendor without validation. For a full list of supported options, refer to the [Mistral documentation](https://docs.mistral.ai/api/endpoint/audio/speech).

This integration is fully supported for use with Conversational AI Engine. While it has completed functional validation, it is newer to the platform, and additional provider-specific edge cases may be identified as usage scales across a broader range of applications and workloads.
