interface TTSOptions {
    apiKey?: string;
    audioFormat: string;
    bitrate?: null | number;
    language: string;
    model: string;
    sampleRate: number;
    speed: number;
    voice: string;
    websocketUrl: string;
}

Properties

apiKey?: string
audioFormat: string

Soniox output audio format. Only pcm_s16le is supported by this JS AudioFrame port.

bitrate?: null | number
language: string
model: string
sampleRate: number
speed: number

Speaking rate. 1.0 is normal; valid range is [0.7, 1.3].

voice: string
websocketUrl: string