This is a ComfyUI plug-in for bytedance-research/USO, easy to use
Python
54
4 commits
updated Sep 1, 2025
A custom node for ComfyUI that integrates USO (Unified Style and Subject-Driven Generation) for high-quality image generation with style and subject control.
# Navigate to ComfyUI custom_nodes directory
cd ComfyUI/custom_nodes
# Clone the repository
git clone https://github.com/HM-RunningHub/ComfyUI_RH_USO
# Install dependencies
cd ComfyUI_RH_USO
pip install -r requirements.txt
# Download FLUX.1-dev model (Required base model)
huggingface-cli download black-forest-labs/FLUX.1-dev flux1-dev.safetensors --local-dir models/diffusers/FLUX.1-dev
huggingface-cli download black-forest-labs/FLUX.1-dev ae.safetensors --local-dir models/diffusers/FLUX.1-dev
# Download USO model
huggingface-cli download bytedance-research/USO --local-dir models/uso
# Download SigLIP model
huggingface-cli download google/siglip-so400m-patch14-384 --local-dir models/clip/siglip-so400m-patch14-384
# Final model structure should look like:
models/
βββ diffusers/
β βββ FLUX.1-dev/
β βββ flux1-dev.safetensors
β βββ ae.safetensors
β βββ ....
βββ uso/
β βββ assets/
β β βββ uso.webp
β βββ config.json
β βββ download_repo_enhanced.py
β βββ README.md
β βββ uso_flux_v1.0/
β βββ dit_lora.safetensors
β βββ projector.safetensors
βββ clip/
βββ siglip-so400m-patch14-384/
# Restart ComfyUI
[RH_USO_Loader] β [RH_USO_Generator] β [Save Image]
models/diffusers/FLUX.1-dev/models/uso/models/clip/siglip-so400m-patch14-384/This project is licensed under Apache 2.0 License.
Contributions are welcome! Please feel free to submit issues and pull requests.
If you find this project useful, please consider citing the original USO paper:
@article{wu2025uso,
title={USO: Unified Style and Subject-Driven Generation via Disentangled and Reward Learning},
author={Shaojin Wu and Mengqi Huang and Yufeng Cheng and Wenxu Wu and Jiahe Tian and Yiming Luo and Fei Ding and Qian He},
year={2025},
eprint={2508.18966},
archivePrefix={arXiv},
primaryClass={cs.CV},
}
This is a ComfyUI plug-in for bytedance-research/USO, easy to use
Python
54
4 commits
updated Sep 1, 2025
A custom node for ComfyUI that integrates USO (Unified Style and Subject-Driven Generation) for high-quality image generation with style and subject control.
# Navigate to ComfyUI custom_nodes directory
cd ComfyUI/custom_nodes
# Clone the repository
git clone https://github.com/HM-RunningHub/ComfyUI_RH_USO
# Install dependencies
cd ComfyUI_RH_USO
pip install -r requirements.txt
# Download FLUX.1-dev model (Required base model)
huggingface-cli download black-forest-labs/FLUX.1-dev flux1-dev.safetensors --local-dir models/diffusers/FLUX.1-dev
huggingface-cli download black-forest-labs/FLUX.1-dev ae.safetensors --local-dir models/diffusers/FLUX.1-dev
# Download USO model
huggingface-cli download bytedance-research/USO --local-dir models/uso
# Download SigLIP model
huggingface-cli download google/siglip-so400m-patch14-384 --local-dir models/clip/siglip-so400m-patch14-384
# Final model structure should look like:
models/
βββ diffusers/
β βββ FLUX.1-dev/
β βββ flux1-dev.safetensors
β βββ ae.safetensors
β βββ ....
βββ uso/
β βββ assets/
β β βββ uso.webp
β βββ config.json
β βββ download_repo_enhanced.py
β βββ README.md
β βββ uso_flux_v1.0/
β βββ dit_lora.safetensors
β βββ projector.safetensors
βββ clip/
βββ siglip-so400m-patch14-384/
# Restart ComfyUI
[RH_USO_Loader] β [RH_USO_Generator] β [Save Image]
models/diffusers/FLUX.1-dev/models/uso/models/clip/siglip-so400m-patch14-384/This project is licensed under Apache 2.0 License.
Contributions are welcome! Please feel free to submit issues and pull requests.
If you find this project useful, please consider citing the original USO paper:
@article{wu2025uso,
title={USO: Unified Style and Subject-Driven Generation via Disentangled and Reward Learning},
author={Shaojin Wu and Mengqi Huang and Yufeng Cheng and Wenxu Wu and Jiahe Tian and Yiming Luo and Fei Ding and Qian He},
year={2025},
eprint={2508.18966},
archivePrefix={arXiv},
primaryClass={cs.CV},
}