Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ninjaneural
GitHub Repository: ninjaneural/webui
Path: blob/master/memo/comfyui_anidiff_facedetail/workflow2.json
3275 views
1
{
2
"last_node_id": 36,
3
"last_link_id": 52,
4
"nodes": [
5
{
6
"id": 29,
7
"type": "UltralyticsDetectorProvider",
8
"pos": [
9
713,
10
600
11
],
12
"size": {
13
"0": 315,
14
"1": 78
15
},
16
"flags": {},
17
"order": 0,
18
"mode": 0,
19
"outputs": [
20
{
21
"name": "BBOX_DETECTOR",
22
"type": "BBOX_DETECTOR",
23
"links": [
24
37
25
],
26
"shape": 3,
27
"slot_index": 0
28
},
29
{
30
"name": "SEGM_DETECTOR",
31
"type": "SEGM_DETECTOR",
32
"links": null,
33
"shape": 3
34
}
35
],
36
"properties": {
37
"Node name for S&R": "UltralyticsDetectorProvider"
38
},
39
"widgets_values": [
40
"bbox/face_yolov8m.pt"
41
]
42
},
43
{
44
"id": 30,
45
"type": "SAMLoader",
46
"pos": [
47
711,
48
732
49
],
50
"size": {
51
"0": 315,
52
"1": 82
53
},
54
"flags": {},
55
"order": 1,
56
"mode": 0,
57
"outputs": [
58
{
59
"name": "SAM_MODEL",
60
"type": "SAM_MODEL",
61
"links": [
62
39
63
],
64
"shape": 3,
65
"slot_index": 0
66
}
67
],
68
"properties": {
69
"Node name for S&R": "SAMLoader"
70
},
71
"widgets_values": [
72
"sam_vit_b_01ec64.pth",
73
"AUTO"
74
]
75
},
76
{
77
"id": 32,
78
"type": "ImpactSEGSToMaskList",
79
"pos": [
80
748,
81
929
82
],
83
"size": {
84
"0": 210,
85
"1": 26
86
},
87
"flags": {},
88
"order": 8,
89
"mode": 0,
90
"inputs": [
91
{
92
"name": "segs",
93
"type": "SEGS",
94
"link": 40
95
}
96
],
97
"outputs": [
98
{
99
"name": "MASK",
100
"type": "MASK",
101
"links": [
102
41
103
],
104
"shape": 6,
105
"slot_index": 0
106
}
107
],
108
"properties": {
109
"Node name for S&R": "ImpactSEGSToMaskList"
110
}
111
},
112
{
113
"id": 31,
114
"type": "ImpactSimpleDetectorSEGS",
115
"pos": [
116
1167,
117
520
118
],
119
"size": {
120
"0": 315,
121
"1": 310
122
},
123
"flags": {},
124
"order": 5,
125
"mode": 0,
126
"inputs": [
127
{
128
"name": "bbox_detector",
129
"type": "BBOX_DETECTOR",
130
"link": 37
131
},
132
{
133
"name": "image",
134
"type": "IMAGE",
135
"link": 38
136
},
137
{
138
"name": "sam_model_opt",
139
"type": "SAM_MODEL",
140
"link": 39
141
},
142
{
143
"name": "segm_detector_opt",
144
"type": "SEGM_DETECTOR",
145
"link": null
146
}
147
],
148
"outputs": [
149
{
150
"name": "SEGS",
151
"type": "SEGS",
152
"links": [
153
40,
154
42
155
],
156
"shape": 3,
157
"slot_index": 0
158
}
159
],
160
"properties": {
161
"Node name for S&R": "ImpactSimpleDetectorSEGS"
162
},
163
"widgets_values": [
164
0.5,
165
0,
166
3,
167
10,
168
0.5,
169
0,
170
0,
171
0.7,
172
0
173
]
174
},
175
{
176
"id": 28,
177
"type": "SaveImage",
178
"pos": [
179
1775,
180
423
181
],
182
"size": {
183
"0": 614.8038330078125,
184
"1": 722.6799926757812
185
},
186
"flags": {},
187
"order": 13,
188
"mode": 0,
189
"inputs": [
190
{
191
"name": "images",
192
"type": "IMAGE",
193
"link": 46
194
}
195
],
196
"properties": {
197
"Node name for S&R": "SaveImage"
198
},
199
"widgets_values": [
200
"ComfyUI"
201
]
202
},
203
{
204
"id": 11,
205
"type": "LoadImage",
206
"pos": [
207
148,
208
478
209
],
210
"size": {
211
"0": 315,
212
"1": 314
213
},
214
"flags": {},
215
"order": 2,
216
"mode": 0,
217
"outputs": [
218
{
219
"name": "IMAGE",
220
"type": "IMAGE",
221
"links": [
222
38,
223
43,
224
45
225
],
226
"shape": 3,
227
"slot_index": 0
228
},
229
{
230
"name": "MASK",
231
"type": "MASK",
232
"links": null,
233
"shape": 3
234
}
235
],
236
"properties": {
237
"Node name for S&R": "LoadImage"
238
},
239
"widgets_values": [
240
"0000077.png",
241
"image"
242
]
243
},
244
{
245
"id": 35,
246
"type": "SEGSPaste",
247
"pos": [
248
1177,
249
1433
250
],
251
"size": {
252
"0": 315,
253
"1": 122
254
},
255
"flags": {},
256
"order": 12,
257
"mode": 0,
258
"inputs": [
259
{
260
"name": "image",
261
"type": "IMAGE",
262
"link": 45
263
},
264
{
265
"name": "segs",
266
"type": "SEGS",
267
"link": 44
268
},
269
{
270
"name": "ref_image_opt",
271
"type": "IMAGE",
272
"link": null
273
}
274
],
275
"outputs": [
276
{
277
"name": "IMAGE",
278
"type": "IMAGE",
279
"links": [
280
46
281
],
282
"shape": 3,
283
"slot_index": 0
284
}
285
],
286
"properties": {
287
"Node name for S&R": "SEGSPaste"
288
},
289
"widgets_values": [
290
5,
291
255
292
]
293
},
294
{
295
"id": 34,
296
"type": "SEGSDetailer",
297
"pos": [
298
1147,
299
880
300
],
301
"size": {
302
"0": 430.8000183105469,
303
"1": 522
304
},
305
"flags": {},
306
"order": 11,
307
"mode": 0,
308
"inputs": [
309
{
310
"name": "image",
311
"type": "IMAGE",
312
"link": 43
313
},
314
{
315
"name": "segs",
316
"type": "SEGS",
317
"link": 42
318
},
319
{
320
"name": "basic_pipe",
321
"type": "BASIC_PIPE",
322
"link": 47
323
},
324
{
325
"name": "refiner_basic_pipe_opt",
326
"type": "BASIC_PIPE",
327
"link": null
328
},
329
{
330
"name": "scheduler_func_opt",
331
"type": "SCHEDULER_FUNC",
332
"link": null
333
}
334
],
335
"outputs": [
336
{
337
"name": "segs",
338
"type": "SEGS",
339
"links": [
340
44
341
],
342
"shape": 3,
343
"slot_index": 0
344
},
345
{
346
"name": "cnet_images",
347
"type": "IMAGE",
348
"links": null,
349
"shape": 6
350
}
351
],
352
"properties": {
353
"Node name for S&R": "SEGSDetailer"
354
},
355
"widgets_values": [
356
256,
357
true,
358
768,
359
0,
360
"randomize",
361
20,
362
8,
363
"euler",
364
"normal",
365
0.5,
366
true,
367
false,
368
0.2,
369
1,
370
1,
371
false,
372
20
373
]
374
},
375
{
376
"id": 36,
377
"type": "ToBasicPipe",
378
"pos": [
379
1175,
380
292
381
],
382
"size": {
383
"0": 241.79998779296875,
384
"1": 106
385
},
386
"flags": {},
387
"order": 9,
388
"mode": 0,
389
"inputs": [
390
{
391
"name": "model",
392
"type": "MODEL",
393
"link": 48
394
},
395
{
396
"name": "clip",
397
"type": "CLIP",
398
"link": 49
399
},
400
{
401
"name": "vae",
402
"type": "VAE",
403
"link": 50
404
},
405
{
406
"name": "positive",
407
"type": "CONDITIONING",
408
"link": 51
409
},
410
{
411
"name": "negative",
412
"type": "CONDITIONING",
413
"link": 52
414
}
415
],
416
"outputs": [
417
{
418
"name": "basic_pipe",
419
"type": "BASIC_PIPE",
420
"links": [
421
47
422
],
423
"shape": 3,
424
"slot_index": 0
425
}
426
],
427
"properties": {
428
"Node name for S&R": "ToBasicPipe"
429
}
430
},
431
{
432
"id": 10,
433
"type": "CheckpointLoaderSimple",
434
"pos": [
435
153,
436
203
437
],
438
"size": {
439
"0": 315,
440
"1": 98
441
},
442
"flags": {},
443
"order": 3,
444
"mode": 0,
445
"outputs": [
446
{
447
"name": "MODEL",
448
"type": "MODEL",
449
"links": [
450
48
451
],
452
"slot_index": 0
453
},
454
{
455
"name": "CLIP",
456
"type": "CLIP",
457
"links": [
458
29,
459
32,
460
49
461
],
462
"slot_index": 1
463
},
464
{
465
"name": "VAE",
466
"type": "VAE",
467
"links": [],
468
"slot_index": 2
469
}
470
],
471
"properties": {
472
"Node name for S&R": "CheckpointLoaderSimple"
473
},
474
"widgets_values": [
475
"sd15\\caramelapple_v12.safetensors"
476
]
477
},
478
{
479
"id": 24,
480
"type": "VAELoader",
481
"pos": [
482
152,
483
358
484
],
485
"size": {
486
"0": 315,
487
"1": 58
488
},
489
"flags": {},
490
"order": 4,
491
"mode": 0,
492
"outputs": [
493
{
494
"name": "VAE",
495
"type": "VAE",
496
"links": [
497
50
498
],
499
"shape": 3,
500
"slot_index": 0
501
}
502
],
503
"properties": {
504
"Node name for S&R": "VAELoader"
505
},
506
"widgets_values": [
507
"vae-ft-mse-840000-ema-pruned.safetensors"
508
]
509
},
510
{
511
"id": 26,
512
"type": "CLIPTextEncode",
513
"pos": [
514
594,
515
176
516
],
517
"size": {
518
"0": 409.20001220703125,
519
"1": 92.4000015258789
520
},
521
"flags": {},
522
"order": 6,
523
"mode": 0,
524
"inputs": [
525
{
526
"name": "clip",
527
"type": "CLIP",
528
"link": 29
529
}
530
],
531
"outputs": [
532
{
533
"name": "CONDITIONING",
534
"type": "CONDITIONING",
535
"links": [
536
51
537
],
538
"shape": 3,
539
"slot_index": 0
540
}
541
],
542
"properties": {
543
"Node name for S&R": "CLIPTextEncode"
544
},
545
"widgets_values": [
546
" (masterpiece, best quality, high quality:1.2), girls"
547
]
548
},
549
{
550
"id": 27,
551
"type": "CLIPTextEncode",
552
"pos": [
553
590,
554
320
555
],
556
"size": {
557
"0": 409.20001220703125,
558
"1": 92.4000015258789
559
},
560
"flags": {},
561
"order": 7,
562
"mode": 0,
563
"inputs": [
564
{
565
"name": "clip",
566
"type": "CLIP",
567
"link": 32
568
}
569
],
570
"outputs": [
571
{
572
"name": "CONDITIONING",
573
"type": "CONDITIONING",
574
"links": [
575
52
576
],
577
"shape": 3,
578
"slot_index": 0
579
}
580
],
581
"properties": {
582
"Node name for S&R": "CLIPTextEncode"
583
},
584
"widgets_values": [
585
"(worst quality, low quality:1.3), "
586
]
587
},
588
{
589
"id": 33,
590
"type": "MaskPreview+",
591
"pos": [
592
681,
593
1002
594
],
595
"size": {
596
"0": 342.3247375488281,
597
"1": 399.5501403808594
598
},
599
"flags": {},
600
"order": 10,
601
"mode": 0,
602
"inputs": [
603
{
604
"name": "mask",
605
"type": "MASK",
606
"link": 41
607
}
608
],
609
"properties": {
610
"Node name for S&R": "MaskPreview+"
611
}
612
}
613
],
614
"links": [
615
[
616
29,
617
10,
618
1,
619
26,
620
0,
621
"CLIP"
622
],
623
[
624
32,
625
10,
626
1,
627
27,
628
0,
629
"CLIP"
630
],
631
[
632
37,
633
29,
634
0,
635
31,
636
0,
637
"BBOX_DETECTOR"
638
],
639
[
640
38,
641
11,
642
0,
643
31,
644
1,
645
"IMAGE"
646
],
647
[
648
39,
649
30,
650
0,
651
31,
652
2,
653
"SAM_MODEL"
654
],
655
[
656
40,
657
31,
658
0,
659
32,
660
0,
661
"SEGS"
662
],
663
[
664
41,
665
32,
666
0,
667
33,
668
0,
669
"MASK"
670
],
671
[
672
42,
673
31,
674
0,
675
34,
676
1,
677
"SEGS"
678
],
679
[
680
43,
681
11,
682
0,
683
34,
684
0,
685
"IMAGE"
686
],
687
[
688
44,
689
34,
690
0,
691
35,
692
1,
693
"SEGS"
694
],
695
[
696
45,
697
11,
698
0,
699
35,
700
0,
701
"IMAGE"
702
],
703
[
704
46,
705
35,
706
0,
707
28,
708
0,
709
"IMAGE"
710
],
711
[
712
47,
713
36,
714
0,
715
34,
716
2,
717
"BASIC_PIPE"
718
],
719
[
720
48,
721
10,
722
0,
723
36,
724
0,
725
"MODEL"
726
],
727
[
728
49,
729
10,
730
1,
731
36,
732
1,
733
"CLIP"
734
],
735
[
736
50,
737
24,
738
0,
739
36,
740
2,
741
"VAE"
742
],
743
[
744
51,
745
26,
746
0,
747
36,
748
3,
749
"CONDITIONING"
750
],
751
[
752
52,
753
27,
754
0,
755
36,
756
4,
757
"CONDITIONING"
758
]
759
],
760
"groups": [],
761
"config": {},
762
"extra": {
763
"ds": {
764
"scale": 0.5644739300537773,
765
"offset": {
766
"0": 328.53426300585573,
767
"1": 188.7480979803454
768
}
769
}
770
},
771
"version": 0.4
772
}
773