Overview
UpliftHttpTTSService converts text into speech using
Uplift AI’s HTTP text-to-speech API. It provides
high-quality, low-latency synthesis optimized for conversational AI in local
languages such as Urdu, with multiple voice options and audio formats.
Source Repository
Source code, examples, and issues for the Uplift AI integration
Uplift AI
Learn more about Uplift AI’s text-to-speech service
API Keys
Create and manage your Uplift AI API keys
Installation
This is a community-maintained package distributed separately frompipecat-ai.
It is not yet published to PyPI, so install it directly from GitHub:
Prerequisites
Uplift AI Account Setup
Before using the Uplift AI text-to-speech service, you need:- Uplift AI Account: Sign up at Uplift AI
- API Key: Generate an API key from the
API Keys page (format:
sk_api_...)
Required Environment Variables
UPLIFT_API_KEY: Your Uplift AI API key for authentication
Configuration
Uplift AI API key for authentication (format:
sk_api_...).Base URL for the Uplift TTS API endpoint.
Uplift voice identifier. Available voices:
v_8eelc901 (Info/Edu),
v_kwmp7zxt (Gen Z), v_yypgzenx (Dada Jee), v_30s70t3a (Nostalgic News).Audio output format. Available formats:
WAV_22050_16, WAV_22050_32,
MP3_22050_32, MP3_22050_64, MP3_22050_128, OGG_22050_16,
ULAW_8000_8.Audio sample rate in Hz.
Optional shared aiohttp session used for API requests. If not provided, the
service creates and manages its own session.
Optional input parameters for voice and output-format overrides. See
InputParams below.
InputParams
Optional configuration passed via theparams constructor argument using
UpliftHttpTTSService.InputParams(...).
| Parameter | Type | Default | Description |
|---|---|---|---|
voice_id | Optional[str] | None | Optional default voice ID override. |
output_format | Optional[str] | "WAV_22050_16" | Audio output format. |
Available voices, formats, and defaults are defined by the integration. See
the source repository
for the authoritative, up-to-date list.