Voxa.Speech.Mistral
0.7.2-alpha
dotnet add package Voxa.Speech.Mistral --version 0.7.2-alpha
NuGet\Install-Package Voxa.Speech.Mistral -Version 0.7.2-alpha
<PackageReference Include="Voxa.Speech.Mistral" Version="0.7.2-alpha" />
<PackageVersion Include="Voxa.Speech.Mistral" Version="0.7.2-alpha" />
<PackageReference Include="Voxa.Speech.Mistral" />
paket add Voxa.Speech.Mistral --version 0.7.2-alpha
#r "nuget: Voxa.Speech.Mistral, 0.7.2-alpha"
#:package Voxa.Speech.Mistral@0.7.2-alpha
#addin nuget:?package=Voxa.Speech.Mistral&version=0.7.2-alpha&prerelease
#tool nuget:?package=Voxa.Speech.Mistral&version=0.7.2-alpha&prerelease
Voxa.Speech.Mistral
Mistral Voxtral TTS and STT engines for Voxa pipelines. Mistral's audio API is OpenAI-compatible: TTS at /v1/audio/speech, transcription at /v1/audio/transcriptions.
This is the remote (API, key-required) Voxtral tier. For a local, fully-offline privacy tier on the same model family, use Voxa.Speech.Voxtral (Voxtral-Mini-4B-Realtime via local vLLM) and switch with "Voxa:Stt": "Voxtral" vs "Mistral".
Install
dotnet add package Voxa.Speech.Mistral --prerelease
Quickstart
using Voxa.Speech;
using Voxa.Speech.Mistral;
var mistral = new MistralSpeechOptions
{
ApiKey = "<your-mistral-key>",
Model = "voxtral-tts",
Voice = "alloy",
};
var pipeline = Pipeline.Build()
.Source(...)
.Then(new MicrosoftAgentsProcessor(yourAgent))
.Then(Mistral.Synthesis(mistral))
.Sink(...);
What's included
MistralTextToSpeechEngine— POSTs to/v1/audio/speechwithresponse_format=pcm, streams the chunked response.MistralSpeechToTextEngine— buffers the utterance and POSTs it to/v1/audio/transcriptionsat speech-end. WithSttStreaming(default true) it sendsstream=trueand surfaces the SSE response as interimtranscription.text.deltapartials followed by atranscription.donefinal; set it false for a single batched final. The API takes a complete clip, so audio is sent once per utterance (not incrementally).MistralVoiceCatalog— list/clone voices via/v1/audio/voices.MistralSpeechOptions— api key, base URL, model/voice, STT model/language/streaming, sample rates.Mistral.Synthesis(...)— one-liner TTS processor factory.
Register both via the meta-package and pick per role: "Voxa:Tts": "Mistral" and/or "Voxa:Stt": "Mistral".
STT config keys
| Key | Default | Notes |
|---|---|---|
Voxa:Mistral:SttModel |
voxtral-mini-latest |
Transcription model id. |
Voxa:Mistral:SttStreaming |
true |
Stream the SSE response (interims + final); false = one batched final. |
Voxa:Mistral:SttLanguage |
null |
BCP-47 hint; null auto-detects. |
Voxa:Mistral:InputSampleRate |
16000 |
PCM rate the engine wraps as WAV before posting. |
Voxa:Mistral:SttBufferSeconds |
30 |
Safety-backstop flush if VAD never fires speech-end; 0 disables. |
License
MIT.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.7)
- Voxa.Speech.Abstractions (>= 0.7.2-alpha)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Voxa.Speech.Mistral:
| Package | Downloads |
|---|---|
|
Voxa
Batteries-included Voxa package. One package reference: AddVoxa(cfg) + MapVoxaVoice("/voice").UseDefaults() gives a working voice bot with STT, TTS, VAD, and an OpenAI chat agent — no knowledge of frames required. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.7.2-alpha | 89 | 7/10/2026 |
| 0.7.1-alpha | 71 | 7/10/2026 |
| 0.7.0-alpha | 80 | 7/10/2026 |
| 0.6.0-alpha | 76 | 6/22/2026 |
| 0.5.0-alpha | 80 | 6/13/2026 |
| 0.4.0-alpha | 1,248 | 5/10/2026 |
| 0.3.0-alpha | 77 | 5/9/2026 |
| 0.2.0-alpha | 73 | 5/8/2026 |