Skip to main content
Version: Next

Interface: TextToSpeechModelConfig

Defined in: types/tts.ts:125

Configuration for a specific model and voice in a Text-to-Speech module.

Properties

lang?

optional lang: TextToSpeechSupertonicLanguage

Defined in: types/tts.ts:129

Language token for supertonic (default 'na'). Unused by kokoro.


model

model: TextToSpeechModelSources

Defined in: types/tts.ts:126

The model sources and identifiers.


phonemizerConfig?

optional phonemizerConfig: TextToSpeechPhonemizerConfig

Defined in: types/tts.ts:128

Phonemizer configuration. Required for kokoro, unused by supertonic.


voiceSource

voiceSource: ResourceSource

Defined in: types/tts.ts:127

The resource containing the voice-specific tensor stored in a binary format.