Type Alias: KokoroTtsOptions<K>
KokoroTtsOptions<
K> =object
Defined in: extensions/speech/tasks/kokoroTextToSpeech.ts:90
Per-call execution options for Kokoro Text-to-Speech synthesis.
Type Parameters
K
K extends PropertyKey
Voice keys record constraint.
Properties
maxChunkLength?
readonlyoptionalmaxChunkLength:number
Defined in: extensions/speech/tasks/kokoroTextToSpeech.ts:98
Maximum phoneme count per chunk. Defaults to the model's token limit.
phonemize?
readonlyoptionalphonemize:boolean
Defined in: extensions/speech/tasks/kokoroTextToSpeech.ts:96
If false, the input is treated as IPA phonemes and not phonemized.
speed?
readonlyoptionalspeed:number
Defined in: extensions/speech/tasks/kokoroTextToSpeech.ts:94
Speech speed factor (range: 0.1 to 3.0).
voice
readonlyvoice:K
Defined in: extensions/speech/tasks/kokoroTextToSpeech.ts:92
Voice name matching one of the keys in config.voices.