comfyui-workflow / SDXL-Tidy-LCM-PromptStyler-UpscaleModelSwitch-ControlNet-FaceDetailer.json
marhensa's picture
Upload All in One Workflow
fe87f8b
raw
history blame
56.8 kB
{
"last_node_id": 183,
"last_link_id": 532,
"nodes": [
{
"id": 90,
"type": "Reroute",
"pos": [
250,
120
],
"size": [
75,
26
],
"flags": {
"pinned": true
},
"order": 29,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 495
}
],
"outputs": [
{
"name": "",
"type": "MODEL",
"links": [
470
],
"label": "MODEL",
"slot_index": 0
}
],
"title": "MODEL",
"properties": {
"showOutputText": false,
"horizontal": false,
"showTitle": true
},
"color": "#323",
"bgcolor": "#535"
},
{
"id": 89,
"type": "Reroute",
"pos": [
250,
150
],
"size": [
75,
26
],
"flags": {
"pinned": true
},
"order": 30,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 496
}
],
"outputs": [
{
"name": "",
"type": "CLIP",
"links": [
178,
179,
515
],
"slot_index": 0,
"label": "CLIP"
}
],
"title": "CLIP",
"properties": {
"showOutputText": false,
"horizontal": false,
"showTitle": true
},
"color": "#432",
"bgcolor": "#653"
},
{
"id": 49,
"type": "VAELoader",
"pos": [
0,
30
],
"size": {
"0": 238.3166046142578,
"1": 58.831241607666016
},
"flags": {
"pinned": true
},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
174
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"SDXL\\sdxl-vae-fp16-fix.safetensors"
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 81,
"type": "Reroute",
"pos": [
250,
90
],
"size": [
75,
26
],
"flags": {
"pinned": true
},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 174
}
],
"outputs": [
{
"name": "",
"type": "VAE",
"links": [
161,
426,
522,
525
],
"slot_index": 0,
"label": "VAE"
}
],
"title": "VAE",
"properties": {
"showOutputText": false,
"horizontal": false,
"showTitle": true
},
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 13,
"type": "PrimitiveNode",
"pos": [
330,
420
],
"size": {
"0": 310,
"1": 280
},
"flags": {
"pinned": true
},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
190
],
"slot_index": 0,
"widget": {
"name": "text_positive"
}
}
],
"title": "Positive Prompt (Text)",
"properties": {},
"widgets_values": [
"(futuristic AI cat, half organic half robot, in a high tech environment:1.2), full body shot, bright environment"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 14,
"type": "PrimitiveNode",
"pos": [
330,
730
],
"size": {
"0": 310,
"1": 140
},
"flags": {
"pinned": true
},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
191
],
"slot_index": 0,
"widget": {
"name": "text_negative"
}
}
],
"title": "Negative Prompt (Text)",
"properties": {},
"widgets_values": [
"(semi-realistic, cgi, 2.5d, 3d:1.3), (anthropomorphic, humanoid:1.2), watermark, signature, text, frame, mirror, polaroid, deformed iris, deformed pupils, dark environment"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 99,
"type": "Reroute",
"pos": [
1110,
750
],
"size": [
75,
26
],
"flags": {
"pinned": true
},
"order": 44,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 437
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [],
"label": "NO",
"slot_index": 0
}
],
"title": "NO",
"properties": {
"showOutputText": false,
"horizontal": false,
"showTitle": true
},
"color": "#322",
"bgcolor": "#533"
},
{
"id": 96,
"type": "Reroute",
"pos": [
1110,
820
],
"size": [
75,
26
],
"flags": {
"pinned": true
},
"order": 52,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 523
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
532
],
"slot_index": 0,
"label": "YES"
}
],
"title": "YES",
"properties": {
"showOutputText": false,
"horizontal": false,
"showTitle": true
},
"color": "#232",
"bgcolor": "#353"
},
{
"id": 97,
"type": "Reroute",
"pos": [
1210,
790
],
"size": [
75,
26
],
"flags": {
"pinned": true
},
"order": 53,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 532
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
439
],
"slot_index": 0,
"label": "Upscale"
}
],
"title": "Upscale",
"properties": {
"showOutputText": false,
"horizontal": false,
"showTitle": true
},
"color": "#323",
"bgcolor": "#535"
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
640,
720
],
"size": {
"0": 248.73333740234375,
"1": 60.17894744873047
},
"flags": {
"collapsed": false,
"pinned": true
},
"order": 31,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 178
},
{
"name": "text",
"type": "STRING",
"link": 236,
"widget": {
"name": "text"
},
"slot_index": 1
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
300,
450,
504
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
640,
810
],
"size": {
"0": 249.24461364746094,
"1": 70.37451934814453
},
"flags": {
"collapsed": false,
"pinned": true
},
"order": 32,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 179
},
{
"name": "text",
"type": "STRING",
"link": 193,
"widget": {
"name": "text"
},
"slot_index": 1
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
301,
451,
503
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 19,
"type": "SaveImage",
"pos": [
1300,
30
],
"size": {
"0": 618.572021484375,
"1": 883.58544921875
},
"flags": {
"pinned": true
},
"order": 55,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 530,
"slot_index": 0
}
],
"properties": {},
"widgets_values": [
"%date:yyyy-MM-dd%/ComfyUI_%date:yyyyMMdd%_%date:hhmmss%"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 85,
"type": "ImageScaleBy",
"pos": [
510,
910
],
"size": {
"0": 315,
"1": 82
},
"flags": {
"collapsed": true,
"pinned": true
},
"order": 46,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 163
},
{
"name": "scale_by",
"type": "FLOAT",
"link": 229,
"widget": {
"name": "scale_by"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
521
],
"shape": 3,
"slot_index": 0
}
],
"title": "Scale Image By",
"properties": {
"Node name for S&R": "ImageScaleBy"
},
"widgets_values": [
"area",
1
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 5,
"type": "EmptyLatentImage",
"pos": [
0,
650
],
"size": {
"0": 329.09759521484375,
"1": 79.86509704589844
},
"flags": {
"pinned": true
},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "width",
"type": "INT",
"link": 227,
"widget": {
"name": "width"
}
},
{
"name": "height",
"type": "INT",
"link": 228,
"widget": {
"name": "height"
}
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
508
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1344,
768,
1
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 83,
"type": "UpscaleModelLoader",
"pos": [
0,
570
],
"size": {
"0": 328.7811279296875,
"1": 59.69895935058594
},
"flags": {
"pinned": true
},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "UPSCALE_MODEL",
"type": "UPSCALE_MODEL",
"links": [
158
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UpscaleModelLoader"
},
"widgets_values": [
"4x-UltraSharp.pth"
]
},
{
"id": 105,
"type": "RecommendedResCalc",
"pos": [
0,
750
],
"size": {
"0": 329.2805480957031,
"1": 162
},
"flags": {
"pinned": true
},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "recomm width",
"type": "INT",
"links": [
227
],
"shape": 3,
"slot_index": 0
},
{
"name": "recomm height",
"type": "INT",
"links": [
228
],
"shape": 3,
"slot_index": 1
},
{
"name": "upscale factor",
"type": "FLOAT",
"links": [
510
],
"shape": 3,
"slot_index": 2
},
{
"name": "reverse upscale for 4x",
"type": "FLOAT",
"links": [
229
],
"shape": 3,
"slot_index": 3
},
{
"name": "reverse upscale for 2x",
"type": "FLOAT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "RecommendedResCalc"
},
"widgets_values": [
1600,
2000
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 118,
"type": "Reroute",
"pos": [
-50,
950
],
"size": [
75,
26
],
"flags": {
"pinned": true
},
"order": 34,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 301
}
],
"outputs": [
{
"name": "",
"type": "CONDITIONING",
"links": [
303
],
"slot_index": 0,
"label": "Clip -"
}
],
"title": "Clip -",
"properties": {
"showOutputText": false,
"horizontal": false,
"showTitle": true
},
"color": "#432",
"bgcolor": "#653"
},
{
"id": 117,
"type": "Reroute",
"pos": [
-50,
920
],
"size": [
75,
26
],
"flags": {
"pinned": true
},
"order": 33,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 300
}
],
"outputs": [
{
"name": "",
"type": "CONDITIONING",
"links": [
302
],
"slot_index": 0,
"label": "Clip +"
}
],
"title": "Clip +",
"properties": {
"showOutputText": false,
"horizontal": false,
"showTitle": true
},
"color": "#432",
"bgcolor": "#653"
},
{
"id": 120,
"type": "Reroute",
"pos": [
1940,
950
],
"size": [
75,
26
],
"flags": {
"pinned": true
},
"order": 39,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 288
}
],
"outputs": [
{
"name": "",
"type": "CONDITIONING",
"links": [
502
],
"slot_index": 0,
"label": "Clip -"
}
],
"title": "Clip -",
"properties": {
"showOutputText": false,
"horizontal": false,
"showTitle": true
},
"color": "#432",
"bgcolor": "#653"
},
{
"id": 119,
"type": "Reroute",
"pos": [
1940,
920
],
"size": [
75,
26
],
"flags": {
"pinned": true
},
"order": 38,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 287,
"slot_index": 0
}
],
"outputs": [
{
"name": "",
"type": "CONDITIONING",
"links": [
514
],
"slot_index": 0,
"label": "Clip +"
}
],
"title": "Clip +",
"properties": {
"showOutputText": false,
"horizontal": false,
"showTitle": true
},
"color": "#432",
"bgcolor": "#653"
},
{
"id": 86,
"type": "VAEDecode",
"pos": [
340,
910
],
"size": {
"0": 210,
"1": 46
},
"flags": {
"collapsed": true,
"pinned": true
},
"order": 41,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 476
},
{
"name": "vae",
"type": "VAE",
"link": 161
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
162,
437
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"color": "#223",
"bgcolor": "#335"
},
{
"id": 84,
"type": "ImageUpscaleWithModel",
"pos": [
913,
855
],
"size": {
"0": 206.70957946777344,
"1": 161.29275512695312
},
"flags": {
"collapsed": true,
"pinned": true
},
"order": 43,
"mode": 0,
"inputs": [
{
"name": "upscale_model",
"type": "UPSCALE_MODEL",
"link": 158
},
{
"name": "image",
"type": "IMAGE",
"link": 162
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
163
],
"shape": 3,
"slot_index": 0
}
],
"title": "Upscale w/ 4x Model",
"properties": {
"Node name for S&R": "ImageUpscaleWithModel"
},
"color": "#323",
"bgcolor": "#535"
},
{
"id": 95,
"type": "LoraLoader",
"pos": [
0,
410
],
"size": {
"0": 328.7811279296875,
"1": 129.8031768798828
},
"flags": {
"pinned": false
},
"order": 27,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 194
},
{
"name": "clip",
"type": "CLIP",
"link": 195
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
495
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
496
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LoraLoader"
},
"widgets_values": [
"SDXL\\sd_xl_offset_example-lora_1.0.safetensors",
0,
0
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 175,
"type": "LatentUpscaleBy",
"pos": [
910,
884
],
"size": {
"0": 210,
"1": 78
},
"flags": {
"collapsed": true,
"pinned": true
},
"order": 42,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 509
},
{
"name": "scale_by",
"type": "FLOAT",
"link": 510,
"widget": {
"name": "scale_by"
}
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
511
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LatentUpscaleBy"
},
"widgets_values": [
"area",
1.5
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 174,
"type": "Reroute",
"pos": [
1306,
956
],
"size": [
90.4,
26
],
"flags": {},
"order": 49,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 506,
"slot_index": 0
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
519
],
"slot_index": 0
}
],
"properties": {
"showOutputText": true,
"horizontal": false
}
},
{
"id": 176,
"type": "Reroute",
"pos": [
1171,
924
],
"size": [
90.4,
26
],
"flags": {},
"order": 45,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 511
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": null
}
],
"properties": {
"showOutputText": true,
"horizontal": false
}
},
{
"id": 107,
"type": "LoadImage",
"pos": [
-540,
1156
],
"size": {
"0": 232.79562377929688,
"1": 314
},
"flags": {},
"order": 5,
"mode": 4,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
481,
483,
486
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"title": "Load ControlNet Image",
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"halo.jpg",
"image"
]
},
{
"id": 170,
"type": "ControlNetLoader",
"pos": [
-539,
1566
],
"size": {
"0": 494.8511047363281,
"1": 58
},
"flags": {},
"order": 6,
"mode": 4,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
489
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"sdxl-controlnet\\t2i-adapter_xl_openpose.safetensors"
]
},
{
"id": 164,
"type": "DWPreprocessor",
"pos": [
-224,
1156
],
"size": {
"0": 315,
"1": 178
},
"flags": {},
"order": 19,
"mode": 4,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 481
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
480,
482
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DWPreprocessor"
},
"widgets_values": [
"enable",
"enable",
"enable",
512,
"yolox_l.onnx",
"dw-ll_ucoco_384.onnx"
]
},
{
"id": 126,
"type": "ControlNetApplyAdvanced",
"pos": [
129,
1053
],
"size": {
"0": 315,
"1": 166
},
"flags": {},
"order": 35,
"mode": 4,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 302
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 303
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 489,
"slot_index": 2
},
{
"name": "image",
"type": "IMAGE",
"link": 480
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
304
],
"shape": 3,
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
305
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "ControlNetApplyAdvanced"
},
"widgets_values": [
0.88,
0,
1
]
},
{
"id": 165,
"type": "PreviewImage",
"pos": [
124,
1264
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 24,
"mode": 4,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 482
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 171,
"type": "ControlNetLoader",
"pos": [
-538,
1667
],
"size": {
"0": 494.8511047363281,
"1": 58
},
"flags": {},
"order": 7,
"mode": 4,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
490
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"sai-controlnet\\control-lora-depth-rank128.safetensors"
]
},
{
"id": 166,
"type": "LeReS-DepthMapPreprocessor",
"pos": [
515,
1158
],
"size": {
"0": 369.6000061035156,
"1": 130
},
"flags": {},
"order": 20,
"mode": 4,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 483
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
484,
485
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LeReS-DepthMapPreprocessor"
},
"widgets_values": [
0,
0,
"disable",
512
]
},
{
"id": 110,
"type": "ControlNetApplyAdvanced",
"pos": [
895,
1053
],
"size": {
"0": 315,
"1": 166
},
"flags": {},
"order": 36,
"mode": 4,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 304
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 305
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 490
},
{
"name": "image",
"type": "IMAGE",
"link": 485
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
249
],
"shape": 3,
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
250
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "ControlNetApplyAdvanced"
},
"widgets_values": [
0.44,
0,
1
]
},
{
"id": 167,
"type": "PreviewImage",
"pos": [
897,
1260
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 25,
"mode": 4,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 484
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 172,
"type": "ControlNetLoader",
"pos": [
-539,
1764
],
"size": {
"0": 494.8511047363281,
"1": 58
},
"flags": {},
"order": 8,
"mode": 4,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
491
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"sai-controlnet\\control-lora-sketch-rank128-metadata.safetensors"
]
},
{
"id": 168,
"type": "PiDiNetPreprocessor",
"pos": [
1243,
1160
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 21,
"mode": 4,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 486
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
487,
488
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "PiDiNetPreprocessor"
},
"widgets_values": [
"enable",
512
]
},
{
"id": 116,
"type": "ControlNetApplyAdvanced",
"pos": [
1594,
1053
],
"size": {
"0": 315,
"1": 166
},
"flags": {},
"order": 37,
"mode": 4,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 249
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 250
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 491
},
{
"name": "image",
"type": "IMAGE",
"link": 487
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
287
],
"shape": 3,
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
288
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "ControlNetApplyAdvanced"
},
"widgets_values": [
0.22,
0,
1
]
},
{
"id": 169,
"type": "PreviewImage",
"pos": [
1593,
1259
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 26,
"mode": 4,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 488
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 88,
"type": "LoraLoader",
"pos": [
-1,
249
],
"size": {
"0": 328.7811279296875,
"1": 129.8031768798828
},
"flags": {
"pinned": false
},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 494
},
{
"name": "clip",
"type": "CLIP",
"link": 334
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
194
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
195
],
"shape": 3,
"slot_index": 1
}
],
"title": "Load LoRA LCM",
"properties": {
"Node name for S&R": "LoraLoader"
},
"widgets_values": [
"LCM\\SDXL\\pytorch_lora_weights.safetensors",
1,
1
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 4,
"type": "CheckpointLoaderSimple",
"pos": [
0,
120
],
"size": {
"0": 238.83534240722656,
"1": 100.333984375
},
"flags": {
"pinned": false
},
"order": 9,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
494,
513,
518
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
334
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"SDXL\\crystalClearXL_ccxl.safetensors"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 140,
"type": "SAMLoader",
"pos": [
795,
-218
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 10,
"mode": 0,
"outputs": [
{
"name": "SAM_MODEL",
"type": "SAM_MODEL",
"links": [
493
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "SAMLoader"
},
"widgets_values": [
"sam_vit_b_01ec64.pth",
"CPU"
]
},
{
"id": 139,
"type": "UltralyticsDetectorProvider",
"pos": [
795,
-101
],
"size": {
"0": 315,
"1": 78
},
"flags": {},
"order": 11,
"mode": 0,
"outputs": [
{
"name": "BBOX_DETECTOR",
"type": "BBOX_DETECTOR",
"links": [
434
],
"shape": 3,
"slot_index": 0
},
{
"name": "SEGM_DETECTOR",
"type": "SEGM_DETECTOR",
"links": [],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "UltralyticsDetectorProvider"
},
"widgets_values": [
"bbox/face_yolov8m.pt"
]
},
{
"id": 137,
"type": "FaceDetailer",
"pos": [
1407,
-834
],
"size": {
"0": 506.4000244140625,
"1": 858
},
"flags": {},
"order": 54,
"mode": 4,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 439,
"slot_index": 0
},
{
"name": "model",
"type": "MODEL",
"link": 518
},
{
"name": "clip",
"type": "CLIP",
"link": 515
},
{
"name": "vae",
"type": "VAE",
"link": 426
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 450
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 451
},
{
"name": "bbox_detector",
"type": "BBOX_DETECTOR",
"link": 434
},
{
"name": "sam_model_opt",
"type": "SAM_MODEL",
"link": 493,
"slot_index": 7
},
{
"name": "segm_detector_opt",
"type": "SEGM_DETECTOR",
"link": null
},
{
"name": "detailer_hook",
"type": "DETAILER_HOOK",
"link": null,
"slot_index": 9
},
{
"name": "seed",
"type": "INT",
"link": 407,
"widget": {
"name": "seed"
}
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
530
],
"shape": 3,
"slot_index": 0
},
{
"name": "cropped_refined",
"type": "IMAGE",
"links": [
341
],
"shape": 6,
"slot_index": 1
},
{
"name": "cropped_enhanced_alpha",
"type": "IMAGE",
"links": [
342
],
"shape": 6,
"slot_index": 2
},
{
"name": "mask",
"type": "MASK",
"links": null,
"shape": 3,
"slot_index": 3
},
{
"name": "detailer_pipe",
"type": "DETAILER_PIPE",
"links": [],
"shape": 3,
"slot_index": 4
},
{
"name": "cnet_images",
"type": "IMAGE",
"links": [],
"shape": 6,
"slot_index": 5
}
],
"properties": {
"Node name for S&R": "FaceDetailer"
},
"widgets_values": [
256,
true,
768,
547109734563452,
"randomize",
10,
7.5,
"ddim",
"ddim_uniform",
0.35000000000000003,
5,
false,
true,
0.5,
10,
3,
"center-1",
0,
0.93,
0,
0.7,
"False",
10,
""
]
},
{
"id": 163,
"type": "KSampler",
"pos": [
973,
31
],
"size": {
"0": 332.4165344238281,
"1": 657.661865234375
},
"flags": {},
"order": 50,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 513
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 504
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 503
},
{
"name": "latent_image",
"type": "LATENT",
"link": 519
},
{
"name": "seed",
"type": "INT",
"link": 474,
"widget": {
"name": "seed"
}
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
524
],
"shape": 3,
"slot_index": 0
}
],
"title": "KSampler (Upscale)",
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
547109734563452,
"randomize",
10,
7.5,
"euler_ancestral",
"normal",
0.35000000000000003
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 173,
"type": "Reroute",
"pos": [
1171,
988
],
"size": [
90.4,
26
],
"flags": {},
"order": 48,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 520
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
506
],
"slot_index": 0
}
],
"properties": {
"showOutputText": true,
"horizontal": false
}
},
{
"id": 177,
"type": "VAEEncodeTiled",
"pos": [
888,
913
],
"size": {
"0": 210,
"1": 78
},
"flags": {
"collapsed": true,
"pinned": true
},
"order": 47,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 521
},
{
"name": "vae",
"type": "VAE",
"link": 522
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
520
],
"shape": 3,
"slot_index": 0
}
],
"title": "VAE Encode 4x Model",
"properties": {
"Node name for S&R": "VAEEncodeTiled"
},
"widgets_values": [
512
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 179,
"type": "VAEDecodeTiled",
"pos": [
1107,
913
],
"size": {
"0": 210,
"1": 78
},
"flags": {
"collapsed": true,
"pinned": true
},
"order": 51,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 524
},
{
"name": "vae",
"type": "VAE",
"link": 525
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
523
],
"shape": 3,
"slot_index": 0
}
],
"title": "VAE Decode Upscaled",
"properties": {
"Node name for S&R": "VAEDecodeTiled"
},
"widgets_values": [
512
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 180,
"type": "Note",
"pos": [
1413,
953
],
"size": {
"0": 349.35650634765625,
"1": 136.81263732910156
},
"flags": {},
"order": 12,
"mode": 0,
"title": "Note - Latent vs Model (for Hires Fix)",
"properties": {
"text": ""
},
"widgets_values": [
"Top: Latent (Faster but grainy)\n\nvs\n\nBottom: 4x Upscale Model (Slower but better)\nSlower because, it converts latent to image, then upscale it 4x, then resize it down with reverse 4x calculator, then convert it again to latent to be processed. It's Sytan's workflow implementation."
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 182,
"type": "Note",
"pos": [
2043,
-757
],
"size": {
"0": 210,
"1": 75.32960510253906
},
"flags": {},
"order": 13,
"mode": 0,
"title": "Face Detailer",
"properties": {
"text": ""
},
"widgets_values": [
"Roght Click > Bypass\n\nto activate / disable it"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 183,
"type": "Note",
"pos": [
-353,
1034
],
"size": {
"0": 210,
"1": 75.32960510253906
},
"flags": {},
"order": 14,
"mode": 0,
"title": "ControlNet",
"properties": {
"text": ""
},
"widgets_values": [
"Roght Click > Bypass\n\nto activate / disable it"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 162,
"type": "KSampler",
"pos": [
641,
31
],
"size": {
"0": 330.8415222167969,
"1": 658.4276733398438
},
"flags": {},
"order": 40,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 470
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 514
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 502
},
{
"name": "latent_image",
"type": "LATENT",
"link": 508
},
{
"name": "seed",
"type": "INT",
"link": 456,
"widget": {
"name": "seed"
}
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
476,
509
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
547109734563452,
"randomize",
10,
1.6,
"lcm",
"normal",
1
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 94,
"type": "SDXLPromptStyler",
"pos": [
330,
290
],
"size": {
"0": 308.90869140625,
"1": 102
},
"flags": {
"pinned": false
},
"order": 28,
"mode": 0,
"inputs": [
{
"name": "text_positive",
"type": "STRING",
"link": 188,
"widget": {
"name": "text_positive"
}
},
{
"name": "text_negative",
"type": "STRING",
"link": 189,
"widget": {
"name": "text_negative"
}
}
],
"outputs": [
{
"name": "positive_prompt_text_g",
"type": "STRING",
"links": [
236
],
"shape": 3,
"slot_index": 0
},
{
"name": "negative_prompt_text_g",
"type": "STRING",
"links": [
193
],
"shape": 3,
"slot_index": 1
}
],
"title": "SDXL Prompt Styler 3",
"properties": {
"Node name for S&R": "SDXLPromptStyler"
},
"widgets_values": [
"",
"",
"futuristic-sci-fi",
"No"
]
},
{
"id": 93,
"type": "SDXLPromptStyler",
"pos": [
330,
160
],
"size": {
"0": 308.7215576171875,
"1": 102
},
"flags": {
"pinned": false
},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "text_positive",
"type": "STRING",
"link": 186,
"widget": {
"name": "text_positive"
}
},
{
"name": "text_negative",
"type": "STRING",
"link": 187,
"widget": {
"name": "text_negative"
}
}
],
"outputs": [
{
"name": "positive_prompt_text_g",
"type": "STRING",
"links": [
188
],
"shape": 3,
"slot_index": 0
},
{
"name": "negative_prompt_text_g",
"type": "STRING",
"links": [
189
],
"shape": 3,
"slot_index": 1
}
],
"title": "SDXL Prompt Styler 2",
"properties": {
"Node name for S&R": "SDXLPromptStyler"
},
"widgets_values": [
"",
"",
"sai-photographic",
"No"
]
},
{
"id": 92,
"type": "SDXLPromptStyler",
"pos": [
330,
30
],
"size": {
"0": 308.9361572265625,
"1": 102
},
"flags": {
"pinned": false
},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "text_positive",
"type": "STRING",
"link": 190,
"widget": {
"name": "text_positive"
}
},
{
"name": "text_negative",
"type": "STRING",
"link": 191,
"widget": {
"name": "text_negative"
}
}
],
"outputs": [
{
"name": "positive_prompt_text_g",
"type": "STRING",
"links": [
186
],
"shape": 3,
"slot_index": 0
},
{
"name": "negative_prompt_text_g",
"type": "STRING",
"links": [
187
],
"shape": 3,
"slot_index": 1
}
],
"title": "SDXL Prompt Styler 1",
"properties": {
"Node name for S&R": "SDXLPromptStyler"
},
"widgets_values": [
"(futuristic AI cat, half organic half robot, in a high tech environment:1.2), full body shot, bright environment",
"(semi-realistic, cgi, 2.5d, 3d:1.3), (anthropomorphic, humanoid:1.2), watermark, signature, text, frame, mirror, polaroid, deformed iris, deformed pupils, dark environment",
"sai-enhance",
"No"
]
},
{
"id": 141,
"type": "PreviewImage",
"pos": [
2023,
-585
],
"size": {
"0": 176.42703247070312,
"1": 246
},
"flags": {},
"order": 56,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 341
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 142,
"type": "PreviewImage",
"pos": [
2025,
-278
],
"size": {
"0": 179.72702026367188,
"1": 246
},
"flags": {},
"order": 57,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 342
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 68,
"type": "PrimitiveNode",
"pos": [
890,
721
],
"size": {
"0": 210,
"1": 82
},
"flags": {
"pinned": false
},
"order": 15,
"mode": 0,
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
407,
456,
474
],
"widget": {
"name": "seed"
},
"slot_index": 0
}
],
"title": "Seed",
"properties": {},
"widgets_values": [
547109734563452,
"increment"
],
"color": "#233",
"bgcolor": "#355"
}
],
"links": [
[
158,
83,
0,
84,
0,
"UPSCALE_MODEL"
],
[
161,
81,
0,
86,
1,
"VAE"
],
[
162,
86,
0,
84,
1,
"IMAGE"
],
[
163,
84,
0,
85,
0,
"IMAGE"
],
[
174,
49,
0,
81,
0,
"*"
],
[
178,
89,
0,
6,
0,
"CLIP"
],
[
179,
89,
0,
7,
0,
"CLIP"
],
[
186,
92,
0,
93,
0,
"STRING"
],
[
187,
92,
1,
93,
1,
"STRING"
],
[
188,
93,
0,
94,
0,
"STRING"
],
[
189,
93,
1,
94,
1,
"STRING"
],
[
190,
13,
0,
92,
0,
"STRING"
],
[
191,
14,
0,
92,
1,
"STRING"
],
[
193,
94,
1,
7,
1,
"STRING"
],
[
194,
88,
0,
95,
0,
"MODEL"
],
[
195,
88,
1,
95,
1,
"CLIP"
],
[
227,
105,
0,
5,
0,
"INT"
],
[
228,
105,
1,
5,
1,
"INT"
],
[
229,
105,
3,
85,
1,
"FLOAT"
],
[
236,
94,
0,
6,
1,
"STRING"
],
[
249,
110,
0,
116,
0,
"CONDITIONING"
],
[
250,
110,
1,
116,
1,
"CONDITIONING"
],
[
287,
116,
0,
119,
0,
"*"
],
[
288,
116,
1,
120,
0,
"*"
],
[
300,
6,
0,
117,
0,
"*"
],
[
301,
7,
0,
118,
0,
"*"
],
[
302,
117,
0,
126,
0,
"CONDITIONING"
],
[
303,
118,
0,
126,
1,
"CONDITIONING"
],
[
304,
126,
0,
110,
0,
"CONDITIONING"
],
[
305,
126,
1,
110,
1,
"CONDITIONING"
],
[
334,
4,
1,
88,
1,
"CLIP"
],
[
341,
137,
1,
141,
0,
"IMAGE"
],
[
342,
137,
2,
142,
0,
"IMAGE"
],
[
407,
68,
0,
137,
10,
"INT"
],
[
426,
81,
0,
137,
3,
"VAE"
],
[
434,
139,
0,
137,
6,
"BBOX_DETECTOR"
],
[
437,
86,
0,
99,
0,
"*"
],
[
439,
97,
0,
137,
0,
"IMAGE"
],
[
450,
6,
0,
137,
4,
"CONDITIONING"
],
[
451,
7,
0,
137,
5,
"CONDITIONING"
],
[
456,
68,
0,
162,
4,
"INT"
],
[
470,
90,
0,
162,
0,
"MODEL"
],
[
474,
68,
0,
163,
4,
"INT"
],
[
476,
162,
0,
86,
0,
"LATENT"
],
[
480,
164,
0,
126,
3,
"IMAGE"
],
[
481,
107,
0,
164,
0,
"IMAGE"
],
[
482,
164,
0,
165,
0,
"IMAGE"
],
[
483,
107,
0,
166,
0,
"IMAGE"
],
[
484,
166,
0,
167,
0,
"IMAGE"
],
[
485,
166,
0,
110,
3,
"IMAGE"
],
[
486,
107,
0,
168,
0,
"IMAGE"
],
[
487,
168,
0,
116,
3,
"IMAGE"
],
[
488,
168,
0,
169,
0,
"IMAGE"
],
[
489,
170,
0,
126,
2,
"CONTROL_NET"
],
[
490,
171,
0,
110,
2,
"CONTROL_NET"
],
[
491,
172,
0,
116,
2,
"CONTROL_NET"
],
[
493,
140,
0,
137,
7,
"SAM_MODEL"
],
[
494,
4,
0,
88,
0,
"MODEL"
],
[
495,
95,
0,
90,
0,
"*"
],
[
496,
95,
1,
89,
0,
"*"
],
[
502,
120,
0,
162,
2,
"CONDITIONING"
],
[
503,
7,
0,
163,
2,
"CONDITIONING"
],
[
504,
6,
0,
163,
1,
"CONDITIONING"
],
[
506,
173,
0,
174,
0,
"*"
],
[
508,
5,
0,
162,
3,
"LATENT"
],
[
509,
162,
0,
175,
0,
"LATENT"
],
[
510,
105,
2,
175,
1,
"FLOAT"
],
[
511,
175,
0,
176,
0,
"*"
],
[
513,
4,
0,
163,
0,
"MODEL"
],
[
514,
119,
0,
162,
1,
"CONDITIONING"
],
[
515,
89,
0,
137,
2,
"CLIP"
],
[
518,
4,
0,
137,
1,
"MODEL"
],
[
519,
174,
0,
163,
3,
"LATENT"
],
[
520,
177,
0,
173,
0,
"*"
],
[
521,
85,
0,
177,
0,
"IMAGE"
],
[
522,
81,
0,
177,
1,
"VAE"
],
[
523,
179,
0,
96,
0,
"*"
],
[
524,
163,
0,
179,
0,
"LATENT"
],
[
525,
81,
0,
179,
1,
"VAE"
],
[
530,
137,
0,
19,
0,
"IMAGE"
],
[
532,
96,
0,
97,
0,
"*"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}