StyleTTS 2
Research text-to-speech model using style diffusion and adversarial training, with pretrained LJSpeech and LibriTTS checkpoints.
Research code for the StyleTTS 2 paper (arXiv 2306.07691). Code is MIT; the pretrained checkpoints on Hugging Face carry no licence file, only usage terms in the README requiring you to disclose synthetic speech or have the speaker's permission. Inference runs from Jupyter notebooks and depends on a GPL-licensed phonemizer, which is why it is not bundled. English-focused (the PL-BERT module is English-only). Inference hardware is not documented. Last push to the repo was August 2024.
The facts
| Question | Answer | Source | Checked |
|---|---|---|---|
| Runs on my machine? | Yes. Python/PyTorch inference via the provided notebooks | github.com | Checked 7 weeks ago |
| Code licence | Open source. MIT | github.com | Checked 7 weeks ago |
| Model weights licence | With conditions. No licence on the Hugging Face model repos; README usage terms require disclosing that speech is synthetic unless you have the speaker's permission | github.com | Checked 7 weeks ago |
| Commercial use | With conditions. Code is MIT, but the pretrained weights have no formal licence (only disclosure/permission terms) and inference relies on a GPL-licensed phonemizer; an MIT-only package using gruut exists at lower quality | github.com | Checked 7 weeks ago |
| Paid services needed? | None required | github.com | Checked 7 weeks ago |
| Hardware | Inference requirements not documented. CPU inference is suggested as a fix for noise on older GPUs. Fine-tuning example took about 4 hours on four NVIDIA A100s. | github.com | Checked 7 weeks ago |
| Operating systems | Linux install steps (apt espeak-ng) and an extra Windows PyTorch step are given; macOS not mentioned | github.com | Checked 7 weeks ago |
| Setup effort | Medium. Clone, pip install requirements, install phonemizer and espeak-ng, download checkpoints, run notebooks | github.com | Checked 7 weeks ago |
Each fact has its own date. Unknown means nobody has published it. We read their documentation; we didn’t install it. Running it yourself costs your hardware, electricity and setup time. Report a correction.
No licence changes since we started watching. Licence changes: follow StyleTTS 2 and we email you if its terms change.
What it replaces, job by job
| Paid tool | Jobs | How far it goes |
|---|---|---|
| ElevenLabs $6/month |
| 2 of 4 jobs. Research-grade English TTS with zero-shot speaker adaptation from the LibriTTS model; inference is via notebooks, not a ready app, and other languages need a different PL-BERT. |
| Descript $24/month |
| 2 of 3 jobs. Voice cloning and text-to-speech only; no transcript-based audio or video editing. |
Stars over time
Steady +6 stars this week (3.4× its usual pace). Stars show attention, not quality. Where these numbers come from.