Agent Framework plugin for Sub200 text-to-speech.
Project description
Sub200 plugin for LiveKit Agents
This plugin adds Sub200 text-to-speech (TTS) support to the LiveKit Agent Framework. It wraps Sub200's streaming endpoint so you can drop it into any voice pipeline.
Installation
From the repo root (workspace aware):
uv pip install -e livekit-plugins/livekit-plugins-sub200
Usage
from livekit.plugins import sub200
tts = sub200.TTS(
model="orpheus",
voice="aria",
)
agent = VoicePipelineAgent(
tts=tts,
# stt=..., llm=..., vad=..., etc.
)
See examples/voice_agents/sub200_agent.py for a full AgentSession integration.
Configuration
SUB200_API_KEY(env var): authentication for the Sub200 API. Leave unset only if you're running offline; requests will fail without a valid key.- Optional parameters on
TTS:model(default"orpheus")voice(default"aria")base_url(stream endpoint, defaults to Sub200 public API)sample_rate,num_channelsdebug_audio_dir,debug_log_dirfor saving streamed audio/logs locally
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 livekit_plugins_sub200-0.1.1.tar.gz.
File metadata
- Download URL: livekit_plugins_sub200-0.1.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5e2e75365f321a3290710a75ad500ecc8c639f73a8596562955aa16d92f1eab
|
|
| MD5 |
82ef1ceaf5c223ecaaa7fbcd6c44a40e
|
|
| BLAKE2b-256 |
463af5bb6b83067b1f111604278d5bdcec700a1dbacca356c9197770996f058f
|
File details
Details for the file livekit_plugins_sub200-0.1.1-py3-none-any.whl.
File metadata
- Download URL: livekit_plugins_sub200-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06b304449a52a982ac0b4970b897faec8908b28bb2955c6189a9d5571b78601d
|
|
| MD5 |
75a596daccc6e4e40574a0a10d406c4a
|
|
| BLAKE2b-256 |
bc1be2bf12c32b89c7f367b0196cd5179ace94b7db4ff8be14fbd400fce3f7b8
|