AV ComfyUI Manual
26 / 64
Files
26
MASK SYSTEMS

PEOPLE, architectural detail, automatic SAM2 and the RGB atlas

The full graph contains several independent mask systems. They should not be collapsed into one abstract “mask”: each has its own source, coordinate space and downstream consumer.

CONFIRMEDFour mask systems are separated by topology and formal groups
FOUR MASK SYSTEMS

Every mask has its own source, polarity and consumer

PEOPLE550 → 114 → 115 → 144 → 146person silhouette
DETAIL591 → 580 → 584 → 585building / facade
AUTO SAM2234 → 232 → 233diagnostic automask
RGB ATLAS338 → 337 → 339…354eight color channels
01 · FOUR SYSTEMS

Source and purpose of each mask family

FamilyRoutePurposeMain consumers
PEOPLE550 → 114 → 115 → 144 → 146Segment person/human/face/hands/feet/accessories420, 500
Architectural detail591 → 580 → 584 → 585Segment building/facade/detail583, 775
Automatic SAM2234 + 779 → 232 → 233Automask diagnosticPreview 233
RGB/CMY/B/W atlas338 → 337 → 339/346/347/348/349/350/352/354Split a color-coded mask imagePreviews 340–353
02 · PEOPLE

Florence2 coordinates drive the SAM2 single-image model

Florence2Run 550 receives resized source 780 and model 112. Coordinates 114 feed SAM2 115 together with single-image model 107. GrowMask 144 expands the region by 5 px; MaskBlur+ 146 creates a soft 10/auto edge.

Runtime testing confirmed that detection and SAM2 must receive the same image/canvas. For multiple Florence2 BBOX results, the local Sam2Segmentation version requires individual_objects = ON; with OFF, the test retained only one silhouette.

CONFIRMED

Multi-person runtime

On a 1280 × 720 source, indices 0–5 with individual_objects ON produced a combined mask for six people.

NOT CONFIRMED

Production composite

Runtime testing confirms the mask chain separately; downstream positioning and compositing are validated by the next probes.

03 · ARCHITECTURE

The detail mask is built on selected base image 592

Prompt 591 and source 592 feed Florence2Run 580. Coordinates 584 and SAM2 585 create the mask used by MaskToImage 583 and ImageCompositeMasked 775.

04 · POLARITY

MASK↔IMAGE conversions require visual verification

CONFIRMED

No explicit InvertMask

There is no separate active InvertMask in the significant topology between PEOPLE detection and composite.

NOT CONFIRMED

Hidden inversion

Third-party nodes may interpret intensity/polarity internally; this requires preview or runtime testing.

INFERRED

QA rule

Check the white foreground region, black background, holes, islands and dimensional match with the image.