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 > MiniMax H3 Context Loop > MiniMax H3 Masking · Apply Target Mask

ComfyUI Node: MiniMax H3 Masking · Apply Target Mask

Class Name

MiniMaxH3ContexMaskedTarget

Category
conditioning/minimax/context_loop/masking
Author
ethanfel (Account age: 3434days)
Extension
MiniMax H3 Context Loop
Latest Updated
2026-10-06
Github Stars
0.51K

How to Install MiniMax H3 Context Loop

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

MiniMax H3 Masking · Apply Target Mask Description

Advanced denoise mask application for precise video/audio editing in MiniMax H3 framework.

MiniMax H3 Masking · Apply Target Mask:

The MiniMaxH3ContexMaskedTarget node is designed for advanced video and audio editing within the MiniMax H3 framework, focusing on applying denoise masks to audiovisual content. This node is particularly useful for tasks involving inpainting and temporal edits, where precise control over which parts of the video or audio are altered is crucial. By leveraging causal and token-aligned H3 video/audio denoise masks, it allows for sophisticated manipulation of media content, ensuring that only the desired areas are affected while preserving the integrity of the rest. This capability is essential for artists and creators who need to maintain high-quality outputs while making specific edits to their media projects.

MiniMax H3 Masking · Apply Target Mask Input Parameters:

target

The target parameter represents the source audiovisual content to which the denoise masks will be applied. It typically includes both video and audio data encapsulated in a nested tensor format. This parameter is crucial as it defines the base content that will undergo editing, and its structure must be compatible with the node's processing requirements.

mask

The mask parameter is a tensor that specifies the areas of the target content to be affected by the denoise operation. It is used to define which parts of the video or audio should be preserved or generated anew. The mask's values and dimensions must align with the target content to ensure accurate application of the denoise effect.

mask_meaning

The mask_meaning parameter determines the interpretation of the mask values, with options such as "white = generate" or "white = preserve." This setting dictates whether the white areas in the mask should be regenerated or preserved, providing flexibility in how the mask is applied to the target content.

mask_conversion

The mask_conversion parameter specifies the method used to convert the mask for application to the target content. It supports modes like "H3 exact causal/token max," which ensures precise alignment with the H3 framework's requirements. This parameter is essential for ensuring that the mask is correctly adapted to the target's format.

audio_mask_mode

The audio_mask_mode parameter defines how the audio portion of the target should be handled, with options such as "preserve source audio," "generate all audio," "follow video mask," and "custom audio mask." This setting allows for tailored audio processing, ensuring that the audio edits align with the user's creative goals.

MiniMax H3 Masking · Apply Target Mask Output Parameters:

masked_target

The masked_target output is a copy of the target content with the applied H3 video and audio denoise masks. This output reflects the edited version of the input content, showcasing the areas that have been preserved or regenerated according to the mask settings. It is the primary result of the node's processing, ready for further use or export.

mask_info

The mask_info output provides a summary of the mask application process, including details about the latent dimensions and the percentage of content generated for each stream. This information is valuable for understanding the impact of the mask on the target content and for verifying that the desired edits have been correctly applied.

MiniMax H3 Masking · Apply Target Mask Usage Tips:

  • Ensure that the mask parameter is correctly aligned with the dimensions of the target to avoid misapplication of the denoise effect.
  • Use the mask_meaning parameter to control whether the white areas in the mask should be preserved or regenerated, depending on your editing goals.

MiniMax H3 Masking · Apply Target Mask Common Errors and Solutions:

Unknown H3 mask meaning

  • Explanation: This error occurs when an invalid value is provided for the mask_meaning parameter.
  • Solution: Ensure that the mask_meaning is set to either "white = generate" or "white = preserve."

Unknown H3 mask conversion mode

  • Explanation: This error indicates that the mask_conversion parameter has been set to an unsupported mode.
  • Solution: Verify that the mask_conversion is set to a valid mode, such as "H3 exact causal/token max."

Custom audio mode requires the optional audio_mask

  • Explanation: This error arises when the audio_mask_mode is set to "custom audio mask" without providing the necessary audio mask.
  • Solution: Provide a valid audio mask when using the "custom audio mask" mode to ensure proper audio processing.

MiniMax H3 Masking · Apply Target Mask Related Nodes

Go back to the extension to check out more related nodes.
MiniMax H3 Context Loop
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.

MiniMax H3 Masking · Apply Target Mask