Overview
DeepdubTTSService generates speech from text using Deepdub AI’s
real-time streaming WebSocket API. It extends Pipecat’s InterruptibleTTSService
and pushes TTSAudioRawFrame audio into the pipeline, with support for multiple
models (dd-etts-2.5, dd-etts-3.0), voice customization, and accent control.
Source Repository
Source code, examples, and issues for the Deepdub TTS integration
PyPI Package
The
pipecat-deepdub-tts package on PyPIDeepdub AI
Learn more about Deepdub AI and sign up for an API key
Installation
This is a community-maintained package distributed separately frompipecat-ai:
Prerequisites
Deepdub Account Setup
Before using the Deepdub TTS service, you need:- Deepdub Account: Sign up at Deepdub AI
- API Key: Obtain your API key from your Deepdub account
- Voice Prompt ID: A voice prompt ID to use for synthesis
Required Environment Variables
DEEPDUB_API_KEY: Your Deepdub API key for authenticationDEEPDUB_VOICE_ID: The voice prompt ID used for synthesis
Configuration
str
required
Deepdub API key for authentication.
str
required
Voice prompt ID to use for synthesis.
str
default:"dd-etts-2.5"
TTS model name (e.g.
"dd-etts-2.5", "dd-etts-3.0").int
default:"16000"
Audio sample rate in Hz. Valid values:
8000, 16000, 22050, 24000,
44100, 48000.DeepdubTTSService.InputParams
default:"None"
Optional voice customization parameters. See InputParams
below.
InputParams
Optional voice customization passed via theparams constructor argument using
DeepdubTTSService.InputParams(...).
Available parameters and defaults are defined by the integration. See the
source repository for the
authoritative, up-to-date list.