ComfyUI Nodes
conditioning
Conditioning Set Mask

Conditioning (Set Mask)

comfyUI节点-Conditioning(Set Mask)|条件设置遮罩

Documentation

  • Class name: ConditioningSetMask
  • Category: conditioning
  • Output node: False

This node is designed to modify the conditioning of a generative model by applying a mask with a specified strength to certain areas. It allows for targeted adjustments within the conditioning, enabling more precise control over the generation process.

Input types

Required

ParameterComfy dtypeDescription
conditioningCONDITIONINGThe conditioning data to be modified. It serves as the basis for applying the mask and strength adjustments.
maskMASKA mask tensor that specifies the areas within the conditioning to be modified.
strengthFLOATThe strength of the mask's effect on the conditioning, allowing for fine-tuning of the applied modifications.
set_cond_areaCOMBO[STRING]Determines whether the mask's effect is applied to the default area or bounded by the mask itself, offering flexibility in targeting specific regions.

Output types

ParameterComfy dtypeDescription
conditioningCONDITIONINGThe modified conditioning data, with the mask and strength adjustments applied.