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

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.2
File Size Uploaded
vtts-0.1.2.tar.gz 4.9 kB Details

Built distribution (wheel)

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

Total release size: 10.9 kB

Release files / vtts-0.1.2.tar.gz

Download URL vtts-0.1.2.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
963d0bddd7c21bb9ef36be7735e2335488a65f8edbca51d3b510dd4871db21f3
BLAKE2b-256 checksum
How to use checksums
770c3c9940999d6c5ac0530add49d41f7f918275bd023521095cd1319f15edc8
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.2-py3-none-any.whl

Download URL vtts-0.1.2-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d2cbba15232629468ae6b696e800b4432c36074a223e647c93a44d8eb0c6439c
BLAKE2b-256 checksum
How to use checksums
71ec82f398dfd5dd072912e5e5b07c87af0a7f2e41e7679df6022f89cbcc4e1e
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

This release

0.1.2 This release

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