Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-CustomNodeKit > Create SCAIL-2 Colored Mask (MultiRef)

ComfyUI Node: Create SCAIL-2 Colored Mask (MultiRef)

Class Name

SCAIL2ColoredMaskMultiRef_CK

Category
conditioning/video_models/scail
Author
user2318 (Account age: 2574days)
Extension
ComfyUI-CustomNodeKit
Latest Updated
2026-07-16
Github Stars
0.05K

How to Install ComfyUI-CustomNodeKit

Install this extension via the ComfyUI Manager by searching for ComfyUI-CustomNodeKit
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-CustomNodeKit in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Create SCAIL-2 Colored Mask (MultiRef) Description

Render SAM3 tracking data into colored mask with multiple reference images for dynamic video effects.

Create SCAIL-2 Colored Mask (MultiRef):

The SCAIL2ColoredMaskMultiRef_CK node is designed to render SAM3 tracking data into a colored mask, supporting multiple reference images. This node is particularly useful in video processing and animation, where it can be used in conjunction with the WanSCAILToVideoMultiRef node to create dynamic and visually appealing effects. The node allows for the transformation of tracking data into a mask that can be used to condition video models, providing flexibility in how animations are generated. The node supports different background modes, allowing for either a black or white background depending on the replacement mode, which can be particularly useful for creating distinct visual effects in animations.

Create SCAIL-2 Colored Mask (MultiRef) Input Parameters:

driving_track_data

This parameter accepts the SAM3 tracking data of the driving pose video. It is essential for rendering the pose_video_mask output, which is a crucial component in creating the colored mask. The driving track data provides the necessary information to track and render the movements within the video, ensuring that the mask aligns correctly with the video content.

ref_track_data

This optional parameter takes the SAM3 tracking data of the reference image. It allows the node to incorporate additional reference points into the mask rendering process, which can enhance the accuracy and detail of the final output. By providing reference track data, you can improve the alignment and integration of the mask with the reference images, leading to more cohesive and visually appealing results.

object_indices

This parameter is a string input that specifies the indices of objects to be included in the mask, separated by commas. It allows you to selectively render specific objects within the video, providing greater control over which elements are highlighted in the final mask. This can be particularly useful for focusing on particular aspects of the video or for creating masks that emphasize certain objects over others.

Create SCAIL-2 Colored Mask (MultiRef) Output Parameters:

pose_video_mask

The pose_video_mask output is a rendered mask of the driving pose video, based on the provided SAM3 tracking data. This mask is crucial for conditioning video models, as it provides a visual representation of the tracked movements within the video. The mask can be used to guide the animation process, ensuring that the generated video aligns with the intended movements and actions.

reference_image_mask

The reference_image_mask output provides a mask of the reference image, which is always rendered with a black background as per the model's convention. This mask is used to integrate reference images into the video processing workflow, allowing for the inclusion of additional visual elements that can enhance the final output. The reference image mask is particularly useful for creating complex animations that require multiple reference points.

Create SCAIL-2 Colored Mask (MultiRef) Usage Tips:

  • Ensure that the driving_track_data is accurately aligned with the video content to achieve the best results in mask rendering.
  • Utilize the object_indices parameter to focus on specific elements within the video, which can help in creating more targeted and effective animations.
  • Experiment with different background modes to see how they affect the visual output, especially when working with replacement modes.

Create SCAIL-2 Colored Mask (MultiRef) Common Errors and Solutions:

"Invalid SAM3 tracking data"

  • Explanation: This error occurs when the provided SAM3 tracking data is not in the expected format or is corrupted.
  • Solution: Verify that the tracking data is correctly formatted and compatible with the node's requirements. Ensure that the data is not corrupted and is properly aligned with the video content.

"Object indices format error"

  • Explanation: This error arises when the object_indices parameter is not formatted correctly, such as missing commas or invalid characters.
  • Solution: Check the object_indices string for correct formatting. Ensure that indices are separated by commas and that only valid characters are used.

Create SCAIL-2 Colored Mask (MultiRef) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-CustomNodeKit
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Create SCAIL-2 Colored Mask (MultiRef)