Skip to main content

Overview

SpeechmaticsTTSService provides high-quality low-latency text-to-speech synthesis using Speechmatics TTS API with support for multiple voices and streaming capabilities. The service is optimized for voice AI applications with efficient audio streaming.

Installation

To use Speechmatics services, install the required dependencies:
pip install "pipecat-ai[speechmatics]"

Prerequisites

Speechmatics Account Setup

Before using Speechmatics TTS services, you need:
  1. Speechmatics Account: Sign up at Speechmatics Portal
  2. API Key: Generate an API key from your dashboard
  3. Voice Selection: Choose from available voices

Required Environment Variables

  • SPEECHMATICS_API_KEY: Your Speechmatics API key for authentication