Skip to main content

Goobits TTS

One CLI for all TTS providers. Stream to speakers, save to files, or clone voices. Works with your text processing pipeline.

Supported Providers: Edge TTS • OpenAI • ElevenLabs • Google Cloud • Chatterbox

Quick Start

  1. Install: ./setup.sh install
  2. Test: tts "Hello world"
  3. Done: You just synthesized speech

Basic Usage

# Stream audio to speakers
tts "Hello world"
echo "Hello world" | tts

# Save to file
tts save "Hello world" -o greeting.mp3

# Use specific provider
tts @edge "Hello from Microsoft"
tts @openai "Hello from OpenAI"
tts @elevenlabs "Hello from ElevenLabs"

Provider Comparison

Provider Cost Quality Speed Voice Cloning Best For
Edge TTS Free Good Fast No Development, general use
OpenAI Paid Excellent Very Fast No Production, real-time
ElevenLabs Paid Excellent Fast Yes Premium quality, cloning
Google Cloud Paid Excellent Fast No Enterprise, multilingual
Chatterbox Free Variable Fast Yes Local processing, privacy

Configuration

# Set API keys
tts config set openai_api_key YOUR_KEY
tts config set elevenlabs_api_key YOUR_KEY
tts config set google_api_key YOUR_KEY

# View configuration
tts config show

# Interactive editor
tts config edit

Voice Selection

# Browse voices interactively
tts voices

# Use specific voice
tts @edge "Hello" --voice en-US-AriaNeural
tts @openai "Hello" --voice alloy

Pipeline Integration

Works seamlessly with other Goobits tools:

# Speech → Text → Speech
stt recording.wav | tts @edge

# Text transformation → Speech
echo "Hello" | ttt "translate to Spanish" | tts @google

# Document processing
tts document report.html --emotion-profile technical

Documentation

Installation Options

Recommended (all providers):

./setup.sh install

Alternative methods:

pipx install goobits-tts[all]      # Global install
pip install goobits-tts[all]       # User install
pip install goobits-tts[openai]    # Single provider

Development:

./setup.sh install --dev

System Requirements

  • Python 3.8+
  • FFmpeg (for audio processing)
  • Audio output device

Related Projects

Part of the Goobits AI toolkit:

License

MIT License - See LICENSE file for details

Contributing

Contributions welcome! See CLAUDE.md for development setup and guidelines.

Metadata

Release files for goobits-tts 1.1.4

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

Source distribution (sdist)

Source distribution for goobits-tts 1.1.4
File Size Uploaded
goobits_tts-1.1.4.tar.gz 106.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for goobits-tts 1.1.4
File Interpreter ABI Platform
goobits_tts-1.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 215.2 kB

Release files / goobits_tts-1.1.4.tar.gz

Download URL goobits_tts-1.1.4.tar.gz
Size 106.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c728fff4f6983bd5058cd19a8d2655b057ef150e4aa3e2b7beb0ba911a808be5
BLAKE2b-256 checksum
How to use checksums
6cd539bc73b6e5a8f3928ac555ec7e54fbfd8aebd03b17817b8a140ac7e5883e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / goobits_tts-1.1.4-py3-none-any.whl

Download URL goobits_tts-1.1.4-py3-none-any.whl
Size 108.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f20238c0ce6f6076e71b9b5080ba8261e8c5ba4f7d2adcbb1fde105648cfa5b1
BLAKE2b-256 checksum
How to use checksums
be16aaee02bed10548517292dda64e1644b2dd73ee44fb26511a193b5c33bcce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

1.1.4 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