DiffuEraser is a diffusion model for video Inpainting, you can use it in ComfyUI
DiffuEraser is a diffusion model for video Inpainting, you can use it in ComfyUI
In the ./ComfyUI /custom_node directory, run the following:
git clone https://github.com/smthemex/ComfyUI_DiffuEraser.git
pip install -r requirements.txt
-- ComfyUI/models/checkpoints
|-- any sd1.5 safetensors #任意sd1.5模型
-- ComfyUI/models/DiffuEraser
|--brushnet
|-- config.json
|-- diffusion_pytorch_model.safetensors
|--unet_main
|-- config.json
|-- diffusion_pytorch_model.safetensors
|--propainter
|-- ProPainter.pth
|-- raft-things.pth
|-- recurrent_flow_completion.pth
-- any/path/briaai/RMBG-2.0 # or auto download
|--config.json
|--model.safetensors
|--birefnet.py
|--BiRefNet_config.py
Or
-- any/path/ZhengPeng7/BiRefNet # or auto download
|--config.json
|--model.safetensors
|--birefnet.py
|--BiRefNet_config.py
|--handler.py
@misc{li2025diffueraserdiffusionmodelvideo,
title={DiffuEraser: A Diffusion Model for Video Inpainting},
author={Xiaowen Li and Haolan Xue and Peiran Ren and Liefeng Bo},
year={2025},
eprint={2501.10018},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2501.10018},
}
@inproceedings{zhou2023propainter,
title={{ProPainter}: Improving Propagation and Transformer for Video Inpainting},
author={Zhou, Shangchen and Li, Chongyi and Chan, Kelvin C.K and Loy, Chen Change},
booktitle={Proceedings of IEEE International Conference on Computer Vision (ICCV)},
year={2023}
}
@misc{ju2024brushnet,
title={BrushNet: A Plug-and-Play Image Inpainting Model with Decomposed Dual-Branch Diffusion},
author={Xuan Ju and Xian Liu and Xintao Wang and Yuxuan Bian and Ying Shan and Qiang Xu},
year={2024},
eprint={2403.06976},
archivePrefix={arXiv},
primaryClass={cs.CV}
}
@article{BiRefNet,
title={Bilateral Reference for High-Resolution Dichotomous Image Segmentation},
author={Zheng, Peng and Gao, Dehong and Fan, Deng-Ping and Liu, Li and Laaksonen, Jorma and Ouyang, Wanli and Sebe, Nicu},
journal={CAAI Artificial Intelligence Research},
year={2024}
}