音频与语音MITPython

StyleTTS 2

Human-level TTS via style diffusion and adversarial training.

Star 数
6.4K
Fork 数
716
未关闭 Issue
118
最近提交
2024-08-10

数据来自 GitHub API · 更新于 2026-11-30

StyleTTS 2 是什么?

StyleTTS 2 reached human-level naturalness on single-speaker benchmarks by modeling speaking style as a latent variable with diffusion and training with large speech language model discriminators. Many lightweight TTS models build on it.

主要功能

  • Highly natural single-speaker speech
  • Zero-shot speaker adaptation (LibriTTS model)
  • Training and fine-tuning code

系统要求

平台
Linux · Windows
显卡
NVIDIA for training
Python
3.7+

如何安装 StyleTTS 2

根据项目 README 整理。开源项目更新很快,请以 GitHub 页面上的最新说明为准。

From source

  1. 1
    Clone and install requirements; download pretrained models linked in the README.
    git clone https://github.com/yl4579/StyleTTS2.git
    cd StyleTTS2
    pip install -r requirements.txt

优势

  • Excellent quality for its size
  • MIT code

不足

  • Research code; no polished UI
  • Pretrained voices have usage conditions

StyleTTS 2 替代品对比

软件Star 数许可证平台显存
StyleTTS 2

Human-level TTS via style diffusion and adversarial training.

6.4KMIT—
Kokoro

A tiny 82M-parameter TTS model with surprisingly natural voices.

10.5KApache-2.0—
Coqui TTS

Deep-learning text-to-speech toolkit, including the XTTS voice cloning model.

46.3KMPL-2.0—
F5-TTS

Zero-shot voice cloning TTS based on flow matching.

15.7KMIT—
Whisper

OpenAI’s open-source speech recognition and translation model.

113.8KMIT~1 GB (tiny) to ~10 GB (large)
whisper.cpp

Whisper in plain C/C++ — fast on CPUs, Apple Silicon and mobile.

55.7KMIT—

常见问题

StyleTTS 2 免费吗?

是的——StyleTTS 2 是开源软件,采用 MIT 许可证。商用前请确认软件及模型权重的许可条款。

StyleTTS 2 支持 Windows、Mac 和 Linux 吗?

StyleTTS 2 支持:Linux, Windows。

运行 StyleTTS 2 需要什么配置?

NVIDIA for training

如何安装 StyleTTS 2?

1. Clone and install requirements; download pretrained models linked in the README.

StyleTTS 2 有哪些好的替代品?

常见替代品包括 Kokoro, Coqui TTS, F5-TTS, Whisper,详见本页对比表。