Audio & voiceApache-2.0Python

CosyVoice

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

Stars
24.6K
Forks
2.8K
Open issues
618
Last commit
2026-05-25

Live from the GitHub API · updated 2026-11-30

What is 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.

Key features

  • 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

System requirements

Platforms
Linux · Windows · Docker
GPU
NVIDIA recommended
Python
3.10

How to install CosyVoice

Summarized from the project’s README. Projects change quickly — check the GitHub page for the latest instructions.

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

Strengths

  • Excellent Chinese TTS
  • Streaming support

Limitations

  • Heavier setup than pip-only TTS

CosyVoice alternatives compared

SoftwareStarsLicensePlatformsVRAM
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)

FAQ

Is CosyVoice free?

Yes — CosyVoice is open-source software released under the Apache-2.0 license. Check the license (and any model weight licenses) before commercial use.

Does CosyVoice run on Windows, Mac and Linux?

CosyVoice supports: Linux, Windows, Docker.

What hardware do I need for CosyVoice?

NVIDIA recommended

How do I install CosyVoice?

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

What are the best CosyVoice alternatives?

Popular alternatives include F5-TTS, GPT-SoVITS, Fish Speech, Spark-TTS. See the comparison table on this page.