Skip to main content

vtts — Voice TTS

Unified TTS wrapper for Kokoro 82M and Chatterbox Turbo in one simple API.

Installation

# Base install
pip install vtts

# With Kokoro support
pip install vtts[kokoro]

# With Chatterbox support
pip install vtts[chatterbox]

# Everything
pip install vtts[all]

Usage

Kokoro 82M — kspeak

from vtts import kspeak

kspeak("Hello world!")                                    # defaults: voice="af_heart"
kspeak("Different voice.", voice="af_bella")              # change voice
kspeak("Save somewhere.", output="greet.wav")             # custom output
kspeak("Speak faster.", speed=1.3)                        # adjust speed

Chatterbox Turbo — cspeak

from vtts import cspeak

cspeak("Hello world!", ref="voice.wav")                   # requires a reference voice WAV
cspeak("Clone a voice.", ref="other_voice.wav")           # different reference
cspeak("Ha! [laugh] That's funny.", ref="voice.wav")      # paralinguistic tags

Notes

  • Kokoro 82M is lightweight (82M params) and runs on CPU. Uses espeak-ng for phonemization.
  • Chatterbox Turbo is larger and runs on CUDA GPU. Supports zero-shot voice cloning.
  • Models are loaded lazily on first call and cached — subsequent calls are fast.

Metadata

Release files for vtts 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vtts 0.1.3
File Size Uploaded
vtts-0.1.3.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vtts 0.1.3
File Interpreter ABI Platform
vtts-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 11.0 kB

Release files / vtts-0.1.3.tar.gz

Download URL vtts-0.1.3.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1df739a92c7be0b77134d0512aa61e4dadb3cfe82f5e0690cb2b8fe3cc1876a6
BLAKE2b-256 checksum
How to use checksums
66089b82d3ba983313e3be1409b667aa9690e358519189d8136634e50184a635
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Release files / vtts-0.1.3-py3-none-any.whl

Download URL vtts-0.1.3-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
70fc6e7f7d092b7b09dace02f9f6bd08afe53f54b37ea27e1fadaae55e84ae9f
BLAKE2b-256 checksum
How to use checksums
20e2638836a8f5a53f51f8bd73e3707a619b6c373373b24c6e26ee80ceff619f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page