SmallestAITTS
Smallest AI text-to-speech (TTS) synthesizer.Constructor
Smallest AI API key. Defaults to the
SMALLESTAI_API_KEY environment variable.Voice name for synthesis (e.g.
'magnus', 'lauren'). Takes precedence over voiceId. Default 'magnus'.Voice id; compatibility alias for
voice. Ignored when voice is also set.TTS model id. Default
'lightning_v3.1'.Output audio sample rate in Hz. Default
24000.ISO 639-1 language code for the target voice. Default
'en'.Speaking rate multiplier;
null uses the model default. Default null.Stream audio from the model. Default
true.close
closeEmitter
emit
getRuntimeConfig
interrupt
listenerCount
off
on
once
onFirstAudioByte
removeAllListeners
synthesize
text on the active session.