Jcd1230 / rembg-comfyui-node

Rembg Background Removal node for ComfyUI
124 stars 14 forks source link

Rembg Background Removal Node for ComfyUI

  1. Clone to your custom_nodes folder in ComfyUI:
git clone https://github.com/Jcd1230/rembg-comfyui-node.git
  1. Install rembg[gpu] (recommended) or rembg, 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.

Demonstration of the rembg node

Acknowledgements

Thanks to WASasquatch's Node Suite for great examples and a couple helper functions.