Lokutor TTS integration for Pipecat
Project description
Pipecat Lokutor TTS
Lokutor text-to-speech integration for Pipecat.
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
| Voice | Description |
|---|---|
| M1-M5 | Male voices |
| F1-F5 | Female voices |
Supported Languages
EN, ES, FR, PT, KO
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.
Project details
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_lokutor-0.1.1.tar.gz.
File metadata
- Download URL: pipecat_lokutor-0.1.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a07c300fd54d4a43936081eae8e267a00535f45f839ca6facb1ad77e15323efa
|
|
| MD5 |
e918aaefd57459743bea44d242a2b1a4
|
|
| BLAKE2b-256 |
84caea0cb14966d1cb7f558f1481b2eb3c510ba8e1101d7f2fcbe0af5f8ba716
|
File details
Details for the file pipecat_lokutor-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pipecat_lokutor-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11764e01ccf63e315123cac2d922ccf8fd89875404d940af3b9c8184ebe6fb22
|
|
| MD5 |
296cf9aa93bb0850291fb9dbbf7ecebb
|
|
| BLAKE2b-256 |
c103bbac605b424ddb807a570d289d4372eebd4685cf0e944478def4eb3e503e
|