Show HN: UTTS – Python toolkit to compare any Text-to-Speech models

4 months ago 20

Open In Colab

Universal interface to test and compare text-to-speech models. Currently supports:

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:

The simplest way to get started is to open the notebook in Colab:

Open 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.

  • Python 3.11.12 or higher
  • uv - Modern Python package installer and resolver
  • Make - for running development commands

Clone the repository:

git clone https://github.com/arch1baald/utts.git cd utts

Install in development mode:

For all available commands:

Run linting and type checking:

Read Entire Article