Skip to main content

Crate voxtral_micro

Crate voxtral_micro 

Source
Expand description

§Voxtral Micro

A minimal text-to-speech library using Q4-quantized GGUF models.

§Example

use voxtral_micro::TtsEngine;

let mut tts = TtsEngine::new("models/voxtral-tts-q4.gguf").await?;

let audio = tts.synthesize("Hello world!", None)?;
tts.save_wav("output.wav", &audio)?;

Re-exports§

pub use audio::AudioBuffer;

Modules§

audio
Audio I/O utilities for TTS output.
gguf
GGUF quantized TTS inference on GPU.
models
Core neural network building blocks for TTS.
tokenizer
Tokenizer for Voxtral (Tekken format).
tts
Text-to-speech pipeline for Voxtral 4B TTS.

Structs§

TtsEngine
Main TTS engine for speech synthesis from GGUF models.