Nodes Browser

ComfyDeploy: How CosyVoice2 for ComfyUI works in ComfyUI?

What is CosyVoice2 for ComfyUI?

ComfyUI_NTCosyVoice is a plugin of ComfyUI for Cosysvoice2

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for CosyVoice2 for ComfyUI and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

CosyVoice2 for ComfyUI

ComfyUI_NTCosyVoice is a plugin of ComfyUI for Cosysvoice2

install plugin

git clone https://github.com/muxueChen/ComfyUI_NTCosyVoice.git

Install dependency packages

cd ComfyUI_NTCosyVoice
pip install -r requirements.txt

download models

python downloadmodel.py

Install ttsfrd (Optional)

Notice that this step is not necessary. If you do not install ttsfrd package, we will use WeTextProcessing by default.

cd pretrained_models/CosyVoice-ttsfrd/
unzip resource.zip -d .
pip install ttsfrd_dependency-0.1-py3-none-any.whl
pip install ttsfrd-0.4.2-cp310-cp310-linux_x86_64.whl