ComfyUI > Nodes > KJNodes for ComfyUI > ConditioningSetMaskAndCombine3

ComfyUI Node: ConditioningSetMaskAndCombine3

Class Name

ConditioningSetMaskAndCombine3

Category
KJNodes/masking/conditioning
Author
kijai (Account age: 2192days)
Extension
KJNodes for ComfyUI
Latest Updated
2024-06-25
Github Stars
0.35K

How to Install KJNodes for ComfyUI

Install this extension via the ComfyUI Manager by searching for KJNodes for ComfyUI
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter KJNodes for ComfyUI 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

ConditioningSetMaskAndCombine3 Description

Facilitates nuanced conditioning input combination with masks for AI art projects.

ConditioningSetMaskAndCombine3:

The ConditioningSetMaskAndCombine3 node is designed to facilitate the combination of multiple conditioning inputs with corresponding masks and strengths, allowing for a more nuanced and controlled application of conditioning in your AI art projects. This node is particularly useful when you need to apply different conditioning effects to various parts of your input data, using masks to define the areas of influence. By combining up to three sets of conditioning inputs and masks, this node provides a flexible and powerful way to enhance your creative outputs, ensuring that each area of your artwork receives the appropriate conditioning effect based on the specified masks and strengths.

ConditioningSetMaskAndCombine3 Input Parameters:

positive_1

This parameter represents the first set of positive conditioning inputs. These inputs will be combined with the first mask to apply the conditioning effect to the specified area. The strength of this conditioning is controlled by mask_1_strength.

negative_1

This parameter represents the first set of negative conditioning inputs. These inputs will be combined with the first mask to apply the conditioning effect to the specified area, but in a negative manner. The strength of this conditioning is controlled by mask_1_strength.

positive_2

This parameter represents the second set of positive conditioning inputs. These inputs will be combined with the second mask to apply the conditioning effect to the specified area. The strength of this conditioning is controlled by mask_2_strength.

positive_3

This parameter represents the third set of positive conditioning inputs. These inputs will be combined with the third mask to apply the conditioning effect to the specified area. The strength of this conditioning is controlled by mask_3_strength.

negative_2

This parameter represents the second set of negative conditioning inputs. These inputs will be combined with the second mask to apply the conditioning effect to the specified area, but in a negative manner. The strength of this conditioning is controlled by mask_2_strength.

negative_3

This parameter represents the third set of negative conditioning inputs. These inputs will be combined with the third mask to apply the conditioning effect to the specified area, but in a negative manner. The strength of this conditioning is controlled by mask_3_strength.

mask_1

This parameter is the first mask that defines the area where the first set of conditioning inputs (both positive and negative) will be applied. If the mask has less than three dimensions, it will be unsqueezed to ensure compatibility.

mask_2

This parameter is the second mask that defines the area where the second set of conditioning inputs (both positive and negative) will be applied. If the mask has less than three dimensions, it will be unsqueezed to ensure compatibility.

mask_3

This parameter is the third mask that defines the area where the third set of conditioning inputs (both positive and negative) will be applied. If the mask has less than three dimensions, it will be unsqueezed to ensure compatibility.

set_cond_area

This parameter determines whether the conditioning area should be set to the bounds of the mask. It can take the values "default" or "mask bounds". If set to "mask bounds", the conditioning area will be adjusted to fit the mask.

mask_1_strength

This parameter controls the strength of the conditioning effect for the first set of conditioning inputs. It is a float value with a default of 1.0, a minimum of 0.0, and a maximum of 10.0, with a step of 0.01.

mask_2_strength

This parameter controls the strength of the conditioning effect for the second set of conditioning inputs. It is a float value with a default of 1.0, a minimum of 0.0, and a maximum of 10.0, with a step of 0.01.

mask_3_strength

This parameter controls the strength of the conditioning effect for the third set of conditioning inputs. It is a float value with a default of 1.0, a minimum of 0.0, and a maximum of 10.0, with a step of 0.01.

ConditioningSetMaskAndCombine3 Output Parameters:

c

This output parameter represents the combined positive conditioning results after applying the specified masks and strengths. It is a list of conditioning values that have been adjusted based on the input parameters.

c2

This output parameter represents the combined negative conditioning results after applying the specified masks and strengths. It is a list of conditioning values that have been adjusted based on the input parameters.

ConditioningSetMaskAndCombine3 Usage Tips:

  • Ensure that your masks are properly dimensioned; if they have less than three dimensions, they will be unsqueezed automatically.
  • Use the set_cond_area parameter to control whether the conditioning area should match the mask bounds, which can help in precisely targeting specific areas.
  • Adjust the mask_strength parameters to fine-tune the intensity of the conditioning effects for each mask, allowing for more subtle or pronounced changes as needed.

ConditioningSetMaskAndCombine3 Common Errors and Solutions:

"Mask dimension error"

  • Explanation: This error occurs when the mask dimensions are not compatible with the expected input format.
  • Solution: Ensure that your masks have at least three dimensions. If not, they will be automatically unsqueezed, but it's good practice to check your mask dimensions beforehand.

"Invalid set_cond_area value"

  • Explanation: This error occurs when an invalid value is provided for the set_cond_area parameter.
  • Solution: Make sure to use either "default" or "mask bounds" as the value for set_cond_area.

"Strength value out of range"

  • Explanation: This error occurs when the strength value for any mask is outside the allowed range.
  • Solution: Ensure that the strength values are within the range of 0.0 to 10.0, with appropriate steps of 0.01.

ConditioningSetMaskAndCombine3 Related Nodes

Go back to the extension to check out more related nodes.
KJNodes for ComfyUI
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.