This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 1.0.5 instead.
Reason given by maintainers: backend setup migrated from kokoro & styletts to kittentts
The Claire Speech Engine (CSE)
The Claire Speech Engine is a production-grade, backend-agnostic speech synthesis library built in Python.
Installation
pip install claire-speech-engine
To install from source for development:
git clone https://github.com/Yukariii04/Claire-Speech-Engine.git
cd Claire-Speech-Engine
pip install -e ".[dev]"
Quick Start
1. Setup Your Backend
Because CSE is backend-agnostic, the core framework does not ship with heavy ML dependencies. You choose the backend you want and install its specific requirements.
Currently, CSE officially supports the following backends on Python 3.12+:
- Kokoro
- StyleTTS2
Use the built-in setup tools to automatically download models and install all required ML dependencies for your chosen backend:
# Install dependencies and download models for Kokoro
cse setup kokoro
# Install dependencies and download models for StyleTTS2
cse setup styletts2
2. Examples
You can instantly scaffold a runnable example into your current directory to test your setup:
cse example kokoro
python example_kokoro.py
3. Check Backend Health
You can view a real-time dashboard of your installed backends, their status, and their voice counts:
cse backends
4. Interactive CLI
# List available voices across all backends
cse voices
# Interactively select your default backend and voice
cse voice
5. Python API
from cse import SpeechEngine
engine = SpeechEngine()
# Loads your saved CLI preference, or falls back to backend default
engine.load_voice()
speech = engine.speak("Synthesis is now extremely simple.")
if speech.success:
print(f"Audio saved to: {speech.audio_path}")
Architecture & Vision
Read these documents to understand the core philosophy and design of the engine:
Roadmap
The Claire Speech Engine (CSE) is currently at v1.0.4. The core framework is now feature-frozen to ensure a stable foundation.
Future development will transition to:
- CPE (Claire Performance Engine): Prosody, emotion, and dialogue planning.
- CSM (Claire Speech Model): Core acoustic ML model training.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Development
Running Tests
pytest tests/
Running Benchmarks
pytest tests/golden/test_perf_golden.py
See docs/Benchmarks/README.md for full performance targets and reports.
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 claire_speech_engine-1.0.4.tar.gz.
File metadata
- Download URL: claire_speech_engine-1.0.4.tar.gz
- Upload date:
- Size: 787.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f032de287e9d9dc2773d99b6d911985cbf09eafcf1488c7da8bf03ec67bdf2f3
|
|
| MD5 |
0904c93ea1a37d01e30035c204f2b96e
|
|
| BLAKE2b-256 |
1d3e1b624f979d19c62110ac3e02322ab8555af81284741b04f100a92131a45c
|
File details
Details for the file claire_speech_engine-1.0.4-py3-none-any.whl.
File metadata
- Download URL: claire_speech_engine-1.0.4-py3-none-any.whl
- Upload date:
- Size: 790.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32bb78df6cb10965b9d652dda5fbff0e68c2261abfff07e50654ee6f6f7bf73a
|
|
| MD5 |
ed9931e8bd0891a2eed5aa443dc14a56
|
|
| BLAKE2b-256 |
a435adb1abd6b5b08fc8fa6d6162572d830027c26fae690b73fde8367b818453
|