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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"last_node_id": 25,
|
3 |
+
"last_link_id": 21,
|
4 |
+
"nodes": [
|
5 |
+
{
|
6 |
+
"id": 1,
|
7 |
+
"type": "LoadImage",
|
8 |
+
"pos": [
|
9 |
+
78,
|
10 |
+
78
|
11 |
+
],
|
12 |
+
"size": {
|
13 |
+
"0": 219,
|
14 |
+
"1": 314
|
15 |
+
},
|
16 |
+
"flags": {},
|
17 |
+
"order": 0,
|
18 |
+
"mode": 0,
|
19 |
+
"outputs": [
|
20 |
+
{
|
21 |
+
"name": "IMAGE",
|
22 |
+
"type": "IMAGE",
|
23 |
+
"links": [
|
24 |
+
3
|
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 |
+
"CzjdP4NXUAAp97B.jpg",
|
41 |
+
"image"
|
42 |
+
]
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"id": 9,
|
46 |
+
"type": "ImpactMakeImageBatch",
|
47 |
+
"pos": [
|
48 |
+
639,
|
49 |
+
190
|
50 |
+
],
|
51 |
+
"size": {
|
52 |
+
"0": 151.45999145507812,
|
53 |
+
"1": 106
|
54 |
+
},
|
55 |
+
"flags": {},
|
56 |
+
"order": 8,
|
57 |
+
"mode": 0,
|
58 |
+
"inputs": [
|
59 |
+
{
|
60 |
+
"name": "image1",
|
61 |
+
"type": "IMAGE",
|
62 |
+
"link": 3
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"name": "image2",
|
66 |
+
"type": "IMAGE",
|
67 |
+
"link": 4
|
68 |
+
},
|
69 |
+
{
|
70 |
+
"name": "image3",
|
71 |
+
"type": "IMAGE",
|
72 |
+
"link": 5
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"name": "image4",
|
76 |
+
"type": "IMAGE",
|
77 |
+
"link": 6
|
78 |
+
},
|
79 |
+
{
|
80 |
+
"name": "image5",
|
81 |
+
"type": "IMAGE",
|
82 |
+
"link": null
|
83 |
+
}
|
84 |
+
],
|
85 |
+
"outputs": [
|
86 |
+
{
|
87 |
+
"name": "IMAGE",
|
88 |
+
"type": "IMAGE",
|
89 |
+
"links": [
|
90 |
+
7
|
91 |
+
],
|
92 |
+
"shape": 3,
|
93 |
+
"slot_index": 0
|
94 |
+
}
|
95 |
+
],
|
96 |
+
"properties": {
|
97 |
+
"Node name for S&R": "ImpactMakeImageBatch"
|
98 |
+
}
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"id": 13,
|
102 |
+
"type": "PreviewImage",
|
103 |
+
"pos": [
|
104 |
+
1625,
|
105 |
+
537
|
106 |
+
],
|
107 |
+
"size": {
|
108 |
+
"0": 266.20001220703125,
|
109 |
+
"1": 348.47998046875
|
110 |
+
},
|
111 |
+
"flags": {},
|
112 |
+
"order": 11,
|
113 |
+
"mode": 4,
|
114 |
+
"inputs": [
|
115 |
+
{
|
116 |
+
"name": "images",
|
117 |
+
"type": "IMAGE",
|
118 |
+
"link": 10
|
119 |
+
}
|
120 |
+
],
|
121 |
+
"properties": {
|
122 |
+
"Node name for S&R": "PreviewImage"
|
123 |
+
}
|
124 |
+
},
|
125 |
+
{
|
126 |
+
"id": 8,
|
127 |
+
"type": "LoadImage",
|
128 |
+
"pos": [
|
129 |
+
368,
|
130 |
+
86
|
131 |
+
],
|
132 |
+
"size": {
|
133 |
+
"0": 219,
|
134 |
+
"1": 314
|
135 |
+
},
|
136 |
+
"flags": {},
|
137 |
+
"order": 1,
|
138 |
+
"mode": 0,
|
139 |
+
"outputs": [
|
140 |
+
{
|
141 |
+
"name": "IMAGE",
|
142 |
+
"type": "IMAGE",
|
143 |
+
"links": [
|
144 |
+
5
|
145 |
+
],
|
146 |
+
"shape": 3,
|
147 |
+
"slot_index": 0
|
148 |
+
},
|
149 |
+
{
|
150 |
+
"name": "MASK",
|
151 |
+
"type": "MASK",
|
152 |
+
"links": null,
|
153 |
+
"shape": 3
|
154 |
+
}
|
155 |
+
],
|
156 |
+
"properties": {
|
157 |
+
"Node name for S&R": "LoadImage"
|
158 |
+
},
|
159 |
+
"widgets_values": [
|
160 |
+
"740full.jpg",
|
161 |
+
"image"
|
162 |
+
]
|
163 |
+
},
|
164 |
+
{
|
165 |
+
"id": 7,
|
166 |
+
"type": "LoadImage",
|
167 |
+
"pos": [
|
168 |
+
358,
|
169 |
+
458
|
170 |
+
],
|
171 |
+
"size": {
|
172 |
+
"0": 219,
|
173 |
+
"1": 314
|
174 |
+
},
|
175 |
+
"flags": {},
|
176 |
+
"order": 2,
|
177 |
+
"mode": 0,
|
178 |
+
"outputs": [
|
179 |
+
{
|
180 |
+
"name": "IMAGE",
|
181 |
+
"type": "IMAGE",
|
182 |
+
"links": [
|
183 |
+
6
|
184 |
+
],
|
185 |
+
"shape": 3,
|
186 |
+
"slot_index": 0
|
187 |
+
},
|
188 |
+
{
|
189 |
+
"name": "MASK",
|
190 |
+
"type": "MASK",
|
191 |
+
"links": null,
|
192 |
+
"shape": 3
|
193 |
+
}
|
194 |
+
],
|
195 |
+
"properties": {
|
196 |
+
"Node name for S&R": "LoadImage"
|
197 |
+
},
|
198 |
+
"widgets_values": [
|
199 |
+
"original.jpg",
|
200 |
+
"image"
|
201 |
+
]
|
202 |
+
},
|
203 |
+
{
|
204 |
+
"id": 6,
|
205 |
+
"type": "LoadImage",
|
206 |
+
"pos": [
|
207 |
+
74,
|
208 |
+
445
|
209 |
+
],
|
210 |
+
"size": {
|
211 |
+
"0": 219,
|
212 |
+
"1": 314
|
213 |
+
},
|
214 |
+
"flags": {},
|
215 |
+
"order": 3,
|
216 |
+
"mode": 0,
|
217 |
+
"outputs": [
|
218 |
+
{
|
219 |
+
"name": "IMAGE",
|
220 |
+
"type": "IMAGE",
|
221 |
+
"links": [
|
222 |
+
4
|
223 |
+
],
|
224 |
+
"shape": 3,
|
225 |
+
"slot_index": 0
|
226 |
+
},
|
227 |
+
{
|
228 |
+
"name": "MASK",
|
229 |
+
"type": "MASK",
|
230 |
+
"links": null,
|
231 |
+
"shape": 3
|
232 |
+
}
|
233 |
+
],
|
234 |
+
"properties": {
|
235 |
+
"Node name for S&R": "LoadImage"
|
236 |
+
},
|
237 |
+
"widgets_values": [
|
238 |
+
"happy-hour-20200817-1020.jpg",
|
239 |
+
"image"
|
240 |
+
]
|
241 |
+
},
|
242 |
+
{
|
243 |
+
"id": 2,
|
244 |
+
"type": "ReActorBuildFaceModel",
|
245 |
+
"pos": [
|
246 |
+
874,
|
247 |
+
197
|
248 |
+
],
|
249 |
+
"size": {
|
250 |
+
"0": 315,
|
251 |
+
"1": 106
|
252 |
+
},
|
253 |
+
"flags": {},
|
254 |
+
"order": 10,
|
255 |
+
"mode": 0,
|
256 |
+
"inputs": [
|
257 |
+
{
|
258 |
+
"name": "images",
|
259 |
+
"type": "IMAGE",
|
260 |
+
"link": 7
|
261 |
+
}
|
262 |
+
],
|
263 |
+
"properties": {
|
264 |
+
"Node name for S&R": "ReActorBuildFaceModel"
|
265 |
+
},
|
266 |
+
"widgets_values": [
|
267 |
+
false,
|
268 |
+
"default",
|
269 |
+
"Mean"
|
270 |
+
]
|
271 |
+
},
|
272 |
+
{
|
273 |
+
"id": 15,
|
274 |
+
"type": "Note",
|
275 |
+
"pos": [
|
276 |
+
824,
|
277 |
+
42
|
278 |
+
],
|
279 |
+
"size": {
|
280 |
+
"0": 582.9181518554688,
|
281 |
+
"1": 82.49797821044922
|
282 |
+
},
|
283 |
+
"flags": {},
|
284 |
+
"order": 4,
|
285 |
+
"mode": 0,
|
286 |
+
"properties": {
|
287 |
+
"text": ""
|
288 |
+
},
|
289 |
+
"widgets_values": [
|
290 |
+
"load your face images here, turn \"save_mode\" to ON, add a model name to \"face_model_name\", select a compute method. Most of the time \"Mean\" is fine. Files are saved in ComfyUI\\models\\reactor\\faces"
|
291 |
+
],
|
292 |
+
"color": "#432",
|
293 |
+
"bgcolor": "#653"
|
294 |
+
},
|
295 |
+
{
|
296 |
+
"id": 11,
|
297 |
+
"type": "ReActorLoadFaceModel",
|
298 |
+
"pos": [
|
299 |
+
926,
|
300 |
+
576
|
301 |
+
],
|
302 |
+
"size": {
|
303 |
+
"0": 315,
|
304 |
+
"1": 58
|
305 |
+
},
|
306 |
+
"flags": {},
|
307 |
+
"order": 5,
|
308 |
+
"mode": 4,
|
309 |
+
"outputs": [
|
310 |
+
{
|
311 |
+
"name": "FACE_MODEL",
|
312 |
+
"type": "FACE_MODEL",
|
313 |
+
"links": [
|
314 |
+
8
|
315 |
+
],
|
316 |
+
"shape": 3
|
317 |
+
}
|
318 |
+
],
|
319 |
+
"properties": {
|
320 |
+
"Node name for S&R": "ReActorLoadFaceModel"
|
321 |
+
},
|
322 |
+
"widgets_values": [
|
323 |
+
"Gigi Hadid 1.safetensors"
|
324 |
+
]
|
325 |
+
},
|
326 |
+
{
|
327 |
+
"id": 10,
|
328 |
+
"type": "ReActorFaceSwap",
|
329 |
+
"pos": [
|
330 |
+
1279,
|
331 |
+
538
|
332 |
+
],
|
333 |
+
"size": {
|
334 |
+
"0": 315,
|
335 |
+
"1": 338
|
336 |
+
},
|
337 |
+
"flags": {},
|
338 |
+
"order": 9,
|
339 |
+
"mode": 4,
|
340 |
+
"inputs": [
|
341 |
+
{
|
342 |
+
"name": "input_image",
|
343 |
+
"type": "IMAGE",
|
344 |
+
"link": 21,
|
345 |
+
"slot_index": 0
|
346 |
+
},
|
347 |
+
{
|
348 |
+
"name": "source_image",
|
349 |
+
"type": "IMAGE",
|
350 |
+
"link": null
|
351 |
+
},
|
352 |
+
{
|
353 |
+
"name": "face_model",
|
354 |
+
"type": "FACE_MODEL",
|
355 |
+
"link": 8,
|
356 |
+
"slot_index": 2
|
357 |
+
}
|
358 |
+
],
|
359 |
+
"outputs": [
|
360 |
+
{
|
361 |
+
"name": "IMAGE",
|
362 |
+
"type": "IMAGE",
|
363 |
+
"links": [
|
364 |
+
10
|
365 |
+
],
|
366 |
+
"shape": 3,
|
367 |
+
"slot_index": 0
|
368 |
+
},
|
369 |
+
{
|
370 |
+
"name": "FACE_MODEL",
|
371 |
+
"type": "FACE_MODEL",
|
372 |
+
"links": null,
|
373 |
+
"shape": 3,
|
374 |
+
"slot_index": 1
|
375 |
+
}
|
376 |
+
],
|
377 |
+
"properties": {
|
378 |
+
"Node name for S&R": "ReActorFaceSwap"
|
379 |
+
},
|
380 |
+
"widgets_values": [
|
381 |
+
true,
|
382 |
+
"inswapper_128.onnx",
|
383 |
+
"retinaface_resnet50",
|
384 |
+
"GFPGANv1.4.pth",
|
385 |
+
1,
|
386 |
+
1,
|
387 |
+
"no",
|
388 |
+
"no",
|
389 |
+
"0",
|
390 |
+
"0",
|
391 |
+
1
|
392 |
+
]
|
393 |
+
},
|
394 |
+
{
|
395 |
+
"id": 25,
|
396 |
+
"type": "JWImageResizeByFactor",
|
397 |
+
"pos": [
|
398 |
+
1675,
|
399 |
+
975
|
400 |
+
],
|
401 |
+
"size": {
|
402 |
+
"0": 315,
|
403 |
+
"1": 82
|
404 |
+
},
|
405 |
+
"flags": {
|
406 |
+
"collapsed": true
|
407 |
+
},
|
408 |
+
"order": 6,
|
409 |
+
"mode": 4,
|
410 |
+
"inputs": [
|
411 |
+
{
|
412 |
+
"name": "image",
|
413 |
+
"type": "IMAGE",
|
414 |
+
"link": null,
|
415 |
+
"slot_index": 0
|
416 |
+
}
|
417 |
+
],
|
418 |
+
"outputs": [
|
419 |
+
{
|
420 |
+
"name": "IMAGE",
|
421 |
+
"type": "IMAGE",
|
422 |
+
"links": [],
|
423 |
+
"shape": 3
|
424 |
+
}
|
425 |
+
],
|
426 |
+
"properties": {
|
427 |
+
"Node name for S&R": "JWImageResizeByFactor"
|
428 |
+
},
|
429 |
+
"widgets_values": [
|
430 |
+
0.5,
|
431 |
+
"bicubic"
|
432 |
+
]
|
433 |
+
},
|
434 |
+
{
|
435 |
+
"id": 14,
|
436 |
+
"type": "LoadImage",
|
437 |
+
"pos": [
|
438 |
+
924,
|
439 |
+
681
|
440 |
+
],
|
441 |
+
"size": {
|
442 |
+
"0": 326.87603759765625,
|
443 |
+
"1": 328.41680908203125
|
444 |
+
},
|
445 |
+
"flags": {},
|
446 |
+
"order": 7,
|
447 |
+
"mode": 4,
|
448 |
+
"outputs": [
|
449 |
+
{
|
450 |
+
"name": "IMAGE",
|
451 |
+
"type": "IMAGE",
|
452 |
+
"links": [
|
453 |
+
21
|
454 |
+
],
|
455 |
+
"shape": 3,
|
456 |
+
"slot_index": 0
|
457 |
+
},
|
458 |
+
{
|
459 |
+
"name": "MASK",
|
460 |
+
"type": "MASK",
|
461 |
+
"links": null,
|
462 |
+
"shape": 3
|
463 |
+
}
|
464 |
+
],
|
465 |
+
"properties": {
|
466 |
+
"Node name for S&R": "LoadImage"
|
467 |
+
},
|
468 |
+
"widgets_values": [
|
469 |
+
"ComfyUI_temp_edrqc_00040_.png",
|
470 |
+
"image"
|
471 |
+
]
|
472 |
+
}
|
473 |
+
],
|
474 |
+
"links": [
|
475 |
+
[
|
476 |
+
3,
|
477 |
+
1,
|
478 |
+
0,
|
479 |
+
9,
|
480 |
+
0,
|
481 |
+
"IMAGE"
|
482 |
+
],
|
483 |
+
[
|
484 |
+
4,
|
485 |
+
6,
|
486 |
+
0,
|
487 |
+
9,
|
488 |
+
1,
|
489 |
+
"IMAGE"
|
490 |
+
],
|
491 |
+
[
|
492 |
+
5,
|
493 |
+
8,
|
494 |
+
0,
|
495 |
+
9,
|
496 |
+
2,
|
497 |
+
"IMAGE"
|
498 |
+
],
|
499 |
+
[
|
500 |
+
6,
|
501 |
+
7,
|
502 |
+
0,
|
503 |
+
9,
|
504 |
+
3,
|
505 |
+
"IMAGE"
|
506 |
+
],
|
507 |
+
[
|
508 |
+
7,
|
509 |
+
9,
|
510 |
+
0,
|
511 |
+
2,
|
512 |
+
0,
|
513 |
+
"IMAGE"
|
514 |
+
],
|
515 |
+
[
|
516 |
+
8,
|
517 |
+
11,
|
518 |
+
0,
|
519 |
+
10,
|
520 |
+
2,
|
521 |
+
"FACE_MODEL"
|
522 |
+
],
|
523 |
+
[
|
524 |
+
10,
|
525 |
+
10,
|
526 |
+
0,
|
527 |
+
13,
|
528 |
+
0,
|
529 |
+
"IMAGE"
|
530 |
+
],
|
531 |
+
[
|
532 |
+
21,
|
533 |
+
14,
|
534 |
+
0,
|
535 |
+
10,
|
536 |
+
0,
|
537 |
+
"IMAGE"
|
538 |
+
]
|
539 |
+
],
|
540 |
+
"groups": [
|
541 |
+
{
|
542 |
+
"title": "Test your models",
|
543 |
+
"bounding": [
|
544 |
+
916,
|
545 |
+
463,
|
546 |
+
985,
|
547 |
+
553
|
548 |
+
],
|
549 |
+
"color": "#3f789e",
|
550 |
+
"font_size": 24,
|
551 |
+
"locked": false
|
552 |
+
}
|
553 |
+
],
|
554 |
+
"config": {},
|
555 |
+
"extra": {
|
556 |
+
"0246.VERSION": [
|
557 |
+
0,
|
558 |
+
0,
|
559 |
+
4
|
560 |
+
],
|
561 |
+
"groupNodes": {}
|
562 |
+
},
|
563 |
+
"version": 0.4
|
564 |
+
}
|