You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

utts

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

utts

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

0.1.3
pipPyPI
Maintainers
1

UTTS

Open In Colab

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:

Quick Start

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.

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts