Skip to main content
Community-maintained integration. This service is built and maintained by ConvoZen. Pipecat does not test or officially support it. Please report issues and request changes on the source repository. Learn more about community integrations.

Overview

ConvoZen’s Ragini 2.0 model synthesizes speech in English, Hindi, Kannada, Tamil and Telugu. ConvozenHttpTTSService streams audio back as it is generated, which keeps time-to-first-audio down in a conversation.

Source Repository

Source code, examples, and issues for the ConvoZen integration

PyPI Package

The pipecat-convozen package on PyPI

API Keys

Create and manage your ConvoZen API keys

Ragini Research

How the Ragini speech synthesis models work

Installation

This is a community-maintained package distributed separately from pipecat-ai:

Prerequisites

ConvoZen Account Setup

Before using ConvoZen TTS, you need:
  1. ConvoZen Account: Sign up at ConvoZen
  2. API Key: Generate an API key from your account dashboard

Required Environment Variables

  • CONVOZEN_API_KEY: Your ConvoZen API key for authentication

Configuration

str
required
ConvoZen API key for authentication.
aiohttp.ClientSession
required
The bot’s shared aiohttp session, used for every request to ConvoZen. Create one per bot with async with aiohttp.ClientSession() as session: and pass the same session to each HTTP service, so connections are pooled and closed once.
str
default:"ragini-v2"
Ragini model to use. "ragini-v2" (Ragini 2.0) is currently the only supported model.
str
API base URL. Override to reach a self-hosted deployment.
int
default:"None"
Output sample rate in Hz. None uses the pipeline’s output rate. Audio is resampled from Ragini 2.0’s native 48000 Hz.
ConvozenHttpTTSService.Settings
default:"None"
Runtime-configurable settings for the TTS service. See Settings below.

Settings

Runtime-configurable settings passed via the settings constructor argument using ConvozenHttpTTSService.Settings(...). These can be updated mid-conversation with TTSUpdateSettingsFrame. See Service Settings for details.

Usage

Basic Setup

With Voice and Language

See the source repository for a complete runnable example wiring a transport → STT → LLM → TTS.

Notes

  • Supported models: ragini-v2 (Ragini 2.0, 48000 Hz).
  • Supported languages: English (en), Hindi (hi), Kannada (kn), Tamil (ta), and Telugu (te). Regional variants such as hi-IN map to their base code; other languages are rejected by the API.
  • Voices: for en and hi: shrajay (default), siddharth, parmi, sherin, bhavya, shreya. For kn, ta and te: amaya, parmi, roohi, bhavya, shrajay, siddharth. An unknown voice name is not an error — the API returns an arbitrary voice — so check the spelling.
  • Speaking rate: Ragini 2.0 does not support speed control.
  • Output format: Ragini returns 48 kHz WAV. The service streams the response, strips the container header, and resamples to the pipeline’s rate.

Compatibility

Built and verified against Pipecat v1.16.0. Check the source repository for the latest tested version and changelog.