VisualCloze: A Universal Image Generation Framework via Visual In-Context Learning
1.Installation
In the ./ComfyUI /custom_node directory, run the following:
git clone https://github.com/smthemex/ComfyUI_VisualCloze.git
2.requirements
pip install -r requirements.txt
3 models
├── ComfyUI/models/loras/
| ├── visualcloze-lora-512.safetensors # or 384
├── ComfyUI/models/diffusion_models/
| ├── flux1-fill-dev.safetensors # or flux1-fill-dev-fp8.safetensors
@article{li2025visualcloze,
title={VisualCloze : A Universal Image Generation Framework via Visual In-Context Learning},
author={Li, Zhong-Yu and Du, Ruoyi and Yan, Juncheng and Zhuo, Le and Li, Zhen and Gao, Peng and Ma, Zhanyu and Cheng, Ming-Ming},
journal={arXiv preprint arxiv:},
year={2025}
}