tts slot.
Setup
Set your OpenAI API key in the worker environment. Generate a key from the OpenAI dashboard:Usage
Import the plugin and pass it to the pipeline’stts slot.
Speed control
Usespeed to adjust the speaking rate. The value is a multiplier in the range
0.25 - 4.0; leaving it unset uses the provider default of 1.0:
Parameters
Constructor parameters forOpenAITTS. 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.