ComfyUI Node Runs on cloud
Create SCAIL-2 Colored Mask
A ComfyUI node in model/conditioning/wan/scail with 5 inputs and 2 outputs.
Create SCAIL-2 Colored Mask
- driving_track_data
- ref_track_data
- pose_video_mask
- reference_image_mask
◄object_indices►
◄sort_byleft_to_right►
◄replacement_modefalse►
Categorymodel/conditioning/wan/scail
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| driving_track_data | SAM3_TRACK_DATA | SAM3 track of the driving pose video. Will be rendered into the pose_video_mask output. | |
| object_indices | STRING | Comma-separated list of person indices to include (e.g. '0,2,3'). Applied to both reference and pose video masks. Empty = all. | |
| sort_by | COMBO | left_to_right | Order in which palette colors are assigned to the tracked objects (applied to both reference and pose video so each identity keeps the same color). Objects that appear in earlier frames always come first; within a frame, left_to_right = leftmost object (by centroid at first appearance) gets the first color, area = biggest object (by mask area at first appearance) gets the first color; none = keep SAM3's order. |
| replacement_mode | BOOLEAN | false | False = Animation Mode (pose_video_mask has black background, reference_image_mask has white background). True = Replacement Mode (pose_video_mask has white background, reference_image_mask has black background). |
| ref_track_dataopt | SAM3_TRACK_DATA,MASK | SAM3 track of the reference image(s) (one identity per object, colored in batch order), or a plain MASK of the reference subject (rendered as a single identity). |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| pose_video_mask | IMAGE | — |
| reference_image_mask | IMAGE | — |