Inspecta commited on
Commit
b305711
·
verified ·
1 Parent(s): b26e4d5

Upload workflow_api.json

Browse files
Files changed (1) hide show
  1. workflow_api.json +686 -0
workflow_api.json ADDED
@@ -0,0 +1,686 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "1341",
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
+ "1341": {
284
+ "inputs": {
285
+ "device": "auto",
286
+ "image": [
287
+ "1431",
288
+ 0
289
+ ]
290
+ },
291
+ "class_type": "ImageToDevice+",
292
+ "_meta": {
293
+ "title": "🔧 Image To Device"
294
+ }
295
+ },
296
+ "1413": {
297
+ "inputs": {
298
+ "strength": 0.07,
299
+ "start_percent": 0,
300
+ "end_percent": 1,
301
+ "positive": [
302
+ "1418",
303
+ 0
304
+ ],
305
+ "negative": [
306
+ "1418",
307
+ 1
308
+ ],
309
+ "control_net": [
310
+ "1438",
311
+ 0
312
+ ],
313
+ "image": [
314
+ "1334",
315
+ 0
316
+ ],
317
+ "vae": [
318
+ "967",
319
+ 2
320
+ ]
321
+ },
322
+ "class_type": "ControlNetApplyAdvanced",
323
+ "_meta": {
324
+ "title": "Apply ControlNet"
325
+ }
326
+ },
327
+ "1414": {
328
+ "inputs": {
329
+ "control_net_name": "diffusion_pytorch_model_promax.safetensors"
330
+ },
331
+ "class_type": "ControlNetLoader",
332
+ "_meta": {
333
+ "title": "Load ControlNet Model"
334
+ }
335
+ },
336
+ "1417": {
337
+ "inputs": {
338
+ "Auto_CFG": true,
339
+ "cond_mode": "replace_by_custom",
340
+ "uncond_mode": "replace_by_custom",
341
+ "cond_diff_multiplier": 1,
342
+ "uncond_diff_multiplier": 0.1,
343
+ "uncond_sigma_end": 0.1,
344
+ "save_as_preset": false,
345
+ "preset_name": "",
346
+ "model": [
347
+ "967",
348
+ 0
349
+ ]
350
+ },
351
+ "class_type": "Automatic CFG - Custom attentions",
352
+ "_meta": {
353
+ "title": "Automatic CFG - Custom attentions"
354
+ }
355
+ },
356
+ "1418": {
357
+ "inputs": {
358
+ "noise_mask": true,
359
+ "positive": [
360
+ "991",
361
+ 0
362
+ ],
363
+ "negative": [
364
+ "991",
365
+ 0
366
+ ],
367
+ "vae": [
368
+ "967",
369
+ 2
370
+ ],
371
+ "pixels": [
372
+ "1334",
373
+ 0
374
+ ],
375
+ "mask": [
376
+ "1429",
377
+ 0
378
+ ]
379
+ },
380
+ "class_type": "InpaintModelConditioning",
381
+ "_meta": {
382
+ "title": "InpaintModelConditioning"
383
+ }
384
+ },
385
+ "1429": {
386
+ "inputs": {
387
+ "erode_dilate": 16,
388
+ "fill_holes": 0,
389
+ "remove_isolated_pixels": 32,
390
+ "smooth": 16,
391
+ "blur": 16,
392
+ "mask": [
393
+ "1446",
394
+ 0
395
+ ]
396
+ },
397
+ "class_type": "MaskFix+",
398
+ "_meta": {
399
+ "title": "🔧 Mask Fix"
400
+ }
401
+ },
402
+ "1430": {
403
+ "inputs": {
404
+ "upscale_method": "nearest-exact",
405
+ "crop": "disabled",
406
+ "image": [
407
+ "1471",
408
+ 0
409
+ ]
410
+ },
411
+ "class_type": "Resize Image for SDXL",
412
+ "_meta": {
413
+ "title": "Resize Image for SDXL (Mikey)"
414
+ }
415
+ },
416
+ "1431": {
417
+ "inputs": {
418
+ "upscale_method": "nearest-exact",
419
+ "crop": "disabled",
420
+ "image": [
421
+ "1470",
422
+ 0
423
+ ]
424
+ },
425
+ "class_type": "Resize Image for SDXL",
426
+ "_meta": {
427
+ "title": "Resize Image for SDXL (Mikey)"
428
+ }
429
+ },
430
+ "1433": {
431
+ "inputs": {
432
+ "steps": 12,
433
+ "sigma_max": 0.5000000000000001,
434
+ "sigma_min": 1.0000000000000002,
435
+ "rho": 0
436
+ },
437
+ "class_type": "PolyexponentialScheduler",
438
+ "_meta": {
439
+ "title": "PolyexponentialScheduler"
440
+ }
441
+ },
442
+ "1434": {
443
+ "inputs": {
444
+ "add_noise": false,
445
+ "noise_seed": 0,
446
+ "cfg": 1,
447
+ "model": [
448
+ "993",
449
+ 0
450
+ ],
451
+ "positive": [
452
+ "993",
453
+ 1
454
+ ],
455
+ "negative": [
456
+ "993",
457
+ 2
458
+ ],
459
+ "sampler": [
460
+ "1435",
461
+ 0
462
+ ],
463
+ "sigmas": [
464
+ "1433",
465
+ 0
466
+ ],
467
+ "latent_image": [
468
+ "1418",
469
+ 2
470
+ ]
471
+ },
472
+ "class_type": "SamplerCustom",
473
+ "_meta": {
474
+ "title": "SamplerCustom"
475
+ }
476
+ },
477
+ "1435": {
478
+ "inputs": {
479
+ "sampler_name": "lcm"
480
+ },
481
+ "class_type": "KSamplerSelect",
482
+ "_meta": {
483
+ "title": "KSamplerSelect"
484
+ }
485
+ },
486
+ "1436": {
487
+ "inputs": {
488
+ "lora_name": "SDXL\\epiCPhotoXL-Derp2.safetensors",
489
+ "strength_model": 1.0000000000000002,
490
+ "strength_clip": 1,
491
+ "model": [
492
+ "1417",
493
+ 0
494
+ ],
495
+ "clip": [
496
+ "967",
497
+ 1
498
+ ]
499
+ },
500
+ "class_type": "LoraLoader",
501
+ "_meta": {
502
+ "title": "Load LoRA"
503
+ }
504
+ },
505
+ "1438": {
506
+ "inputs": {
507
+ "type": "repaint",
508
+ "control_net": [
509
+ "1414",
510
+ 0
511
+ ]
512
+ },
513
+ "class_type": "SetUnionControlNetType",
514
+ "_meta": {
515
+ "title": "SetUnionControlNetType"
516
+ }
517
+ },
518
+ "1440": {
519
+ "inputs": {
520
+ "target": "area(=w*h)",
521
+ "order": true,
522
+ "take_start": 0,
523
+ "take_count": 1,
524
+ "segs": [
525
+ "1443",
526
+ 0
527
+ ]
528
+ },
529
+ "class_type": "ImpactSEGSOrderedFilter",
530
+ "_meta": {
531
+ "title": "SEGS Filter (ordered)"
532
+ }
533
+ },
534
+ "1441": {
535
+ "inputs": {
536
+ "model_name": "bbox/face_yolov8m.pt"
537
+ },
538
+ "class_type": "UltralyticsDetectorProvider",
539
+ "_meta": {
540
+ "title": "UltralyticsDetectorProvider"
541
+ }
542
+ },
543
+ "1443": {
544
+ "inputs": {
545
+ "bbox_threshold": 0.5000000000000001,
546
+ "bbox_dilation": 21,
547
+ "crop_factor": 1.5,
548
+ "drop_size": 10,
549
+ "sub_threshold": 0.5000000000000001,
550
+ "sub_dilation": 0,
551
+ "sub_bbox_expansion": 0,
552
+ "sam_mask_hint_threshold": 0.7,
553
+ "post_dilation": 0,
554
+ "bbox_detector": [
555
+ "1441",
556
+ 0
557
+ ],
558
+ "image": [
559
+ "1334",
560
+ 0
561
+ ],
562
+ "sam_model_opt": [
563
+ "1445",
564
+ 0
565
+ ],
566
+ "segm_detector_opt": [
567
+ "1441",
568
+ 1
569
+ ]
570
+ },
571
+ "class_type": "ImpactSimpleDetectorSEGS",
572
+ "_meta": {
573
+ "title": "Simple Detector (SEGS)"
574
+ }
575
+ },
576
+ "1445": {
577
+ "inputs": {
578
+ "model_name": "sam_vit_b_01ec64.pth",
579
+ "device_mode": "Prefer GPU"
580
+ },
581
+ "class_type": "SAMLoader",
582
+ "_meta": {
583
+ "title": "SAMLoader (Impact)"
584
+ }
585
+ },
586
+ "1446": {
587
+ "inputs": {
588
+ "segs": [
589
+ "1447",
590
+ 0
591
+ ]
592
+ },
593
+ "class_type": "SegsToCombinedMask",
594
+ "_meta": {
595
+ "title": "SEGS to MASK (combined)"
596
+ }
597
+ },
598
+ "1447": {
599
+ "inputs": {
600
+ "kernel_size": 11,
601
+ "sigma": 7,
602
+ "segs": [
603
+ "1440",
604
+ 0
605
+ ]
606
+ },
607
+ "class_type": "ImpactGaussianBlurMaskInSEGS",
608
+ "_meta": {
609
+ "title": "Gaussian Blur Mask (SEGS)"
610
+ }
611
+ },
612
+ "1460": {
613
+ "inputs": {
614
+ "sampler_name": "lcm"
615
+ },
616
+ "class_type": "KSamplerSelect",
617
+ "_meta": {
618
+ "title": "KSamplerSelect"
619
+ }
620
+ },
621
+ "1461": {
622
+ "inputs": {
623
+ "steps": 6,
624
+ "sigma_max": 0.33000000000000007,
625
+ "sigma_min": 0.6600000000000001,
626
+ "rho": 0
627
+ },
628
+ "class_type": "PolyexponentialScheduler",
629
+ "_meta": {
630
+ "title": "PolyexponentialScheduler"
631
+ }
632
+ },
633
+ "1462": {
634
+ "inputs": {
635
+ "add_noise": true,
636
+ "noise_seed": 1,
637
+ "cfg": 1,
638
+ "model": [
639
+ "993",
640
+ 0
641
+ ],
642
+ "positive": [
643
+ "993",
644
+ 1
645
+ ],
646
+ "negative": [
647
+ "993",
648
+ 2
649
+ ],
650
+ "sampler": [
651
+ "1460",
652
+ 0
653
+ ],
654
+ "sigmas": [
655
+ "1461",
656
+ 0
657
+ ],
658
+ "latent_image": [
659
+ "1434",
660
+ 0
661
+ ]
662
+ },
663
+ "class_type": "SamplerCustom",
664
+ "_meta": {
665
+ "title": "SamplerCustom"
666
+ }
667
+ },
668
+ "1470": {
669
+ "inputs": {
670
+ "image": "2024-06-16_01-22-06_7311.png"
671
+ },
672
+ "class_type": "LoadImage",
673
+ "_meta": {
674
+ "title": "Picture to swap"
675
+ }
676
+ },
677
+ "1471": {
678
+ "inputs": {
679
+ "image": "2024-06-16_01-22-06_7311.png"
680
+ },
681
+ "class_type": "LoadImage",
682
+ "_meta": {
683
+ "title": "Input Face"
684
+ }
685
+ }
686
+ }