tts slot.
Setup
Set your ElevenLabs API key in the worker environment. Generate a key from the ElevenLabs dashboard:Usage
Import the plugin and pass it to the pipeline’stts slot.
Both SDKs default to model
eleven_turbo_v2 and voice 21m00Tcm4TlvDq8ikWAM
(the “Rachel” voice). Pass model and voice explicitly for consistent results across SDKs.Voice settings
Fine-tune the voice with thevoice_settings mapping, which mirrors ElevenLabs’
native voice_settings shape: stability, similarity_boost, style and
use_speaker_boost.
Parameters
Constructor parameters forElevenLabsTTS. The Python and Node JS SDKs share these field names.
Import paths
The synthesized audio is streamed back to the caller as the final stage of the
pipeline.