Nodes/ComfyUI-StudioLight/StudioLight Automatic Subject / Background Base
ComfyUI Node

StudioLight Automatic Subject / Background Base

Automatically retain the subject from De-Light Base and the whole background from A*S+R. Uses BiRefNet-general from comfyui-rmbg, including non-human subjects. No water/color rules or painted masks. Detection is an estimate; inspect the mask for transparent objects, reflections and multiple subjects.

By maciejtajber·Created about a month ago·Updated 6 days ago· 5
StudioLight Automatic Subject / Background Base
  • subject_base
  • background
  • reference_image
  • subject_mask
  • combined_base
  • subject_mask
  • report
◄edge_softness0►
CategoryStudioLight/Experimental

Inputs (5)

NameTypeDefaultDescription
subject_baseIMAGEMarigold albedo_srgb: retained on the subject.
backgroundIMAGEMarigold uncalibrated_reconstruction_srgb (A*S+R).
reference_imageoptIMAGEOptional aligned image for subject detection; defaults to subject_base.
subject_maskoptMASKOptional automatic mask from another detector; white=subject.
edge_softnessoptINT00–16—

Outputs (3)

NameTypeDescription
combined_baseIMAGE—
subject_maskMASK—
reportSTRING—