Skip to main content

Pipecat Respeecher Real-Time TTS Integration

PyPI - Version

This is an official Respeecher integration for Pipecat.

Learn more about our real-time TTS API (Україномовна/Ukrainian TTS).

Maintainer: Respeecher

Installation

pip install pipecat-respeecher

Running the Example

example.py is a complete Pipecat pipeline with Respeecher TTS. (See example-ukrainian.py for a Ukrainian language pipeline.) You can use it as a starting point for your agent, or you can head over to Example Snippets if you already have a pipeline and just want to switch TTS.

The complete pipeline example requires a Deepgram API key for Speech-to-Text, OpenRouter API key for LLM, and a Respeecher Space API key. The Speech-to-Text and LLM services are just an example and can generally be swapped for any other supported Pipecat service.

  1. Clone this repository.
  2. Copy env.example to .env and fill in your API keys.
  3. Assuming you have the uv Python package manager installed, run uv run example.py, head over to http://localhost:7860, and click Connect. (The first run of uv run example.py may be slow because uv installs packages and Pipecat downloads local models.) The agent should greet you (both in text and in speech), and you can converse with it through the chat interface or with your microphone. (Make sure you have granted microphone access to the web page and that the microphone button is not in the muted state.)

Example Snippets

Minimal Example

from pipecat_respeecher import RespeecherTTSService

tts = RespeecherTTSService(
    api_key=os.getenv("RESPEECHER_API_KEY"),
    settings=RespeecherTTSService.Settings(
        voice="samantha",
    ),
)

Overriding Sampling Parameters

See the Sampling Parameters Guide.

from pipecat_respeecher import RespeecherTTSService

tts = RespeecherTTSService(
    api_key=os.getenv("RESPEECHER_API_KEY"),
    settings=RespeecherTTSService.Settings(
        voice="samantha",
        sampling_params={
            "min_p": 0.01,
        },
    ),
)

Supported Language Models

Set settings.model to the public model path for your language:

Language Model
English (default) public/tts/en-rt
Ukrainian public/tts/ua-rt
Swedish public/tts/sv-rt
German public/tts/de-rt
Brazilian Portuguese public/tts/pt-br-rt
Arabic public/tts/ar-rt

Choose a voice available for the selected model. See Models & Languages. For example, to use Ukrainian:

from pipecat_respeecher import RespeecherTTSService

tts = RespeecherTTSService(
    api_key=os.getenv("RESPEECHER_API_KEY"),
    settings=RespeecherTTSService.Settings(
        voice="olesia-conversation",
        model="public/tts/ua-rt",
    ),
)

Compatibility

This integration requires Pipecat v1.1.0 or newer and has been tested with v1.1.0. WebSocket connections authenticate using the X-API-Key header; the API key is not included in the URL.

Metadata

Release files for pipecat-respeecher 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pipecat-respeecher 1.1.0
File Size Uploaded Provenance Actions
pipecat_respeecher-1.1.0.tar.gz 249.7 kB With provenance Details for pipecat_respeecher-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pipecat-respeecher 1.1.0
File Interpreter ABI Platform Actions
pipecat_respeecher-1.1.0-py3-none-any.whl Python 3 none any Details for pipecat_respeecher-1.1.0-py3-none-any.whl

Total release size: 257.8 kB

Release files / pipecat_respeecher-1.1.0.tar.gz

Download URL pipecat_respeecher-1.1.0.tar.gz
Size 249.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0e9acadd2b2133abb124d745a7a658fb9cc856e1052f65b796da95d7198a17dd
BLAKE2b-256 checksum
How to use checksums
7e71c98cdcd9650697d26026a30dbead406250d13c6cd99bd2b066b6f8de0ca6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

Release files / pipecat_respeecher-1.1.0-py3-none-any.whl

Download URL pipecat_respeecher-1.1.0-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c3bd68a9e1ea40d7ffa87a68225b687498177324843c1389127d22d607d533ec
BLAKE2b-256 checksum
How to use checksums
a636b7b66951f1fea804668c22040d940bb8873d3ce2d51574ae6f233de5c48b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

Security for pipecat-respeecher 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pipecat_respeecher-1.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page