Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ninjaneural
GitHub Repository: ninjaneural/webui
Path: blob/master/memo/comfyui_anidiff_facedetail/workflow1.json
3275 views
1
{
2
"last_node_id": 30,
3
"last_link_id": 35,
4
"nodes": [
5
{
6
"id": 11,
7
"type": "LoadImage",
8
"pos": [
9
148,
10
478
11
],
12
"size": {
13
"0": 315,
14
"1": 314
15
},
16
"flags": {},
17
"order": 0,
18
"mode": 0,
19
"outputs": [
20
{
21
"name": "IMAGE",
22
"type": "IMAGE",
23
"links": [
24
25
25
],
26
"shape": 3,
27
"slot_index": 0
28
},
29
{
30
"name": "MASK",
31
"type": "MASK",
32
"links": null,
33
"shape": 3
34
}
35
],
36
"properties": {
37
"Node name for S&R": "LoadImage"
38
},
39
"widgets_values": [
40
"0000077.png",
41
"image"
42
]
43
},
44
{
45
"id": 24,
46
"type": "VAELoader",
47
"pos": [
48
152,
49
358
50
],
51
"size": {
52
"0": 315,
53
"1": 58
54
},
55
"flags": {},
56
"order": 1,
57
"mode": 0,
58
"outputs": [
59
{
60
"name": "VAE",
61
"type": "VAE",
62
"links": [
63
28
64
],
65
"shape": 3,
66
"slot_index": 0
67
}
68
],
69
"properties": {
70
"Node name for S&R": "VAELoader"
71
},
72
"widgets_values": [
73
"vae-ft-mse-840000-ema-pruned.safetensors"
74
]
75
},
76
{
77
"id": 10,
78
"type": "CheckpointLoaderSimple",
79
"pos": [
80
153,
81
203
82
],
83
"size": {
84
"0": 315,
85
"1": 98
86
},
87
"flags": {},
88
"order": 2,
89
"mode": 0,
90
"outputs": [
91
{
92
"name": "MODEL",
93
"type": "MODEL",
94
"links": [
95
26
96
],
97
"slot_index": 0
98
},
99
{
100
"name": "CLIP",
101
"type": "CLIP",
102
"links": [
103
27,
104
29,
105
32
106
],
107
"slot_index": 1
108
},
109
{
110
"name": "VAE",
111
"type": "VAE",
112
"links": [],
113
"slot_index": 2
114
}
115
],
116
"properties": {
117
"Node name for S&R": "CheckpointLoaderSimple"
118
},
119
"widgets_values": [
120
"sd15\\caramelapple_v12.safetensors"
121
]
122
},
123
{
124
"id": 27,
125
"type": "CLIPTextEncode",
126
"pos": [
127
590,
128
320
129
],
130
"size": {
131
"0": 409.20001220703125,
132
"1": 92.4000015258789
133
},
134
"flags": {},
135
"order": 6,
136
"mode": 0,
137
"inputs": [
138
{
139
"name": "clip",
140
"type": "CLIP",
141
"link": 32
142
}
143
],
144
"outputs": [
145
{
146
"name": "CONDITIONING",
147
"type": "CONDITIONING",
148
"links": [
149
31
150
],
151
"shape": 3,
152
"slot_index": 0
153
}
154
],
155
"properties": {
156
"Node name for S&R": "CLIPTextEncode"
157
},
158
"widgets_values": [
159
"(worst quality, low quality:1.3), "
160
]
161
},
162
{
163
"id": 26,
164
"type": "CLIPTextEncode",
165
"pos": [
166
594,
167
176
168
],
169
"size": {
170
"0": 409.20001220703125,
171
"1": 92.4000015258789
172
},
173
"flags": {},
174
"order": 5,
175
"mode": 0,
176
"inputs": [
177
{
178
"name": "clip",
179
"type": "CLIP",
180
"link": 29
181
}
182
],
183
"outputs": [
184
{
185
"name": "CONDITIONING",
186
"type": "CONDITIONING",
187
"links": [
188
30
189
],
190
"shape": 3,
191
"slot_index": 0
192
}
193
],
194
"properties": {
195
"Node name for S&R": "CLIPTextEncode"
196
},
197
"widgets_values": [
198
" (masterpiece, best quality, high quality:1.2), girls"
199
]
200
},
201
{
202
"id": 28,
203
"type": "SaveImage",
204
"pos": [
205
1688,
206
424
207
],
208
"size": {
209
"0": 315,
210
"1": 58
211
},
212
"flags": {},
213
"order": 8,
214
"mode": 0,
215
"inputs": [
216
{
217
"name": "images",
218
"type": "IMAGE",
219
"link": 33
220
}
221
],
222
"properties": {
223
"Node name for S&R": "SaveImage"
224
},
225
"widgets_values": [
226
"ComfyUI"
227
]
228
},
229
{
230
"id": 29,
231
"type": "UltralyticsDetectorProvider",
232
"pos": [
233
713,
234
600
235
],
236
"size": {
237
"0": 315,
238
"1": 78
239
},
240
"flags": {},
241
"order": 3,
242
"mode": 0,
243
"outputs": [
244
{
245
"name": "BBOX_DETECTOR",
246
"type": "BBOX_DETECTOR",
247
"links": [
248
34
249
],
250
"shape": 3,
251
"slot_index": 0
252
},
253
{
254
"name": "SEGM_DETECTOR",
255
"type": "SEGM_DETECTOR",
256
"links": null,
257
"shape": 3
258
}
259
],
260
"properties": {
261
"Node name for S&R": "UltralyticsDetectorProvider"
262
},
263
"widgets_values": [
264
"bbox/face_yolov8m.pt"
265
]
266
},
267
{
268
"id": 25,
269
"type": "FaceDetailer",
270
"pos": [
271
1092,
272
429
273
],
274
"size": {
275
"0": 506.4000244140625,
276
"1": 900
277
},
278
"flags": {},
279
"order": 7,
280
"mode": 0,
281
"inputs": [
282
{
283
"name": "image",
284
"type": "IMAGE",
285
"link": 25
286
},
287
{
288
"name": "model",
289
"type": "MODEL",
290
"link": 26
291
},
292
{
293
"name": "clip",
294
"type": "CLIP",
295
"link": 27
296
},
297
{
298
"name": "vae",
299
"type": "VAE",
300
"link": 28
301
},
302
{
303
"name": "positive",
304
"type": "CONDITIONING",
305
"link": 30
306
},
307
{
308
"name": "negative",
309
"type": "CONDITIONING",
310
"link": 31
311
},
312
{
313
"name": "bbox_detector",
314
"type": "BBOX_DETECTOR",
315
"link": 34
316
},
317
{
318
"name": "sam_model_opt",
319
"type": "SAM_MODEL",
320
"link": 35,
321
"slot_index": 7
322
},
323
{
324
"name": "segm_detector_opt",
325
"type": "SEGM_DETECTOR",
326
"link": null
327
},
328
{
329
"name": "detailer_hook",
330
"type": "DETAILER_HOOK",
331
"link": null
332
},
333
{
334
"name": "scheduler_func_opt",
335
"type": "SCHEDULER_FUNC",
336
"link": null
337
}
338
],
339
"outputs": [
340
{
341
"name": "image",
342
"type": "IMAGE",
343
"links": [
344
33
345
],
346
"shape": 3,
347
"slot_index": 0
348
},
349
{
350
"name": "cropped_refined",
351
"type": "IMAGE",
352
"links": null,
353
"shape": 6
354
},
355
{
356
"name": "cropped_enhanced_alpha",
357
"type": "IMAGE",
358
"links": null,
359
"shape": 6
360
},
361
{
362
"name": "mask",
363
"type": "MASK",
364
"links": null,
365
"shape": 3
366
},
367
{
368
"name": "detailer_pipe",
369
"type": "DETAILER_PIPE",
370
"links": null,
371
"shape": 3
372
},
373
{
374
"name": "cnet_images",
375
"type": "IMAGE",
376
"links": null,
377
"shape": 6
378
}
379
],
380
"properties": {
381
"Node name for S&R": "FaceDetailer"
382
},
383
"widgets_values": [
384
384,
385
true,
386
1024,
387
0,
388
"randomize",
389
20,
390
8,
391
"euler",
392
"normal",
393
0.5,
394
5,
395
true,
396
true,
397
0.5,
398
10,
399
3,
400
"center-1",
401
0,
402
0.93,
403
0,
404
0.7,
405
"False",
406
10,
407
"",
408
1,
409
false,
410
20
411
]
412
},
413
{
414
"id": 30,
415
"type": "SAMLoader",
416
"pos": [
417
711,
418
732
419
],
420
"size": {
421
"0": 315,
422
"1": 82
423
},
424
"flags": {},
425
"order": 4,
426
"mode": 0,
427
"outputs": [
428
{
429
"name": "SAM_MODEL",
430
"type": "SAM_MODEL",
431
"links": [
432
35
433
],
434
"shape": 3
435
}
436
],
437
"properties": {
438
"Node name for S&R": "SAMLoader"
439
},
440
"widgets_values": [
441
"sam_vit_b_01ec64.pth",
442
"AUTO"
443
]
444
}
445
],
446
"links": [
447
[
448
25,
449
11,
450
0,
451
25,
452
0,
453
"IMAGE"
454
],
455
[
456
26,
457
10,
458
0,
459
25,
460
1,
461
"MODEL"
462
],
463
[
464
27,
465
10,
466
1,
467
25,
468
2,
469
"CLIP"
470
],
471
[
472
28,
473
24,
474
0,
475
25,
476
3,
477
"VAE"
478
],
479
[
480
29,
481
10,
482
1,
483
26,
484
0,
485
"CLIP"
486
],
487
[
488
30,
489
26,
490
0,
491
25,
492
4,
493
"CONDITIONING"
494
],
495
[
496
31,
497
27,
498
0,
499
25,
500
5,
501
"CONDITIONING"
502
],
503
[
504
32,
505
10,
506
1,
507
27,
508
0,
509
"CLIP"
510
],
511
[
512
33,
513
25,
514
0,
515
28,
516
0,
517
"IMAGE"
518
],
519
[
520
34,
521
29,
522
0,
523
25,
524
6,
525
"BBOX_DETECTOR"
526
],
527
[
528
35,
529
30,
530
0,
531
25,
532
7,
533
"SAM_MODEL"
534
]
535
],
536
"groups": [],
537
"config": {},
538
"extra": {
539
"ds": {
540
"scale": 0.7513148009015777,
541
"offset": {
542
"0": 347.6608224915486,
543
"1": 116.07598678258037
544
}
545
}
546
},
547
"version": 0.4
548
}
549