UTTS
Universal interface to test and compare text-to-speech models. Currently supports:
Installation
pip install utts
To install the latest development version, use:
pip install --upgrade git+https://github.com/arch1baald/utts.git
Obtain API keys for the services you want to use:
- OpenAI
- ElevenLabs
- Replicate (for Kokoro and Orpheus)
- Zyphra/Zonos
- Hume AI
- Cartesia
Quick Start
The simplest way to get started is to open the notebook in Colab:
Or test from Jupyter Notebook:
from IPython.display import Audio
import utts
client = utts.UTTSClient(elevenlabs_api_key="your_elevenlabs_api_key")
audio = client.elevenlabs.generate('Hello, world!')
Audio(audio)
For batch generation use utts.utils.batch_generate.
Development
Prerequisites
- Python 3.11.12 or higher
- uv - Modern Python package installer and resolver
- Make - for running development commands
Setup
Clone the repository:
git clone https://github.com/arch1baald/utts.git
cd utts
Install in development mode:
make install-dev
Development Commands
For all available commands:
make help
Run linting and type checking:
make lint
Metadata
Release files for utts 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| utts-0.1.3.tar.gz | 144.2 kB | Without provenance | Details for utts-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| utts-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for utts-0.1.3-py3-none-any.whl |
Total release size: 172.5 kB
Release files / utts-0.1.3.tar.gz
| Download URL | utts-0.1.3.tar.gz |
|---|---|
| Size | 144.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dfce6a5ca6878f4faf70fe017e0acec9288a21863fcc82f55d95f03fc12d3122
|
|
BLAKE2b-256 checksum How to use checksums |
d9829c0449f4f3247a25997748d3c79f5a2fdedd9f58d2fa8771e53ab23b117a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.2
|
Release files / utts-0.1.3-py3-none-any.whl
| Download URL | utts-0.1.3-py3-none-any.whl |
|---|---|
| Size | 28.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
accca934f8a67eac940aaa94dc548cb6c0747c24957b542d3b961c78eca99b65
|
|
BLAKE2b-256 checksum How to use checksums |
da6c8fff41d5cf87963c38c56593f46478e30fc85eff087eda6b1dbb1aded7e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.2
|
Security for utts 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.