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

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.0
File Size Uploaded
vtts-0.1.0.tar.gz 4.4 kB Details

Built distribution (wheel)

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

Total release size: 9.5 kB

Release files / vtts-0.1.0.tar.gz

Download URL vtts-0.1.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9716e4d04ece1669134eec5672ad82f81638385768037c0ee5136171ce1da804
BLAKE2b-256 checksum
How to use checksums
8342d779a6b21645382fa7007b952bd7e19fa204143aa23abd9ddaaf01cf5d28
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.0-py3-none-any.whl

Download URL vtts-0.1.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d6a5346a70253dbb58798cfca6b2594570e8b7327174ebdf0988001ba98a3b57
BLAKE2b-256 checksum
How to use checksums
a670f2ae482b4152708c7c02c0f942078b9bf7a0d45b3a31bd064450eaba3ce9
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

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

This release

0.1.0 This release

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