* Add SD15 decoder support * Support fg generation * Refactor * Rename category * Add joint support * Standalone joint node * Fix cond mark * CondJoint * Patch ComfyUI * Add split decoder * refactor existing nodes * Update examples
723 lines
12 KiB
JSON
723 lines
12 KiB
JSON
{
|
|
"last_node_id": 53,
|
|
"last_link_id": 88,
|
|
"nodes": [
|
|
{
|
|
"id": 33,
|
|
"type": "ImageResize+",
|
|
"pos": [
|
|
50,
|
|
-10
|
|
],
|
|
"size": {
|
|
"0": 315,
|
|
"1": 170
|
|
},
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 50
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
52,
|
|
54
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "width",
|
|
"type": "INT",
|
|
"links": null,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "height",
|
|
"type": "INT",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "ImageResize+"
|
|
},
|
|
"widgets_values": [
|
|
512,
|
|
512,
|
|
"nearest",
|
|
false
|
|
]
|
|
},
|
|
{
|
|
"id": 6,
|
|
"type": "CLIPTextEncode",
|
|
"pos": [
|
|
415,
|
|
186
|
|
],
|
|
"size": {
|
|
"0": 422.84503173828125,
|
|
"1": 164.31304931640625
|
|
},
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 3
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"links": [
|
|
64
|
|
],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "CLIPTextEncode"
|
|
},
|
|
"widgets_values": [
|
|
"old man sitting, high quality\n\n"
|
|
]
|
|
},
|
|
{
|
|
"id": 7,
|
|
"type": "CLIPTextEncode",
|
|
"pos": [
|
|
413,
|
|
389
|
|
],
|
|
"size": {
|
|
"0": 425.27801513671875,
|
|
"1": 180.6060791015625
|
|
},
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 5
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"links": [
|
|
65
|
|
],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "CLIPTextEncode"
|
|
},
|
|
"widgets_values": [
|
|
"text, watermark"
|
|
]
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "KSampler",
|
|
"pos": [
|
|
915,
|
|
176
|
|
],
|
|
"size": {
|
|
"0": 315,
|
|
"1": 262
|
|
},
|
|
"flags": {},
|
|
"order": 8,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 56
|
|
},
|
|
{
|
|
"name": "positive",
|
|
"type": "CONDITIONING",
|
|
"link": 64
|
|
},
|
|
{
|
|
"name": "negative",
|
|
"type": "CONDITIONING",
|
|
"link": 65
|
|
},
|
|
{
|
|
"name": "latent_image",
|
|
"type": "LATENT",
|
|
"link": 2
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"links": [
|
|
70,
|
|
84
|
|
],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "KSampler"
|
|
},
|
|
"widgets_values": [
|
|
674865838825506,
|
|
"randomize",
|
|
20,
|
|
8,
|
|
"euler",
|
|
"normal",
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"id": 50,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
2040,
|
|
-120
|
|
],
|
|
"size": {
|
|
"0": 210,
|
|
"1": 246
|
|
},
|
|
"flags": {},
|
|
"order": 12,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 85
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
}
|
|
},
|
|
{
|
|
"id": 5,
|
|
"type": "EmptyLatentImage",
|
|
"pos": [
|
|
475,
|
|
666
|
|
],
|
|
"size": {
|
|
"0": 315,
|
|
"1": 106
|
|
},
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"outputs": [
|
|
{
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"links": [
|
|
2
|
|
],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "EmptyLatentImage"
|
|
},
|
|
"widgets_values": [
|
|
512,
|
|
512,
|
|
4
|
|
]
|
|
},
|
|
{
|
|
"id": 44,
|
|
"type": "VAEDecode",
|
|
"pos": [
|
|
1260,
|
|
180
|
|
],
|
|
"size": {
|
|
"0": 210,
|
|
"1": 46
|
|
},
|
|
"flags": {},
|
|
"order": 9,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "samples",
|
|
"type": "LATENT",
|
|
"link": 70
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"type": "VAE",
|
|
"link": 88,
|
|
"slot_index": 1
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
75,
|
|
83
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "VAEDecode"
|
|
}
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "CheckpointLoaderSimple",
|
|
"pos": [
|
|
5,
|
|
479
|
|
],
|
|
"size": {
|
|
"0": 315,
|
|
"1": 98
|
|
},
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"outputs": [
|
|
{
|
|
"name": "MODEL",
|
|
"type": "MODEL",
|
|
"links": [
|
|
55
|
|
],
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "CLIP",
|
|
"type": "CLIP",
|
|
"links": [
|
|
3,
|
|
5
|
|
],
|
|
"slot_index": 1
|
|
},
|
|
{
|
|
"name": "VAE",
|
|
"type": "VAE",
|
|
"links": [
|
|
88
|
|
],
|
|
"slot_index": 2
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "CheckpointLoaderSimple"
|
|
},
|
|
"widgets_values": [
|
|
"realisticVisionV20_v20.safetensors"
|
|
]
|
|
},
|
|
{
|
|
"id": 46,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
1460,
|
|
410
|
|
],
|
|
"size": [
|
|
406.59525756835933,
|
|
340.5699157714844
|
|
],
|
|
"flags": {},
|
|
"order": 10,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 75
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
}
|
|
},
|
|
{
|
|
"id": 34,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
471,
|
|
-337
|
|
],
|
|
"size": {
|
|
"0": 210,
|
|
"1": 246
|
|
},
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 52
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
}
|
|
},
|
|
{
|
|
"id": 37,
|
|
"type": "LayeredDiffusionCondJointApply",
|
|
"pos": [
|
|
429,
|
|
-13
|
|
],
|
|
"size": {
|
|
"0": 388,
|
|
"1": 138
|
|
},
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 55,
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 54,
|
|
"slot_index": 1
|
|
},
|
|
{
|
|
"name": "cond",
|
|
"type": "CONDITIONING",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "blended_cond",
|
|
"type": "CONDITIONING",
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "MODEL",
|
|
"type": "MODEL",
|
|
"links": [
|
|
56
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LayeredDiffusionCondJointApply"
|
|
},
|
|
"widgets_values": [
|
|
"SD15, Background, attn_sharing, Batch size (2N)"
|
|
],
|
|
"color": "#232",
|
|
"bgcolor": "#353"
|
|
},
|
|
{
|
|
"id": 52,
|
|
"type": "LayeredDiffusionDecodeSplit",
|
|
"pos": [
|
|
1544,
|
|
177
|
|
],
|
|
"size": {
|
|
"0": 315,
|
|
"1": 146
|
|
},
|
|
"flags": {},
|
|
"order": 11,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "samples",
|
|
"type": "LATENT",
|
|
"link": 84
|
|
},
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 83
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
85
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
86
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 1
|
|
},
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LayeredDiffusionDecodeSplit"
|
|
},
|
|
"widgets_values": [
|
|
2,
|
|
"SDXL",
|
|
16
|
|
],
|
|
"color": "#232",
|
|
"bgcolor": "#353"
|
|
},
|
|
{
|
|
"id": 51,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
2040,
|
|
201
|
|
],
|
|
"size": {
|
|
"0": 210,
|
|
"1": 246
|
|
},
|
|
"flags": {},
|
|
"order": 13,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 86
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
}
|
|
},
|
|
{
|
|
"id": 30,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
-313,
|
|
-10
|
|
],
|
|
"size": {
|
|
"0": 315,
|
|
"1": 314
|
|
},
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
50
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"309219693-e7e2d80e-ffbe-4724-812a-5139a88027e3.png",
|
|
"image"
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
2,
|
|
5,
|
|
0,
|
|
3,
|
|
3,
|
|
"LATENT"
|
|
],
|
|
[
|
|
3,
|
|
4,
|
|
1,
|
|
6,
|
|
0,
|
|
"CLIP"
|
|
],
|
|
[
|
|
5,
|
|
4,
|
|
1,
|
|
7,
|
|
0,
|
|
"CLIP"
|
|
],
|
|
[
|
|
50,
|
|
30,
|
|
0,
|
|
33,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
52,
|
|
33,
|
|
0,
|
|
34,
|
|
0,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