Nodes Browser

ComfyDeploy: How Rembg Background Removal Node for ComfyUI works in ComfyUI?

What is Rembg Background Removal Node for ComfyUI?

Nodes: Image Remove Background (rembg)

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for Rembg Background Removal Node for ComfyUI and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

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.