ConditioningSetMaskAndCombine5
KJNodes/masking/conditioning
ConditioningSetMaskAndCombine5Bundles multiple conditioning mask and combine nodes into one,functionality is identical to ComfyUI native nodes
Example
JSON Example
{
"class_type": "ConditioningSetMaskAndCombine5",
"inputs": {
"positive_1": [
"node_id",
0
],
"negative_1": [
"node_id",
0
],
"positive_2": [
"node_id",
0
],
"negative_2": [
"node_id",
0
],
"positive_3": [
"node_id",
0
],
"negative_3": [
"node_id",
0
],
"positive_4": [
"node_id",
0
],
"negative_4": [
"node_id",
0
],
"positive_5": [
"node_id",
0
],
"negative_5": [
"node_id",
0
],
"mask_1": [
"node_id",
0
],
"mask_2": [
"node_id",
0
],
"mask_3": [
"node_id",
0
],
"mask_4": [
"node_id",
0
],
"mask_5": [
"node_id",
0
],
"mask_1_strength": 1,
"mask_2_strength": 1,
"mask_3_strength": 1,
"mask_4_strength": 1,
"mask_5_strength": 1,
"set_cond_area": "default"
}
}This example shows required inputs only. Connection values like ["node_id", 0] should reference actual node IDs from your workflow.
Inputs
| Name | Type | Status | Constraints | Default |
|---|---|---|---|---|
positive_1 | CONDITIONING | required | - | - |
negative_1 | CONDITIONING | required | - | - |
positive_2 | CONDITIONING | required | - | - |
negative_2 | CONDITIONING | required | - | - |
positive_3 | CONDITIONING | required | - | - |
negative_3 | CONDITIONING | required | - | - |
positive_4 | CONDITIONING | required | - | - |
negative_4 | CONDITIONING | required | - | - |
positive_5 | CONDITIONING | required | - | - |
negative_5 | CONDITIONING | required | - | - |
mask_1 | MASK | required | - | - |
mask_2 | MASK | required | - | - |
mask_3 | MASK | required | - | - |
mask_4 | MASK | required | - | - |
mask_5 | MASK | required | - | - |
mask_1_strength | FLOAT | required | min: 0, max: 10, step: 0.01 | 1 |
mask_2_strength | FLOAT | required | min: 0, max: 10, step: 0.01 | 1 |
mask_3_strength | FLOAT | required | min: 0, max: 10, step: 0.01 | 1 |
mask_4_strength | FLOAT | required | min: 0, max: 10, step: 0.01 | 1 |
mask_5_strength | FLOAT | required | min: 0, max: 10, step: 0.01 | 1 |
set_cond_area | ENUM2 options
| required | - | - |
Outputs
| Index | Name | Type | Is List | Connection Reference |
|---|---|---|---|---|
0 | combined_positive | CONDITIONING | No | ["{node_id}", 0] |
1 | combined_negative | CONDITIONING | No | ["{node_id}", 1] |
How to connect to these outputs
To connect another node's input to an output from this node, use the connection reference format:
["node_id", output_index]Where node_id is the ID of this ConditioningSetMaskAndCombine5 node in your workflow, and output_index is the index from the table above.
Example
If this node has ID "5" in your workflow:
combined_positive (CONDITIONING):["5", 0]combined_negative (CONDITIONING):["5", 1]
Was this page helpful?