Rembg Background Removal Node for ComfyUI
- Clone to your
custom_nodes
folder in ComfyUI:
git clone https://github.com/Jcd1230/rembg-comfyui-node.git
- Install
rembg[gpu]
(recommended) orrembg
, depending on GPU support, to your ComfyUI virtual environment. E.g.:
pip install rembg[gpu]
To use, just look for the Image Remove Background (rembg) node.
Acknowledgements
Thanks to WASasquatch's Node Suite for great examples and a couple helper functions.