Speechify TTS
The Speechify TTS provider enables your agent to use Speechify's high-quality text-to-speech models for generating natural-sounding voice output.
Installation
Install the Speechify-enabled VideoSDK Agents package:
pip install "videosdk-plugins-speechify"
Importing
from videosdk.agents.plugins import SpeechifyTTS
Authentication
The Speechify plugin requires an Speechify API key.
Set SPEECHIFY_API_KEY in your .env file.
Example Usage
from videosdk.agents.plugins import SpeechifyTTS
from videosdk.agents import Pipeline
# Initialize the Speechify TTS model
tts = SpeechifyTTS(
voice_id="kristy",
model="simba-english"
)
# Add tts to pipeline
pipeline = Pipeline(tts=tts)
note
When using .env file for credentials, don't pass them as arguments to model instances or context objects. The SDK automatically reads environment variables, so omit api_key and other credential parameters from your code.
Configuration Options
voice_id: (str) The Speechify voice to use (default:"kristy").api_key: (str) Speechify API key. Can also be set via theSPEECHIFY_API_KEYenvironment variable.model: (str) The model variant to use ("simba-base","simba-english","simba-multilingual","simba-turbo"). Default:"simba-english".language: (str) Optional ISO language code for multilingual models (e.g.,"en","es").audio_format: (str) The audio format to use. One of"mp3","ogg","aac". Default:"mp3".loudness_normalization: (bool, optional) Forwarded asoptions.loudness_normalizationin the request body.Nonelets the server apply its default.text_normalization: (bool, optional) Forwarded asoptions.text_normalizationin the request body.Nonelets the server apply its default.chunked_synthesis: (bool) WhenTrue, dispatches one POST per segment boundary. WhenFalse(default), the entire stream is accumulated into a single POST for prosody continuity.
Additional Resources
The following resources provide more information about using Speechify with VideoSDK Agents SDK.
- Speechify AI docs: Speechify AI docs.
Got a Question? Ask us on discord

