Skip to content

moulish-dev/vita

Repository files navigation


🎙️ VITA – Voice Integration Toolkit for Applications

VITA is a developer-friendly Python library that makes it easy to integrate TTS (Text-to-Speech) into your applications.
Powered by open-weight models like Kokoro-82M and Suno's Bark. VITA is modular, lightweight, and ready for production or personal use.

Models Supported:

✅ Kokoro TTS ✅ Suno Bark TTS


🚀 Features

  • ✅ Seamless Python API
  • ✅ One-line CLI usage
  • ✅ Outputs clean .wav files
  • ✅ Based on Kokoro-82M
  • ✅ Designed for plug-and-play integration
  • 🔜 Multi-model support coming soon

📦 Installation

Python Version - 3.11

git clone https://github.com/moulish-dev/vita.git
cd vita
python3.11 -m venv .venv
source .venv/bin/activate  #or for Windows ---> .venv\Scripts\activate
pip install -r requirements.txt
pip install -e .

🛠️ System Requirements

VITA uses the kokoro TTS engine, which may rely on espeak-ng for phoneme processing on some platforms.

🐧 Linux

sudo apt-get update
sudo apt-get install espeak-ng

🪟 Windows

  • Download espeak-ng from Releases
  • Run the installer (espeak-ng-setup.exe)
  • Add it to your System PATH

🍏 macOS

brew install espeak

🧠 Usage

🔧 Python

from vita import TTS

tts = TTS()
tts.generate_audio("This is VITA speaking.", output_path="demo.wav")

📟 CLI

python -m vita --text "Hello from VITA!" --output hello.wav

🧪 Example

python examples/use_vita.py

🔭 Roadmap

  • 🔜 Add Bark, Tortoise, and Coqui TTS support
  • 🔜 REST API interface with FastAPI
  • 🔜 Speaker identity and voice styling
  • 🔜 Gradio/Streamlit web demo

📜 License

Apache 2.0 — use freely in personal and commercial applications. License

The accompanying model Supertonic is released under the OpenRAIL-M License. - see the LICENSE file for details.


🙌 Acknowledgements


About

Plug-and-play TTS integration toolkit powered by Kokoro-82M. Python + CLI interface. Lightweight, open-source, and ready for real-world use.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages