Overview

GladiaSTTService provides real-time speech recognition using Gladia’s WebSocket API with support for 99+ languages, custom vocabulary, translation, sentiment analysis, and advanced audio processing features for comprehensive transcription.

Installation

To use Gladia services, install the required dependency:
pip install "pipecat-ai[gladia]"

Prerequisites

Gladia Account Setup

Before using Gladia STT services, you need:
  1. Gladia Account: Sign up at Gladia
  2. API Key: Generate an API key from your account dashboard
  3. Region Selection: Choose your preferred region (EU-West or US-West)

Required Environment Variables

  • GLADIA_API_KEY: Your Gladia API key for authentication
  • GLADIA_REGION: Your preferred region (optional, defaults to “eu-west”)