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: Critical environment instability and dependency conflicts caused by the FishSpeech backend. Please upgrade to 1.0.3 which removes these conflicts and stabilizes the environment.

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

The quickest way to see CSE in action is using the CLI or the Python API.

CLI

# List available voices across all backends
cse voices

# Interactively select your default backend and voice
cse voice

# Generate speech (uses your selected default if --voice is omitted)
cse speak --text "Hello from The Claire Speech Engine."

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}")

Examples

We believe every feature should be easily discoverable. Check the examples/ directory for runnable scripts:

  • examples/basic.py — Simple end-to-end synthesis.
  • examples/configuration.py — How to pass custom overrides and load configurations.
  • examples/list_voices.py — Querying the local voice registry.
  • examples/generate_speech.py — Handling output files and moving them dynamically.

Architecture & Vision

Read these documents to understand the core philosophy and design of the engine:

Roadmap

The Claire Speech Engine (CSE) has officially reached v1.0.0-beta. 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

Running Benchmarks

pytest benchmarks/ --benchmark-only

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.2.tar.gz (57.5 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.2-py3-none-any.whl (61.7 kB view details)

Uploaded Python 3

File details

Details for the file claire_speech_engine-1.0.2.tar.gz.

File metadata

  • Download URL: claire_speech_engine-1.0.2.tar.gz
  • Upload date:
  • Size: 57.5 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.2.tar.gz
Algorithm Hash digest
SHA256 60b5d437ca1b97a4fde396610cdfcea90942a2b28ed91691fea2faa4cf934379
MD5 328dc4abf9743d6b402459cb94ab07a9
BLAKE2b-256 a8bd679e4ee89225471ef2a7e25e04b9d6f21f104ef813755485ac5980e13b00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for claire_speech_engine-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9eb5cd1a6e3b75f5811b318124288afdb7fd40e152548c8826cad155c30879fd
MD5 16faeaf64fbdec77dbe4db3fa516114d
BLAKE2b-256 38c9d7a11cdf35b0e19b05745baf61ca8c50ee65adcf0fe712c8392c4c68d60e

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

This release

1.0.2 This release

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