Skip to main content

Universal interface to test and compare text-to-speech providers

Project description

UTTS

Open In Colab

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:

Quick Start

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

Open 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

utts-0.1.1.tar.gz (144.4 kB view details)

Uploaded Source

Built Distribution

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

utts-0.1.1-py3-none-any.whl (27.6 kB view details)

Uploaded Python 3

File details

Details for the file utts-0.1.1.tar.gz.

File metadata

  • Download URL: utts-0.1.1.tar.gz
  • Upload date:
  • Size: 144.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.2

File hashes

Hashes for utts-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f0fb6a13d7980ab289d2068bbd785d783caf1685cc82246d0716041578d521fe
MD5 1b80bcc6103f8ff2e2a7b613bb22397f
BLAKE2b-256 3db8874ea69818bbbeb32b1e86a8715376973e0b0edcc9b55eaa1c4bc075bc0b

See more details on using hashes here.

File details

Details for the file utts-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: utts-0.1.1-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

Hashes for utts-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 03d6ab9356ecc477b9cbf8e883a4dad9020ae712e56ebd423c088bc86b91dc60
MD5 88dabbe4e65cfdddc4f4573dd35d72c7
BLAKE2b-256 0484575b2244cf305b88fa91844365b93ce381568cf3554dac64199083e35c37

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page