Skip to main content
Community-maintained integration. This service is built and maintained by deapi-ai. Pipecat does not test or officially support it. Please report issues and request changes on the source repository. Learn more about community integrations.

Overview

DeAPISTTService sends each speech segment to deAPI’s synchronous transcription endpoint and pushes the transcript as a TranscriptionFrame. It extends Pipecat’s SegmentedSTTService: the pipeline’s VAD decides where a segment ends, so a VAD analyzer is required. The language is detected automatically, a segment can be up to 60 seconds long, and one final transcript is pushed per segment.

Source Repository

Source code, example, and issues for the deAPI integration

Demo

A recorded conversation with an agent running on deAPI

deAPI Docs

deAPI documentation for this endpoint

API Keys

Create and manage your deAPI API keys

Installation

This is a community-maintained package distributed separately from pipecat-ai:

Prerequisites

  1. deAPI account: Sign up at deAPI
  2. API key: Create a key in the deAPI panel

Required Environment Variables

  • DEAPI_API_KEY: Your deAPI API key

Configuration

str
required
deAPI API key.
str
URL of the synchronous transcription endpoint.
aiohttp.ClientSession
default:"None"
Optional session for the HTTP requests. If not provided, the service creates and closes its own.
int
default:"None"
Audio sample rate in Hz. If not provided, uses the pipeline’s rate.
DeAPISTTService.Settings
default:"None"
Runtime-configurable settings. See Settings below.

Settings

Usage

See the source repository for a complete voice agent.

Compatibility

Tested with Pipecat v1.17.0. Check the source repository for the latest tested version and changelog.