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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "957": {
3
+ "inputs": {
4
+ "instantid_file": "Super-shuheInstantID-FaceID-6M.bin"
5
+ },
6
+ "class_type": "InstantIDModelLoader",
7
+ "_meta": {
8
+ "title": "Load InstantID Model"
9
+ }
10
+ },
11
+ "958": {
12
+ "inputs": {
13
+ "control_net_name": "Super-shuheInstantID-FaceID-6M Controlnet.safetensors"
14
+ },
15
+ "class_type": "ControlNetLoader",
16
+ "_meta": {
17
+ "title": "Load ControlNet Model"
18
+ }
19
+ },
20
+ "959": {
21
+ "inputs": {
22
+ "faceanalysis": [
23
+ "979",
24
+ 0
25
+ ],
26
+ "image": [
27
+ "1332",
28
+ 0
29
+ ]
30
+ },
31
+ "class_type": "FaceKeypointsPreprocessor",
32
+ "_meta": {
33
+ "title": "Face Keypoints Preprocessor"
34
+ }
35
+ },
36
+ "967": {
37
+ "inputs": {
38
+ "ckpt_name": "SDXL\\gonzalomoXLFluxPony_v40UnityXLDMD.safetensors"
39
+ },
40
+ "class_type": "CheckpointLoaderSimple",
41
+ "_meta": {
42
+ "title": "Load Checkpoint"
43
+ }
44
+ },
45
+ "979": {
46
+ "inputs": {
47
+ "provider": "CPU"
48
+ },
49
+ "class_type": "InstantIDFaceAnalysis",
50
+ "_meta": {
51
+ "title": "InstantID Face Analysis"
52
+ }
53
+ },
54
+ "991": {
55
+ "inputs": {
56
+ "text": [
57
+ "1013",
58
+ 0
59
+ ],
60
+ "speak_and_recognation": {
61
+ "__value__": [
62
+ false,
63
+ true
64
+ ]
65
+ },
66
+ "clip": [
67
+ "1436",
68
+ 1
69
+ ]
70
+ },
71
+ "class_type": "CLIPTextEncode",
72
+ "_meta": {
73
+ "title": "Positive  \n"
74
+ }
75
+ },
76
+ "992": {
77
+ "inputs": {
78
+ "text": "",
79
+ "speak_and_recognation": {
80
+ "__value__": [
81
+ false,
82
+ true
83
+ ]
84
+ },
85
+ "clip": [
86
+ "1436",
87
+ 1
88
+ ]
89
+ },
90
+ "class_type": "CLIPTextEncode",
91
+ "_meta": {
92
+ "title": "Negative\n"
93
+ }
94
+ },
95
+ "993": {
96
+ "inputs": {
97
+ "weight": 1.0000000000000002,
98
+ "start_at": 0,
99
+ "end_at": 1,
100
+ "instantid": [
101
+ "957",
102
+ 0
103
+ ],
104
+ "insightface": [
105
+ "979",
106
+ 0
107
+ ],
108
+ "control_net": [
109
+ "958",
110
+ 0
111
+ ],
112
+ "image": [
113
+ "1430",
114
+ 0
115
+ ],
116
+ "model": [
117
+ "1436",
118
+ 0
119
+ ],
120
+ "positive": [
121
+ "1413",
122
+ 0
123
+ ],
124
+ "negative": [
125
+ "1413",
126
+ 1
127
+ ],
128
+ "image_kps": [
129
+ "959",
130
+ 0
131
+ ]
132
+ },
133
+ "class_type": "ApplyInstantID",
134
+ "_meta": {
135
+ "title": "Apply InstantID"
136
+ }
137
+ },
138
+ "1013": {
139
+ "inputs": {
140
+ "positive": "",
141
+ "speak_and_recognation": {
142
+ "__value__": [
143
+ false,
144
+ true
145
+ ]
146
+ }
147
+ },
148
+ "class_type": "easy positive",
149
+ "_meta": {
150
+ "title": "Positive"
151
+ }
152
+ },
153
+ "1271": {
154
+ "inputs": {
155
+ "filename_prefix": "ComfyUI",
156
+ "images": [
157
+ "1331",
158
+ 0
159
+ ]
160
+ },
161
+ "class_type": "SaveImage",
162
+ "_meta": {
163
+ "title": "Save Image"
164
+ }
165
+ },
166
+ "1321": {
167
+ "inputs": {
168
+ "samples": [
169
+ "1462",
170
+ 1
171
+ ],
172
+ "vae": [
173
+ "967",
174
+ 2
175
+ ]
176
+ },
177
+ "class_type": "VAEDecode",
178
+ "_meta": {
179
+ "title": "VAE Decode"
180
+ }
181
+ },
182
+ "1331": {
183
+ "inputs": {
184
+ "images_a_x": 0,
185
+ "images_a_y": 0,
186
+ "images_b_x": [
187
+ "1332",
188
+ 1
189
+ ],
190
+ "images_b_y": [
191
+ "1332",
192
+ 2
193
+ ],
194
+ "container_width": 0,
195
+ "container_height": 0,
196
+ "background": "images_a",
197
+ "method": "pair",
198
+ "images_a": [
199
+ "1431",
200
+ 0
201
+ ],
202
+ "images_b": [
203
+ "1335",
204
+ 0
205
+ ]
206
+ },
207
+ "class_type": "ImageCompositeAbsolute",
208
+ "_meta": {
209
+ "title": "ImageCompositeAbsolute"
210
+ }
211
+ },
212
+ "1332": {
213
+ "inputs": {
214
+ "padding": 0,
215
+ "padding_percent": 0.5000000000000001,
216
+ "index": -1,
217
+ "analysis_models": [
218
+ "1333",
219
+ 0
220
+ ],
221
+ "image": [
222
+ "1431",
223
+ 0
224
+ ]
225
+ },
226
+ "class_type": "FaceBoundingBox",
227
+ "_meta": {
228
+ "title": "Face Bounding Box"
229
+ }
230
+ },
231
+ "1333": {
232
+ "inputs": {
233
+ "library": "insightface",
234
+ "provider": "CPU"
235
+ },
236
+ "class_type": "FaceAnalysisModels",
237
+ "_meta": {
238
+ "title": "Face Analysis Models"
239
+ }
240
+ },
241
+ "1334": {
242
+ "inputs": {
243
+ "width": 1024,
244
+ "height": 0,
245
+ "interpolation": "bicubic",
246
+ "method": "keep proportion",
247
+ "condition": "upscale if smaller",
248
+ "multiple_of": 0,
249
+ "image": [
250
+ "1332",
251
+ 0
252
+ ]
253
+ },
254
+ "class_type": "ImageResize+",
255
+ "_meta": {
256
+ "title": "🔧 Image Resize"
257
+ }
258
+ },
259
+ "1335": {
260
+ "inputs": {
261
+ "width": [
262
+ "1332",
263
+ 3
264
+ ],
265
+ "height": [
266
+ "1332",
267
+ 4
268
+ ],
269
+ "interpolation": "bicubic",
270
+ "method": "keep proportion",
271
+ "condition": "always",
272
+ "multiple_of": 0,
273
+ "image": [
274
+ "1321",
275
+ 0
276
+ ]
277
+ },
278
+ "class_type": "ImageResize+",
279
+ "_meta": {
280
+ "title": "🔧 Image Resize"
281
+ }
282
+ },
283
+ "1413": {
284
+ "inputs": {
285
+ "strength": 0.07,
286
+ "start_percent": 0,
287
+ "end_percent": 1,
288
+ "positive": [
289
+ "1418",
290
+ 0
291
+ ],
292
+ "negative": [
293
+ "1418",
294
+ 1
295
+ ],
296
+ "control_net": [
297
+ "1438",
298
+ 0
299
+ ],
300
+ "image": [
301
+ "1334",
302
+ 0
303
+ ],
304
+ "vae": [
305
+ "967",
306
+ 2
307
+ ]
308
+ },
309
+ "class_type": "ControlNetApplyAdvanced",
310
+ "_meta": {
311
+ "title": "Apply ControlNet"
312
+ }
313
+ },
314
+ "1414": {
315
+ "inputs": {
316
+ "control_net_name": "diffusion_pytorch_model_promax.safetensors"
317
+ },
318
+ "class_type": "ControlNetLoader",
319
+ "_meta": {
320
+ "title": "Load ControlNet Model"
321
+ }
322
+ },
323
+ "1417": {
324
+ "inputs": {
325
+ "Auto_CFG": true,
326
+ "cond_mode": "replace_by_custom",
327
+ "uncond_mode": "replace_by_custom",
328
+ "cond_diff_multiplier": 1,
329
+ "uncond_diff_multiplier": 0.1,
330
+ "uncond_sigma_end": 0.1,
331
+ "save_as_preset": false,
332
+ "preset_name": "",
333
+ "model": [
334
+ "967",
335
+ 0
336
+ ]
337
+ },
338
+ "class_type": "Automatic CFG - Custom attentions",
339
+ "_meta": {
340
+ "title": "Automatic CFG - Custom attentions"
341
+ }
342
+ },
343
+ "1418": {
344
+ "inputs": {
345
+ "noise_mask": true,
346
+ "positive": [
347
+ "991",
348
+ 0
349
+ ],
350
+ "negative": [
351
+ "991",
352
+ 0
353
+ ],
354
+ "vae": [
355
+ "967",
356
+ 2
357
+ ],
358
+ "pixels": [
359
+ "1334",
360
+ 0
361
+ ],
362
+ "mask": [
363
+ "1429",
364
+ 0
365
+ ]
366
+ },
367
+ "class_type": "InpaintModelConditioning",
368
+ "_meta": {
369
+ "title": "InpaintModelConditioning"
370
+ }
371
+ },
372
+ "1429": {
373
+ "inputs": {
374
+ "erode_dilate": 16,
375
+ "fill_holes": 0,
376
+ "remove_isolated_pixels": 32,
377
+ "smooth": 16,
378
+ "blur": 16,
379
+ "mask": [
380
+ "1446",
381
+ 0
382
+ ]
383
+ },
384
+ "class_type": "MaskFix+",
385
+ "_meta": {
386
+ "title": "🔧 Mask Fix"
387
+ }
388
+ },
389
+ "1430": {
390
+ "inputs": {
391
+ "upscale_method": "nearest-exact",
392
+ "crop": "disabled",
393
+ "image": [
394
+ "1471",
395
+ 0
396
+ ]
397
+ },
398
+ "class_type": "Resize Image for SDXL",
399
+ "_meta": {
400
+ "title": "Resize Image for SDXL (Mikey)"
401
+ }
402
+ },
403
+ "1431": {
404
+ "inputs": {
405
+ "upscale_method": "nearest-exact",
406
+ "crop": "disabled",
407
+ "image": [
408
+ "1470",
409
+ 0
410
+ ]
411
+ },
412
+ "class_type": "Resize Image for SDXL",
413
+ "_meta": {
414
+ "title": "Resize Image for SDXL (Mikey)"
415
+ }
416
+ },
417
+ "1433": {
418
+ "inputs": {
419
+ "steps": 12,
420
+ "sigma_max": 0.5000000000000001,
421
+ "sigma_min": 1.0000000000000002,
422
+ "rho": 0
423
+ },
424
+ "class_type": "PolyexponentialScheduler",
425
+ "_meta": {
426
+ "title": "PolyexponentialScheduler"
427
+ }
428
+ },
429
+ "1434": {
430
+ "inputs": {
431
+ "add_noise": false,
432
+ "noise_seed": 0,
433
+ "cfg": 1,
434
+ "model": [
435
+ "993",
436
+ 0
437
+ ],
438
+ "positive": [
439
+ "993",
440
+ 1
441
+ ],
442
+ "negative": [
443
+ "993",
444
+ 2
445
+ ],
446
+ "sampler": [
447
+ "1435",
448
+ 0
449
+ ],
450
+ "sigmas": [
451
+ "1433",
452
+ 0
453
+ ],
454
+ "latent_image": [
455
+ "1418",
456
+ 2
457
+ ]
458
+ },
459
+ "class_type": "SamplerCustom",
460
+ "_meta": {
461
+ "title": "SamplerCustom"
462
+ }
463
+ },
464
+ "1435": {
465
+ "inputs": {
466
+ "sampler_name": "lcm"
467
+ },
468
+ "class_type": "KSamplerSelect",
469
+ "_meta": {
470
+ "title": "KSamplerSelect"
471
+ }
472
+ },
473
+ "1436": {
474
+ "inputs": {
475
+ "lora_name": "SDXL\\epiCPhotoXL-Derp2.safetensors",
476
+ "strength_model": 1.0000000000000002,
477
+ "strength_clip": 1,
478
+ "model": [
479
+ "1417",
480
+ 0
481
+ ],
482
+ "clip": [
483
+ "967",
484
+ 1
485
+ ]
486
+ },
487
+ "class_type": "LoraLoader",
488
+ "_meta": {
489
+ "title": "Load LoRA"
490
+ }
491
+ },
492
+ "1438": {
493
+ "inputs": {
494
+ "type": "repaint",
495
+ "control_net": [
496
+ "1414",
497
+ 0
498
+ ]
499
+ },
500
+ "class_type": "SetUnionControlNetType",
501
+ "_meta": {
502
+ "title": "SetUnionControlNetType"
503
+ }
504
+ },
505
+ "1440": {
506
+ "inputs": {
507
+ "target": "area(=w*h)",
508
+ "order": true,
509
+ "take_start": 0,
510
+ "take_count": 1,
511
+ "segs": [
512
+ "1443",
513
+ 0
514
+ ]
515
+ },
516
+ "class_type": "ImpactSEGSOrderedFilter",
517
+ "_meta": {
518
+ "title": "SEGS Filter (ordered)"
519
+ }
520
+ },
521
+ "1441": {
522
+ "inputs": {
523
+ "model_name": "bbox/face_yolov8m.pt"
524
+ },
525
+ "class_type": "UltralyticsDetectorProvider",
526
+ "_meta": {
527
+ "title": "UltralyticsDetectorProvider"
528
+ }
529
+ },
530
+ "1443": {
531
+ "inputs": {
532
+ "bbox_threshold": 0.5000000000000001,
533
+ "bbox_dilation": 21,
534
+ "crop_factor": 1.5,
535
+ "drop_size": 10,
536
+ "sub_threshold": 0.5000000000000001,
537
+ "sub_dilation": 0,
538
+ "sub_bbox_expansion": 0,
539
+ "sam_mask_hint_threshold": 0.7,
540
+ "post_dilation": 0,
541
+ "bbox_detector": [
542
+ "1441",
543
+ 0
544
+ ],
545
+ "image": [
546
+ "1334",
547
+ 0
548
+ ],
549
+ "sam_model_opt": [
550
+ "1445",
551
+ 0
552
+ ],
553
+ "segm_detector_opt": [
554
+ "1441",
555
+ 1
556
+ ]
557
+ },
558
+ "class_type": "ImpactSimpleDetectorSEGS",
559
+ "_meta": {
560
+ "title": "Simple Detector (SEGS)"
561
+ }
562
+ },
563
+ "1445": {
564
+ "inputs": {
565
+ "model_name": "sam_vit_b_01ec64.pth",
566
+ "device_mode": "Prefer GPU"
567
+ },
568
+ "class_type": "SAMLoader",
569
+ "_meta": {
570
+ "title": "SAMLoader (Impact)"
571
+ }
572
+ },
573
+ "1446": {
574
+ "inputs": {
575
+ "segs": [
576
+ "1447",
577
+ 0
578
+ ]
579
+ },
580
+ "class_type": "SegsToCombinedMask",
581
+ "_meta": {
582
+ "title": "SEGS to MASK (combined)"
583
+ }
584
+ },
585
+ "1447": {
586
+ "inputs": {
587
+ "kernel_size": 11,
588
+ "sigma": 7,
589
+ "segs": [
590
+ "1440",
591
+ 0
592
+ ]
593
+ },
594
+ "class_type": "ImpactGaussianBlurMaskInSEGS",
595
+ "_meta": {
596
+ "title": "Gaussian Blur Mask (SEGS)"
597
+ }
598
+ },
599
+ "1460": {
600
+ "inputs": {
601
+ "sampler_name": "lcm"
602
+ },
603
+ "class_type": "KSamplerSelect",
604
+ "_meta": {
605
+ "title": "KSamplerSelect"
606
+ }
607
+ },
608
+ "1461": {
609
+ "inputs": {
610
+ "steps": 6,
611
+ "sigma_max": 0.33000000000000007,
612
+ "sigma_min": 0.6600000000000001,
613
+ "rho": 0
614
+ },
615
+ "class_type": "PolyexponentialScheduler",
616
+ "_meta": {
617
+ "title": "PolyexponentialScheduler"
618
+ }
619
+ },
620
+ "1462": {
621
+ "inputs": {
622
+ "add_noise": true,
623
+ "noise_seed": 1,
624
+ "cfg": 1,
625
+ "model": [
626
+ "993",
627
+ 0
628
+ ],
629
+ "positive": [
630
+ "993",
631
+ 1
632
+ ],
633
+ "negative": [
634
+ "993",
635
+ 2
636
+ ],
637
+ "sampler": [
638
+ "1460",
639
+ 0
640
+ ],
641
+ "sigmas": [
642
+ "1461",
643
+ 0
644
+ ],
645
+ "latent_image": [
646
+ "1434",
647
+ 0
648
+ ]
649
+ },
650
+ "class_type": "SamplerCustom",
651
+ "_meta": {
652
+ "title": "SamplerCustom"
653
+ }
654
+ },
655
+ "1470": {
656
+ "inputs": {
657
+ "image": "pexels-olly-733872.jpg"
658
+ },
659
+ "class_type": "LoadImage",
660
+ "_meta": {
661
+ "title": "Picture to swap"
662
+ }
663
+ },
664
+ "1471": {
665
+ "inputs": {
666
+ "image": "hockerty_white_pearls_f7641c1b-1462-4649-b2f7-cf3b379f2f91_0 - Copie.jpg"
667
+ },
668
+ "class_type": "LoadImage",
669
+ "_meta": {
670
+ "title": "Input Face"
671
+ }
672
+ }
673
+ }