音频与语音Apache-2.0Python

CosyVoice

Alibaba’s multilingual zero-shot TTS with streaming and voice cloning.

Star 数
24.6K
Fork 数
2.8K
未关闭 Issue
618
最近提交
2026-05-25

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

CosyVoice 是什么?

CosyVoice is a large-model text-to-speech system from Alibaba’s Tongyi Lab supporting zero-shot voice cloning, cross-lingual synthesis, instruction-controlled emotion and dialects, and low-latency bidirectional streaming.

主要功能

  • Zero-shot voice cloning from a few seconds
  • Chinese, English, Japanese, Korean and dialects
  • Instruction control of emotion and style
  • Streaming synthesis with ~150 ms latency

系统要求

平台
Linux · Windows · Docker
显卡
NVIDIA recommended
Python
3.10

如何安装 CosyVoice

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

From source

  1. 1
    Clone with submodules and install requirements.
    git clone --recursive https://github.com/FunAudioLLM/CosyVoice.git
    cd CosyVoice
    pip install -r requirements.txt
  2. 2
    Download a model (see README) and start the web UI.
    python3 webui.py --port 50000 --model_dir pretrained_models/CosyVoice2-0.5B

优势

  • Excellent Chinese TTS
  • Streaming support

不足

  • Heavier setup than pip-only TTS

CosyVoice 替代品对比

软件Star 数许可证平台显存
CosyVoice

Alibaba’s multilingual zero-shot TTS with streaming and voice cloning.

24.6KApache-2.0—
F5-TTS

Zero-shot voice cloning TTS based on flow matching.

15.7KMIT—
GPT-SoVITS

Few-shot voice cloning and TTS with a full training WebUI.

101MIT6 GB+
Fish Speech

Multilingual TTS and voice cloning from Fish Audio.

33.9KApache-2.04 GB+
Spark-TTS

LLM-based TTS with zero-shot cloning and controllable voice creation.

11KApache-2.0—
Whisper

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

113.8KMIT~1 GB (tiny) to ~10 GB (large)

常见问题

CosyVoice 免费吗?

是的——CosyVoice 是开源软件,采用 Apache-2.0 许可证。商用前请确认软件及模型权重的许可条款。

CosyVoice 支持 Windows、Mac 和 Linux 吗?

CosyVoice 支持:Linux, Windows, Docker。

运行 CosyVoice 需要什么配置?

NVIDIA recommended

如何安装 CosyVoice?

1. Clone with submodules and install requirements. 2. Download a model (see README) and start the web UI.

CosyVoice 有哪些好的替代品?

常见替代品包括 F5-TTS, GPT-SoVITS, Fish Speech, Spark-TTS,详见本页对比表。