modelTypes
constmodelTypes:object
Defined in: voices.ts:15
TTS model types for use with createNarration.
expressive: expressive synthesis with natural-sounding speech.consistent: consistent synthesis with stable pronunciation.
Type Declaration
Section titled “Type Declaration”consistent
Section titled “consistent”
readonlyconsistent:"consistent"='consistent'
expressive
Section titled “expressive”
readonlyexpressive:"expressive"='expressive'
Example
Section titled “Example”createNarration({ voice: { name: voices.Ava, modelType: modelTypes.expressive }, en: { intro: 'Hello' },})