1git clone https://github.com/Useforclaude/quantum-sync-v5.git
2cd quantum-sync-v5/quantum-sync-v11-production
34# Configure to use this mirror5# Edit tts_engines/xtts.py, change model_name to:6# model_name = "useclaude/quantum-sync-xtts-v2"78python main_v11.py input/file.srt \9 --voice MyVoice \10 --voice-sample /path/to/voice.wav \11 --tts-engine xtts-v2 \12 --tts-language en
Direct Usage with TTS Library
python
1from TTS.api import TTS
23# Use this mirror4tts = TTS(model_name="useclaude/quantum-sync-xtts-v2")56# Generate speech7tts.tts_to_file(8 text="Hello, this is a test.",9 speaker_wav="reference_voice.wav",10 language="en",11 file_path="output.wav"12)
Voice Cloning Example
python
1from TTS.api import TTS
23# Initialize4tts = TTS(model_name="useclaude/quantum-sync-xtts-v2")56# Clone voice from reference audio (6-30 seconds)7tts.tts_to_file(8 text="The quick brown fox jumps over the lazy dog.",9 speaker_wav="my_voice_sample.wav",# Your voice reference10 language="en",11 file_path="output_cloned.wav"12)
📊 Performance
From Quantum Sync Production Tests (2025-10-13):
Metric
Value
Synthesis Speed
~3.7 segments/minute
Processing Time
17 min for 277 segments (23 min audio)
Duration Accuracy
~87% audio, ~13% silence gaps
Timeline Drift
-1.7% (excellent)
Voice Quality
8/10
Cloning Accuracy
Excellent
VRAM Usage
6-8 GB
Comparison:
XTTS-v2: 15-17 min, 8/10 quality, FREE, 87% audio
F5-TTS: 20-25 min, 7/10 quality, FREE, 55% audio
AWS Polly: 5 min, 9/10 quality, ~$0.06, no cloning
🎛️ Advanced Parameters
python
1# Speed control (0.5 - 2.0)2tts.tts_to_file(3 text="Hello world",4 speaker_wav="voice.wav",5 language="en",6 speed=0.8,# Slower speech7 file_path="output.wav"8)910# Temperature control (0.1 - 1.0)11tts.tts_to_file(12 text="Hello world",13 speaker_wav="voice.wav",14 language="en",15 temperature=0.75,# More expressive16 file_path="output.wav"17)
This is an unofficial mirror maintained for backup purposes. For the latest version and official support, please refer to the original model and Coqui TTS repository.
📊 Model Card
Model Description
XTTS-v2 is a state-of-the-art zero-shot multi-lingual text-to-speech model that can clone voices from short audio samples (6-30 seconds).
Key Features:
Zero-shot voice cloning
Multi-lingual support (13 languages)
High-quality natural speech
No fine-tuning required
Commercial use allowed
Intended Use
Primary Use Cases:
Voice cloning for content creation
Multi-lingual speech synthesis
Accessibility applications
Audiobook narration
Video dubbing
Out-of-Scope Use:
Impersonation without consent
Generating misleading content
Illegal activities
Training Data
XTTS-v2 was trained on diverse multi-lingual speech data. For details, see the original model card.
Performance
See Performance section above for detailed benchmarks from Quantum Sync project.
Ethical Considerations
Voice Cloning Ethics:
Always obtain consent before cloning someone's voice
Clearly label AI-generated content
Do not use for impersonation or fraud
Follow local regulations on synthetic media
Limitations
May not perfectly preserve all voice characteristics
Quality varies with reference audio quality
Requires GPU for reasonable speed
~6-8 GB VRAM recommended
Some languages may have better quality than others