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-MAINodes > H3 Prefix Freeze Mask (alpha)

ComfyUI Node: H3 Prefix Freeze Mask (alpha)

Class Name

H3PrefixFreezeMask

Category
MAINodes/alpha
Author
matlowai (Account age: 1004days)
Extension
ComfyUI-MAINodes
Latest Updated
2026-08-26
Github Stars
0.11K

How to Install ComfyUI-MAINodes

Install this extension via the ComfyUI Manager by searching for ComfyUI-MAINodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-MAINodes 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

H3 Prefix Freeze Mask (alpha) Description

Manages video processing dynamics by creating freeze masks for specific frames, preserving original quality while allowing modifications.

H3 Prefix Freeze Mask (alpha):

The H3PrefixFreezeMask node is designed to manage the temporal dynamics of video processing by creating a freeze mask for video frames. This node is particularly useful in scenarios where you want to maintain the integrity of certain frames while allowing others to be regenerated or modified. It achieves this by setting the initial frames of a video sequence to a frozen state, preventing them from being re-denoised, while subsequent frames are marked for regeneration. This functionality is crucial in video processing workflows where maintaining the original texture and contrast of specific frames is necessary, such as in video editing or animation tasks. By using this node, you can ensure that the initial frames remain unchanged, preserving their original quality and appearance, while allowing for creative modifications in the rest of the video sequence.

H3 Prefix Freeze Mask (alpha) Input Parameters:

plan

The plan parameter is a string input that represents the configuration or plan for the video processing task. It is a required input that must be provided by the user. This parameter is crucial as it contains the necessary information to determine which frames should be frozen and which should be regenerated. The plan is typically a JSON string that includes details about the video frames and their handling, ensuring that the node can accurately apply the freeze mask according to the user's specifications.

dilated_length

The dilated_length parameter is an integer input that specifies the length of the dilated video clip on which the mask will be applied. It is a required input with a default value of 0, and it can range from 0 to 36000. This parameter determines the total number of frames in the dilated video sequence, influencing how the freeze mask is applied. If the dilated_length is set to 0 or a negative value, the node automatically adjusts it to match the number of frames in the video, ensuring that the mask is applied correctly across the entire sequence.

H3 Prefix Freeze Mask (alpha) Output Parameters:

mask

The mask output is a tensor that represents the freeze mask applied to the video frames. This mask is a crucial component of the node's functionality, as it dictates which frames are frozen and which are subject to regeneration. The mask is structured as a 3D tensor with dimensions corresponding to the number of frames, height, and width of the video. It is used in conjunction with other nodes to control the processing of video frames, ensuring that the desired frames remain unchanged while others can be creatively modified.

report

The report output is a string that provides a summary of the freeze mask application. It includes details about the number of frames that have been frozen and the total number of dilated frames. This report is useful for users to verify that the node has applied the mask as intended, offering insights into the processing of the video sequence. It serves as a confirmation that the node has executed its function correctly, providing transparency and clarity in the video processing workflow.

H3 Prefix Freeze Mask (alpha) Usage Tips:

  • Ensure that the plan parameter is correctly formatted as a JSON string to avoid errors in mask application.
  • Adjust the dilated_length parameter to match the desired length of your video sequence, ensuring that the mask covers the entire clip.

H3 Prefix Freeze Mask (alpha) Common Errors and Solutions:

ValueError: Invalid plan format

  • Explanation: This error occurs when the plan parameter is not formatted correctly as a JSON string.
  • Solution: Verify that the plan input is a valid JSON string and contains all necessary information for the node to function correctly.

ValueError: Dilated length out of range

  • Explanation: This error arises when the dilated_length parameter is set outside the acceptable range of 0 to 36000.
  • Solution: Adjust the dilated_length parameter to fall within the specified range, ensuring it accurately reflects the length of your video sequence.

H3 Prefix Freeze Mask (alpha) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-MAINodes
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.

H3 Prefix Freeze Mask (alpha)