Transform any text into natural speech using your own voice or any reference audio
- π― Zero-shot Voice Cloning - Clone any voice with just seconds of reference audio
- π Emotion Control - Adjust emotional intensity and expression
- β‘ Real-Time Processing - Optimized for fast generation
- π HD Audio Output - Crystal clear, natural-sounding speech
- π¨ Premium UI - Modern, beautiful interface
pip install -r requirements.txtstreamlit run streamlit_app.pyNavigate to http://localhost:8501
streamlit run streamlit_app.pyfrom src.bhavesh_ai_voice_cloner.tts import BhaveshTTS
import torchaudio as ta
# Initialize the model
model = BhaveshTTS.from_pretrained(device="cuda")
# Generate speech with default voice
text = "Hello! This is AI speaking."
wav = model.generate(text)
ta.save("output.wav", wav, model.sr)
# Clone a specific voice
wav = model.generate(text, audio_prompt_path="reference.wav")
ta.save("cloned_voice.wav", wav, model.sr)| Parameter | Range | Default | Description |
|---|---|---|---|
exaggeration |
0.25-2.0 | 0.5 | Emotion intensity |
cfg_weight |
0.0-1.0 | 0.5 | Speech clarity |
temperature |
0.1-2.0 | 0.8 | Generation randomness |
voice-cloner/
βββ streamlit_app.py # Premium web UI
βββ launch.py # Quick launcher
βββ requirements.txt # Dependencies
βββ src/
β βββ bhavesh_ai_voice_cloner/
β βββ tts.py # Text-to-Speech
β βββ vc.py # Voice Conversion
β βββ models/ # AI Models
βββ README.md
MIT License - see LICENSE for details.
Made with β€οΈ by Bhavesh AI