Pipecat Lokutor TTS
Lokutor text-to-speech integration for Pipecat.
Get an API key and test voices at app.lokutor.com. Documentation: docs.lokutor.com
Lokutor TTS runs entirely on CPU-only infrastructure, keeping costs low while delivering high-quality speech synthesis. No GPU markup — just affordable, scalable TTS.
Installation
pip install pipecat-lokutor
Or with uv:
uv add pipecat-lokutor
Usage
from pipecat_lokutor import LokutorTTSService
tts = LokutorTTSService(
api_key="your_api_key",
voice_id="F1",
params=LokutorTTSService.InputParams(
language="en",
speed=1.0,
steps=5,
visemes=False,
),
)
Pipecat Pipeline
from pipecat.pipeline.pipeline import Pipeline
pipeline = Pipeline([
transport.input(),
stt,
llm,
tts,
transport.output(),
])
Voices
Browse and test available voices at app.lokutor.com.
Supported Languages
32 languages: en, es, fr, de, it, pt, ja, ko, zh, ar, bg, hr, cs, da, nl, et, fi, el, hi, hu, id, lv, lt, pl, ro, ru, sk, sl, sv, tr, uk, vi.
Pass any Pipecat Language (including regional variants like Language.EN_US) — it is normalized to the matching Lokutor base code automatically.
Example
See examples/groq-stt-groq-llm-lokutor-tts.py for a full example using Groq STT + Groq LLM + Lokutor TTS.
# Install dependencies
uv sync
# Set environment variables
export GROQ_API_KEY="your_groq_api_key"
export LOKUTOR_API_KEY="your_lokutor_api_key"
# Run the example
python examples/groq-stt-groq-llm-lokutor-tts.py -t webrtc
Then open http://localhost:7860/client/.
Compatibility
Tested with Pipecat v0.0.86+.
License
BSD 2-Clause License. See LICENSE for details.
Metadata
Release files for pipecat-lokutor 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pipecat_lokutor-0.2.0.tar.gz | 7.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pipecat_lokutor-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.2 kB
Release files / pipecat_lokutor-0.2.0.tar.gz
| Download URL | pipecat_lokutor-0.2.0.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b24198c5626a2c3ac2a9fefdc77cd058765d14cbf90facd0361becf7bb675ecb
|
|
BLAKE2b-256 checksum How to use checksums |
41a375f046319c8c9a99329781f50ffd5ddb211e27463e0d0714eeea86061845
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.3
|
Release files / pipecat_lokutor-0.2.0-py3-none-any.whl
| Download URL | pipecat_lokutor-0.2.0-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f96b4ac5706d41beae3fc7737e5be3a61206948de901ae35af9012a1fe6c7a05
|
|
BLAKE2b-256 checksum How to use checksums |
8afea61aef5b71d7f00d8058463c3b629aff49d193f63c48ac267a528edec8de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.3
|