Overview

PiperTTSService provides high-quality neural text-to-speech synthesis through a self-hosted HTTP server. The service offers complete privacy and control with no external API dependencies, making it ideal for on-premise deployments and applications requiring data sovereignty.

Installation

To use Piper services, no additional Pipecat dependencies are required:
pip install "pipecat-ai"  # Base installation is sufficient

Prerequisites

Piper Server Setup

Before using PiperTTSService, you need:
  1. Piper TTS Server: Set up a running Piper TTS server following the HTTP server documentation
  2. Voice Models: Download and configure voice models for your target languages
  3. Server Configuration: Configure server endpoint and voice selection

Required Configuration

  • Server URL: Configure the Piper server endpoint in your service initialization
  • Voice Models: Ensure required voice models are available on the server
Piper runs entirely locally, providing complete privacy and eliminating API key requirements.