tts slot.
Setup
Set your Smallest AI API key in the worker environment. Generate a key from the Smallest AI console:Usage
Import the plugin and pass it to the pipeline’stts slot.
The default model is
lightning_v3.1 in the Python SDK and lightning in the JavaScript
and Go SDKs.Parameters
Constructor parameters for the Python SDK (SmallestAITTS). The JavaScript and Go SDKs expose voice_id/voiceId/VoiceID and model in their idiomatic form.
Import paths
The synthesized audio is streamed back to the caller as the final stage of the
pipeline.