Overview

SpeechmaticsSTTService enables real-time speech transcription using Speechmatics’ WebSocket API with partial and final results, speaker diarization, and end of utterance detection (VAD) for comprehensive conversation analysis.

Installation

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

Prerequisites

Speechmatics Account Setup

Before using Speechmatics STT services, you need:
  1. Speechmatics Account: Sign up at Speechmatics
  2. API Key: Generate an API key from your account dashboard
  3. Feature Selection: Configure transcription features like speaker diarization

Required Environment Variables

  • SPEECHMATICS_API_KEY: Your Speechmatics API key for authentication