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

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

Built distribution (wheel)

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

Total release size: 9.5 kB

Release files / vtts-0.1.1.tar.gz

Download URL vtts-0.1.1.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
174e8c60510e144031c88a524e927361edc45c123a1480b101da4e26c36f875f
BLAKE2b-256 checksum
How to use checksums
a8ddd6956f1d84a01196b1d013399f03a927ba96b99c5a628a34f6bfb4ae4b48
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.1-py3-none-any.whl

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

This release

0.1.1 This release

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