Nodes Browser

ComfyDeploy: How ComfyUI_BEN_ll works in ComfyUI?

What is ComfyUI_BEN_ll?

Background removal based on BEN. NODES:LoadRembgByBenModel, RembgByBen, GetMaskByBen, RembgByBenAdvanced, BlurFusionForegroundEstimation.

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 ComfyUI_BEN_ll and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

中文文档

BEN is a deep learning model designed to automatically remove backgrounds from images, producing both a mask and a foreground image.

Preview (Image embedded workflow)

save api extended

Install

  • Manual
    cd custom_nodes
    git clone https://github.com/lldacing/ComfyUI_Ben_ll.git
    cd ComfyUI_Ben_ll
    pip install -r requirements.txt
    # restart ComfyUI

Models

Download BEN or BEN2 from HuggingFace and put it in ComfyUI/models/rembg/ben/

Thanks

Original Project BEN