A lot of nodes still missing after i imported the JSON. Seems bloated with unnecessary nodes.
This approach is more straight forward:
{
"last_node_id": 175,
"last_link_id": 529,
"nodes": [
{
"id": 168,
"type": "UpscaleModelLoader",
"pos": [
4251,
448
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "UPSCALE_MODEL",
"type": "UPSCALE_MODEL",
"links": [
500
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "UpscaleModelLoader"
},
"widgets_values": [
"ESRGAN_4x.pth"
]
},
{
"id": 147,
"type": "Image Comparer (rgthree)",
"pos": {
"0": -1055,
"1": 927,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": {
"0": 812.3306274414062,
"1": 418.9150695800781
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "image_a",
"type": "IMAGE",
"link": 413,
"dir": 3
},
{
"name": "image_b",
"type": "IMAGE",
"link": 390,
"dir": 3
}
],
"outputs": [],
"properties": {
"comparer_mode": "Slide"
},
"widgets_values": [
[
{
"name": "A",
"selected": true,
"url": "/view?filename=rgthree.compare._temp_sretm_00177_.png&type=temp&subfolder=&rand=0.5795006401614622"
},
{
"name": "B",
"selected": true,
"url": "/view?filename=rgthree.compare._temp_sretm_00178_.png&type=temp&subfolder=&rand=0.8444295113610245"
}
]
]
},
{
"id": 174,
"type": "LoadImage",
"pos": [
-1862,
449
],
"size": {
"0": 315,
"1": 314.0000305175781
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
507,
521
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"4.jpg",
"image"
]
},
{
"id": 101,
"type": "ImageResizeKJ",
"pos": [
-1441,
793
],
"size": {
"0": 315,
"1": 242
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 507
},
{
"name": "get_image_size",
"type": "IMAGE",
"link": null
},
{
"name": "width_input",
"type": "INT",
"link": null,
"widget": {
"name": "width_input"
}
},
{
"name": "height_input",
"type": "INT",
"link": null,
"widget": {
"name": "height_input"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
413,
491,
510,
516,
529
],
"shape": 3,
"slot_index": 0
},
{
"name": "width",
"type": "INT",
"links": [
514,
525
],
"shape": 3,
"slot_index": 1
},
{
"name": "height",
"type": "INT",
"links": [
515,
526
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "ImageResizeKJ"
},
"widgets_values": [
1216,
832,
"lanczos",
true,
2,
0,
0
]
},
{
"id": 116,
"type": "Display Any (rgthree)",
"pos": [
-1458,
653
],
"size": {
"0": 210,
"1": 76.00003051757812
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 514,
"dir": 3
}
],
"properties": {
"Node name for S&R": "Display Any (rgthree)"
},
"widgets_values": [
""
]
},
{
"id": 100,
"type": "Display Any (rgthree)",
"pos": [
-1231,
648
],
"size": {
"0": 210,
"1": 76
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 515,
"dir": 3
}
],
"properties": {
"Node name for S&R": "Display Any (rgthree)"
},
"widgets_values": [
""
]
},
{
"id": 148,
"type": "Image Filter Adjustments",
"pos": [
-1444,
1107
],
"size": {
"0": 315,
"1": 226
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 516
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
390,
411,
523,
524
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Image Filter Adjustments"
},
"widgets_values": [
0,
1,
0,
1,
0,
0,
0,
"true"
]
},
{
"id": 99,
"type": "ControlNetApplyAdvanced",
"pos": [
-97,
719
],
"size": {
"0": 330.7483215332031,
"1": 169.66773986816406
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 437
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 438
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 337
},
{
"name": "image",
"type": "IMAGE",
"link": 523
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
508
],
"shape": 3,
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
509
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "ControlNetApplyAdvanced"
},
"widgets_values": [
0.85,
0,
1
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 135,
"type": "ControlNetLoader",
"pos": [
-109,
463
],
"size": {
"0": 337.7017517089844,
"1": 58
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
337
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"SDXL\\diffusion_pytorch_model.safetensors"
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 76,
"type": "AIO_Preprocessor",
"pos": [
-96,
590
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 411
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "AIO_Preprocessor"
},
"widgets_values": [
"LineArtPreprocessor",
512
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 96,
"type": "ControlNetLoader",
"pos": [
338,
472
],
"size": {
"0": 378.6227722167969,
"1": 66.35240936279297
},
"flags": {
"collapsed": false
},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
382
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"control-lora-recolor-rank256.safetensors"
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 98,
"type": "ControlNetApplyAdvanced",
"pos": [
364,
718
],
"size": {
"0": 315,
"1": 166
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 508
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 509
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 382
},
{
"name": "image",
"type": "IMAGE",
"link": 524
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
439
],
"shape": 3,
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
440
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "ControlNetApplyAdvanced"
},
"widgets_values": [
1,
0,
1
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 3,
"type": "CLIPTextEncode",
"pos": [
-662,
405
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 223
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
437
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"color photo, (masterpiece), sharp, high quality, 8k, epic"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 4,
"type": "CLIPTextEncode",
"pos": [
-661,
661
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 224
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
438
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"black and white photo, grain, blur CGI, Unreal, Airbrushed, Digital, sepia, "
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 1,
"type": "CheckpointLoaderSimple",
"pos": [
-1451,
451
],
"size": {
"0": 442.2247314453125,
"1": 98
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
415
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
223,
224
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
225
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"realvisxlV40_v40LightningBakedvae.safetensors"
]
},
{
"id": 6,
"type": "VAEDecode",
"pos": [
837,
451
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 7
},
{
"name": "vae",
"type": "VAE",
"link": 225
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
499,
528
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"color": "#323",
"bgcolor": "#535"
},
{
"id": 22,
"type": "EmptyLatentImage",
"pos": [
824,
564
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "width",
"type": "INT",
"link": 525,
"widget": {
"name": "width"
},
"slot_index": 0
},
{
"name": "height",
"type": "INT",
"link": 526,
"widget": {
"name": "height"
}
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
39
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1216,
832,
1
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 2,
"type": "KSampler",
"pos": [
827,
725
],
"size": {
"0": 315,
"1": 262
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 415
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 439
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 440
},
{
"name": "latent_image",
"type": "LATENT",
"link": 39,
"slot_index": 3
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
7
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
1012,
"fixed",
5,
1.98,
"dpmpp_sde",
"karras",
1
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 142,
"type": "Image Comparer (rgthree)",
"pos": {
"0": 1235,
"1": 318,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": {
"0": 1015.2470092773438,
"1": 878.2045288085938
},
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "image_a",
"type": "IMAGE",
"link": 491,
"dir": 3
},
{
"name": "image_b",
"type": "IMAGE",
"link": 499,
"dir": 3
}
],
"outputs": [],
"properties": {
"comparer_mode": "Slide"
},
"widgets_values": [
[
{
"name": "A",
"selected": true,
"url": "/view?filename=rgthree.compare._temp_sipcp_00169_.png&type=temp&subfolder=&rand=0.3738257202889499"
},
{
"name": "B",
"selected": true,
"url": "/view?filename=rgthree.compare._temp_sipcp_00170_.png&type=temp&subfolder=&rand=0.4218675691985334"
}
]
]
},
{
"id": 161,
"type": "Image Blending Mode",
"pos": [
2369,
304
],
"size": {
"0": 315,
"1": 102
},
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "image_a",
"type": "IMAGE",
"link": 529
},
{
"name": "image_b",
"type": "IMAGE",
"link": 528,
"slot_index": 1
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
498,
505
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Image Blending Mode"
},
"widgets_values": [
"add",
0.85
]
},
{
"id": 162,
"type": "Image Comparer (rgthree)",
"pos": {
"0": 3027,
"1": 429,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": {
"0": 991.1160278320312,
"1": 853.8798828125
},
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "image_a",
"type": "IMAGE",
"link": 498,
"dir": 3
},
{
"name": "image_b",
"type": "IMAGE",
"link": 510,
"dir": 3
}
],
"outputs": [],
"properties": {
"comparer_mode": "Slide"
},
"widgets_values": [
[
{
"name": "A",
"selected": true,
"url": "/view?filename=rgthree.compare._temp_dutfq_00099_.png&type=temp&subfolder=&rand=0.5646718577351959"
},
{
"name": "B",
"selected": true,
"url": "/view?filename=rgthree.compare._temp_dutfq_00100_.png&type=temp&subfolder=&rand=0.1823976515213792"
}
]
]
},
{
"id": 175,
"type": "Image Comparer (rgthree)",
"pos": {
"0": 4671,
"1": 444,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": {
"0": 1341.871337890625,
"1": 779.1528930664062
},
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "image_a",
"type": "IMAGE",
"link": 521,
"dir": 3
},
{
"name": "image_b",
"type": "IMAGE",
"link": 522,
"dir": 3,
"slot_index": 1
}
],
"outputs": [],
"properties": {
"comparer_mode": "Slide"
},
"widgets_values": [
[
{
"name": "A",
"selected": true,
"url": "/view?filename=rgthree.compare._temp_nopdz_00001_.png&type=temp&subfolder=&rand=0.605388896898732"
},
{
"name": "B",
"selected": true,
"url": "/view?filename=rgthree.compare._temp_nopdz_00002_.png&type=temp&subfolder=&rand=0.8211944580303785"
}
]
]
},
{
"id": 167,
"type": "ImageUpscaleWithModel",
"pos": [
4256,
567
],
"size": {
"0": 241.79998779296875,
"1": 46
},
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "upscale_model",
"type": "UPSCALE_MODEL",
"link": 500,
"slot_index": 0
},
{
"name": "image",
"type": "IMAGE",
"link": 505
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
501
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageUpscaleWithModel"
}
},
{
"id": 169,
"type": "ImageScaleBy",
"pos": [
4250,
685
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 501
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
522
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageScaleBy"
},
"widgets_values": [
"lanczos",
1.5
]
}
],
"links": [
[
7,
2,
0,
6,
0,
"LATENT"
],
[
39,
22,
0,
2,
3,
"LATENT"
],
[
223,
1,
1,
3,
0,
"CLIP"
],
[
224,
1,
1,
4,
0,
"CLIP"
],
[
225,
1,
2,
6,
1,
"VAE"
],
[
337,
135,
0,
99,
2,
"CONTROL_NET"
],
[
382,
96,
0,
98,
2,
"CONTROL_NET"
],
[
390,
148,
0,
147,
1,
"IMAGE"
],
[
411,
148,
0,
76,
0,
"IMAGE"
],
[
413,
101,
0,
147,
0,
"IMAGE"
],
[
415,
1,
0,
2,
0,
"MODEL"
],
[
437,
3,
0,
99,
0,
"CONDITIONING"
],
[
438,
4,
0,
99,
1,
"CONDITIONING"
],
[
439,
98,
0,
2,
1,
"CONDITIONING"
],
[
440,
98,
1,
2,
2,
"CONDITIONING"
],
[
491,
101,
0,
142,
0,
"IMAGE"
],
[
498,
161,
0,
162,
0,
"IMAGE"
],
[
499,
6,
0,
142,
1,
"IMAGE"
],
[
500,
168,
0,
167,
0,
"UPSCALE_MODEL"
],
[
501,
167,
0,
169,
0,
"IMAGE"
],
[
505,
161,
0,
167,
1,
"IMAGE"
],
[
507,
174,
0,
101,
0,
"IMAGE"
],
[
508,
99,
0,
98,
0,
"CONDITIONING"
],
[
509,
99,
1,
98,
1,
"CONDITIONING"
],
[
510,
101,
0,
162,
1,
"IMAGE"
],
[
514,
101,
1,
116,
0,
"*"
],
[
515,
101,
2,
100,
0,
"*"
],
[
516,
101,
0,
148,
0,
"IMAGE"
],
[
521,
174,
0,
175,
0,
"IMAGE"
],
[
522,
169,
0,
175,
1,
"IMAGE"
],
[
523,
148,
0,
99,
3,
"IMAGE"
],
[
524,
148,
0,
98,
3,
"IMAGE"
],
[
525,
101,
1,
22,
0,
"INT"
],
[
526,
101,
2,
22,
1,
"INT"
],
[
528,
6,
0,
161,
1,
"IMAGE"
],
[
529,
101,
0,
161,
0,
"IMAGE"
]
],
"groups": [
{
"title": "Group",
"bounding": [
-150,
377,
884,
535
],
"color": "#3f789e",
"font_size": 24,
"locked": false
},
{
"title": "Group",
"bounding": [
813,
372,
337,
629
],
"color": "#3f789e",
"font_size": 24,
"locked": false
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.2099283210943801,
"offset": {
"0": 3933.3217389513957,
"1": 2163.3702143353316
}
}
},
"version": 0.4
}
I haven't run this yet but it might help somebody.