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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "18f6584e-043a-4e41-984a-3dbaeebdabcb",
3
+ "revision": 0,
4
+ "last_node_id": 37,
5
+ "last_link_id": 49,
6
+ "nodes": [
7
+ {
8
+ "id": 20,
9
+ "type": "Note",
10
+ "pos": [
11
+ -340,
12
+ 670
13
+ ],
14
+ "size": [
15
+ 210,
16
+ 88
17
+ ],
18
+ "flags": {},
19
+ "order": 0,
20
+ "mode": 0,
21
+ "inputs": [],
22
+ "outputs": [],
23
+ "properties": {
24
+ "text": ""
25
+ },
26
+ "widgets_values": [
27
+ "1.上传目标人脸"
28
+ ],
29
+ "color": "#432",
30
+ "bgcolor": "#653"
31
+ },
32
+ {
33
+ "id": 21,
34
+ "type": "Note",
35
+ "pos": [
36
+ -120,
37
+ 160
38
+ ],
39
+ "size": [
40
+ 340,
41
+ 90
42
+ ],
43
+ "flags": {},
44
+ "order": 1,
45
+ "mode": 0,
46
+ "inputs": [],
47
+ "outputs": [],
48
+ "properties": {
49
+ "text": ""
50
+ },
51
+ "widgets_values": [
52
+ "1.上传视频文件\n2.设置读取帧数上限,如果视频10秒,帧速率:每秒25帧,那么写250\n3.设置模选为1,每2帧跳过1次,"
53
+ ],
54
+ "color": "#432",
55
+ "bgcolor": "#653"
56
+ },
57
+ {
58
+ "id": 22,
59
+ "type": "Note",
60
+ "pos": [
61
+ 582.1820097836561,
62
+ 72.20117659150004
63
+ ],
64
+ "size": [
65
+ 210,
66
+ 88
67
+ ],
68
+ "flags": {},
69
+ "order": 2,
70
+ "mode": 0,
71
+ "inputs": [],
72
+ "outputs": [],
73
+ "properties": {
74
+ "text": ""
75
+ },
76
+ "widgets_values": [
77
+ "1.补帧乘数2,还原原视频帧数"
78
+ ],
79
+ "color": "#432",
80
+ "bgcolor": "#653"
81
+ },
82
+ {
83
+ "id": 23,
84
+ "type": "RIFE VFI",
85
+ "pos": [
86
+ 695.3673791621957,
87
+ 222.9598165961109
88
+ ],
89
+ "size": [
90
+ 351.9,
91
+ 198
92
+ ],
93
+ "flags": {},
94
+ "order": 8,
95
+ "mode": 0,
96
+ "inputs": [
97
+ {
98
+ "name": "frames",
99
+ "type": "IMAGE",
100
+ "link": 46
101
+ },
102
+ {
103
+ "name": "optional_interpolation_states",
104
+ "shape": 7,
105
+ "type": "INTERPOLATION_STATES",
106
+ "link": null
107
+ }
108
+ ],
109
+ "outputs": [
110
+ {
111
+ "name": "IMAGE",
112
+ "type": "IMAGE",
113
+ "links": [
114
+ 31
115
+ ]
116
+ }
117
+ ],
118
+ "properties": {
119
+ "cnr_id": "comfyui-frame-interpolation",
120
+ "ver": "1.0.7",
121
+ "Node name for S&R": "RIFE VFI"
122
+ },
123
+ "widgets_values": [
124
+ "rife49.pth",
125
+ 10,
126
+ 2,
127
+ true,
128
+ true,
129
+ 1
130
+ ]
131
+ },
132
+ {
133
+ "id": 24,
134
+ "type": "ReActorFaceSwap",
135
+ "pos": [
136
+ 325.4420645938465,
137
+ 275.7991019924545
138
+ ],
139
+ "size": [
140
+ 288,
141
+ 358
142
+ ],
143
+ "flags": {},
144
+ "order": 5,
145
+ "mode": 0,
146
+ "inputs": [
147
+ {
148
+ "name": "input_image",
149
+ "type": "IMAGE",
150
+ "link": 48
151
+ },
152
+ {
153
+ "name": "source_image",
154
+ "shape": 7,
155
+ "type": "IMAGE",
156
+ "link": 35
157
+ },
158
+ {
159
+ "name": "face_model",
160
+ "shape": 7,
161
+ "type": "FACE_MODEL",
162
+ "link": null
163
+ },
164
+ {
165
+ "name": "face_boost",
166
+ "shape": 7,
167
+ "type": "FACE_BOOST",
168
+ "link": null
169
+ }
170
+ ],
171
+ "outputs": [
172
+ {
173
+ "name": "SWAPPED_IMAGE",
174
+ "type": "IMAGE",
175
+ "links": [
176
+ 41,
177
+ 45,
178
+ 47
179
+ ]
180
+ },
181
+ {
182
+ "name": "FACE_MODEL",
183
+ "type": "FACE_MODEL",
184
+ "links": null
185
+ },
186
+ {
187
+ "name": "ORIGINAL_IMAGE",
188
+ "type": "IMAGE",
189
+ "links": null
190
+ }
191
+ ],
192
+ "properties": {
193
+ "Node name for S&R": "ReActorFaceSwap"
194
+ },
195
+ "widgets_values": [
196
+ true,
197
+ "inswapper_128.onnx",
198
+ "retinaface_resnet50",
199
+ "none",
200
+ 1,
201
+ 0.5,
202
+ "female",
203
+ "female",
204
+ "0",
205
+ "0",
206
+ 1
207
+ ]
208
+ },
209
+ {
210
+ "id": 25,
211
+ "type": "VHS_VideoCombine",
212
+ "pos": [
213
+ 1142.357583469772,
214
+ 245.93611019498164
215
+ ],
216
+ "size": [
217
+ 215,
218
+ 700.5
219
+ ],
220
+ "flags": {},
221
+ "order": 9,
222
+ "mode": 0,
223
+ "inputs": [
224
+ {
225
+ "name": "images",
226
+ "type": "IMAGE",
227
+ "link": 31
228
+ },
229
+ {
230
+ "name": "audio",
231
+ "shape": 7,
232
+ "type": "AUDIO",
233
+ "link": 49
234
+ },
235
+ {
236
+ "name": "meta_batch",
237
+ "shape": 7,
238
+ "type": "VHS_BatchManager",
239
+ "link": null
240
+ },
241
+ {
242
+ "name": "vae",
243
+ "shape": 7,
244
+ "type": "VAE",
245
+ "link": null
246
+ }
247
+ ],
248
+ "outputs": [
249
+ {
250
+ "name": "Filenames",
251
+ "type": "VHS_FILENAMES",
252
+ "links": null
253
+ }
254
+ ],
255
+ "properties": {
256
+ "cnr_id": "comfyui-videohelpersuite",
257
+ "ver": "1.7.7",
258
+ "Node name for S&R": "VHS_VideoCombine"
259
+ },
260
+ "widgets_values": {
261
+ "frame_rate": 24,
262
+ "loop_count": 0,
263
+ "filename_prefix": "AnimateDiff",
264
+ "format": "video/h264-mp4",
265
+ "pix_fmt": "yuv420p",
266
+ "crf": 19,
267
+ "save_metadata": true,
268
+ "trim_to_audio": false,
269
+ "pingpong": false,
270
+ "save_output": true,
271
+ "videopreview": {
272
+ "hidden": false,
273
+ "paused": false,
274
+ "params": {
275
+ "filename": "AnimateDiff_00019-audio.mp4",
276
+ "subfolder": "",
277
+ "type": "output",
278
+ "format": "video/h264-mp4",
279
+ "frame_rate": 24,
280
+ "workflow": "AnimateDiff_00019.png",
281
+ "fullpath": "D:\\comfyui-with-python3.10\\ComfyUI\\output\\AnimateDiff_00019-audio.mp4"
282
+ }
283
+ }
284
+ }
285
+ },
286
+ {
287
+ "id": 27,
288
+ "type": "LoadImage",
289
+ "pos": [
290
+ -340,
291
+ 300
292
+ ],
293
+ "size": [
294
+ 210,
295
+ 326
296
+ ],
297
+ "flags": {},
298
+ "order": 3,
299
+ "mode": 0,
300
+ "inputs": [],
301
+ "outputs": [
302
+ {
303
+ "name": "IMAGE",
304
+ "type": "IMAGE",
305
+ "links": [
306
+ 35
307
+ ]
308
+ },
309
+ {
310
+ "name": "MASK",
311
+ "type": "MASK",
312
+ "links": null
313
+ }
314
+ ],
315
+ "properties": {
316
+ "cnr_id": "comfy-core",
317
+ "ver": "0.3.68",
318
+ "Node name for S&R": "LoadImage"
319
+ },
320
+ "widgets_values": [
321
+ "ac2020.png",
322
+ "image"
323
+ ]
324
+ },
325
+ {
326
+ "id": 34,
327
+ "type": "PreviewImage",
328
+ "pos": [
329
+ 663.4114988803968,
330
+ 691.0307717514216
331
+ ],
332
+ "size": [
333
+ 264.4586616611623,
334
+ 246
335
+ ],
336
+ "flags": {},
337
+ "order": 6,
338
+ "mode": 0,
339
+ "inputs": [
340
+ {
341
+ "name": "images",
342
+ "type": "IMAGE",
343
+ "link": 41
344
+ }
345
+ ],
346
+ "outputs": [],
347
+ "properties": {
348
+ "cnr_id": "comfy-core",
349
+ "ver": "0.3.68",
350
+ "Node name for S&R": "PreviewImage"
351
+ },
352
+ "widgets_values": []
353
+ },
354
+ {
355
+ "id": 36,
356
+ "type": "ImageBatch",
357
+ "pos": [
358
+ 736.4418778392723,
359
+ 508.8119321195353
360
+ ],
361
+ "size": [
362
+ 140,
363
+ 46
364
+ ],
365
+ "flags": {},
366
+ "order": 7,
367
+ "mode": 0,
368
+ "inputs": [
369
+ {
370
+ "name": "image1",
371
+ "type": "IMAGE",
372
+ "link": 47
373
+ },
374
+ {
375
+ "name": "image2",
376
+ "type": "IMAGE",
377
+ "link": 45
378
+ }
379
+ ],
380
+ "outputs": [
381
+ {
382
+ "name": "IMAGE",
383
+ "type": "IMAGE",
384
+ "links": [
385
+ 46
386
+ ]
387
+ }
388
+ ],
389
+ "properties": {
390
+ "cnr_id": "comfy-core",
391
+ "ver": "0.3.68",
392
+ "Node name for S&R": "ImageBatch"
393
+ },
394
+ "widgets_values": []
395
+ },
396
+ {
397
+ "id": 37,
398
+ "type": "VHS_LoadVideo",
399
+ "pos": [
400
+ -21.515737573634464,
401
+ 405.19360350915844
402
+ ],
403
+ "size": [
404
+ 249,
405
+ 737.9615384615385
406
+ ],
407
+ "flags": {},
408
+ "order": 4,
409
+ "mode": 0,
410
+ "inputs": [
411
+ {
412
+ "name": "meta_batch",
413
+ "shape": 7,
414
+ "type": "VHS_BatchManager",
415
+ "link": null
416
+ },
417
+ {
418
+ "name": "vae",
419
+ "shape": 7,
420
+ "type": "VAE",
421
+ "link": null
422
+ }
423
+ ],
424
+ "outputs": [
425
+ {
426
+ "name": "IMAGE",
427
+ "type": "IMAGE",
428
+ "links": [
429
+ 48
430
+ ]
431
+ },
432
+ {
433
+ "name": "frame_count",
434
+ "type": "INT",
435
+ "links": null
436
+ },
437
+ {
438
+ "name": "audio",
439
+ "type": "AUDIO",
440
+ "links": [
441
+ 49
442
+ ]
443
+ },
444
+ {
445
+ "name": "video_info",
446
+ "type": "VHS_VIDEOINFO",
447
+ "links": null
448
+ }
449
+ ],
450
+ "properties": {
451
+ "cnr_id": "comfyui-videohelpersuite",
452
+ "ver": "1.7.7",
453
+ "Node name for S&R": "VHS_LoadVideo"
454
+ },
455
+ "widgets_values": {
456
+ "video": "temu-z2.mp4",
457
+ "force_rate": 0,
458
+ "custom_width": 0,
459
+ "custom_height": 0,
460
+ "frame_load_cap": 0,
461
+ "skip_first_frames": 0,
462
+ "select_every_nth": 1,
463
+ "format": "AnimateDiff",
464
+ "choose video to upload": "image",
465
+ "videopreview": {
466
+ "hidden": false,
467
+ "paused": false,
468
+ "params": {
469
+ "filename": "temu-z2.mp4",
470
+ "type": "input",
471
+ "format": "video/mp4",
472
+ "force_rate": 0,
473
+ "custom_width": 0,
474
+ "custom_height": 0,
475
+ "frame_load_cap": 0,
476
+ "skip_first_frames": 0,
477
+ "select_every_nth": 1
478
+ }
479
+ }
480
+ }
481
+ }
482
+ ],
483
+ "links": [
484
+ [
485
+ 31,
486
+ 23,
487
+ 0,
488
+ 25,
489
+ 0,
490
+ "IMAGE"
491
+ ],
492
+ [
493
+ 35,
494
+ 27,
495
+ 0,
496
+ 24,
497
+ 1,
498
+ "IMAGE"
499
+ ],
500
+ [
501
+ 41,
502
+ 24,
503
+ 0,
504
+ 34,
505
+ 0,
506
+ "IMAGE"
507
+ ],
508
+ [
509
+ 45,
510
+ 24,
511
+ 0,
512
+ 36,
513
+ 1,
514
+ "IMAGE"
515
+ ],
516
+ [
517
+ 46,
518
+ 36,
519
+ 0,
520
+ 23,
521
+ 0,
522
+ "IMAGE"
523
+ ],
524
+ [
525
+ 47,
526
+ 24,
527
+ 0,
528
+ 36,
529
+ 0,
530
+ "IMAGE"
531
+ ],
532
+ [
533
+ 48,
534
+ 37,
535
+ 0,
536
+ 24,
537
+ 0,
538
+ "IMAGE"
539
+ ],
540
+ [
541
+ 49,
542
+ 37,
543
+ 2,
544
+ 25,
545
+ 1,
546
+ "AUDIO"
547
+ ]
548
+ ],
549
+ "groups": [
550
+ {
551
+ "id": 1,
552
+ "title": "给视频人物换脸",
553
+ "bounding": [
554
+ -370,
555
+ 30,
556
+ 1450,
557
+ 1170
558
+ ],
559
+ "color": "#b06634",
560
+ "font_size": 60,
561
+ "flags": {}
562
+ }
563
+ ],
564
+ "config": {},
565
+ "extra": {
566
+ "ds": {
567
+ "scale": 0.693433494944134,
568
+ "offset": [
569
+ 304.4765384345633,
570
+ -155.05926437992508
571
+ ]
572
+ },
573
+ "frontendVersion": "1.28.8",
574
+ "0246.VERSION": [
575
+ 0,
576
+ 0,
577
+ 4
578
+ ],
579
+ "ue_links": [],
580
+ "workspace_info": {
581
+ "id": "dzVd1PnJ-xzkpcB2wgs_B"
582
+ },
583
+ "VHS_latentpreview": false,
584
+ "VHS_latentpreviewrate": 0,
585
+ "VHS_MetadataImage": true,
586
+ "VHS_KeepIntermediate": true
587
+ },
588
+ "version": 0.4
589
+ }