ComfyUI Node: Apply SDMatte

Authored by flybirdxx

Created

Updated

138 stars

Category

Matting/SDMatte

Inputs

ckpt_name
  • SDMatte.safetensors
  • SDMatte_plus.safetensors
image IMAGE
trimap MASK
inference_size
  • 512
  • 640
  • 768
  • 896
  • 1024
is_transparent BOOLEAN
output_mode
  • alpha_only
  • matted_rgba
  • matted_rgb
mask_refine BOOLEAN
trimap_constraint FLOAT
force_cpu BOOLEAN

Outputs

MASK

IMAGE

Extension: ComfyUI-SDMatte

SDMatte is an interactive image matting method based on stable diffusion, which supports three types of visual prompts (points, boxes, and masks) for accurately extracting target objects from natural images.

Authored by flybirdxx

Run ComfyUI workflows in the Cloud!

No downloads or installs are required. Pay only for active GPU usage, not idle time. No complex setups and dependency issues

Learn more