Skip to main content
Yanked

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:

  1. CPE (Claire Performance Engine): Prosody, emotion, and dialogue planning.
  2. 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

claire_speech_engine-1.0.4.tar.gz (787.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

claire_speech_engine-1.0.4-py3-none-any.whl (790.5 kB view details)

Uploaded Python 3

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

Hashes for claire_speech_engine-1.0.4.tar.gz
Algorithm Hash digest
SHA256 f032de287e9d9dc2773d99b6d911985cbf09eafcf1488c7da8bf03ec67bdf2f3
MD5 0904c93ea1a37d01e30035c204f2b96e
BLAKE2b-256 1d3e1b624f979d19c62110ac3e02322ab8555af81284741b04f100a92131a45c

See more details on using hashes here.

File details

Details for the file claire_speech_engine-1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for claire_speech_engine-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 32bb78df6cb10965b9d652dda5fbff0e68c2261abfff07e50654ee6f6f7bf73a
MD5 ed9931e8bd0891a2eed5aa443dc14a56
BLAKE2b-256 a435adb1abd6b5b08fc8fa6d6162572d830027c26fae690b73fde8367b818453

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.5

2 files

This release

1.0.4 This release

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0b1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page