pipecat-lokutor 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pipecat-lokutor
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Lokutor TTS integration for Pipecat
|
|
5
|
+
Project-URL: Homepage, https://github.com/lokutor-ai/pipecat-lokutor
|
|
6
|
+
Project-URL: Source, https://github.com/lokutor-ai/pipecat-lokutor
|
|
7
|
+
Author-email: Lokutor AI <your-email@lokutor.com>
|
|
8
|
+
License: BSD-2-Clause
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Requires-Python: >=3.10
|
|
11
|
+
Requires-Dist: pipecat>=0.0.86
|
|
12
|
+
Requires-Dist: websockets>=12.0
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
|
|
15
|
+
# Pipecat Lokutor TTS
|
|
16
|
+
|
|
17
|
+
Lokutor text-to-speech integration for [Pipecat](https://github.com/pipecat-ai/pipecat).
|
|
18
|
+
|
|
19
|
+
## Installation
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
pip install pipecat-lokutor
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Or with uv:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
uv add pipecat-lokutor
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Usage
|
|
32
|
+
|
|
33
|
+
```python
|
|
34
|
+
from pipecat_lokutor import LokutorTTSService
|
|
35
|
+
|
|
36
|
+
tts = LokutorTTSService(
|
|
37
|
+
api_key="your_api_key",
|
|
38
|
+
voice_id="F1",
|
|
39
|
+
params=LokutorTTSService.InputParams(
|
|
40
|
+
language="en",
|
|
41
|
+
speed=1.0,
|
|
42
|
+
steps=5,
|
|
43
|
+
visemes=False,
|
|
44
|
+
),
|
|
45
|
+
)
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Pipecat Pipeline
|
|
49
|
+
|
|
50
|
+
```python
|
|
51
|
+
from pipecat.pipeline.pipeline import Pipeline
|
|
52
|
+
|
|
53
|
+
pipeline = Pipeline([
|
|
54
|
+
transport.input(),
|
|
55
|
+
stt,
|
|
56
|
+
llm,
|
|
57
|
+
tts,
|
|
58
|
+
transport.output(),
|
|
59
|
+
])
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Voices
|
|
63
|
+
|
|
64
|
+
| Voice | Description |
|
|
65
|
+
|-------|-------------|
|
|
66
|
+
| M1-M5 | Male voices |
|
|
67
|
+
| F1-F5 | Female voices |
|
|
68
|
+
|
|
69
|
+
## Supported Languages
|
|
70
|
+
|
|
71
|
+
EN, ES, FR, PT, KO
|
|
72
|
+
|
|
73
|
+
## Example
|
|
74
|
+
|
|
75
|
+
See `examples/groq-stt-groq-llm-lokutor-tts.py` for a full example using Groq STT + Groq LLM + Lokutor TTS.
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
# Install dependencies
|
|
79
|
+
uv sync
|
|
80
|
+
|
|
81
|
+
# Set environment variables
|
|
82
|
+
export GROQ_API_KEY="your_groq_api_key"
|
|
83
|
+
export LOKUTOR_API_KEY="your_lokutor_api_key"
|
|
84
|
+
|
|
85
|
+
# Run the example
|
|
86
|
+
python examples/groq-stt-groq-llm-lokutor-tts.py -t webrtc
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
Then open `http://localhost:7860/client/`.
|
|
90
|
+
|
|
91
|
+
## Compatibility
|
|
92
|
+
|
|
93
|
+
Tested with Pipecat v0.0.86+.
|
|
94
|
+
|
|
95
|
+
## License
|
|
96
|
+
|
|
97
|
+
BSD 2-Clause License. See `LICENSE` for details.
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
pipecat_lokutor-0.1.0.dist-info/METADATA,sha256=xxpdW-O50m7xWODN69Yxjioq0tqvdTuID2Fni7w_C_g,1809
|
|
2
|
+
pipecat_lokutor-0.1.0.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
|
|
3
|
+
pipecat_lokutor-0.1.0.dist-info/licenses/LICENSE,sha256=D4Ig4rkoM-1VAdBAWqonZpRgIVmLzTS6oUobpub27xE,1335
|
|
4
|
+
pipecat_lokutor-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
BSD 2-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024-2026, Lokutor AI
|
|
4
|
+
Copyright (c) 2024-2026, Daily
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms, with or without
|
|
7
|
+
modification, are permitted provided that the following conditions are met:
|
|
8
|
+
|
|
9
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
10
|
+
list of conditions and the following disclaimer.
|
|
11
|
+
|
|
12
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
13
|
+
this list of conditions and the following disclaimer in the documentation
|
|
14
|
+
and/or other materials provided with the distribution.
|
|
15
|
+
|
|
16
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
17
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
18
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
19
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
20
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
21
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
22
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
23
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
24
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
25
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|