interface TTSOptions {
    apiKey?: string;
    applyTextNormalization?: "auto" | "on" | "off";
    autoMode?: boolean;
    baseURL?: string;
    chunkLengthSchedule?: number[];
    enableLogging?: boolean;
    enableSsmlParsing?: boolean;
    encoding?: TTSEncoding;
    inactivityTimeout?: number;
    language?: string;
    languageCode?: string;
    model?: string;
    modelID?: string;
    preferredAlignment?: "normalized" | "original";
    pronunciationDictionaryLocators?: PronunciationDictionaryLocator[];
    streamingLatency?: number;
    syncAlignment?: boolean;
    voice?: Voice;
    voiceId?: string;
    voiceSettings?: VoiceSettings;
    wordTokenizer?: tokenize.WordTokenizer | tokenize.SentenceTokenizer;
}

Properties

apiKey?: string
applyTextNormalization?: "auto" | "on" | "off"
autoMode?: boolean
baseURL?: string
chunkLengthSchedule?: number[]
enableLogging?: boolean
enableSsmlParsing?: boolean
encoding?: TTSEncoding
inactivityTimeout?: number
language?: string
languageCode?: string
model?: string
modelID?: string
preferredAlignment?: "normalized" | "original"
pronunciationDictionaryLocators?: PronunciationDictionaryLocator[]
streamingLatency?: number
syncAlignment?: boolean
voice?: Voice
voiceId?: string
voiceSettings?: VoiceSettings