interface TTSOptions {
    apiKey?: string;
    emotion?: string[];
    encoding: "pcm_s16le";
    language: string;
    model: string;
    sampleRate: number;
    speed?: number | TTSVoiceSpeed;
    voice: string | number[];
}

Properties

apiKey?: string
emotion?: string[]
encoding: "pcm_s16le"
language: string
model: string
sampleRate: number
speed?: number | TTSVoiceSpeed
voice: string | number[]