Skip to main content

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

This project is an independent community integration maintained by Archit Jambhule. It is not affiliated with Supertone or the Supertonic team.

Install

pip install pipecat-supertonic

Or with uv:

uv add pipecat-supertonic

Supported Voices

F1, F2, F3, F4, F5, M1, M2, M3, M4, M5

Basic 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.

Pipecat Pipeline Usage

Use SupertonicTTSService anywhere Pipecat expects a TTS processor:

from pipecat.pipeline.pipeline import Pipeline
from pipecat_supertonic import SupertonicTTSService

tts = SupertonicTTSService(
    settings=SupertonicTTSService.Settings(
        voice="M1",
        language="en",
        total_steps=5,
        speed=1.05,
    )
)

await tts.warmup()

pipeline = Pipeline(
    [
        transport.input(),
        stt,
        llm,
        tts,
        transport.output(),
    ]
)

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.

Foundational Example

examples/voice-supertonic.py synthesizes a short utterance and writes the generated PCM audio to examples/supertonic-demo.wav.

Run it from the repository root:

uv sync --group dev
uv run python examples/voice-supertonic.py

Compatibility

Tested with pipecat-ai==1.2.0 and supertonic==1.2.1.

Development

uv sync --group dev
uv run pytest
uv run ruff check .

Metadata

Release files for pipecat-supertonic 0.1.1

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-supertonic 0.1.1
File Size Uploaded
pipecat_supertonic-0.1.1.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pipecat-supertonic 0.1.1
File Interpreter ABI Platform
pipecat_supertonic-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.9 kB

Release files / pipecat_supertonic-0.1.1.tar.gz

Download URL pipecat_supertonic-0.1.1.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
782ae4f8fc294dedacfadb6812c5024d4589d8d92e75401e3e7dcccaab2a9f69
BLAKE2b-256 checksum
How to use checksums
00e680cc81a6f00933a83e763d72d9370320711d08efd0e1e09046e1096f5394
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / pipecat_supertonic-0.1.1-py3-none-any.whl

Download URL pipecat_supertonic-0.1.1-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7dee69b2353e00523bc51be1f16661ea0d4cf515130a51629fb9f1ce8a9d1167
BLAKE2b-256 checksum
How to use checksums
e15223040882edfeea008fc7e938ceaa5a521be709a55301d970ce0fd9120997
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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