Pipecat Respeecher Real-Time TTS Integration
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.
- Clone this repository.
- Copy
env.exampleto.envand fill in your API keys. - 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 ofuv run example.pymay 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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pipecat_respeecher-1.1.1.tar.gz | 251.5 kB | With provenance | Details for pipecat_respeecher-1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pipecat_respeecher-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for pipecat_respeecher-1.1.1-py3-none-any.whl |
Total release size: 259.7 kB
Release files / pipecat_respeecher-1.1.1.tar.gz
| Download URL | pipecat_respeecher-1.1.1.tar.gz |
|---|---|
| Size | 251.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f7a25719bace8b5a73997710b6745aa63496b7e78e6429354412a0c73e23c24e
|
|
BLAKE2b-256 checksum How to use checksums |
0c2a4876f2e703ebeb1b6337aeba71bfe5f693ba71fa6ab054f5113ac2d17fff
|
| 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 logRelease files / pipecat_respeecher-1.1.1-py3-none-any.whl
| Download URL | pipecat_respeecher-1.1.1-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2b892f95c022132772ebe91e3335134083920ee430b6862c07fee06e87630fe9
|
|
BLAKE2b-256 checksum How to use checksums |
701626f867debfeeaafa52e6f09e5513f026e3812d82bec5521a39be97cd8a98
|
| 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 logSecurity for pipecat-respeecher 1.1.1
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.
Attestation for pipecat_respeecher-1.1.1.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 logA 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.