ComfyOnline
Rembg Background Removal Node for ComfyUI

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.