Skip to main content
Version: Next

Interface: VoiceConfig

Defined in: types/tts.ts:27

Voice configuration

So far in Kokoro, each voice is directly associated with a language.

Properties

extra?

optional extra: KokoroVoiceExtras

Defined in: types/tts.ts:30

an optional extra sources or properties related to specific voice


lang

lang: TextToSpeechLanguage

Defined in: types/tts.ts:28

speaker's language


voiceSource

voiceSource: ResourceSource

Defined in: types/tts.ts:29

a source to a binary file with voice embedding