Workflows / marduk191-PuLid-Face-Swap-V1.0.json
marduk191's picture
Initial backup of civit workflows
457e541
{
"last_node_id": 227,
"last_link_id": 732,
"nodes": [
{
"id": 35,
"type": "PulidInsightFaceLoader",
"pos": [
366.74382617187547,
-67.77931791992187
],
"size": {
"0": 250.20968627929688,
"1": 58
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "FACEANALYSIS",
"type": "FACEANALYSIS",
"links": [
386
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "PulidInsightFaceLoader"
},
"widgets_values": [
"CPU"
]
},
{
"id": 34,
"type": "PulidEvaClipLoader",
"pos": [
385,
-160
],
"size": {
"0": 210,
"1": 26
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "EVA_CLIP",
"type": "EVA_CLIP",
"links": [
388
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "PulidEvaClipLoader"
}
},
{
"id": 33,
"type": "PulidModelLoader",
"pos": [
332.74382617187547,
-271.77931791992205
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "PULID",
"type": "PULID",
"links": [
389
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "PulidModelLoader"
},
"widgets_values": [
"ip-adapter_pulid_sdxl_fp16.safetensors"
]
},
{
"id": 119,
"type": "CfgScheduleHookProvider",
"pos": [
3478.8985525707876,
-836.8839133078332
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "PK_HOOK",
"type": "PK_HOOK",
"links": [
370
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "CfgScheduleHookProvider"
},
"widgets_values": [
"simple",
1.8
]
},
{
"id": 125,
"type": "PreviewImage",
"pos": [
470,
-870
],
"size": {
"0": 720.3983764648438,
"1": 490.0770263671875
},
"flags": {},
"order": 54,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 425
}
],
"title": "Input Face Preview",
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 96,
"type": "Reroute",
"pos": [
340,
-500
],
"size": [
75,
26
],
"flags": {},
"order": 48,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 539,
"slot_index": 0
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
312,
387,
425
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
},
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 153,
"type": "PrepImageForClipVision",
"pos": [
386.29683343930463,
160.02802866353187
],
"size": {
"0": 217.33749389648438,
"1": 106
},
"flags": {},
"order": 24,
"mode": 4,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 559,
"slot_index": 0
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
497,
500
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "PrepImageForClipVision"
},
"widgets_values": [
"LANCZOS",
"bottom",
0
]
},
{
"id": 172,
"type": "LoadImage",
"pos": [
67.69683801694147,
284.828037818805
],
"size": {
"0": 245.53750610351562,
"1": 314
},
"flags": {},
"order": 4,
"mode": 4,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
559
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"6856b0f341fddc472558ea2f7402d272.jpg",
"image"
]
},
{
"id": 40,
"type": "PreviewImage",
"pos": [
2514.3762566375894,
-920.0147537119151
],
"size": {
"0": 330,
"1": 360
},
"flags": {},
"order": 68,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 228
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 130,
"type": "Reroute",
"pos": [
428,
-1088
],
"size": [
75,
26
],
"flags": {},
"order": 43,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 530,
"slot_index": 0
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
528
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
},
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 36,
"type": "LoadImage",
"pos": [
-660,
-304
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
521,
524
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"no51f0zz3wtqsdycsbjd.jpg",
"image"
]
},
{
"id": 49,
"type": "LoadImage",
"pos": [
-666,
-690
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 6,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
567
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"FB_IMG_1673730815914 (2).jpg",
"image"
]
},
{
"id": 186,
"type": "Note",
"pos": [
528.5584641590518,
1314.4150501539202
],
"size": {
"0": 255.47695922851562,
"1": 59.85614013671875
},
"flags": {},
"order": 7,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"For IMG2IMG remember to set denoise low. start around .3 and adjust to liking."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 167,
"type": "VAEEncodeTiled",
"pos": [
-317.0306801398887,
795.448693204472
],
"size": {
"0": 315,
"1": 78
},
"flags": {},
"order": 46,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 553
},
{
"name": "vae",
"type": "VAE",
"link": null
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
560
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncodeTiled"
},
"widgets_values": [
640
]
},
{
"id": 187,
"type": "Note",
"pos": [
-292.0306801398887,
1295.448693204471
],
"size": {
"0": 255.47695922851562,
"1": 59.85614013671875
},
"flags": {},
"order": 8,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"Remember to set the \"Latent Input Switch\" when moving from IMG2IMG and regular generations."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 158,
"type": "Reroute",
"pos": [
143,
-309
],
"size": [
75,
26
],
"flags": {},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 524
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
},
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 51,
"type": "ImageBatchMultiple+",
"pos": [
33,
-610
],
"size": {
"0": 210,
"1": 138
},
"flags": {},
"order": 42,
"mode": 4,
"inputs": [
{
"name": "image_1",
"type": "IMAGE",
"link": 565,
"slot_index": 0
},
{
"name": "image_2",
"type": "IMAGE",
"link": 564
},
{
"name": "image_3",
"type": "IMAGE",
"link": 566,
"slot_index": 2
},
{
"name": "image_4",
"type": "IMAGE",
"link": null
},
{
"name": "image_5",
"type": "IMAGE",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageBatchMultiple+"
},
"widgets_values": [
"lanczos"
]
},
{
"id": 176,
"type": "Reroute",
"pos": [
138,
-718
],
"size": [
75,
26
],
"flags": {},
"order": 27,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 567
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": null
}
],
"properties": {
"showOutputText": false,
"horizontal": false
},
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 157,
"type": "Reroute",
"pos": [
163,
-1091
],
"size": [
75,
26
],
"flags": {},
"order": 36,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 523
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
530
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
},
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 168,
"type": "CM_NearestSDXLResolution",
"pos": [
-649.0306801398889,
1345.448693204471
],
"size": {
"0": 210,
"1": 46
},
"flags": {
"collapsed": true
},
"order": 33,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 552,
"slot_index": 0
}
],
"outputs": [
{
"name": "width",
"type": "INT",
"links": [
557
],
"shape": 3
},
{
"name": "height",
"type": "INT",
"links": [
558
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "CM_NearestSDXLResolution"
}
},
{
"id": 151,
"type": "IPAdapterAdvanced",
"pos": [
388.6968380169414,
305.828037818805
],
"size": {
"0": 315,
"1": 278
},
"flags": {},
"order": 37,
"mode": 4,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 493
},
{
"name": "ipadapter",
"type": "IPADAPTER",
"link": 494,
"slot_index": 1
},
{
"name": "image",
"type": "IMAGE",
"link": 497
},
{
"name": "image_negative",
"type": "IMAGE",
"link": 500
},
{
"name": "attn_mask",
"type": "MASK",
"link": null
},
{
"name": "clip_vision",
"type": "CLIP_VISION",
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
496
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "IPAdapterAdvanced"
},
"widgets_values": [
1,
"style transfer",
"concat",
0,
1,
"V only"
]
},
{
"id": 121,
"type": "ApplyPulidAdvanced",
"pos": [
678,
-269
],
"size": {
"0": 315,
"1": 278
},
"flags": {},
"order": 53,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 581
},
{
"name": "pulid",
"type": "PULID",
"link": 389
},
{
"name": "eva_clip",
"type": "EVA_CLIP",
"link": 388
},
{
"name": "face_analysis",
"type": "FACEANALYSIS",
"link": 386
},
{
"name": "image",
"type": "IMAGE",
"link": 387
},
{
"name": "attn_mask",
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
584
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ApplyPulidAdvanced"
},
"widgets_values": [
0.75,
"none",
8,
0,
0,
1
]
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
69.55846415905188,
1039.4150501539202
],
"size": {
"0": 392.0553894042969,
"1": 127.75308227539062
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": null
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
577
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
178.55846415905182,
857.4150501539193
],
"size": {
"0": 210,
"1": 54
},
"flags": {
"collapsed": true
},
"order": 47,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": null
},
{
"name": "text",
"type": "STRING",
"link": 537,
"widget": {
"name": "text"
},
"slot_index": 1
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
576
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"one girl, full body (skinny:1.5) thin tween girl with extremely long brunette hair down to waist, large breasts, see-through cat suit, round butt, high quality, butt, detailed, 4k, 24k, 32k. primassteens, primejailbait.com, deviantart"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 189,
"type": "Prompts Everywhere",
"pos": [
118.55846415905188,
1207.4150501539202
],
"size": {
"0": 210,
"1": 46
},
"flags": {
"collapsed": true
},
"order": 51,
"mode": 0,
"inputs": [
{
"name": "CONDITIONING",
"type": "*",
"link": 576,
"color_on": "#FFA931"
},
{
"name": "CONDITIONING",
"type": "*",
"link": 577,
"color_on": "#FFA931"
}
],
"properties": {
"Node name for S&R": "Prompts Everywhere",
"group_restricted": 0,
"color_restricted": 0
},
"widgets_values": []
},
{
"id": 191,
"type": "Anything Everywhere",
"pos": [
-320,
506
],
"size": {
"0": 210,
"1": 26
},
"flags": {
"collapsed": true
},
"order": 32,
"mode": 0,
"inputs": [
{
"name": "VAE",
"type": "*",
"link": 583,
"color_on": "#FF6E6E"
}
],
"properties": {
"Node name for S&R": "Anything Everywhere",
"group_restricted": 0,
"color_restricted": 0
},
"widgets_values": []
},
{
"id": 190,
"type": "Anything Everywhere",
"pos": [
-316,
469
],
"size": {
"0": 210,
"1": 26
},
"flags": {
"collapsed": true
},
"order": 45,
"mode": 0,
"inputs": [
{
"name": "CLIP",
"type": "*",
"link": 582,
"color_on": "#FFD500"
}
],
"properties": {
"Node name for S&R": "Anything Everywhere",
"group_restricted": 0,
"color_restricted": 0
},
"widgets_values": []
},
{
"id": 152,
"type": "IPAdapterUnifiedLoader",
"pos": [
58.2968334393047,
156.02802866353187
],
"size": {
"0": 282.6116943359375,
"1": 78
},
"flags": {},
"order": 10,
"mode": 4,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": null
},
{
"name": "ipadapter",
"type": "IPADAPTER",
"link": null
}
],
"outputs": [
{
"name": "model",
"type": "MODEL",
"links": [
493
],
"shape": 3,
"slot_index": 0
},
{
"name": "ipadapter",
"type": "IPADAPTER",
"links": [
494
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "IPAdapterUnifiedLoader"
},
"widgets_values": [
"PLUS (high strength)"
]
},
{
"id": 70,
"type": "IPAdapterUnifiedLoader",
"pos": [
1066.4667733513784,
-255.93333307971025
],
"size": {
"0": 282.6116943359375,
"1": 78
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": null
},
{
"name": "ipadapter",
"type": "IPADAPTER",
"link": null
}
],
"outputs": [
{
"name": "model",
"type": "MODEL",
"links": [
233
],
"shape": 3,
"slot_index": 0
},
{
"name": "ipadapter",
"type": "IPADAPTER",
"links": [
231
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "IPAdapterUnifiedLoader"
},
"widgets_values": [
"PLUS FACE (portraits)"
]
},
{
"id": 192,
"type": "Anything Everywhere",
"pos": [
842,
94
],
"size": {
"0": 210,
"1": 26
},
"flags": {
"collapsed": true
},
"order": 57,
"mode": 0,
"inputs": [
{
"name": "MODEL",
"type": "*",
"link": 584,
"color_on": "#B39DDB"
}
],
"properties": {
"Node name for S&R": "Anything Everywhere",
"group_restricted": 0,
"color_restricted": 0
},
"widgets_values": []
},
{
"id": 142,
"type": "FaceAnalysisModels",
"pos": [
-331,
-128
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 12,
"mode": 0,
"outputs": [
{
"name": "ANALYSIS_MODELS",
"type": "ANALYSIS_MODELS",
"links": [
585
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "FaceAnalysisModels"
},
"widgets_values": [
"dlib",
"CPU"
]
},
{
"id": 141,
"type": "FaceBoundingBox",
"pos": [
-314.39995117187505,
-963.9998779296876
],
"size": {
"0": 315,
"1": 186
},
"flags": {},
"order": 35,
"mode": 0,
"inputs": [
{
"name": "analysis_models",
"type": "ANALYSIS_MODELS",
"link": null,
"slot_index": 0
},
{
"name": "image",
"type": "IMAGE",
"link": 520,
"slot_index": 1
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
538,
565
],
"shape": 6,
"slot_index": 0
},
{
"name": "x",
"type": "INT",
"links": [],
"shape": 6,
"slot_index": 1
},
{
"name": "y",
"type": "INT",
"links": [],
"shape": 6,
"slot_index": 2
},
{
"name": "width",
"type": "INT",
"links": [],
"shape": 6,
"slot_index": 3
},
{
"name": "height",
"type": "INT",
"links": [],
"shape": 6,
"slot_index": 4
}
],
"properties": {
"Node name for S&R": "FaceBoundingBox"
},
"widgets_values": [
0,
0.5,
-1
]
},
{
"id": 143,
"type": "FaceBoundingBox",
"pos": [
-337.39995117187505,
-701.9998779296876
],
"size": {
"0": 315,
"1": 186
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "analysis_models",
"type": "ANALYSIS_MODELS",
"link": null,
"slot_index": 0
},
{
"name": "image",
"type": "IMAGE",
"link": null,
"slot_index": 1
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
564
],
"shape": 6,
"slot_index": 0
},
{
"name": "x",
"type": "INT",
"links": [],
"shape": 6,
"slot_index": 1
},
{
"name": "y",
"type": "INT",
"links": [],
"shape": 6,
"slot_index": 2
},
{
"name": "width",
"type": "INT",
"links": [],
"shape": 6,
"slot_index": 3
},
{
"name": "height",
"type": "INT",
"links": [],
"shape": 6,
"slot_index": 4
}
],
"properties": {
"Node name for S&R": "FaceBoundingBox"
},
"widgets_values": [
0,
0.5,
-1
]
},
{
"id": 144,
"type": "FaceBoundingBox",
"pos": [
-327.39995117187505,
-374.99987792968756
],
"size": {
"0": 315,
"1": 186
},
"flags": {},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "analysis_models",
"type": "ANALYSIS_MODELS",
"link": null,
"slot_index": 0
},
{
"name": "image",
"type": "IMAGE",
"link": 521
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
566
],
"shape": 6,
"slot_index": 0
},
{
"name": "x",
"type": "INT",
"links": [],
"shape": 6,
"slot_index": 1
},
{
"name": "y",
"type": "INT",
"links": [],
"shape": 6,
"slot_index": 2
},
{
"name": "width",
"type": "INT",
"links": [],
"shape": 6,
"slot_index": 3
},
{
"name": "height",
"type": "INT",
"links": [],
"shape": 6,
"slot_index": 4
}
],
"properties": {
"Node name for S&R": "FaceBoundingBox"
},
"widgets_values": [
0,
0.5,
-1
]
},
{
"id": 193,
"type": "Anything Everywhere",
"pos": [
-178,
-3
],
"size": {
"0": 210,
"1": 26
},
"flags": {
"collapsed": true
},
"order": 28,
"mode": 0,
"inputs": [
{
"name": "ANALYSIS_MODELS",
"type": "*",
"link": 585,
"color_on": ""
}
],
"properties": {
"Node name for S&R": "Anything Everywhere",
"group_restricted": 0,
"color_restricted": 0
},
"widgets_values": []
},
{
"id": 159,
"type": "CLIP_Interrogator",
"pos": [
-319,
1442
],
"size": {
"0": 315,
"1": 130
},
"flags": {},
"order": 34,
"mode": 4,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 563
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
573
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIP_Interrogator"
},
"widgets_values": [
"full",
false,
true,
"clip_interrogator_prompt.txt"
]
},
{
"id": 109,
"type": "Reroute",
"pos": [
1365,
-438
],
"size": [
75,
26
],
"flags": {},
"order": 61,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 541
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
340,
590
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
},
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 95,
"type": "Reroute",
"pos": [
1720,
-508
],
"size": [
75,
26
],
"flags": {},
"order": 52,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 312
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
305,
315
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 194,
"type": "Reroute",
"pos": [
2461,
-442
],
"size": [
75,
26
],
"flags": {},
"order": 64,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 590
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
591
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 162,
"type": "CR Aspect Ratio",
"pos": [
-318.0306801398887,
929.4486932044707
],
"size": {
"0": 310.69525146484375,
"1": 322
},
"flags": {},
"order": 14,
"mode": 0,
"outputs": [
{
"name": "width",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "height",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "upscale_factor",
"type": "FLOAT",
"links": null,
"shape": 3
},
{
"name": "prescale_factor",
"type": "FLOAT",
"links": null,
"shape": 3
},
{
"name": "batch_size",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "empty_latent",
"type": "LATENT",
"links": [
568
],
"shape": 3,
"slot_index": 5
},
{
"name": "show_help",
"type": "STRING",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "CR Aspect Ratio"
},
"widgets_values": [
768,
1024,
"SDXL - 3:4 portrait 896x1152",
"Off",
1,
1,
1
]
},
{
"id": 72,
"type": "FaceEmbedDistance",
"pos": [
3027.3405797664855,
-1155.621213431198
],
"size": {
"0": 268.3653869628906,
"1": 170
},
"flags": {},
"order": 78,
"mode": 0,
"inputs": [
{
"name": "analysis_models",
"type": "ANALYSIS_MODELS",
"link": null,
"slot_index": 0
},
{
"name": "reference",
"type": "IMAGE",
"link": 599,
"slot_index": 1
},
{
"name": "image",
"type": "IMAGE",
"link": 595
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
241
],
"shape": 3,
"slot_index": 0
},
{
"name": "distance",
"type": "FLOAT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "FaceEmbedDistance"
},
"widgets_values": [
"cosine",
100,
0,
true
]
},
{
"id": 98,
"type": "Reroute",
"pos": [
3438,
217
],
"size": [
75,
26
],
"flags": {},
"order": 62,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 589
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
601
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 118,
"type": "UpscaleModelLoader",
"pos": [
3478.8985525707876,
-956.8839133078324
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 15,
"mode": 0,
"outputs": [
{
"name": "UPSCALE_MODEL",
"type": "UPSCALE_MODEL",
"links": [
369
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "UpscaleModelLoader"
},
"widgets_values": [
"4x_foolhardy_Remacri.pth"
]
},
{
"id": 97,
"type": "Reroute",
"pos": [
2770,
-504
],
"size": [
75,
26
],
"flags": {},
"order": 56,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 315
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
592,
599,
639
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 164,
"type": "ReActorRestoreFace",
"pos": [
22,
-964
],
"size": {
"0": 257.61700439453125,
"1": 130
},
"flags": {},
"order": 41,
"mode": 4,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 538
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
539
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ReActorRestoreFace"
},
"widgets_values": [
"retinaface_resnet50",
"GFPGANv1.4.pth",
1,
0.5
]
},
{
"id": 67,
"type": "FaceBoundingBox",
"pos": [
1864,
-921
],
"size": {
"0": 315,
"1": 186
},
"flags": {},
"order": 63,
"mode": 0,
"inputs": [
{
"name": "analysis_models",
"type": "ANALYSIS_MODELS",
"link": null,
"slot_index": 0
},
{
"name": "image",
"type": "IMAGE",
"link": 340
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
225
],
"shape": 6,
"slot_index": 0
},
{
"name": "x",
"type": "INT",
"links": [
260
],
"shape": 6,
"slot_index": 1
},
{
"name": "y",
"type": "INT",
"links": [
261
],
"shape": 6,
"slot_index": 2
},
{
"name": "width",
"type": "INT",
"links": [
254
],
"shape": 6,
"slot_index": 3
},
{
"name": "height",
"type": "INT",
"links": [
255
],
"shape": 6,
"slot_index": 4
}
],
"properties": {
"Node name for S&R": "FaceBoundingBox"
},
"widgets_values": [
0,
0.5,
-1
]
},
{
"id": 68,
"type": "ImageResize+",
"pos": [
2217,
-897
],
"size": {
"0": 253.85357666015625,
"1": 218
},
"flags": {
"collapsed": true
},
"order": 65,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 225
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
230,
242
],
"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": [
1024,
0,
"lanczos",
true,
"always",
0
]
},
{
"id": 149,
"type": "CR LoRA Stack",
"pos": [
-668,
319
],
"size": {
"0": 315,
"1": 342
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "lora_stack",
"type": "LORA_STACK",
"link": null
}
],
"outputs": [
{
"name": "LORA_STACK",
"type": "LORA_STACK",
"links": [
487
],
"shape": 3,
"slot_index": 0
},
{
"name": "show_help",
"type": "STRING",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "CR LoRA Stack"
},
"widgets_values": [
"Off",
"0.44 magnum revolver.safetensors",
1,
1,
"Off",
"0.44 magnum revolver.safetensors",
1,
1,
"Off",
"None",
1,
1
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
856,
481
],
"size": {
"0": 140,
"1": 46
},
"flags": {},
"order": 58,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 7
},
{
"name": "vae",
"type": "VAE",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
10,
541
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 188,
"type": "Note",
"pos": [
-321,
577
],
"size": {
"0": 313.75634765625,
"1": 90.13552856445312
},
"flags": {},
"order": 17,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"This comes configured for a highly adjustable turbo model. you can use lightning or hyper at 8 steps with the lora loader slot. If you don't mind the quality loss, 4 step is compatible as well."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 112,
"type": "Automatic CFG",
"pos": [
-124,
500
],
"size": {
"0": 315,
"1": 82
},
"flags": {
"collapsed": true
},
"order": 44,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 490
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
581
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Automatic CFG"
},
"widgets_values": [
true,
true
]
},
{
"id": 27,
"type": "CheckpointLoaderSimple",
"pos": [
-658.3037953722268,
165.54016004490106
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 18,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
602
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
607
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
583
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"stableDIFFUSION3BY_sd3.safetensors"
]
},
{
"id": 198,
"type": "TGateApplySimple",
"pos": [
-318,
146
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 30,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 602
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
606
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "TGateApplySimple"
},
"widgets_values": [
1,
false
]
},
{
"id": 199,
"type": "SeaArtLongXLClipMerge",
"pos": [
-316,
281
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 31,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 607
}
],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
605
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "SeaArtLongXLClipMerge"
},
"widgets_values": [
"longclip-L.pt"
]
},
{
"id": 173,
"type": "CR Latent Input Switch",
"pos": [
119,
1254
],
"size": {
"0": 315,
"1": 78
},
"flags": {},
"order": 50,
"mode": 0,
"inputs": [
{
"name": "latent1",
"type": "LATENT",
"link": 560,
"label": "IMG2IMG"
},
{
"name": "latent2",
"type": "LATENT",
"link": 568,
"label": "Empty Latent"
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
569
],
"shape": 3,
"slot_index": 0
},
{
"name": "show_help",
"type": "STRING",
"links": null,
"shape": 3
}
],
"title": "Latent Input Switch",
"properties": {
"Node name for S&R": "CR Latent Input Switch"
},
"widgets_values": [
2
]
},
{
"id": 154,
"type": "LoadImage",
"pos": [
-648.7760008391076,
803.0784103997853
],
"size": {
"0": 315,
"1": 314.0000305175781
},
"flags": {},
"order": 19,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
551,
552,
563
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"ComfyUI_temp_nkjci_00021_ (1).png",
"image"
]
},
{
"id": 69,
"type": "IPAdapterAdvanced",
"pos": [
1073,
54
],
"size": {
"0": 315,
"1": 278
},
"flags": {},
"order": 49,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 233
},
{
"name": "ipadapter",
"type": "IPADAPTER",
"link": 231,
"slot_index": 1
},
{
"name": "image",
"type": "IMAGE",
"link": 528
},
{
"name": "image_negative",
"type": "IMAGE",
"link": null
},
{
"name": "attn_mask",
"type": "MASK",
"link": null
},
{
"name": "clip_vision",
"type": "CLIP_VISION",
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
620
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "IPAdapterAdvanced"
},
"widgets_values": [
0.5,
"linear",
"concat",
0,
0.9,
"V only"
]
},
{
"id": 208,
"type": "Fooocus_KSampler",
"pos": [
1418,
-254
],
"size": {
"0": 315,
"1": 498
},
"flags": {},
"order": 69,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 620
},
{
"name": "positive",
"type": "CONDITIONING",
"link": null
},
{
"name": "negative",
"type": "CONDITIONING",
"link": null
},
{
"name": "latent_image",
"type": "LATENT",
"link": 621
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
622
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Fooocus_KSampler"
},
"widgets_values": [
640956779817757,
"fixed",
8,
1.9000000000000001,
"ddim",
"ddim_uniform",
0.45,
20
]
},
{
"id": 146,
"type": "Reroute",
"pos": [
3265,
-507
],
"size": [
75,
26
],
"flags": {},
"order": 59,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 639
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
589
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 42,
"type": "FaceEmbedDistance",
"pos": [
2212,
-725
],
"size": {
"0": 268.3653869628906,
"1": 170
},
"flags": {},
"order": 66,
"mode": 0,
"inputs": [
{
"name": "analysis_models",
"type": "ANALYSIS_MODELS",
"link": null,
"slot_index": 0
},
{
"name": "reference",
"type": "IMAGE",
"link": 305,
"slot_index": 1
},
{
"name": "image",
"type": "IMAGE",
"link": 230
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
228,
667
],
"shape": 3,
"slot_index": 0
},
{
"name": "distance",
"type": "FLOAT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "FaceEmbedDistance"
},
"widgets_values": [
"cosine",
100,
0,
true
]
},
{
"id": 83,
"type": "FaceEmbedDistance",
"pos": [
2933,
-225
],
"size": {
"0": 268.3653869628906,
"1": 170
},
"flags": {},
"order": 83,
"mode": 0,
"inputs": [
{
"name": "analysis_models",
"type": "ANALYSIS_MODELS",
"link": null,
"slot_index": 0
},
{
"name": "reference",
"type": "IMAGE",
"link": 592
},
{
"name": "image",
"type": "IMAGE",
"link": 645,
"slot_index": 2
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
670
],
"shape": 3,
"slot_index": 0
},
{
"name": "distance",
"type": "FLOAT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "FaceEmbedDistance"
},
"widgets_values": [
"cosine",
100,
0,
true
]
},
{
"id": 222,
"type": "Reroute",
"pos": [
3224.916093176654,
39.46068575168778
],
"size": [
75,
26
],
"flags": {},
"order": 87,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 670
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
704
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 221,
"type": "GrowMask",
"pos": [
2540,
262
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 77,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 662
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
663
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "GrowMask"
},
"widgets_values": [
30,
true
]
},
{
"id": 207,
"type": "UltralyticsDetectorProvider",
"pos": [
2178,
112
],
"size": {
"0": 315,
"1": 78
},
"flags": {},
"order": 20,
"mode": 0,
"outputs": [
{
"name": "BBOX_DETECTOR",
"type": "BBOX_DETECTOR",
"links": null,
"shape": 3
},
{
"name": "SEGM_DETECTOR",
"type": "SEGM_DETECTOR",
"links": [
613
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "UltralyticsDetectorProvider"
},
"widgets_values": [
"segm/face_yolov8m-seg_60.pt"
]
},
{
"id": 206,
"type": "SegmDetectorCombined_v2",
"pos": [
2180,
251
],
"size": {
"0": 315,
"1": 102
},
"flags": {},
"order": 74,
"mode": 0,
"inputs": [
{
"name": "segm_detector",
"type": "SEGM_DETECTOR",
"link": 613,
"slot_index": 0
},
{
"name": "image",
"type": "IMAGE",
"link": 676
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
662
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "SegmDetectorCombined_v2"
},
"widgets_values": [
0.3,
1
]
},
{
"id": 212,
"type": "UpscaleModelLoader",
"pos": [
1742,
280
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 21,
"mode": 0,
"outputs": [
{
"name": "UPSCALE_MODEL",
"type": "UPSCALE_MODEL",
"links": [
625
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "UpscaleModelLoader"
},
"widgets_values": [
"1x_Fatality_DeBlur_270000_G.pth"
]
},
{
"id": 211,
"type": "ImageUpscaleWithModel",
"pos": [
1801,
181
],
"size": {
"0": 226.8000030517578,
"1": 46
},
"flags": {},
"order": 71,
"mode": 0,
"inputs": [
{
"name": "upscale_model",
"type": "UPSCALE_MODEL",
"link": 625,
"slot_index": 0
},
{
"name": "image",
"type": "IMAGE",
"link": 664
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
674,
676
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageUpscaleWithModel"
}
},
{
"id": 39,
"type": "VAEDecode",
"pos": [
1755,
-266
],
"size": {
"0": 140,
"1": 46
},
"flags": {
"collapsed": false
},
"order": 70,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 622
},
{
"name": "vae",
"type": "VAE",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
664,
677
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 80,
"type": "ImageResize+",
"pos": [
2182,
-121
],
"size": {
"0": 303.3677673339844,
"1": 170
},
"flags": {},
"order": 76,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 672
},
{
"name": "width",
"type": "INT",
"link": 254,
"widget": {
"name": "width"
}
},
{
"name": "height",
"type": "INT",
"link": 255,
"widget": {
"name": "height"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
258
],
"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,
"lanczos",
false,
"always",
0
]
},
{
"id": 218,
"type": "ColorMatch",
"pos": [
2181,
-265
],
"size": {
"0": 303.1393127441406,
"1": 78
},
"flags": {},
"order": 73,
"mode": 0,
"inputs": [
{
"name": "image_ref",
"type": "IMAGE",
"link": 667,
"slot_index": 0
},
{
"name": "image_target",
"type": "IMAGE",
"link": 674
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
672
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ColorMatch"
},
"widgets_values": [
"mkl"
]
},
{
"id": 50,
"type": "LoadImage",
"pos": [
-653,
-1094
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 22,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
520,
523
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [],
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"ComfyUI_temp_qbxyd_00004_.png",
"image"
]
},
{
"id": 73,
"type": "PreviewImage",
"pos": [
3019,
-910
],
"size": {
"0": 370,
"1": 360
},
"flags": {},
"order": 80,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 241
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 117,
"type": "PixelKSampleUpscalerProvider",
"pos": [
3468.8985525707876,
-696.8839133078334
],
"size": {
"0": 330,
"1": 374
},
"flags": {},
"order": 29,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": null
},
{
"name": "vae",
"type": "VAE",
"link": null
},
{
"name": "positive",
"type": "CONDITIONING",
"link": null
},
{
"name": "negative",
"type": "CONDITIONING",
"link": null
},
{
"name": "upscale_model_opt",
"type": "UPSCALE_MODEL",
"link": 369,
"slot_index": 4
},
{
"name": "pk_hook_opt",
"type": "PK_HOOK",
"link": 370,
"slot_index": 5
}
],
"outputs": [
{
"name": "UPSCALER",
"type": "UPSCALER",
"links": [
368
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "PixelKSampleUpscalerProvider"
},
"widgets_values": [
"lanczos",
103113523798045,
"randomize",
8,
1.8,
"ddim",
"ddim_uniform",
0.15,
true,
640
]
},
{
"id": 195,
"type": "Reroute",
"pos": [
2816,
-412
],
"size": [
75,
26
],
"flags": {},
"order": 75,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 678
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
595
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 223,
"type": "Reroute",
"pos": [
2025,
-409
],
"size": [
75,
26
],
"flags": {},
"order": 72,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 677
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
678
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 74,
"type": "VAEEncode",
"pos": [
1893,
-443
],
"size": {
"0": 140,
"1": 46
},
"flags": {
"collapsed": true
},
"order": 67,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 242
},
{
"name": "vae",
"type": "VAE",
"link": null
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
621
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 71,
"type": "PrepImageForClipVision",
"pos": [
1074,
-118
],
"size": {
"0": 283.7611999511719,
"1": 106
},
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": null,
"slot_index": 0
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "PrepImageForClipVision"
},
"widgets_values": [
"LANCZOS",
"top",
0
]
},
{
"id": 3,
"type": "KSampler",
"pos": [
521.1574236898565,
796.8402618375225
],
"size": {
"0": 270,
"1": 474.0000305175781
},
"flags": {},
"order": 55,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 496
},
{
"name": "positive",
"type": "CONDITIONING",
"link": null
},
{
"name": "negative",
"type": "CONDITIONING",
"link": null
},
{
"name": "latent_image",
"type": "LATENT",
"link": 569,
"slot_index": 3
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
7
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
274576106487401,
"fixed",
8,
1.8,
"ddim",
"ddim_uniform",
1
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 81,
"type": "ImageCompositeMasked",
"pos": [
2586,
9
],
"size": {
"0": 261.8085632324219,
"1": 138
},
"flags": {},
"order": 79,
"mode": 0,
"inputs": [
{
"name": "destination",
"type": "IMAGE",
"link": 591,
"slot_index": 0
},
{
"name": "source",
"type": "IMAGE",
"link": 258
},
{
"name": "mask",
"type": "MASK",
"link": 663
},
{
"name": "x",
"type": "INT",
"link": 260,
"widget": {
"name": "x"
}
},
{
"name": "y",
"type": "INT",
"link": 261,
"widget": {
"name": "y"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
418
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageCompositeMasked"
},
"widgets_values": [
0,
0,
false
]
},
{
"id": 163,
"type": "Textbox",
"pos": [
71.55846415905188,
789.4150501539186
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 40,
"mode": 0,
"inputs": [
{
"name": "passthrough",
"type": "STRING",
"link": 573,
"widget": {
"name": "passthrough"
}
}
],
"outputs": [
{
"name": "text",
"type": "STRING",
"links": [
537
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Textbox"
},
"widgets_values": [
"",
""
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 10,
"type": "PreviewImage",
"pos": [
1429,
478
],
"size": {
"0": 847.6990356445312,
"1": 1082.607666015625
},
"flags": {},
"order": 60,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 10
}
],
"title": "Initial Image",
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 224,
"type": "PreviewImage",
"pos": [
2334,
483
],
"size": {
"0": 847.6990356445312,
"1": 1082.607666015625
},
"flags": {},
"order": 89,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 704
}
],
"title": "Output Compare",
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 225,
"type": "PreviewImage",
"pos": [
3229,
484
],
"size": {
"0": 847.6990356445312,
"1": 1082.607666015625
},
"flags": {},
"order": 84,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 705
}
],
"title": "Final Image",
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 127,
"type": "ReActorRestoreFace",
"pos": [
2574.762154592736,
-253.60284368185972
],
"size": {
"0": 273.6661071777344,
"1": 130
},
"flags": {},
"order": 81,
"mode": 4,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 418
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
618,
645,
705
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ReActorRestoreFace"
},
"widgets_values": [
"retinaface_resnet50",
"GFPGANv1.4.pth",
0.85,
0.5
]
},
{
"id": 89,
"type": "FaceEmbedDistance",
"pos": [
3881,
194
],
"size": {
"0": 268.3653869628906,
"1": 170
},
"flags": {},
"order": 85,
"mode": 0,
"inputs": [
{
"name": "analysis_models",
"type": "ANALYSIS_MODELS",
"link": null,
"slot_index": 0
},
{
"name": "reference",
"type": "IMAGE",
"link": 601,
"slot_index": 1
},
{
"name": "image",
"type": "IMAGE",
"link": 619
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
706
],
"shape": 3,
"slot_index": 0
},
{
"name": "distance",
"type": "FLOAT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "FaceEmbedDistance"
},
"widgets_values": [
"cosine",
100,
0,
true
]
},
{
"id": 116,
"type": "IterativeImageUpscale",
"pos": [
3492,
-252
],
"size": {
"0": 320,
"1": 382
},
"flags": {},
"order": 82,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 618
},
{
"name": "upscaler",
"type": "UPSCALER",
"link": 368,
"slot_index": 1
},
{
"name": "vae",
"type": "VAE",
"link": null
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
619,
707
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "IterativeImageUpscale"
},
"widgets_values": [
1.5,
2,
"",
"simple"
]
},
{
"id": 169,
"type": "JWImageResize",
"pos": [
-647,
1176
],
"size": {
"0": 315,
"1": 106
},
"flags": {
"collapsed": false
},
"order": 39,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 551,
"slot_index": 0
},
{
"name": "height",
"type": "INT",
"link": 558,
"widget": {
"name": "height"
},
"slot_index": 1
},
{
"name": "width",
"type": "INT",
"link": 557,
"widget": {
"name": "width"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
553
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "JWImageResize"
},
"widgets_values": [
512,
512,
"bicubic"
]
},
{
"id": 150,
"type": "CR Apply LoRA Stack",
"pos": [
-329,
466
],
"size": {
"0": 184.8000030517578,
"1": 66
},
"flags": {},
"order": 38,
"mode": 4,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 606
},
{
"name": "clip",
"type": "CLIP",
"link": 605
},
{
"name": "lora_stack",
"type": "LORA_STACK",
"link": 487
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
490
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
582
],
"shape": 3,
"slot_index": 1
},
{
"name": "show_help",
"type": "STRING",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "CR Apply LoRA Stack"
}
},
{
"id": 227,
"type": "PreviewImage",
"pos": [
4154,
489
],
"size": {
"0": 847.6990356445312,
"1": 1082.607666015625
},
"flags": {},
"order": 86,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 707
}
],
"title": "Final Upscale",
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 226,
"type": "PreviewImage",
"pos": [
3950,
-997
],
"size": {
"0": 847.6990356445312,
"1": 1082.607666015625
},
"flags": {},
"order": 88,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 706
}
],
"title": "Upscale Compare",
"properties": {
"Node name for S&R": "PreviewImage"
}
}
],
"links": [
[
7,
3,
0,
8,
0,
"LATENT"
],
[
10,
8,
0,
10,
0,
"IMAGE"
],
[
225,
67,
0,
68,
0,
"IMAGE"
],
[
228,
42,
0,
40,
0,
"IMAGE"
],
[
230,
68,
0,
42,
2,
"IMAGE"
],
[
231,
70,
1,
69,
1,
"IPADAPTER"
],
[
233,
70,
0,
69,
0,
"MODEL"
],
[
241,
72,
0,
73,
0,
"IMAGE"
],
[
242,
68,
0,
74,
0,
"IMAGE"
],
[
254,
67,
3,
80,
1,
"INT"
],
[
255,
67,
4,
80,
2,
"INT"
],
[
258,
80,
0,
81,
1,
"IMAGE"
],
[
260,
67,
1,
81,
3,
"INT"
],
[
261,
67,
2,
81,
4,
"INT"
],
[
305,
95,
0,
42,
1,
"IMAGE"
],
[
312,
96,
0,
95,
0,
"*"
],
[
315,
95,
0,
97,
0,
"*"
],
[
340,
109,
0,
67,
1,
"IMAGE"
],
[
368,
117,
0,
116,
1,
"UPSCALER"
],
[
369,
118,
0,
117,
4,
"UPSCALE_MODEL"
],
[
370,
119,
0,
117,
5,
"PK_HOOK"
],
[
386,
35,
0,
121,
3,
"FACEANALYSIS"
],
[
387,
96,
0,
121,
4,
"IMAGE"
],
[
388,
34,
0,
121,
2,
"EVA_CLIP"
],
[
389,
33,
0,
121,
1,
"PULID"
],
[
418,
81,
0,
127,
0,
"IMAGE"
],
[
425,
96,
0,
125,
0,
"IMAGE"
],
[
487,
149,
0,
150,
2,
"LORA_STACK"
],
[
490,
150,
0,
112,
0,
"MODEL"
],
[
493,
152,
0,
151,
0,
"MODEL"
],
[
494,
152,
1,
151,
1,
"IPADAPTER"
],
[
496,
151,
0,
3,
0,
"MODEL"
],
[
497,
153,
0,
151,
2,
"IMAGE"
],
[
500,
153,
0,
151,
3,
"IMAGE"
],
[
520,
50,
0,
141,
1,
"IMAGE"
],
[
521,
36,
0,
144,
1,
"IMAGE"
],
[
523,
50,
0,
157,
0,
"*"
],
[
524,
36,
0,
158,
0,
"*"
],
[
528,
130,
0,
69,
2,
"IMAGE"
],
[
530,
157,
0,
130,
0,
"*"
],
[
537,
163,
0,
6,
1,
"STRING"
],
[
538,
141,
0,
164,
0,
"IMAGE"
],
[
539,
164,
0,
96,
0,
"*"
],
[
541,
8,
0,
109,
0,
"*"
],
[
551,
154,
0,
169,
0,
"IMAGE"
],
[
552,
154,
0,
168,
0,
"IMAGE"
],
[
553,
169,
0,
167,
0,
"IMAGE"
],
[
557,
168,
0,
169,
2,
"INT"
],
[
558,
168,
1,
169,
1,
"INT"
],
[
559,
172,
0,
153,
0,
"IMAGE"
],
[
560,
167,
0,
173,
0,
"LATENT"
],
[
563,
154,
0,
159,
0,
"IMAGE"
],
[
564,
143,
0,
51,
1,
"IMAGE"
],
[
565,
141,
0,
51,
0,
"IMAGE"
],
[
566,
144,
0,
51,
2,
"IMAGE"
],
[
567,
49,
0,
176,
0,
"*"
],
[
568,
162,
5,
173,
1,
"LATENT"
],
[
569,
173,
0,
3,
3,
"LATENT"
],
[
573,
159,
0,
163,
0,
"STRING"
],
[
576,
6,
0,
189,
0,
"CONDITIONING"
],
[
577,
7,
0,
189,
1,
"CONDITIONING"
],
[
581,
112,
0,
121,
0,
"MODEL"
],
[
582,
150,
1,
190,
0,
"CLIP"
],
[
583,
27,
2,
191,
0,
"VAE"
],
[
584,
121,
0,
192,
0,
"MODEL"
],
[
585,
142,
0,
193,
0,
"ANALYSIS_MODELS"
],
[
589,
146,
0,
98,
0,
"*"
],
[
590,
109,
0,
194,
0,
"*"
],
[
591,
194,
0,
81,
0,
"IMAGE"
],
[
592,
97,
0,
83,
1,
"IMAGE"
],
[
595,
195,
0,
72,
2,
"IMAGE"
],
[
599,
97,
0,
72,
1,
"IMAGE"
],
[
601,
98,
0,
89,
1,
"IMAGE"
],
[
602,
27,
0,
198,
0,
"MODEL"
],
[
605,
199,
0,
150,
1,
"CLIP"
],
[
606,
198,
0,
150,
0,
"MODEL"
],
[
607,
27,
1,
199,
0,
"CLIP"
],
[
613,
207,
1,
206,
0,
"SEGM_DETECTOR"
],
[
618,
127,
0,
116,
0,
"IMAGE"
],
[
619,
116,
0,
89,
2,
"IMAGE"
],
[
620,
69,
0,
208,
0,
"MODEL"
],
[
621,
74,
0,
208,
3,
"LATENT"
],
[
622,
208,
0,
39,
0,
"LATENT"
],
[
625,
212,
0,
211,
0,
"UPSCALE_MODEL"
],
[
639,
97,
0,
146,
0,
"*"
],
[
645,
127,
0,
83,
2,
"IMAGE"
],
[
662,
206,
0,
221,
0,
"MASK"
],
[
663,
221,
0,
81,
2,
"MASK"
],
[
664,
39,
0,
211,
1,
"IMAGE"
],
[
667,
42,
0,
218,
0,
"IMAGE"
],
[
670,
83,
0,
222,
0,
"*"
],
[
672,
218,
0,
80,
0,
"IMAGE"
],
[
674,
211,
0,
218,
1,
"IMAGE"
],
[
676,
211,
0,
206,
1,
"IMAGE"
],
[
677,
39,
0,
223,
0,
"*"
],
[
678,
223,
0,
195,
0,
"*"
],
[
679,
27,
2,
167,
1,
"VAE"
],
[
680,
150,
1,
7,
0,
"CLIP"
],
[
681,
150,
1,
6,
0,
"CLIP"
],
[
682,
121,
0,
70,
0,
"MODEL"
],
[
683,
142,
0,
141,
0,
"ANALYSIS_MODELS"
],
[
684,
142,
0,
143,
0,
"ANALYSIS_MODELS"
],
[
685,
142,
0,
144,
0,
"ANALYSIS_MODELS"
],
[
686,
142,
0,
72,
0,
"ANALYSIS_MODELS"
],
[
687,
142,
0,
67,
0,
"ANALYSIS_MODELS"
],
[
688,
27,
2,
8,
1,
"VAE"
],
[
689,
142,
0,
89,
0,
"ANALYSIS_MODELS"
],
[
690,
6,
0,
208,
1,
"CONDITIONING"
],
[
691,
7,
0,
208,
2,
"CONDITIONING"
],
[
692,
142,
0,
42,
0,
"ANALYSIS_MODELS"
],
[
693,
142,
0,
83,
0,
"ANALYSIS_MODELS"
],
[
694,
27,
2,
39,
1,
"VAE"
],
[
695,
121,
0,
117,
0,
"MODEL"
],
[
696,
27,
2,
117,
1,
"VAE"
],
[
697,
6,
0,
117,
2,
"CONDITIONING"
],
[
698,
7,
0,
117,
3,
"CONDITIONING"
],
[
699,
27,
2,
74,
1,
"VAE"
],
[
700,
27,
2,
116,
2,
"VAE"
],
[
701,
121,
0,
3,
0,
"MODEL"
],
[
702,
6,
0,
3,
1,
"CONDITIONING"
],
[
703,
7,
0,
3,
2,
"CONDITIONING"
],
[
704,
222,
0,
224,
0,
"IMAGE"
],
[
705,
127,
0,
225,
0,
"IMAGE"
],
[
706,
89,
0,
226,
0,
"IMAGE"
],
[
707,
116,
0,
227,
0,
"IMAGE"
],
[
708,
27,
2,
167,
1,
"VAE"
],
[
709,
199,
0,
7,
0,
"CLIP"
],
[
710,
199,
0,
6,
0,
"CLIP"
],
[
711,
121,
0,
70,
0,
"MODEL"
],
[
712,
142,
0,
141,
0,
"ANALYSIS_MODELS"
],
[
713,
142,
0,
143,
0,
"ANALYSIS_MODELS"
],
[
714,
142,
0,
144,
0,
"ANALYSIS_MODELS"
],
[
715,
142,
0,
72,
0,
"ANALYSIS_MODELS"
],
[
716,
142,
0,
67,
0,
"ANALYSIS_MODELS"
],
[
717,
27,
2,
8,
1,
"VAE"
],
[
718,
6,
0,
208,
1,
"CONDITIONING"
],
[
719,
7,
0,
208,
2,
"CONDITIONING"
],
[
720,
142,
0,
42,
0,
"ANALYSIS_MODELS"
],
[
721,
142,
0,
83,
0,
"ANALYSIS_MODELS"
],
[
722,
27,
2,
39,
1,
"VAE"
],
[
723,
121,
0,
117,
0,
"MODEL"
],
[
724,
27,
2,
117,
1,
"VAE"
],
[
725,
6,
0,
117,
2,
"CONDITIONING"
],
[
726,
7,
0,
117,
3,
"CONDITIONING"
],
[
727,
27,
2,
74,
1,
"VAE"
],
[
728,
121,
0,
3,
0,
"MODEL"
],
[
729,
6,
0,
3,
1,
"CONDITIONING"
],
[
730,
7,
0,
3,
2,
"CONDITIONING"
],
[
731,
142,
0,
89,
0,
"ANALYSIS_MODELS"
],
[
732,
27,
2,
116,
2,
"VAE"
]
],
"groups": [
{
"title": "Prepare Face",
"bounding": [
-680,
-1184,
947,
1212
],
"color": "#3f789e",
"font_size": 24,
"locked": false
},
{
"title": "PuLID",
"bounding": [
323,
-346,
701,
391
],
"color": "#3f789e",
"font_size": 24,
"locked": false
},
{
"title": "Face Rework",
"bounding": [
1041,
-342,
1056,
693
],
"color": "#3f789e",
"font_size": 24,
"locked": false
},
{
"title": "Input face Vs. Rendered Score (lower dist is better)",
"bounding": [
1856,
-1005,
1025,
467
],
"color": "#3f789e",
"font_size": 24,
"locked": false
},
{
"title": "Load Models",
"bounding": [
-688,
72,
710,
614
],
"color": "#3f789e",
"font_size": 24,
"locked": false
},
{
"title": "Generations (Main Ksampler)",
"bounding": [
53,
703,
797,
683
],
"color": "#3f789e",
"font_size": 24,
"locked": false
},
{
"title": "Paste Reworked Face",
"bounding": [
2165,
-358,
714,
727
],
"color": "#3f789e",
"font_size": 24,
"locked": false
},
{
"title": "RE-Render",
"bounding": [
3436,
-1040,
398,
1198
],
"color": "#3f789e",
"font_size": 24,
"locked": false
},
{
"title": "Original vs. Reworked Score",
"bounding": [
2979,
-1259,
423,
740
],
"color": "#3f789e",
"font_size": 24,
"locked": false
},
{
"title": "Input Style",
"bounding": [
49,
72,
692,
547
],
"color": "#3f789e",
"font_size": 24,
"locked": false
},
{
"title": "Latent Input",
"bounding": [
-688,
702,
708,
909
],
"color": "#3f789e",
"font_size": 24,
"locked": false
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.3504938994813933,
"offset": [
-224.98601641469577,
1081.9645111318944
]
},
"0246.VERSION": [
0,
0,
4
]
},
"version": 0.4
}