ComfyUI custom nodes for SoulX-Singer: Towards High-Quality Zero-Shot Singing Voice Synthesis
๐ค ComfyUI-SoulX-Singer
ComfyUI custom nodes for
SoulX-Singer: Towards High-Quality Zero-Shot Singing Voice Synthesis
๐ต Overview
SoulX-Singer is a high-fidelity, zero-shot singing voice synthesis model by SoulAI-Lab that enables users to generate realistic singing voices for unseen singers. This ComfyUI wrapper provides native node-based integration with support for melody-conditioned (F0 contour) and score-conditioned (MIDI notes) control for precise pitch, rhythm, and expression.
Paper: SoulX-Singer: Towards High-Quality Zero-Shot Singing Voice Synthesis (arXiv:2602.07803)
โจ Features
- ๐ค Zero-Shot Singing โ Generate voices for unseen singers with just a reference sample
- ๐ต Dual Control Modes โ Melody (F0 contour) and Score (MIDI notes) conditioning
- ๐ Native ComfyUI Integration โ AUDIO noodle inputs, progress bars, interruption support
- โก Optimized Performance โ Support for bf16/fp32 dtypes, SDPA and SageAttention
- ๐ฆ Smart Auto-Download โ Downloads only what you need from HuggingFace
- ๐พ Smart Caching โ Optional model caching with dtype/attention change detection
- ๐น MIDI Editor Support โ Advanced node for manual metadata editing workflow
- ๐ง Improved Compatibility โ Uses soundfile + scipy instead of torchaudio for better cross-platform support
Original Audio
SpongeBob Voice
https://github.com/user-attachments/assets/505e74b2-49b7-49bb-b017-ea60600b5173
Male Voice
https://github.com/user-attachments/assets/d0cd4612-cdcc-4a03-8c38-4a71874c9bd2
๐ฆ Installation
๐ฅ Click to expand installation methods
Method 1: ComfyUI Manager (Recommended)
- Open ComfyUI Manager
- Search for "SoulX-Singer"
- Click Install
- Restart ComfyUI
Method 2: Manual Installation
cd ComfyUI/custom_nodes
git clone --recursive https://github.com/Saganaki22/ComfyUI-SoulX-Singer.git
cd ComfyUI-SoulX-Singer
pip install -r requirements.txt
Note: The --recursive flag is important to clone the SoulX-Singer submodule.
Method 3: If Already Cloned Without Submodule
cd ComfyUI/custom_nodes/ComfyUI-SoulX-Singer
git submodule init
git submodule update
pip install -r requirements.txt
๐ Quick Start
Basic Workflow (Simple Mode)
- Load Model
๐ค SoulX-Singer Model Loader node
- Select model:
- SoulX-Singermodelbf16 (default) - Fast, good quality, ~2GB
- SoulX-Singermodelfp32 - Best quality, ~4GB
- "(download)" suffix means it will be auto-downloaded on first use
- Choose dtype: bf16 (default, recommended) or fp32 (full precision)
- Choose attention: sdpa (default) or sageattention (fastest with sageattention package)
- Enable keep_loaded to cache model between runs
- Load Audio
Load Audio nodes for prompt and target audio
- Prompt: 3-10 seconds of reference singing voice
- Target: Audio with melody/score to synthesize
- Synthesize
๐๏ธ SoulX-Singer Simple node
- Connect model and audio inputs
- Configure languages (Mandarin/English/Cantonese)
- Set control mode (melody or score)
- Adjust synthesis parameters
- Run!
- Save/Preview
Save Audio or Preview Audio node
Advanced Workflow (Metadata Mode)
For users who want manual control with MIDI editor:
- Run Simple mode once to generate metadata files (saved in temp folder)
- Copy metadata JSON files from temp folder
- Edit metadata JSON files with MIDI Editor
- Use
๐๏ธ SoulX-Singer Advancednode with:
Why no target_audio in Advanced node? The target is defined entirely by metadata (lyrics, notes, timing) - the node synthesizes NEW audio from scratch rather than transforming existing audio.
๐๏ธ File Structure & Downloads
๐ Click to expand file structure details
Automatic Download (Recommended)
On first use, the node will automatically download required files from drbaph/SoulX-Singer:
Default Download (bf16):
SoulX-Singermodelbf16.safetensors(~1.5GB)config.yamlpreprocessors/folder (~5GB)- Total: ~6.5GB
SoulX-Singermodelfp32.safetensors(~2.9GB)- Plus bf16 model + config + preprocessors above
- Total: ~9.5GB
ComfyUI/models/SoulX-Singer/
Manual Download
If auto-download fails:
pip install -U huggingface_hub
huggingface-cli download drbaph/SoulX-Singer --local-dir ComfyUI/models/SoulX-Singer
Or download manually from drbaph/SoulX-Singer and place in ComfyUI/models/SoulX-Singer/.
Final Structure
ComfyUI/
โโโ models/
โ โโโ SoulX-Singer/
โ โโโ SoulX-Singermodelbf16.safetensors # bf16 model (~1.5GB)
โ โโโ SoulX-Singermodelfp32.safetensors # fp32 model (~2.9GB) [optional]
โ โโโ config.yaml # Model config
โ โโโ preprocessors/ # Preprocessing models (~5GB)
โ โโโ dereverbmelband_roformer/
โ โโโ mel-band-roformer-karaoke/
โ โโโ parakeet-tdt-0.6b-v2/
โ โโโ rmvpe/
โ โโโ rosvot/
โ โโโ speechseacoparaformerlargeasr_nat-zh-cn-16k-common-vocab8404-pytorch/
โโโ custom_nodes/
โโโ ComfyUI-SoulX-Singer/
โโโ init.py
โโโ nodes/
โ โโโ model_loader.py
โ โโโ simple_synthesizer.py
โ โโโ advanced_synthesizer.py
โโโ SoulX-Singer/ # Git submodule
โโโ requirements.txt
โโโ README.md
๐ Symlink Support
โ All nodes support symlinks! You can use system links to save disk space:
Windows Example:
:: Link the entire models directory mklink /D "ComfyUI\models\SoulX-Singer" "D:\MyModels\SoulX-Singer"
:: Or link just the preprocessors mklink /D "ComfyUI\models\SoulX-Singer\preprocessors" "D:\MyModels\preprocessors"
Linux/Mac Example:
# Link the entire models directory ln -s /path/to/your/models/SoulX-Singer ComfyUI/models/SoulX-Singer
Or link just the preprocessors
ln -s /path/to/preprocessors ComfyUI/models/SoulX-Singer/preprocessors
The nodes automatically resolve symlinks and load from the actual file location.
๐๏ธ Node Reference
๐ค SoulX-Singer Model Loader
Loads the SVS model with configurable precision and attention.
Inputs:
model_name: Model file to load
SoulX-Singermodelbf16 (default) - bf16 precision, fast, good quality - SoulX-Singermodelfp32 - fp32 precision, best quality, larger file - (download) suffix appears if model not yet downloaded - Automatically detects all .safetensors and .pt files in ComfyUI/models/SoulX-Singer/ - Supports symlinks: Works with symlinked files/directories dtype: Precision -bf16(default, recommended),fp32(full)
attention_type:sdpa(default) orsageattention
auto, flash_attention, and eager removed due to compatibility issues - sageattention requires: pip install sageattention keep_loaded: Cache model in memory (clears on dtype/attention change)
model: SOULX_MODEL object
- Selecting bf16 model: Downloads bf16 + config + preprocessors (~7GB)
- Selecting fp32 model: Downloads fp32 + bf16 + config + preprocessors (~11GB)
- Resume support: Interrupted downloads will resume on next attempt
๐๏ธ SoulX-Singer Simple
Simple synthesizer with auto-preprocessing.
Inputs:
model: SOULX_MODEL from loaderprompt_audio: Reference singing voice (AUDIO noodle)target_audio: Target melody/score (AUDIO noodle)prompt_language: Mandarin/English/Cantonesetarget_language: Mandarin/English/Cantonesecontrol_mode:melody(F0 contour) orscore(MIDI notes)enable_preprocessing: โ ๏ธ EXPERIMENTAL - Enable full preprocessing (default:True)
vocalsepprompt: Apply vocal separation to prompt (ignored if preprocessing disabled)vocalseptarget: Apply vocal separation to target (ignored if preprocessing disabled)autopitchshift: Auto-match pitch rangespitch_shift: Manual pitch shift (-12 to +12 semitones)n_steps: Diffusion steps (16-64, default 32)cfg_scale: CFG guidance (1.0-5.0, default 3.0)
audio: Generated singing voice (AUDIO)
- First run will download preprocessing models to
ComfyUI/models/SoulX-Singer/preprocessors/if not already present - โ ๏ธ EXPERIMENTAL: Disabling preprocessing skips vocal separation but still extracts F0 and transcribes lyrics - use only with clean acapella vocals
๐๏ธ SoulX-Singer Advanced
Advanced synthesizer using pre-processed metadata files for manual editing workflows.
Inputs:
model: SOULX_MODEL from loaderprompt_audio: Reference audio (AUDIO noodle)promptmetadatapath: Path to prompt JSON metadata filetargetmetadatapath: Path to target JSON metadata filecontrol_mode:melody(F0 contour) orscore(MIDI notes)autopitchshift: Auto-match pitch rangespitch_shift: Manual pitch shift (-12 to +12 semitones)n_steps: Diffusion steps (16-64, default 32)cfg_scale: CFG guidance (1.0-5.0, default 3.0)
audio: Generated singing voice (AUDIO)
๐ Click to expand Metadata JSON Structure
[
{
"index": "vocal06900",
"language": "English",
"time": [0, 6900],
"duration": "0.16 0.24 0.32...",
"text": "<SP> Hello world <SP>...",
"phoneme": "<SP> en_HH-ER0...",
"note_pitch": "0 68 67 65...",
"note_type": "1 2 2 2...",
"f0": "0.0 0.0 382.7..."
}
]
Key Fields:
time: Segment boundaries [startms, endms]text: Lyrics with<SP>markers for word boundariesphoneme: ARPAbet phonemes (en_ prefix for English)note_pitch: MIDI note numbers (0=silence, 60=middle C)note_type: 1=rest, 2=sustain, 3=attackf0: Frame-level fundamental frequency in Hz
- Run Simple mode to get auto-generated metadata
- Copy metadata files from temp folder (shown in console logs)
- Edit in MIDI Editor
- Use Advanced node with edited target metadata
๐ Parameters Explained
| Parameter | Description | Recommended | |-----------|-------------|-------------| | modelname | Model variant | SoulX-Singermodelbf16 (fast), SoulX-Singermodel_fp32 (best quality) | | dtype | Model precision | bf16 (default, fast + quality), fp32 (best quality) | | attention_type | Attention mechanism | sdpa (default), sageattention (requires package) | | keep_loaded | Cache model | True for multiple runs | | control_mode | Pitch control | melody for natural, score for MIDI | | autopitchshift | Auto pitch matching | True for different singers | | n_steps | Quality vs speed | 32 (balanced), 64 (best) | | cfg_scale | Prompt adherence | 3.0 (balanced) |
๐ง Troubleshooting
๐ ๏ธ Click to expand troubleshooting guide
Models Not Downloading?
Manually download from drbaph/SoulX-Singer:
pip install -U huggingface_hub huggingface-cli download drbaph/SoulX-Singer --local-dir ComfyUI/models/SoulX-Singer
Missing Dependencies?
Install all dependencies:
cd ComfyUI/custom_nodes/ComfyUI-SoulX-Singer pip install -r requirements.txt
Common missing packages:
wandb- for preprocessing loggingpretty_midi- for MIDI handlingml-collections- for config managementloralib- for LoRA model componentssageattention- for optimized attention (optional,pip install sageattention)
Out of Memory?
- Use
bf16dtype instead offp32 - Select
SoulX-Singermodelbf16instead of fp32 - Set
keep_loaded=False - Reduce
n_steps - Close other applications
Slow Synthesis?
- Install SageAttention:
pip install sageattention, then selectsageattentionattention type - Use GPU with CUDA support
- Enable
keep_loaded=True - Use
bf16dtype
Preprocessing Pipeline Fails?
Check that all preprocessing models are downloaded to:
ComfyUI/models/SoulX-Singer/preprocessors/
Verify the directory structure matches the example above.
SageAttention Not Working?
Make sure you have the sageattention package installed:
pip install sageattention
If you get errors with SageAttention, fall back to sdpa attention type.
๐ Important Links
๐ค HuggingFace
- Models & Preprocessors: drbaph/SoulX-Singer
- Online Demo: Soul-AILab/SoulX-Singer
- Paper: huggingface.co/papers/2602.07803
๐ Paper & Code
- arXiv Paper: arxiv.org/abs/2602.07803
- Official Repository: Soul-AILab/SoulX-Singer
- Demo Page: soul-ailab.github.io/soulx-singer
๐ ๏ธ Tools
- MIDI Editor: Soul-AILab/SoulX-Singer-Midi-Editor
- ComfyUI Node: Saganaki22/ComfyUI-SoulX-Singer
๐ Citation
If you use SoulX-Singer in your research, please cite:
@misc{soulxsinger,
title={SoulX-Singer: Towards High-Quality Zero-Shot Singing Voice Synthesis},
author={Jiale Qian and Hao Meng and Tian Zheng and Pengcheng Zhu and Haopeng Lin and Yuhang Dai and Hanke Xie and Wenxiao Cao and Ruixuan Shang and Jun Wu and Hongmei Liu and Hanlin Wen and Jian Zhao and Zhonglin Jiang and Yong Chen and Shunshun Yin and Ming Tao and Jianguo Wei and Lei Xie and Xinsheng Wang},
year={2026},
eprint={2602.07803},
archivePrefix={arXiv},
primaryClass={eess.AS},
url={https://arxiv.org/abs/2602.07803},
}
๐ License
Apache 2.0 - See LICENSE for details.
โ ๏ธ Usage Disclaimer
SoulX-Singer is intended for academic research, educational purposes, and legitimate applications. Please use responsibly and ethically.
We advocate for the responsible development and use of AI and encourage the community to uphold safety and ethical principles in AI research and applications. If you have any concerns regarding ethics or misuse, please contact us.