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
- Install:
./setup.sh install - Test:
tts "Hello world" - 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
- Getting Started - Installation and first steps
- User Guide - Complete reference
- Provider Guide - Provider comparison and setup
- Advanced Usage - Pipelines and document processing
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:
- Matilda - AI assistant
- Goobits STT - Speech-to-Text
- Goobits TTS - Text-to-Speech (this project)
- Goobits TTT - Text-to-Text processing
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)
| File | Size | Uploaded | |
|---|---|---|---|
| goobits_tts-1.1.4.tar.gz | 106.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|