comfyui-workflow / SDXL-Tidy-LCMTurbo-PromptStyler-UpscaleModelSwitch-ControlNet-FaceDetailer.json
marhensa's picture
Upload 2 files
4d88d01 verified
{
"last_node_id": 238,
"last_link_id": 640,
"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,
530,
575
],
"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": [
179,
630,
633
],
"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": 17,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 174
}
],
"outputs": [
{
"name": "",
"type": "VAE",
"links": [
161,
522,
525,
565
],
"slot_index": 0,
"label": "VAE"
}
],
"title": "VAE",
"properties": {
"showOutputText": false,
"horizontal": false,
"showTitle": true
},
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 99,
"type": "Reroute",
"pos": [
1110,
750
],
"size": [
75,
26
],
"flags": {
"pinned": true
},
"order": 47,
"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": 55,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 523
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
635
],
"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": 56,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 635
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
559
],
"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": 32,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 633
},
{
"name": "text",
"type": "STRING",
"link": 236,
"widget": {
"name": "text"
},
"slot_index": 1
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
300,
504,
632
],
"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": 33,
"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,
503,
567
],
"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": 61,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 640,
"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": 49,
"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": 1,
"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": 2,
"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": 35,
"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": 34,
"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": [
1886.5191552734389,
957.9720839843748
],
"size": [
75,
26
],
"flags": {
"pinned": true
},
"order": 42,
"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": [
1886.8290917968764,
927.9720839843748
],
"size": [
75,
26
],
"flags": {
"pinned": true
},
"order": 41,
"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": 44,
"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": 46,
"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": 175,
"type": "LatentUpscaleBy",
"pos": [
910,
884
],
"size": {
"0": 210,
"1": 78
},
"flags": {
"collapsed": true,
"pinned": true
},
"order": 45,
"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": 52,
"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": 48,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 511
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": null
}
],
"properties": {
"showOutputText": true,
"horizontal": false
}
},
{
"id": 107,
"type": "LoadImage",
"pos": [
-628.043581584796,
1314.7959716884163
],
"size": {
"0": 232.79562377929688,
"1": 314
},
"flags": {},
"order": 3,
"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": [
-627.0435815847959,
1724.7959716884163
],
"size": {
"0": 494.8511047363281,
"1": 58
},
"flags": {},
"order": 4,
"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": [
-312.0435815847953,
1314.7959716884163
],
"size": {
"0": 315,
"1": 198
},
"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
},
{
"name": "POSE_KEYPOINT",
"type": "POSE_KEYPOINT",
"links": null,
"shape": 3
}
],
"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": [
40.95641841520477,
1211.7959716884163
],
"size": {
"0": 315,
"1": 166
},
"flags": {},
"order": 37,
"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": [
35.95641841520479,
1422.7959716884163
],
"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": [
-626.0435815847959,
1825.7959716884163
],
"size": {
"0": 494.8511047363281,
"1": 58
},
"flags": {},
"order": 5,
"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": [
426.9564184152046,
1316.7959716884163
],
"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": [
806.9564184152041,
1211.7959716884163
],
"size": {
"0": 315,
"1": 166
},
"flags": {},
"order": 39,
"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": [
808.9564184152041,
1418.7959716884163
],
"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": [
-627.0435815847959,
1922.7959716884163
],
"size": {
"0": 494.8511047363281,
"1": 58
},
"flags": {},
"order": 6,
"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": [
1154.9564184152048,
1318.7959716884163
],
"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": [
1505.9564184152048,
1211.7959716884163
],
"size": {
"0": 315,
"1": 166
},
"flags": {},
"order": 40,
"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": [
1504.9564184152048,
1417.7959716884163
],
"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": 173,
"type": "Reroute",
"pos": [
1171,
988
],
"size": [
90.4,
26
],
"flags": {},
"order": 51,
"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": 50,
"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": 54,
"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": 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\\Enhancement\\sd_xl_offset_example-lora_1.0.safetensors",
0,
0
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 162,
"type": "KSampler",
"pos": [
641,
31
],
"size": {
"0": 330.8415222167969,
"1": 658.4276733398438
},
"flags": {},
"order": 43,
"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",
8,
2,
"euler_ancestral",
"normal",
1
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 163,
"type": "KSampler",
"pos": [
973,
31
],
"size": {
"0": 332.4165344238281,
"1": 657.661865234375
},
"flags": {},
"order": 53,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 530
},
{
"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",
8,
2,
"euler_ancestral",
"normal",
0.35000000000000003
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 4,
"type": "CheckpointLoaderSimple",
"pos": [
0,
120
],
"size": {
"0": 238.83534240722656,
"1": 100.333984375
},
"flags": {
"pinned": false
},
"order": 7,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
494
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
634
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"SDXL\\albedobaseXL_v20.safetensors"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 180,
"type": "Note",
"pos": [
1441,
953
],
"size": {
"0": 349.35650634765625,
"1": 136.81263732910156
},
"flags": {},
"order": 8,
"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": 183,
"type": "Note",
"pos": [
-627.6883541629209,
1184.963603641543
],
"size": {
"0": 272.1544189453125,
"1": 89.86436462402344
},
"flags": {},
"order": 9,
"mode": 4,
"title": "ControlNet",
"properties": {
"text": ""
},
"widgets_values": [
"Right Click > Set Group to Always\nto activate it\n\nRight Click > Bypass Group Nodes\nto disable it"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 139,
"type": "UltralyticsDetectorProvider",
"pos": [
-370,
-470
],
"size": {
"0": 315,
"1": 78
},
"flags": {},
"order": 10,
"mode": 0,
"outputs": [
{
"name": "BBOX_DETECTOR",
"type": "BBOX_DETECTOR",
"links": [
557
],
"shape": 3,
"slot_index": 0
},
{
"name": "SEGM_DETECTOR",
"type": "SEGM_DETECTOR",
"links": [
582
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "UltralyticsDetectorProvider"
},
"widgets_values": [
"bbox/face_yolov8m.pt"
]
},
{
"id": 142,
"type": "PreviewImage",
"pos": [
1300.1996388574232,
-948.5760613285064
],
"size": {
"0": 575.8494262695312,
"1": 614.3814697265625
},
"flags": {},
"order": 60,
"mode": 4,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 573
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 141,
"type": "PreviewImage",
"pos": [
1302.1996388574232,
-291.5760613285064
],
"size": {
"0": 572.2389526367188,
"1": 247.27325439453125
},
"flags": {},
"order": 59,
"mode": 4,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 574
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 140,
"type": "SAMLoader",
"pos": [
-370,
-330
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 11,
"mode": 0,
"outputs": [
{
"name": "SAM_MODEL",
"type": "SAM_MODEL",
"links": [
581
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "SAMLoader"
},
"widgets_values": [
"sam_vit_b_01ec64.pth",
"AUTO"
]
},
{
"id": 182,
"type": "Note",
"pos": [
459.19963885742214,
-777.5760613285064
],
"size": {
"0": 304.40625,
"1": 105.16618347167969
},
"flags": {},
"order": 12,
"mode": 4,
"title": "Face Detailer",
"properties": {
"text": ""
},
"widgets_values": [
"Right Click > Set Group to Always\nto activate it\n\nRight Click > Bypass Group Nodes\nto disable it\n"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 192,
"type": "BasicPipeToDetailerPipe",
"pos": [
-20,
-470
],
"size": {
"0": 400,
"1": 204.00003051757812
},
"flags": {},
"order": 38,
"mode": 0,
"inputs": [
{
"name": "basic_pipe",
"type": "BASIC_PIPE",
"link": 569,
"slot_index": 0
},
{
"name": "bbox_detector",
"type": "BBOX_DETECTOR",
"link": 557,
"slot_index": 1
},
{
"name": "sam_model_opt",
"type": "SAM_MODEL",
"link": 581
},
{
"name": "segm_detector_opt",
"type": "SEGM_DETECTOR",
"link": 582
},
{
"name": "detailer_hook",
"type": "DETAILER_HOOK",
"link": null
}
],
"outputs": [
{
"name": "detailer_pipe",
"type": "DETAILER_PIPE",
"links": [
560
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "BasicPipeToDetailerPipe"
},
"widgets_values": [
"",
"Select the LoRA to add to the text",
"Select the Wildcard to add to the text"
]
},
{
"id": 199,
"type": "ToBasicPipe",
"pos": [
-360,
-620
],
"size": {
"0": 241.79998779296875,
"1": 106
},
"flags": {},
"order": 36,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 575
},
{
"name": "clip",
"type": "CLIP",
"link": 630
},
{
"name": "vae",
"type": "VAE",
"link": 565
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 632
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 567
}
],
"outputs": [
{
"name": "basic_pipe",
"type": "BASIC_PIPE",
"links": [
569
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ToBasicPipe"
}
},
{
"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": 634
}
],
"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": [
"SDXL\\LCMTurboMix_Euler_A_fix.safetensors",
1,
1
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 196,
"type": "FaceDetailerPipe",
"pos": [
790.1799353027347,
-967.3662250003811
],
"size": {
"0": 456,
"1": 922
},
"flags": {},
"order": 57,
"mode": 4,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 559
},
{
"name": "detailer_pipe",
"type": "DETAILER_PIPE",
"link": 560
},
{
"name": "seed",
"type": "INT",
"link": 562,
"widget": {
"name": "seed"
}
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
639
],
"shape": 3,
"slot_index": 0
},
{
"name": "cropped_refined",
"type": "IMAGE",
"links": [
574
],
"shape": 6,
"slot_index": 1
},
{
"name": "cropped_enhanced_alpha",
"type": "IMAGE",
"links": [
573
],
"shape": 6,
"slot_index": 2
},
{
"name": "mask",
"type": "MASK",
"links": [],
"shape": 3,
"slot_index": 3
},
{
"name": "detailer_pipe",
"type": "DETAILER_PIPE",
"links": [],
"shape": 3,
"slot_index": 4
},
{
"name": "cnet_images",
"type": "IMAGE",
"links": null,
"shape": 6
}
],
"properties": {
"Node name for S&R": "FaceDetailerPipe"
},
"widgets_values": [
384,
true,
1024,
547109734563452,
"randomize",
8,
2,
"euler_ancestral",
"normal",
0.35000000000000003,
5,
true,
false,
0.5,
10,
3,
"center-1",
0,
0.93,
0,
0.7000000000000001,
"False",
10,
0.2,
1,
true
]
},
{
"id": 13,
"type": "PrimitiveNode",
"pos": [
330,
420
],
"size": {
"0": 310,
"1": 280
},
"flags": {
"pinned": true
},
"order": 13,
"mode": 0,
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
190
],
"slot_index": 0,
"widget": {
"name": "text_positive"
}
}
],
"title": "Positive Prompt (Text)",
"properties": {
"Run widget replace on values": false
},
"widgets_values": [
"(futuristic AI cat, half organic half robot, in a high tech environment:1.2), bright environment"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 14,
"type": "PrimitiveNode",
"pos": [
330,
730
],
"size": {
"0": 310,
"1": 140
},
"flags": {
"pinned": true
},
"order": 14,
"mode": 0,
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
191
],
"slot_index": 0,
"widget": {
"name": "text_negative"
}
}
],
"title": "Negative Prompt (Text)",
"properties": {
"Run widget replace on values": false
},
"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": 92,
"type": "SDXLPromptStyler",
"pos": [
330,
30
],
"size": {
"0": 308.9361572265625,
"1": 102
},
"flags": {
"pinned": false
},
"order": 23,
"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), 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",
false
]
},
{
"id": 93,
"type": "SDXLPromptStyler",
"pos": [
330,
160
],
"size": {
"0": 308.7215576171875,
"1": 102
},
"flags": {
"pinned": false
},
"order": 28,
"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",
false
]
},
{
"id": 94,
"type": "SDXLPromptStyler",
"pos": [
330,
290
],
"size": {
"0": 308.90869140625,
"1": 102
},
"flags": {
"pinned": false
},
"order": 31,
"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",
false
]
},
{
"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": [
456,
474,
562
],
"widget": {
"name": "seed"
},
"slot_index": 0
}
],
"title": "Seed",
"properties": {
"Run widget replace on values": false
},
"widgets_values": [
547109734563452,
"increment"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 238,
"type": "FaceRestoreModelLoader",
"pos": [
1940,
-254
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 16,
"mode": 4,
"outputs": [
{
"name": "FACERESTORE_MODEL",
"type": "FACERESTORE_MODEL",
"links": [
638
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "FaceRestoreModelLoader"
},
"widgets_values": [
"codeformer-v0.1.0.pth"
]
},
{
"id": 237,
"type": "FaceRestoreCFWithModel",
"pos": [
1944,
-143
],
"size": {
"0": 315,
"1": 102
},
"flags": {},
"order": 58,
"mode": 4,
"inputs": [
{
"name": "facerestore_model",
"type": "FACERESTORE_MODEL",
"link": 638,
"slot_index": 0
},
{
"name": "image",
"type": "IMAGE",
"link": 639
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
640
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "FaceRestoreCFWithModel"
},
"widgets_values": [
"YOLOv5l",
0.01
]
}
],
"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,
"*"
],
[
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"
],
[
437,
86,
0,
99,
0,
"*"
],
[
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"
],
[
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,
"*"
],
[
514,
119,
0,
162,
1,
"CONDITIONING"
],
[
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,
90,
0,
163,
0,
"MODEL"
],
[
557,
139,
0,
192,
1,
"BBOX_DETECTOR"
],
[
559,
97,
0,
196,
0,
"IMAGE"
],
[
560,
192,
0,
196,
1,
"DETAILER_PIPE"
],
[
562,
68,
0,
196,
2,
"INT"
],
[
565,
81,
0,
199,
2,
"VAE"
],
[
567,
7,
0,
199,
4,
"CONDITIONING"
],
[
569,
199,
0,
192,
0,
"BASIC_PIPE"
],
[
573,
196,
2,
142,
0,
"IMAGE"
],
[
574,
196,
1,
141,
0,
"IMAGE"
],
[
575,
90,
0,
199,
0,
"MODEL"
],
[
581,
140,
0,
192,
2,
"SAM_MODEL"
],
[
582,
139,
1,
192,
3,
"SEGM_DETECTOR"
],
[
630,
89,
0,
199,
1,
"CLIP"
],
[
632,
6,
0,
199,
3,
"CONDITIONING"
],
[
633,
89,
0,
6,
0,
"CLIP"
],
[
634,
4,
1,
88,
1,
"CLIP"
],
[
635,
96,
0,
97,
0,
"*"
],
[
638,
238,
0,
237,
0,
"FACERESTORE_MODEL"
],
[
639,
196,
0,
237,
1,
"IMAGE"
],
[
640,
237,
0,
19,
0,
"IMAGE"
]
],
"groups": [
{
"title": "ControlNet",
"bounding": [
-638,
1111,
2469,
880
],
"color": "#88A",
"font_size": 24
},
{
"title": "Face Detailer",
"bounding": [
449,
-1041,
1437,
1007
],
"color": "#3f789e",
"font_size": 24
},
{
"title": "Face Enhancement",
"bounding": [
1930,
-328,
339,
297
],
"color": "#3f789e",
"font_size": 24
}
],
"config": {},
"extra": {},
"version": 0.4
}