Supertonic TTS service integration for Pipecat
Project description
pipecat-supertonic
pipecat-supertonic provides a Pipecat-compatible TTSService wrapper for the
official Supertonic Python SDK.
The package is designed to feel like a native Pipecat service:
- import with
from pipecat_supertonic import SupertonicTTSService - configure with
SupertonicTTSService.Settings(...) - drop directly into an existing Pipecat pipeline
Install
pip install pipecat-supertonic
Or with uv:
uv add pipecat-supertonic
Usage
from pipecat_supertonic import SupertonicTTSService
tts = SupertonicTTSService(
settings=SupertonicTTSService.Settings(
voice="M1",
language="en",
total_steps=5,
speed=1.05,
)
)
await tts.warmup()
warmup() is required before the service is used in a live Pipecat pipeline.
Call it during application startup so Supertonic can download and cache the
model before the first user request arrives.
Warmup Contract
This package intentionally does not lazy-load Supertonic during active TTS
requests. If the service is used before warmup(), it fails fast with a clear
error telling the caller to warm the service up first.
This avoids first-request cold-start delays and keeps Pipecat TTS frame ordering stable.
Example
See examples/voice-supertonic.py for a minimal package-level example.
Development
uv sync --group dev
uv run pytest
uv run ruff check .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pipecat_supertonic-0.1.0.tar.gz.
File metadata
- Download URL: pipecat_supertonic-0.1.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf658099532669266c6901a55d9db7a5f88029fd886cedbe6123db265c20c875
|
|
| MD5 |
791573fcefce0d71621dec8877ead6f9
|
|
| BLAKE2b-256 |
afcc1f6df4fc6898770a0c20a34406fe16afb4810609edab72b072700e7ea8ef
|
File details
Details for the file pipecat_supertonic-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pipecat_supertonic-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12bfcb39780e61544fdca851db6b1d58e04b14073539938cd46cf61e35b3f387
|
|
| MD5 |
889d5758d0e7b02cdcd0f48db347957f
|
|
| BLAKE2b-256 |
8a7b130ed26a19e05d0a15c88ab4afc30a1096633f6d2cf0dfa3125cb1e3da44
|