CosyEdit: Unlocking End-to-End Speech Editing Capability from Zero-Shot Text-to-Speech Models
1
6 commits
3 linked in READMEs
updated Jun 27, 2026
CosyEdit is an End-to-End Speech Editing model built upon the powerful CosyVoice zero-shot text-to-speech model.
🎧 Demo Page | 📜 Paper | 💻 Code
Clone the repo
git clone --recursive https://github.com/CJY1018/CosyEdit.git
# If you failed to clone the submodule due to network failures, please run the following command until success
cd CosyEdit
git submodule update --init --recursive
Install Conda: please see https://docs.conda.io/en/latest/miniconda.html
Create Conda env:
conda create -n cosyedit -y python=3.10
conda activate cosyedit
pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host=mirrors.aliyun.com
# If you encounter sox compatibility issues
# ubuntu
sudo apt-get install sox libsox-dev
# centos
sudo yum install sox sox-devel
You can download the pretrained models by running the following code. The pretrained models will be saved in pretrained_models directory.
# modelscope SDK model download
from modelscope import snapshot_download
snapshot_download('CJY1018/CosyEdit', local_dir='pretrained_models/CosyEdit')
# for overseas users, huggingface SDK model download
from huggingface_hub import snapshot_download
snapshot_download('CJY/CosyEdit', local_dir='pretrained_models/CosyEdit')
Follow the code in example.py for detailed usage of CosyEdit.
python example.py
💡 CosyEdit is fully compatible with the CosyVoice codebase. This repository supports both speech editing with CosyEdit and speech synthesis using the original CosyVoice TTS models.
We thank the following open-source projects for their support:
If you find this work useful in your research, please consider citing our paper:
@article{chen2026cosyedit,
title={CosyEdit: Unlocking End-to-End Speech Editing Capability from Zero-Shot Text-to-Speech Models},
author={Chen, Junyang and Jia, Yuhang and Wang, Hui and Zhou, Jiaming and Han, Yaxin and Feng, Mengying and Qin, Yong},
journal={arXiv preprint arXiv:2601.05329},
year={2026}
}
The content provided above is for academic purposes only and is intended to demonstrate technical capabilities. Some examples are sourced from the internet. If any content infringes on your rights, please contact us to request its removal.
6 commits
CosyEdit: Unlocking End-to-End Speech Editing Capability from Zero-Shot Text-to-Speech Models
1
6 commits
3 linked in READMEs
updated Jun 27, 2026
CosyEdit is an End-to-End Speech Editing model built upon the powerful CosyVoice zero-shot text-to-speech model.
🎧 Demo Page | 📜 Paper | 💻 Code
Clone the repo
git clone --recursive https://github.com/CJY1018/CosyEdit.git
# If you failed to clone the submodule due to network failures, please run the following command until success
cd CosyEdit
git submodule update --init --recursive
Install Conda: please see https://docs.conda.io/en/latest/miniconda.html
Create Conda env:
conda create -n cosyedit -y python=3.10
conda activate cosyedit
pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host=mirrors.aliyun.com
# If you encounter sox compatibility issues
# ubuntu
sudo apt-get install sox libsox-dev
# centos
sudo yum install sox sox-devel
You can download the pretrained models by running the following code. The pretrained models will be saved in pretrained_models directory.
# modelscope SDK model download
from modelscope import snapshot_download
snapshot_download('CJY1018/CosyEdit', local_dir='pretrained_models/CosyEdit')
# for overseas users, huggingface SDK model download
from huggingface_hub import snapshot_download
snapshot_download('CJY/CosyEdit', local_dir='pretrained_models/CosyEdit')
Follow the code in example.py for detailed usage of CosyEdit.
python example.py
💡 CosyEdit is fully compatible with the CosyVoice codebase. This repository supports both speech editing with CosyEdit and speech synthesis using the original CosyVoice TTS models.
We thank the following open-source projects for their support:
If you find this work useful in your research, please consider citing our paper:
@article{chen2026cosyedit,
title={CosyEdit: Unlocking End-to-End Speech Editing Capability from Zero-Shot Text-to-Speech Models},
author={Chen, Junyang and Jia, Yuhang and Wang, Hui and Zhou, Jiaming and Han, Yaxin and Feng, Mengying and Qin, Yong},
journal={arXiv preprint arXiv:2601.05329},
year={2026}
}
The content provided above is for academic purposes only and is intended to demonstrate technical capabilities. Some examples are sourced from the internet. If any content infringes on your rights, please contact us to request its removal.
6 commits