Install
openclaw plugins install @sliekens/voxtral@sliekens/voxtral
openclaw plugins install @sliekens/voxtralOpenClaw plugin that adds Voxtral text-to-speech and real-time speech-to-text via the Mistral API.
| Capability | Config section | Provider ID | Default model |
|---|---|---|---|
| Speech (TTS) | messages.tts | voxtral | voxtral-mini-tts-2603 |
| Realtime transcription (STT) | plugins.entries.voice-call.config.streaming | voxtral | voxtral-mini-transcribe-realtime-2602 |
openclaw plugins install @sliekens/voxtral
The plugin uses your Mistral API key. There are three ways to provide it, in order of priority:
Nothing to do. The Voxtral plugin will automatically pick up the Mistral credentials you already have configured.
export MISTRAL_API_KEY=your-key-here
openclaw.json{
"messages": {
"tts": {
"providers": {
"voxtral": {
"apiKey": "your-key-here"
}
}
}
},
"plugins": {
"entries": {
"voice-call": {
"config": {
"streaming": {
"providers": {
"voxtral": {
"apiKey": "your-key-here"
}
}
}
}
}
}
}
}
{
"messages": {
"tts": {
"provider": "voxtral"
}
}
}
Set a default voice:
{
"messages": {
"tts": {
"provider": "voxtral",
"providers": {
"voxtral": {
"voice": "your-voice-id"
}
}
}
}
}
{
"plugins": {
"entries": {
"voice-call": {
"config": {
"streaming": {
"provider": "voxtral"
}
}
}
}
}
}
{
"messages": {
"tts": {
"provider": "voxtral",
"providers": {
"voxtral": {
"apiKey": "your-key-here",
"voice": "your-voice-id",
"model": "voxtral-mini-tts-2603"
}
}
}
},
"plugins": {
"entries": {
"voice-call": {
"config": {
"streaming": {
"provider": "voxtral",
"providers": {
"voxtral": {
"apiKey": "your-key-here",
"model": "voxtral-mini-transcribe-realtime-2602"
}
}
}
}
}
}
}
}
Override the voice or model for a specific message using inline directive tokens:
[voxtral_voice: your-voice-id] Hello, this uses a specific voice.
[voxtral_model: voxtral-mini-tts-2603] Hello, this uses a specific model.
| Option | Where | Default | Description |
|---|---|---|---|
apiKey | TTS + STT provider config | — | Mistral API key |
baseUrl | TTS + STT provider config | https://api.mistral.ai/v1 | Custom API endpoint |
model | TTS + STT provider config | see above | Override the default model |
voice | TTS provider config | — | Default voice ID |
sampleRate | STT provider config | 8000 | Audio sample rate in Hz (e.g. 8000, 16000) |
silenceDurationMs | STT provider config | 800 | Milliseconds of silence before flushing the current utterance |
You can also set the base URL via environment variable:
export MISTRAL_TTS_BASE_URL=https://your-endpoint/v1
export MISTRAL_STT_BASE_URL=https://your-endpoint/v1
index.ts to dist/index.js and including it in the ClawHub package.activation.onStartup field to openclaw.plugin.jsonproviderAuthEnvVars with setup.providers[].envVars