{"version":"v1","licence":"CC-BY-4.0","id":"styletts2","name":"StyleTTS 2","repo":"yl4579/StyleTTS2","repository_url":"https://github.com/yl4579/StyleTTS2","docs_url":"https://github.com/yl4579/StyleTTS2#readme","description":"Research text-to-speech model using style diffusion and adversarial training, with pretrained LJSpeech and LibriTTS checkpoints.","summary":"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.","capabilities":["speech-generation","voice-cloning"],"tags":["Text-to-speech","Runs AI locally","Jupyter"],"alternatives":[{"product":"elevenlabs","jobs":["speech-generation","voice-cloning"],"coverage":"partial","note":"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."},{"product":"descript","jobs":["voice-cloning","speech-generation"],"coverage":"partial","note":"Voice cloning and text-to-speech only; no transcript-based audio or video editing."}],"facts":{"runs_locally":{"status":"yes","value":"Yes, Python/PyTorch inference via the provided notebooks","source_url":"https://github.com/yl4579/StyleTTS2#inference","checked_at":"2026-10-15","confidence":"high","validation":"documentation_review","modes":["local"],"untrusted_source_quote":"Please refer to Inference_LJSpeech.ipynb (single-speaker) and Inference_LibriTTS.ipynb (multi-speaker) for details."},"code_license":{"status":"yes","value":"MIT","source_url":"https://github.com/yl4579/StyleTTS2/blob/main/LICENSE","checked_at":"2026-10-15","confidence":"high","validation":"documentation_review","spdx":"MIT","untrusted_source_quote":"MIT License. Copyright (c) 2023 Aaron (Yinghao) Li"},"model_license":{"status":"partial","value":"No licence on the Hugging Face model repos; README usage terms require disclosing that speech is synthetic unless you have the speaker's permission","source_url":"https://github.com/yl4579/StyleTTS2#inference","checked_at":"2026-10-15","confidence":"medium","validation":"documentation_review","spdx":null,"applies":true,"untrusted_source_quote":"Before using these pre-trained models, you agree to inform the listeners that the speech samples are synthesized by the pre-trained models, unless you have the permission to use the voice you synthesize."},"commercial_use":{"status":"partial","value":"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","source_url":"https://github.com/yl4579/StyleTTS2#inference","checked_at":"2026-10-15","confidence":"medium","validation":"documentation_review","untrusted_source_quote":"However, the inference depends on a GPL-licensed package, so it is not included directly in this repository."},"paid_services":{"status":"yes","value":"None required","source_url":"https://github.com/yl4579/StyleTTS2#inference","checked_at":"2026-10-15","confidence":"high","validation":"documentation_review","required":[],"optional":[],"untrusted_source_quote":"The pretrained StyleTTS 2 model on LibriTTS can be downloaded at https://huggingface.co/yl4579/StyleTTS2-LibriTTS/tree/main."},"hardware":{"status":"partial","value":"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.","source_url":"https://github.com/yl4579/StyleTTS2#common-issues-2","checked_at":"2026-10-15","confidence":"medium","validation":"documentation_review","cpu_ok":true,"min_vram_gb":null,"min_ram_gb":null,"untrusted_source_quote":"Basically, you will need to use more modern GPUs or do inference on CPUs."},"platforms":{"status":"partial","value":"Linux install steps (apt espeak-ng) and an extra Windows PyTorch step are given; macOS not mentioned","source_url":"https://github.com/yl4579/StyleTTS2#pre-requisites","checked_at":"2026-10-15","confidence":"medium","validation":"documentation_review","windows":"partial","macos":"unknown","linux":"yes","untrusted_source_quote":"On Windows add: pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 -U"},"setup":{"status":"yes","value":"Medium. Clone, pip install requirements, install phonemizer and espeak-ng, download checkpoints, run notebooks","source_url":"https://github.com/yl4579/StyleTTS2#pre-requisites","checked_at":"2026-10-15","confidence":"high","validation":"documentation_review","level":"medium","untrusted_source_quote":"Also install phonemizer and espeak if you want to run the demo"}},"metrics":{"stars":6389,"forks":716,"contributors":12,"archived":false,"last_push_at":"2024-08-10T00:48:18Z","latest_release":null,"fetched_at":"2026-12-01T01:21:03.661Z"},"url":"https://repoquarry.dev/projects/styletts2","note":"Installation guidance: follow docs_url. This service never installs or runs code."}