Universal interface to test and compare text-to-speech providers
Project description
UTTS
Universal interface to test and compare text-to-speech models. Currently supports:
Installation
pip install utts
or install from source:
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:
import os
from IPython.display import Audio
import utts.openai
os.environ["OPENAI__API_KEY"] = "<openai-api-key>"
audio = utts.openai.generate('Hello, world!', 'echo')
Audio(audio)
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
Project details
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 utts-0.1.0.tar.gz.
File metadata
- Download URL: utts-0.1.0.tar.gz
- Upload date:
- Size: 144.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a68f5ac6dea8e63379b2351fc590003026ab4ac9cbfab64b4b8a30f445b4e9bb
|
|
| MD5 |
1456e9d6e631f8c5ae3ea84cca2e1e56
|
|
| BLAKE2b-256 |
2f03e971bf6966681074ea5b25c432f9a7b9f13503dfc7589f32b4bdc298eb93
|
File details
Details for the file utts-0.1.0-py3-none-any.whl.
File metadata
- Download URL: utts-0.1.0-py3-none-any.whl
- Upload date:
- Size: 27.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f063b32c1dd0ca04002217554acab1865a54cb83c80d4d73b92dfa0cc45f48b
|
|
| MD5 |
849b63c2403b87fc76a9d26096b6f4b3
|
|
| BLAKE2b-256 |
dde4f6e998f82457831aa38ce52225df448c1b52001454e002fcefef38669479
|