ModelMergeSDXL
advanced/model_merging/model_specific
ModelMergeSDXLExample
JSON Example
{
"class_type": "ModelMergeSDXL",
"inputs": {
"model1": [
"node_id",
0
],
"model2": [
"node_id",
0
],
"time_embed.": 1,
"label_emb.": 1,
"input_blocks.0": 1,
"input_blocks.1": 1,
"input_blocks.2": 1,
"input_blocks.3": 1,
"input_blocks.4": 1,
"input_blocks.5": 1,
"input_blocks.6": 1,
"input_blocks.7": 1,
"input_blocks.8": 1,
"middle_block.0": 1,
"middle_block.1": 1,
"middle_block.2": 1,
"output_blocks.0": 1,
"output_blocks.1": 1,
"output_blocks.2": 1,
"output_blocks.3": 1,
"output_blocks.4": 1,
"output_blocks.5": 1,
"output_blocks.6": 1,
"output_blocks.7": 1,
"output_blocks.8": 1,
"out.": 1
}
}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 |
|---|---|---|---|---|
model1 | MODEL | required | - | - |
model2 | MODEL | required | - | - |
time_embed. | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
label_emb. | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
input_blocks.0 | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
input_blocks.1 | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
input_blocks.2 | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
input_blocks.3 | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
input_blocks.4 | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
input_blocks.5 | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
input_blocks.6 | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
input_blocks.7 | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
input_blocks.8 | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
middle_block.0 | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
middle_block.1 | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
middle_block.2 | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
output_blocks.0 | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
output_blocks.1 | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
output_blocks.2 | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
output_blocks.3 | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
output_blocks.4 | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
output_blocks.5 | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
output_blocks.6 | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
output_blocks.7 | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
output_blocks.8 | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
out. | FLOAT | required | min: 0, max: 1, step: 0.01 | 1 |
Outputs
| Index | Name | Type | Is List | Connection Reference |
|---|---|---|---|---|
0 | MODEL | MODEL | No | ["{node_id}", 0] |
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 ModelMergeSDXL node in your workflow, and output_index is the index from the table above.
Example
If this node has ID "5" in your workflow:
MODEL (MODEL):["5", 0]
Was this page helpful?