ComfyUI Node: Florence2 (RMBG)

Authored by 1038lab

Created

Updated

2023 stars

Run Florence2 (RMBG) without installing ComfyUI

This node already runs on ComfyICU. Open it in the browser, hit run, and you're billed for GPU seconds — not for setup, and not while you're idle.

Category

🧪AILab/🧽RMBG

Inputs

image IMAGE
model_name
  • microsoft/Florence-2-base
  • microsoft/Florence-2-base-ft
  • microsoft/Florence-2-large
  • microsoft/Florence-2-large-ft
  • thwri/CogFlorence-2.1-Large
  • thwri/CogFlorence-2.2-Large
task
  • Polygon Mask (text prompt)
  • Phrase Grounding (text boxes)
  • Region Proposals (boxes only)
precision
  • fp16
  • bf16
  • fp32
attention
  • flash_attention_2
  • sdpa
  • eager
fill_mask BOOLEAN
output_mask_select STRING
keep_model_loaded BOOLEAN
text_prompt STRING

Outputs

IMAGE

MASK

JSON

Extension: ComfyUI-RMBG

A sophisticated ComfyUI custom node engineered for advanced image background removal and precise segmentation of objects, faces, clothing, and fashion elements. This tool leverages a diverse array of models, including RMBG-2.0, INSPYRENET, BEN, BEN2, BiRefNet models, SAM, and GroundingDINO, while also incorporating a new feature for real-time background replacement and enhanced edge detection for improved accuracy.

Authored by 1038lab

Looking for a different node?

Run Florence2 (RMBG) without installing ComfyUI

This node already runs on ComfyICU. Open it in the browser, hit run, and you're billed for GPU seconds — not for setup, and not while you're idle.

Learn more