interface TTSOptions {
    apiKey?: string;
    client?: Mistral;
    expressiveness?: number;
    model?: string;
    phonemeHints?: null | Record<string, IPAPhoneme[]>;
    refAudio?: string;
    useRealtime?: boolean;
    voice?: string;
}

Properties

apiKey?: string
client?: Mistral
expressiveness?: number

How expressive speech is, from 1 to 5. Voxtral 3 only.

model?: string
phonemeHints?: null | Record<string, IPAPhoneme[]>

Case-sensitive words mapped to ordered IPA phones. Voxtral 3 HTTP only.

refAudio?: string
useRealtime?: boolean

Stream text and speech over the realtime WebSocket API. Voxtral 3 only.

voice?: string