tts slot.
Setup
Set your Sarvam AI API key in the worker environment. Generate a key from the Sarvam AI dashboard:Usage
Import the plugin and pass it to the pipeline’stts slot.
Parameters
Constructor parameters forSarvamAITTS. The Python and Node JS SDKs share these field names.
The synthesized audio is streamed back to the caller as the final stage of the
pipeline.