comfyui-workflow-templates 0.1.22__py3-none-any.whl → 0.1.23__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,33 +1,9 @@
1
1
  {
2
2
  "id": "96995b8f-85c5-47af-b3cf-7b6a24675694",
3
3
  "revision": 0,
4
- "last_node_id": 162,
4
+ "last_node_id": 163,
5
5
  "last_link_id": 295,
6
6
  "nodes": [
7
- {
8
- "id": 111,
9
- "type": "MarkdownNote",
10
- "pos": [
11
- -320,
12
- -200
13
- ],
14
- "size": [
15
- 420,
16
- 150
17
- ],
18
- "flags": {},
19
- "order": 0,
20
- "mode": 0,
21
- "inputs": [],
22
- "outputs": [],
23
- "title": "About CausVid LoRA",
24
- "properties": {},
25
- "widgets_values": [
26
- "You may need to test different LoRA strength to get the best results. Test within the range of 0.3 to 1. \nWhen we were testing the workflow, we found that sometimes there are relatively obvious artifacts when the intensity is around 0.5. The effect is sometimes quite good when it's above 0.7. When the value is too high, it will be overly saturated. \n\n---\n\n\n你可能需要测试不同的 LoRA 强度来获取最好的结果,0.3~1 之间进行测试,我们在测试工作流时发现,有时候 0.5 左右会有比较明显的伪影,0.7 后效果有时还不错,但数值过高时会过于饱和。\n"
27
- ],
28
- "color": "#432",
29
- "bgcolor": "#653"
30
- },
31
7
  {
32
8
  "id": 120,
33
9
  "type": "MarkdownNote",
@@ -40,7 +16,7 @@
40
16
  220
41
17
  ],
42
18
  "flags": {},
43
- "order": 1,
19
+ "order": 0,
44
20
  "mode": 0,
45
21
  "inputs": [],
46
22
  "outputs": [],
@@ -64,7 +40,7 @@
64
40
  82
65
41
  ],
66
42
  "flags": {},
67
- "order": 2,
43
+ "order": 1,
68
44
  "mode": 4,
69
45
  "inputs": [],
70
46
  "outputs": [
@@ -78,9 +54,9 @@
78
54
  }
79
55
  ],
80
56
  "properties": {
81
- "Node name for S&R": "UNETLoader",
82
57
  "cnr_id": "comfy-core",
83
58
  "ver": "0.3.34",
59
+ "Node name for S&R": "UNETLoader",
84
60
  "models": [
85
61
  {
86
62
  "name": "wan2.1_vace_1.3B_fp16.safetensors",
@@ -108,7 +84,7 @@
108
84
  126
109
85
  ],
110
86
  "flags": {},
111
- "order": 19,
87
+ "order": 17,
112
88
  "mode": 4,
113
89
  "inputs": [
114
90
  {
@@ -135,6 +111,8 @@
135
111
  }
136
112
  ],
137
113
  "properties": {
114
+ "cnr_id": "comfy-core",
115
+ "ver": "0.3.38",
138
116
  "Node name for S&R": "LoraLoader",
139
117
  "models": [
140
118
  {
@@ -164,7 +142,7 @@
164
142
  106
165
143
  ],
166
144
  "flags": {},
167
- "order": 3,
145
+ "order": 2,
168
146
  "mode": 4,
169
147
  "inputs": [],
170
148
  "outputs": [
@@ -176,9 +154,9 @@
176
154
  }
177
155
  ],
178
156
  "properties": {
179
- "Node name for S&R": "CLIPLoader",
180
157
  "cnr_id": "comfy-core",
181
158
  "ver": "0.3.34",
159
+ "Node name for S&R": "CLIPLoader",
182
160
  "models": [
183
161
  {
184
162
  "name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
@@ -209,7 +187,7 @@
209
187
  "flags": {
210
188
  "collapsed": true
211
189
  },
212
- "order": 37,
190
+ "order": 35,
213
191
  "mode": 0,
214
192
  "inputs": [
215
193
  {
@@ -235,617 +213,187 @@
235
213
  }
236
214
  ],
237
215
  "properties": {
238
- "Node name for S&R": "VAEDecode",
239
216
  "cnr_id": "comfy-core",
240
- "ver": "0.3.34"
217
+ "ver": "0.3.34",
218
+ "Node name for S&R": "VAEDecode"
241
219
  },
242
220
  "widgets_values": []
243
221
  },
244
222
  {
245
- "id": 69,
246
- "type": "SaveVideo",
247
- "pos": [
248
- 1340,
249
- 70
250
- ],
251
- "size": [
252
- 676.23095703125,
253
- 774.23095703125
254
- ],
255
- "flags": {},
256
- "order": 40,
257
- "mode": 0,
258
- "inputs": [
259
- {
260
- "name": "video",
261
- "type": "VIDEO",
262
- "link": 129
263
- }
264
- ],
265
- "outputs": [],
266
- "properties": {
267
- "Node name for S&R": "SaveVideo",
268
- "cnr_id": "comfy-core",
269
- "ver": "0.3.34"
270
- },
271
- "widgets_values": [
272
- "video/ComfyUI",
273
- "auto",
274
- "auto"
275
- ]
276
- },
277
- {
278
- "id": 114,
279
- "type": "VAELoader",
223
+ "id": 127,
224
+ "type": "CLIPLoader",
280
225
  "pos": [
281
226
  -290,
282
- 540
227
+ 390
283
228
  ],
284
229
  "size": [
285
230
  350,
286
- 58
231
+ 106
287
232
  ],
288
233
  "flags": {},
289
- "order": 4,
234
+ "order": 3,
290
235
  "mode": 0,
291
236
  "inputs": [],
292
237
  "outputs": [
293
238
  {
294
- "name": "VAE",
295
- "type": "VAE",
239
+ "name": "CLIP",
240
+ "type": "CLIP",
296
241
  "slot_index": 0,
297
242
  "links": [
298
- 185,
299
- 192
243
+ 188,
244
+ 196
300
245
  ]
301
246
  }
302
247
  ],
303
248
  "properties": {
304
- "Node name for S&R": "VAELoader",
305
249
  "cnr_id": "comfy-core",
306
250
  "ver": "0.3.34",
251
+ "Node name for S&R": "CLIPLoader",
307
252
  "models": [
308
253
  {
309
- "name": "wan_2.1_vae.safetensors",
310
- "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors",
311
- "directory": "vae"
254
+ "name": "umt5_xxl_fp16.safetensors",
255
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp16.safetensors",
256
+ "directory": "text_encoders"
312
257
  }
313
258
  ]
314
259
  },
315
260
  "widgets_values": [
316
- "wan_2.1_vae.safetensors"
261
+ "umt5_xxl_fp16.safetensors",
262
+ "wan",
263
+ "default"
317
264
  ],
318
265
  "color": "#322",
319
266
  "bgcolor": "#533"
320
267
  },
321
268
  {
322
- "id": 127,
323
- "type": "CLIPLoader",
269
+ "id": 70,
270
+ "type": "SaveAnimatedWEBP",
324
271
  "pos": [
325
- -290,
326
- 390
272
+ 2090,
273
+ 70
327
274
  ],
328
275
  "size": [
329
- 350,
330
- 106
276
+ 670,
277
+ 780
331
278
  ],
332
279
  "flags": {},
333
- "order": 5,
334
- "mode": 0,
335
- "inputs": [],
336
- "outputs": [
280
+ "order": 37,
281
+ "mode": 4,
282
+ "inputs": [
337
283
  {
338
- "name": "CLIP",
339
- "type": "CLIP",
340
- "slot_index": 0,
341
- "links": [
342
- 188,
343
- 196
344
- ]
284
+ "name": "images",
285
+ "type": "IMAGE",
286
+ "link": 198
345
287
  }
346
288
  ],
289
+ "outputs": [],
347
290
  "properties": {
348
- "Node name for S&R": "CLIPLoader",
349
291
  "cnr_id": "comfy-core",
350
292
  "ver": "0.3.34",
351
- "models": [
352
- {
353
- "name": "umt5_xxl_fp16.safetensors",
354
- "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp16.safetensors",
355
- "directory": "text_encoders"
356
- }
357
- ]
293
+ "Node name for S&R": "SaveAnimatedWEBP"
358
294
  },
359
295
  "widgets_values": [
360
- "umt5_xxl_fp16.safetensors",
361
- "wan",
296
+ "ComfyUI",
297
+ 6,
298
+ true,
299
+ 80,
362
300
  "default"
363
- ],
364
- "color": "#322",
365
- "bgcolor": "#533"
301
+ ]
366
302
  },
367
303
  {
368
- "id": 113,
369
- "type": "UNETLoader",
304
+ "id": 118,
305
+ "type": "TrimVideoLatent",
370
306
  "pos": [
371
- -290,
372
- 100
307
+ 960,
308
+ 580
373
309
  ],
374
310
  "size": [
375
- 350,
376
- 82
311
+ 276.5860290527344,
312
+ 58
377
313
  ],
378
- "flags": {},
379
- "order": 6,
314
+ "flags": {
315
+ "collapsed": true
316
+ },
317
+ "order": 34,
380
318
  "mode": 0,
381
- "inputs": [],
319
+ "inputs": [
320
+ {
321
+ "name": "samples",
322
+ "type": "LATENT",
323
+ "link": 189
324
+ },
325
+ {
326
+ "name": "trim_amount",
327
+ "type": "INT",
328
+ "widget": {
329
+ "name": "trim_amount"
330
+ },
331
+ "link": 282
332
+ }
333
+ ],
382
334
  "outputs": [
383
335
  {
384
- "name": "MODEL",
385
- "type": "MODEL",
386
- "slot_index": 0,
336
+ "name": "LATENT",
337
+ "type": "LATENT",
387
338
  "links": [
388
- 187
339
+ 191
389
340
  ]
390
341
  }
391
342
  ],
392
343
  "properties": {
393
- "Node name for S&R": "UNETLoader",
394
344
  "cnr_id": "comfy-core",
395
345
  "ver": "0.3.34",
396
- "models": [
397
- {
398
- "name": "wan2.1_vace_14B_fp16.safetensors",
399
- "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_vace_14B_fp16.safetensors",
400
- "directory": "diffusion_models"
401
- }
402
- ]
346
+ "Node name for S&R": "TrimVideoLatent"
403
347
  },
404
348
  "widgets_values": [
405
- "wan2.1_vace_14B_fp16.safetensors",
406
- "default"
407
- ],
408
- "color": "#322",
409
- "bgcolor": "#533"
349
+ 0
350
+ ]
410
351
  },
411
352
  {
412
- "id": 115,
413
- "type": "LoraLoader",
353
+ "id": 110,
354
+ "type": "ModelSamplingSD3",
414
355
  "pos": [
415
- -290,
416
- 220
356
+ 610,
357
+ 60
417
358
  ],
418
359
  "size": [
419
- 350,
420
- 126
360
+ 210,
361
+ 58
421
362
  ],
422
- "flags": {},
423
- "order": 20,
363
+ "flags": {
364
+ "collapsed": true
365
+ },
366
+ "order": 23,
424
367
  "mode": 0,
425
368
  "inputs": [
426
369
  {
427
370
  "name": "model",
428
371
  "type": "MODEL",
429
- "link": 187
430
- },
431
- {
432
- "name": "clip",
433
- "type": "CLIP",
434
- "link": 188
372
+ "link": 186
435
373
  }
436
374
  ],
437
375
  "outputs": [
438
376
  {
439
377
  "name": "MODEL",
440
378
  "type": "MODEL",
379
+ "slot_index": 0,
441
380
  "links": [
442
- 186
443
- ]
444
- },
445
- {
446
- "name": "CLIP",
447
- "type": "CLIP",
448
- "links": [
449
- 176,
450
- 178
381
+ 179
451
382
  ]
452
383
  }
453
384
  ],
454
385
  "properties": {
455
- "Node name for S&R": "LoraLoader",
456
- "models": [
457
- {
458
- "name": "Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
459
- "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
460
- "directory": "loras"
461
- }
462
- ]
386
+ "cnr_id": "comfy-core",
387
+ "ver": "0.3.34",
388
+ "Node name for S&R": "ModelSamplingSD3"
463
389
  },
464
390
  "widgets_values": [
465
- "Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
466
- 0.7000000000000002,
467
- 1
468
- ],
469
- "color": "#322",
470
- "bgcolor": "#533"
391
+ 8.000000000000002
392
+ ]
471
393
  },
472
394
  {
473
- "id": 112,
474
- "type": "Note",
475
- "pos": [
476
- 110,
477
- 10
478
- ],
479
- "size": [
480
- 440,
481
- 100
482
- ],
483
- "flags": {},
484
- "order": 7,
485
- "mode": 0,
486
- "inputs": [],
487
- "outputs": [],
488
- "properties": {},
489
- "widgets_values": [
490
- "Since umt5 is a variant based on T5, the input of prompt supports multiple languages.\n\n---\n\n由于 umt5 是基于 T5 的变体,所以提示词输入是支持多种语言输入的"
491
- ],
492
- "color": "#432",
493
- "bgcolor": "#653"
494
- },
495
- {
496
- "id": 73,
497
- "type": "LoadImage",
498
- "pos": [
499
- -290,
500
- 690
501
- ],
502
- "size": [
503
- 274.080078125,
504
- 314.00006103515625
505
- ],
506
- "flags": {},
507
- "order": 8,
508
- "mode": 0,
509
- "inputs": [],
510
- "outputs": [
511
- {
512
- "name": "IMAGE",
513
- "type": "IMAGE",
514
- "links": [
515
- 202
516
- ]
517
- },
518
- {
519
- "name": "MASK",
520
- "type": "MASK",
521
- "links": null
522
- }
523
- ],
524
- "properties": {
525
- "Node name for S&R": "LoadImage",
526
- "cnr_id": "comfy-core",
527
- "ver": "0.3.34"
528
- },
529
- "widgets_values": [
530
- "input.png",
531
- "image"
532
- ],
533
- "color": "#322",
534
- "bgcolor": "#533"
535
- },
536
- {
537
- "id": 70,
538
- "type": "SaveAnimatedWEBP",
539
- "pos": [
540
- 2090,
541
- 70
542
- ],
543
- "size": [
544
- 670,
545
- 780
546
- ],
547
- "flags": {},
548
- "order": 39,
549
- "mode": 4,
550
- "inputs": [
551
- {
552
- "name": "images",
553
- "type": "IMAGE",
554
- "link": 198
555
- }
556
- ],
557
- "outputs": [],
558
- "properties": {
559
- "Node name for S&R": "SaveAnimatedWEBP",
560
- "cnr_id": "comfy-core",
561
- "ver": "0.3.34"
562
- },
563
- "widgets_values": [
564
- "ComfyUI",
565
- 6,
566
- true,
567
- 80,
568
- "default"
569
- ]
570
- },
571
- {
572
- "id": 118,
573
- "type": "TrimVideoLatent",
574
- "pos": [
575
- 960,
576
- 580
577
- ],
578
- "size": [
579
- 276.5860290527344,
580
- 58
581
- ],
582
- "flags": {
583
- "collapsed": true
584
- },
585
- "order": 36,
586
- "mode": 0,
587
- "inputs": [
588
- {
589
- "name": "samples",
590
- "type": "LATENT",
591
- "link": 189
592
- },
593
- {
594
- "name": "trim_amount",
595
- "type": "INT",
596
- "widget": {
597
- "name": "trim_amount"
598
- },
599
- "link": 282
600
- }
601
- ],
602
- "outputs": [
603
- {
604
- "name": "LATENT",
605
- "type": "LATENT",
606
- "links": [
607
- 191
608
- ]
609
- }
610
- ],
611
- "properties": {
612
- "Node name for S&R": "TrimVideoLatent",
613
- "cnr_id": "comfy-core",
614
- "ver": "0.3.34"
615
- },
616
- "widgets_values": [
617
- 0
618
- ]
619
- },
620
- {
621
- "id": 110,
622
- "type": "ModelSamplingSD3",
623
- "pos": [
624
- 610,
625
- 60
626
- ],
627
- "size": [
628
- 210,
629
- 58
630
- ],
631
- "flags": {
632
- "collapsed": true
633
- },
634
- "order": 23,
635
- "mode": 0,
636
- "inputs": [
637
- {
638
- "name": "model",
639
- "type": "MODEL",
640
- "link": 186
641
- }
642
- ],
643
- "outputs": [
644
- {
645
- "name": "MODEL",
646
- "type": "MODEL",
647
- "slot_index": 0,
648
- "links": [
649
- 179
650
- ]
651
- }
652
- ],
653
- "properties": {
654
- "Node name for S&R": "ModelSamplingSD3",
655
- "cnr_id": "comfy-core",
656
- "ver": "0.3.34"
657
- },
658
- "widgets_values": [
659
- 8.000000000000002
660
- ]
661
- },
662
- {
663
- "id": 108,
664
- "type": "KSampler",
665
- "pos": [
666
- 950,
667
- 60
668
- ],
669
- "size": [
670
- 315,
671
- 262
672
- ],
673
- "flags": {},
674
- "order": 35,
675
- "mode": 0,
676
- "inputs": [
677
- {
678
- "name": "model",
679
- "type": "MODEL",
680
- "link": 179
681
- },
682
- {
683
- "name": "positive",
684
- "type": "CONDITIONING",
685
- "link": 279
686
- },
687
- {
688
- "name": "negative",
689
- "type": "CONDITIONING",
690
- "link": 280
691
- },
692
- {
693
- "name": "latent_image",
694
- "type": "LATENT",
695
- "link": 281
696
- }
697
- ],
698
- "outputs": [
699
- {
700
- "name": "LATENT",
701
- "type": "LATENT",
702
- "slot_index": 0,
703
- "links": [
704
- 189
705
- ]
706
- }
707
- ],
708
- "properties": {
709
- "Node name for S&R": "KSampler",
710
- "cnr_id": "comfy-core",
711
- "ver": "0.3.34"
712
- },
713
- "widgets_values": [
714
- 1097052196742969,
715
- "randomize",
716
- 4,
717
- 1,
718
- "uni_pc",
719
- "simple",
720
- 1
721
- ]
722
- },
723
- {
724
- "id": 107,
725
- "type": "CLIPTextEncode",
726
- "pos": [
727
- 120,
728
- 420
729
- ],
730
- "size": [
731
- 425.27801513671875,
732
- 180.6060791015625
733
- ],
734
- "flags": {},
735
- "order": 25,
736
- "mode": 0,
737
- "inputs": [
738
- {
739
- "name": "clip",
740
- "type": "CLIP",
741
- "link": 178
742
- }
743
- ],
744
- "outputs": [
745
- {
746
- "name": "CONDITIONING",
747
- "type": "CONDITIONING",
748
- "slot_index": 0,
749
- "links": [
750
- 184
751
- ]
752
- }
753
- ],
754
- "title": "CLIP Text Encode (Negative Prompt)",
755
- "properties": {
756
- "Node name for S&R": "CLIPTextEncode",
757
- "cnr_id": "comfy-core",
758
- "ver": "0.3.34"
759
- },
760
- "widgets_values": [
761
- "过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走,"
762
- ],
763
- "color": "#322",
764
- "bgcolor": "#533"
765
- },
766
- {
767
- "id": 105,
768
- "type": "CLIPTextEncode",
769
- "pos": [
770
- 120,
771
- 210
772
- ],
773
- "size": [
774
- 422.84503173828125,
775
- 164.31304931640625
776
- ],
777
- "flags": {},
778
- "order": 24,
779
- "mode": 0,
780
- "inputs": [
781
- {
782
- "name": "clip",
783
- "type": "CLIP",
784
- "link": 176
785
- }
786
- ],
787
- "outputs": [
788
- {
789
- "name": "CONDITIONING",
790
- "type": "CONDITIONING",
791
- "slot_index": 0,
792
- "links": [
793
- 183
794
- ]
795
- }
796
- ],
797
- "title": "CLIP Text Encode (Positive Prompt)",
798
- "properties": {
799
- "Node name for S&R": "CLIPTextEncode",
800
- "cnr_id": "comfy-core",
801
- "ver": "0.3.34"
802
- },
803
- "widgets_values": [
804
- "女孩拿起包包"
805
- ],
806
- "color": "#232",
807
- "bgcolor": "#353"
808
- },
809
- {
810
- "id": 148,
811
- "type": "LoadImage",
812
- "pos": [
813
- 480,
814
- 750
815
- ],
816
- "size": [
817
- 274.080078125,
818
- 314
819
- ],
820
- "flags": {},
821
- "order": 9,
822
- "mode": 4,
823
- "inputs": [],
824
- "outputs": [
825
- {
826
- "name": "IMAGE",
827
- "type": "IMAGE",
828
- "links": [
829
- 240
830
- ]
831
- },
832
- {
833
- "name": "MASK",
834
- "type": "MASK",
835
- "links": null
836
- }
837
- ],
838
- "properties": {
839
- "Node name for S&R": "LoadImage"
840
- },
841
- "widgets_values": [
842
- "first_frame.png",
843
- "image"
844
- ]
845
- },
846
- {
847
- "id": 146,
848
- "type": "SolidMask",
395
+ "id": 146,
396
+ "type": "SolidMask",
849
397
  "pos": [
850
398
  800,
851
399
  990
@@ -855,7 +403,7 @@
855
403
  106
856
404
  ],
857
405
  "flags": {},
858
- "order": 22,
406
+ "order": 19,
859
407
  "mode": 4,
860
408
  "inputs": [
861
409
  {
@@ -885,12 +433,14 @@
885
433
  }
886
434
  ],
887
435
  "properties": {
436
+ "cnr_id": "comfy-core",
437
+ "ver": "0.3.38",
888
438
  "Node name for S&R": "SolidMask"
889
439
  },
890
440
  "widgets_values": [
891
441
  0,
892
- 720,
893
- 720
442
+ 768,
443
+ 768
894
444
  ]
895
445
  },
896
446
  {
@@ -905,7 +455,7 @@
905
455
  30
906
456
  ],
907
457
  "flags": {},
908
- "order": 27,
458
+ "order": 22,
909
459
  "mode": 4,
910
460
  "inputs": [
911
461
  {
@@ -924,6 +474,8 @@
924
474
  }
925
475
  ],
926
476
  "properties": {
477
+ "cnr_id": "comfy-core",
478
+ "ver": "0.3.38",
927
479
  "Node name for S&R": "MaskToImage"
928
480
  },
929
481
  "widgets_values": []
@@ -940,7 +492,7 @@
940
492
  46
941
493
  ],
942
494
  "flags": {},
943
- "order": 30,
495
+ "order": 28,
944
496
  "mode": 4,
945
497
  "inputs": [
946
498
  {
@@ -965,6 +517,8 @@
965
517
  }
966
518
  ],
967
519
  "properties": {
520
+ "cnr_id": "comfy-core",
521
+ "ver": "0.3.38",
968
522
  "Node name for S&R": "ImageBatch"
969
523
  },
970
524
  "widgets_values": []
@@ -981,7 +535,7 @@
981
535
  60
982
536
  ],
983
537
  "flags": {},
984
- "order": 33,
538
+ "order": 31,
985
539
  "mode": 4,
986
540
  "inputs": [
987
541
  {
@@ -1000,6 +554,8 @@
1000
554
  }
1001
555
  ],
1002
556
  "properties": {
557
+ "cnr_id": "comfy-core",
558
+ "ver": "0.3.38",
1003
559
  "Node name for S&R": "ImageToMask"
1004
560
  },
1005
561
  "widgets_values": [
@@ -1018,7 +574,7 @@
1018
574
  60
1019
575
  ],
1020
576
  "flags": {},
1021
- "order": 28,
577
+ "order": 26,
1022
578
  "mode": 4,
1023
579
  "inputs": [
1024
580
  {
@@ -1046,6 +602,8 @@
1046
602
  }
1047
603
  ],
1048
604
  "properties": {
605
+ "cnr_id": "comfy-core",
606
+ "ver": "0.3.38",
1049
607
  "Node name for S&R": "RepeatImageBatch"
1050
608
  },
1051
609
  "widgets_values": [
@@ -1066,7 +624,7 @@
1066
624
  "flags": {
1067
625
  "collapsed": false
1068
626
  },
1069
- "order": 26,
627
+ "order": 21,
1070
628
  "mode": 4,
1071
629
  "inputs": [
1072
630
  {
@@ -1085,6 +643,8 @@
1085
643
  }
1086
644
  ],
1087
645
  "properties": {
646
+ "cnr_id": "comfy-core",
647
+ "ver": "0.3.38",
1088
648
  "Node name for S&R": "MaskToImage"
1089
649
  },
1090
650
  "widgets_values": []
@@ -1101,7 +661,7 @@
1101
661
  110
1102
662
  ],
1103
663
  "flags": {},
1104
- "order": 21,
664
+ "order": 18,
1105
665
  "mode": 4,
1106
666
  "inputs": [
1107
667
  {
@@ -1131,12 +691,14 @@
1131
691
  }
1132
692
  ],
1133
693
  "properties": {
694
+ "cnr_id": "comfy-core",
695
+ "ver": "0.3.38",
1134
696
  "Node name for S&R": "SolidMask"
1135
697
  },
1136
698
  "widgets_values": [
1137
699
  1,
1138
- 720,
1139
- 720
700
+ 768,
701
+ 768
1140
702
  ]
1141
703
  },
1142
704
  {
@@ -1151,7 +713,7 @@
1151
713
  46
1152
714
  ],
1153
715
  "flags": {},
1154
- "order": 29,
716
+ "order": 27,
1155
717
  "mode": 4,
1156
718
  "inputs": [
1157
719
  {
@@ -1176,132 +738,239 @@
1176
738
  }
1177
739
  ],
1178
740
  "properties": {
741
+ "cnr_id": "comfy-core",
742
+ "ver": "0.3.38",
1179
743
  "Node name for S&R": "ImageBatch"
1180
744
  },
1181
745
  "widgets_values": []
1182
746
  },
1183
747
  {
1184
- "id": 116,
748
+ "id": 135,
749
+ "type": "PreviewImage",
750
+ "pos": [
751
+ 710,
752
+ 1200
753
+ ],
754
+ "size": [
755
+ 280,
756
+ 270
757
+ ],
758
+ "flags": {},
759
+ "order": 30,
760
+ "mode": 4,
761
+ "inputs": [
762
+ {
763
+ "name": "images",
764
+ "type": "IMAGE",
765
+ "link": 224
766
+ }
767
+ ],
768
+ "outputs": [],
769
+ "properties": {
770
+ "cnr_id": "comfy-core",
771
+ "ver": "0.3.38",
772
+ "Node name for S&R": "PreviewImage"
773
+ },
774
+ "widgets_values": []
775
+ },
776
+ {
777
+ "id": 133,
778
+ "type": "PreviewImage",
779
+ "pos": [
780
+ 1000,
781
+ 1200
782
+ ],
783
+ "size": [
784
+ 290,
785
+ 270
786
+ ],
787
+ "flags": {},
788
+ "order": 29,
789
+ "mode": 4,
790
+ "inputs": [
791
+ {
792
+ "name": "images",
793
+ "type": "IMAGE",
794
+ "link": 212
795
+ }
796
+ ],
797
+ "outputs": [],
798
+ "properties": {
799
+ "cnr_id": "comfy-core",
800
+ "ver": "0.3.38",
801
+ "Node name for S&R": "PreviewImage"
802
+ },
803
+ "widgets_values": []
804
+ },
805
+ {
806
+ "id": 161,
1185
807
  "type": "MarkdownNote",
1186
808
  "pos": [
1187
- 610,
1188
- 410
809
+ 470,
810
+ 1200
1189
811
  ],
1190
812
  "size": [
1191
- 310,
1192
- 110
813
+ 230,
814
+ 270
1193
815
  ],
1194
816
  "flags": {},
1195
- "order": 10,
1196
- "mode": 0,
817
+ "order": 4,
818
+ "mode": 4,
1197
819
  "inputs": [],
1198
820
  "outputs": [],
1199
- "title": "About Video Size",
821
+ "title": "Note",
1200
822
  "properties": {},
1201
823
  "widgets_values": [
1202
- "| Model | 480P | 720P |\n| ------------------------------------------------------------ | ---- | ---- |\n| [VACE-1.3B](https://huggingface.co/Wan-AI/Wan2.1-VACE-1.3B) | ✅ | ❌ |\n| [VACE-14B](https://huggingface.co/Wan-AI/Wan2.1-VACE-14B) | ✅ | ✅ |"
824
+ "Since VACE supports converting any frame into a video, here we have created a sequence of images with the first frame and the corresponding mask. In this way, we can control the starting frame.\n\n---\n\n由于 VACE 支持任意帧到视频,所以在这里,我们创建了一个带有首帧的序列图像和对应的蒙版,这样我们就可以控制起始帧"
1203
825
  ],
1204
826
  "color": "#432",
1205
827
  "bgcolor": "#653"
1206
828
  },
1207
829
  {
1208
- "id": 117,
830
+ "id": 147,
831
+ "type": "PrimitiveNode",
832
+ "pos": [
833
+ 60,
834
+ 720
835
+ ],
836
+ "size": [
837
+ 340,
838
+ 82
839
+ ],
840
+ "flags": {},
841
+ "order": 5,
842
+ "mode": 4,
843
+ "inputs": [],
844
+ "outputs": [
845
+ {
846
+ "name": "INT",
847
+ "type": "INT",
848
+ "widget": {
849
+ "name": "amount"
850
+ },
851
+ "links": [
852
+ 236
853
+ ]
854
+ }
855
+ ],
856
+ "properties": {
857
+ "Run widget replace on values": false
858
+ },
859
+ "widgets_values": [
860
+ 80,
861
+ "fixed"
862
+ ],
863
+ "color": "#322",
864
+ "bgcolor": "#533"
865
+ },
866
+ {
867
+ "id": 162,
1209
868
  "type": "MarkdownNote",
1210
869
  "pos": [
1211
- 950,
1212
- 360
870
+ -320,
871
+ 1080
1213
872
  ],
1214
873
  "size": [
1215
- 320,
1216
- 170
874
+ 340,
875
+ 280
1217
876
  ],
1218
877
  "flags": {},
1219
- "order": 11,
878
+ "order": 6,
1220
879
  "mode": 0,
1221
880
  "inputs": [],
1222
881
  "outputs": [],
1223
- "title": "KSampler Setting",
882
+ "title": "Note",
1224
883
  "properties": {},
1225
884
  "widgets_values": [
1226
- "## Default\n\n- steps:20\n- cfg:4.0\n\n## [For CausVid LoRA](https://www.reddit.com/r/StableDiffusion/comments/1knuafk/causvid_lora_massive_speedup_for_wan21_made_by/)\n\n- steps: 2-4\n- cfg: 1.0\n\n"
885
+ "VACE does not use data with style reference for training. Currently, it only has the functions of object or background reference. Therefore, at \"Load reference image\", you should upload a image with a solid-colored background or a background image. At present, the WanVaceToVideo node only supports the input of a single reference_image image.\n\n---\n\nVACE 并没有使用风格参考的数据去训练,目前只有物体或背景参考的功能,所以在 Load reference image 这里你应该上传背景为纯色的图片,或者背景图,目前 WanVaceToVideo 节点只支持输入单个 reference_image 图片"
1227
886
  ],
1228
887
  "color": "#432",
1229
888
  "bgcolor": "#653"
1230
889
  },
1231
890
  {
1232
- "id": 135,
1233
- "type": "PreviewImage",
891
+ "id": 121,
892
+ "type": "MarkdownNote",
1234
893
  "pos": [
1235
- 710,
1236
- 1200
894
+ -1200,
895
+ 10
1237
896
  ],
1238
897
  "size": [
1239
- 280,
1240
- 270
898
+ 470,
899
+ 800
1241
900
  ],
1242
901
  "flags": {},
1243
- "order": 32,
1244
- "mode": 4,
1245
- "inputs": [
1246
- {
1247
- "name": "images",
1248
- "type": "IMAGE",
1249
- "link": 224
1250
- }
1251
- ],
902
+ "order": 7,
903
+ "mode": 0,
904
+ "inputs": [],
1252
905
  "outputs": [],
1253
- "properties": {
1254
- "Node name for S&R": "PreviewImage"
1255
- },
1256
- "widgets_values": []
906
+ "properties": {},
907
+ "widgets_values": [
908
+ "[Tutorial](https://docs.comfy.org/tutorials/video/wan/vace) | [教程](https://docs.comfy.org/zh-CN/tutorials/video/wan/vace)\n\n[Causvid Lora extracted by Kijai](https://www.reddit.com/r/StableDiffusion/comments/1knuafk/causvid_lora_massive_speedup_for_wan21_made_by/) Thanks to CausVid MIT\n\n## 14B Support 480P 720P\n\n**Diffusion Model**\n- [wan2.1_vace_14B_fp16.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_vace_14B_fp16.safetensors)\n\n**LoRA**\n- [Wan21_CausVid_14B_T2V_lora_rank32.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan21_CausVid_14B_T2V_lora_rank32.safetensors)\n\nIt takes about 40 minutes to complete at 81 frames 720P resolution with the RTX 4090 . \nAfter using Wan21_CausVid_14B_T2V_lora_rank32.safetensors, it only takes about 4 minutes.\n\n## 1.3B Support 480P only\n\n**Diffusion Model**\n- [wan2.1_vace_1.3B_fp16.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_vace_14B_fp16.safetensors)\n\n**LoRA**\n- [Wan21_CausVid_bidirect2_T2V_1_3B_lora_rank32.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan21_CausVid_bidirect2_T2V_1_3B_lora_rank32.safetensors)\n \n\n## Other Models\n\n* You may already have these models if you use Wan workflow before.\n\n**VAE**\n- [wan_2.1_vae.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors?download=true)\n\n**Text encoders** Chose one of following model\n- [umt5_xxl_fp16.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp16.safetensors?download=true)\n- [umt5_xxl_fp8_e4m3fn_scaled.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors?download=true)\n\n> You can choose between fp16 of fp8; I used fp16 to match what kijai's wrapper is compatible with.\n\nFile save location\n\n```\nComfyUI/\n├── models/\n│ ├── diffusion_models/\n│ │ ├-── wan2.1_vace_14B_fp16.safetensors\n│ │ └─── wan2.1_vace_1.3B_fp16.safetensors \n│ ├── text_encoders/\n│ │ └─── umt5_xxl_fp8_e4m3fn_scaled.safetensors # or fp16\n│ ├── loras/\n│ │ ├── Wan21_CausVid_14B_T2V_lora_rank32.safetensors\n│ │ └── Wan21_CausVid_bidirect2_T2V_1_3B_lora_rank32.safetensors\n│ └── vae/\n│ └── wan_2.1_vae.safetensors\n```\n"
909
+ ],
910
+ "color": "#432",
911
+ "bgcolor": "#653"
1257
912
  },
1258
913
  {
1259
- "id": 133,
1260
- "type": "PreviewImage",
914
+ "id": 73,
915
+ "type": "LoadImage",
1261
916
  "pos": [
1262
- 1000,
1263
- 1200
917
+ -290,
918
+ 690
1264
919
  ],
1265
920
  "size": [
1266
- 290,
1267
- 270
921
+ 274.080078125,
922
+ 314.00006103515625
1268
923
  ],
1269
924
  "flags": {},
1270
- "order": 31,
1271
- "mode": 4,
1272
- "inputs": [
925
+ "order": 8,
926
+ "mode": 0,
927
+ "inputs": [],
928
+ "outputs": [
1273
929
  {
1274
- "name": "images",
930
+ "name": "IMAGE",
1275
931
  "type": "IMAGE",
1276
- "link": 212
932
+ "links": [
933
+ 202
934
+ ]
935
+ },
936
+ {
937
+ "name": "MASK",
938
+ "type": "MASK",
939
+ "links": null
1277
940
  }
1278
941
  ],
1279
- "outputs": [],
1280
942
  "properties": {
1281
- "Node name for S&R": "PreviewImage"
943
+ "cnr_id": "comfy-core",
944
+ "ver": "0.3.34",
945
+ "Node name for S&R": "LoadImage"
1282
946
  },
1283
- "widgets_values": []
947
+ "widgets_values": [
948
+ "input.jpg",
949
+ "image"
950
+ ],
951
+ "color": "#322",
952
+ "bgcolor": "#533"
1284
953
  },
1285
954
  {
1286
- "id": 161,
955
+ "id": 117,
1287
956
  "type": "MarkdownNote",
1288
957
  "pos": [
1289
- 470,
1290
- 1200
958
+ 950,
959
+ 360
1291
960
  ],
1292
961
  "size": [
1293
- 230,
1294
- 270
962
+ 320,
963
+ 170
1295
964
  ],
1296
965
  "flags": {},
1297
- "order": 12,
966
+ "order": 9,
1298
967
  "mode": 0,
1299
968
  "inputs": [],
1300
969
  "outputs": [],
1301
- "title": "Note",
970
+ "title": "KSampler Setting",
1302
971
  "properties": {},
1303
972
  "widgets_values": [
1304
- "Since VACE supports converting any frame into a video, here we have created a sequence of images with the first frame and the corresponding mask. In this way, we can control the starting frame.\n\n---\n\n由于 VACE 支持任意帧到视频,所以在这里,我们创建了一个带有首帧的序列图像和对应的蒙版,这样我们就可以控制起始帧"
973
+ "## Default\n\n- steps:20\n- cfg:6.0\n\n## [For CausVid LoRA](https://www.reddit.com/r/StableDiffusion/comments/1knuafk/causvid_lora_massive_speedup_for_wan21_made_by/)\n\n- steps: 2-4\n- cfg: 1.0\n\n"
1305
974
  ],
1306
975
  "color": "#432",
1307
976
  "bgcolor": "#653"
@@ -1311,14 +980,14 @@
1311
980
  "type": "PrimitiveNode",
1312
981
  "pos": [
1313
982
  70,
1314
- 1130
983
+ 920
1315
984
  ],
1316
985
  "size": [
1317
986
  280,
1318
987
  82
1319
988
  ],
1320
989
  "flags": {},
1321
- "order": 13,
990
+ "order": 10,
1322
991
  "mode": 0,
1323
992
  "inputs": [],
1324
993
  "outputs": [
@@ -1340,7 +1009,7 @@
1340
1009
  "Run widget replace on values": false
1341
1010
  },
1342
1011
  "widgets_values": [
1343
- 720,
1012
+ 768,
1344
1013
  "fixed"
1345
1014
  ],
1346
1015
  "color": "#322",
@@ -1351,14 +1020,14 @@
1351
1020
  "type": "PrimitiveNode",
1352
1021
  "pos": [
1353
1022
  70,
1354
- 1260
1023
+ 1050
1355
1024
  ],
1356
1025
  "size": [
1357
1026
  280,
1358
1027
  82
1359
1028
  ],
1360
1029
  "flags": {},
1361
- "order": 14,
1030
+ "order": 11,
1362
1031
  "mode": 0,
1363
1032
  "inputs": [],
1364
1033
  "outputs": [
@@ -1380,142 +1049,259 @@
1380
1049
  "Run widget replace on values": false
1381
1050
  },
1382
1051
  "widgets_values": [
1383
- 720,
1052
+ 768,
1384
1053
  "fixed"
1385
1054
  ],
1386
1055
  "color": "#322",
1387
1056
  "bgcolor": "#533"
1388
1057
  },
1389
1058
  {
1390
- "id": 147,
1391
- "type": "PrimitiveNode",
1059
+ "id": 114,
1060
+ "type": "VAELoader",
1392
1061
  "pos": [
1393
- 60,
1394
- 930
1062
+ -290,
1063
+ 540
1395
1064
  ],
1396
1065
  "size": [
1397
- 340,
1398
- 82
1066
+ 350,
1067
+ 58
1399
1068
  ],
1400
1069
  "flags": {},
1401
- "order": 15,
1402
- "mode": 4,
1070
+ "order": 12,
1071
+ "mode": 0,
1403
1072
  "inputs": [],
1404
1073
  "outputs": [
1405
1074
  {
1406
- "name": "INT",
1407
- "type": "INT",
1408
- "widget": {
1409
- "name": "amount"
1410
- },
1075
+ "name": "VAE",
1076
+ "type": "VAE",
1077
+ "slot_index": 0,
1411
1078
  "links": [
1412
- 236
1079
+ 185,
1080
+ 192
1413
1081
  ]
1414
1082
  }
1415
1083
  ],
1416
1084
  "properties": {
1417
- "Run widget replace on values": false
1085
+ "cnr_id": "comfy-core",
1086
+ "ver": "0.3.34",
1087
+ "Node name for S&R": "VAELoader",
1088
+ "models": [
1089
+ {
1090
+ "name": "wan_2.1_vae.safetensors",
1091
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors",
1092
+ "directory": "vae"
1093
+ }
1094
+ ]
1418
1095
  },
1419
1096
  "widgets_values": [
1420
- 80,
1421
- "fixed"
1097
+ "wan_2.1_vae.safetensors"
1422
1098
  ],
1423
1099
  "color": "#322",
1424
1100
  "bgcolor": "#533"
1425
1101
  },
1426
1102
  {
1427
- "id": 68,
1428
- "type": "CreateVideo",
1103
+ "id": 69,
1104
+ "type": "SaveVideo",
1429
1105
  "pos": [
1430
- 1330,
1431
- -120
1106
+ 1340,
1107
+ 70
1432
1108
  ],
1433
1109
  "size": [
1434
- 270,
1435
- 78
1110
+ 676.23095703125,
1111
+ 774.23095703125
1436
1112
  ],
1437
- "flags": {
1438
- "collapsed": false
1439
- },
1113
+ "flags": {},
1440
1114
  "order": 38,
1441
1115
  "mode": 0,
1442
1116
  "inputs": [
1443
1117
  {
1444
- "name": "images",
1118
+ "name": "video",
1119
+ "type": "VIDEO",
1120
+ "link": 129
1121
+ }
1122
+ ],
1123
+ "outputs": [],
1124
+ "properties": {
1125
+ "cnr_id": "comfy-core",
1126
+ "ver": "0.3.34",
1127
+ "Node name for S&R": "SaveVideo"
1128
+ },
1129
+ "widgets_values": [
1130
+ "video/ComfyUI",
1131
+ "auto",
1132
+ "auto"
1133
+ ]
1134
+ },
1135
+ {
1136
+ "id": 148,
1137
+ "type": "LoadImage",
1138
+ "pos": [
1139
+ 480,
1140
+ 750
1141
+ ],
1142
+ "size": [
1143
+ 274.080078125,
1144
+ 314
1145
+ ],
1146
+ "flags": {},
1147
+ "order": 13,
1148
+ "mode": 4,
1149
+ "inputs": [],
1150
+ "outputs": [
1151
+ {
1152
+ "name": "IMAGE",
1445
1153
  "type": "IMAGE",
1446
- "link": 197
1154
+ "links": [
1155
+ 240
1156
+ ]
1447
1157
  },
1448
1158
  {
1449
- "name": "audio",
1450
- "shape": 7,
1451
- "type": "AUDIO",
1452
- "link": null
1159
+ "name": "MASK",
1160
+ "type": "MASK",
1161
+ "links": null
1162
+ }
1163
+ ],
1164
+ "properties": {
1165
+ "cnr_id": "comfy-core",
1166
+ "ver": "0.3.38",
1167
+ "Node name for S&R": "LoadImage"
1168
+ },
1169
+ "widgets_values": [
1170
+ "input.jpg",
1171
+ "image"
1172
+ ]
1173
+ },
1174
+ {
1175
+ "id": 108,
1176
+ "type": "KSampler",
1177
+ "pos": [
1178
+ 950,
1179
+ 60
1180
+ ],
1181
+ "size": [
1182
+ 315,
1183
+ 262
1184
+ ],
1185
+ "flags": {},
1186
+ "order": 33,
1187
+ "mode": 0,
1188
+ "inputs": [
1189
+ {
1190
+ "name": "model",
1191
+ "type": "MODEL",
1192
+ "link": 179
1193
+ },
1194
+ {
1195
+ "name": "positive",
1196
+ "type": "CONDITIONING",
1197
+ "link": 279
1198
+ },
1199
+ {
1200
+ "name": "negative",
1201
+ "type": "CONDITIONING",
1202
+ "link": 280
1203
+ },
1204
+ {
1205
+ "name": "latent_image",
1206
+ "type": "LATENT",
1207
+ "link": 281
1453
1208
  }
1454
1209
  ],
1455
1210
  "outputs": [
1456
1211
  {
1457
- "name": "VIDEO",
1458
- "type": "VIDEO",
1212
+ "name": "LATENT",
1213
+ "type": "LATENT",
1214
+ "slot_index": 0,
1459
1215
  "links": [
1460
- 129
1216
+ 189
1461
1217
  ]
1462
1218
  }
1463
1219
  ],
1464
1220
  "properties": {
1465
- "Node name for S&R": "CreateVideo",
1466
1221
  "cnr_id": "comfy-core",
1467
- "ver": "0.3.34"
1222
+ "ver": "0.3.34",
1223
+ "Node name for S&R": "KSampler"
1468
1224
  },
1469
1225
  "widgets_values": [
1470
- 16
1226
+ 552837504311715,
1227
+ "randomize",
1228
+ 4,
1229
+ 1,
1230
+ "uni_pc",
1231
+ "simple",
1232
+ 1
1471
1233
  ]
1472
1234
  },
1473
1235
  {
1474
- "id": 162,
1236
+ "id": 116,
1475
1237
  "type": "MarkdownNote",
1476
1238
  "pos": [
1477
- -320,
1478
- 1080
1239
+ 60,
1240
+ 1200
1479
1241
  ],
1480
1242
  "size": [
1481
- 340,
1482
- 280
1243
+ 210,
1244
+ 110
1483
1245
  ],
1484
1246
  "flags": {},
1485
- "order": 16,
1247
+ "order": 14,
1486
1248
  "mode": 0,
1487
1249
  "inputs": [],
1488
1250
  "outputs": [],
1489
- "title": "Note",
1251
+ "title": "About Video Size",
1490
1252
  "properties": {},
1491
1253
  "widgets_values": [
1492
- "VACE does not use data with style reference for training. Currently, it only has the functions of object or background reference. Therefore, at \"Load reference image\", you should upload a image with a solid-colored background or a background image. At present, the WanVaceToVideo node only supports the input of a single reference_image image.\n\n---\n\nVACE 并没有使用风格参考的数据去训练,目前只有物体或背景参考的功能,所以在 Load reference image 这里你应该上传背景为纯色的图片,或者背景图,目前 WanVaceToVideo 节点只支持输入单个 reference_image 图片"
1254
+ "| Model | 480P | 720P |\n| ------------------------------------------------------------ | ---- | ---- |\n| [VACE-1.3B](https://huggingface.co/Wan-AI/Wan2.1-VACE-1.3B) | ✅ | ❌ |\n| [VACE-14B](https://huggingface.co/Wan-AI/Wan2.1-VACE-14B) | ✅ | ✅ |"
1493
1255
  ],
1494
1256
  "color": "#432",
1495
1257
  "bgcolor": "#653"
1496
1258
  },
1497
1259
  {
1498
- "id": 121,
1499
- "type": "MarkdownNote",
1260
+ "id": 68,
1261
+ "type": "CreateVideo",
1500
1262
  "pos": [
1501
- -1200,
1502
- 10
1263
+ 1330,
1264
+ -120
1265
+ ],
1266
+ "size": [
1267
+ 270,
1268
+ 78
1269
+ ],
1270
+ "flags": {
1271
+ "collapsed": false
1272
+ },
1273
+ "order": 36,
1274
+ "mode": 0,
1275
+ "inputs": [
1276
+ {
1277
+ "name": "images",
1278
+ "type": "IMAGE",
1279
+ "link": 197
1280
+ },
1281
+ {
1282
+ "name": "audio",
1283
+ "shape": 7,
1284
+ "type": "AUDIO",
1285
+ "link": null
1286
+ }
1503
1287
  ],
1504
- "size": [
1505
- 470,
1506
- 800
1288
+ "outputs": [
1289
+ {
1290
+ "name": "VIDEO",
1291
+ "type": "VIDEO",
1292
+ "links": [
1293
+ 129
1294
+ ]
1295
+ }
1507
1296
  ],
1508
- "flags": {},
1509
- "order": 17,
1510
- "mode": 0,
1511
- "inputs": [],
1512
- "outputs": [],
1513
- "properties": {},
1297
+ "properties": {
1298
+ "cnr_id": "comfy-core",
1299
+ "ver": "0.3.34",
1300
+ "Node name for S&R": "CreateVideo"
1301
+ },
1514
1302
  "widgets_values": [
1515
- "[Tutorial](https://docs.comfy.org/tutorials/video/wan/vace) | [教程](https://docs.comfy.org/zh-CN/tutorials/video/wan/vace)\n\n[Causvid Lora extracted by Kijai](https://www.reddit.com/r/StableDiffusion/comments/1knuafk/causvid_lora_massive_speedup_for_wan21_made_by/) Thanks to CausVid MIT\n\n## 14B Support 480P 720P\n\n**Diffusion Model**\n- [wan2.1_vace_14B_fp16.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_vace_14B_fp16.safetensors)\n\n**LoRA**\n- [Wan21_CausVid_14B_T2V_lora_rank32.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan21_CausVid_14B_T2V_lora_rank32.safetensors)\n\nIt takes about 40 minutes to complete at 81 frames 720P resolution with the RTX 4090 . \nAfter using Wan21_CausVid_14B_T2V_lora_rank32.safetensors, it only takes about 4 minutes.\n\n## 1.3B Support 480P only\n\n**Diffusion Model**\n- [wan2.1_vace_1.3B_fp16.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_vace_14B_fp16.safetensors)\n\n**LoRA**\n- [Wan21_CausVid_bidirect2_T2V_1_3B_lora_rank32.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan21_CausVid_bidirect2_T2V_1_3B_lora_rank32.safetensors)\n \n\n## Other Models\n\n* You may already have these models if you use Wan workflow before.\n\n**VAE**\n- [wan_2.1_vae.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors?download=true)\n\n**Text encoders** Chose one of following model\n- [umt5_xxl_fp16.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp16.safetensors?download=true)\n- [umt5_xxl_fp8_e4m3fn_scaled.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors?download=true)\n\n> You can choose between fp16 of fp8; I used fp16 to match what kijai's wrapper is compatible with.\n\nFile save location\n\n```\nComfyUI/\n├── models/\n│ ├── diffusion_models/\n│ │ ├-── wan2.1_vace_14B_fp16.safetensors\n│ │ └─── wan2.1_vace_1.3B_fp16.safetensors \n│ ├── text_encoders/\n│ │ └─── umt5_xxl_fp8_e4m3fn_scaled.safetensors # or fp16\n│ ├── loras/\n│ │ ├── Wan21_CausVid_14B_T2V_lora_rank32.safetensors\n│ │ └── Wan21_CausVid_bidirect2_T2V_1_3B_lora_rank32.safetensors\n│ └── vae/\n│ └── wan_2.1_vae.safetensors\n```\n"
1516
- ],
1517
- "color": "#432",
1518
- "bgcolor": "#653"
1303
+ 16
1304
+ ]
1519
1305
  },
1520
1306
  {
1521
1307
  "id": 109,
@@ -1529,7 +1315,7 @@
1529
1315
  254
1530
1316
  ],
1531
1317
  "flags": {},
1532
- "order": 34,
1318
+ "order": 32,
1533
1319
  "mode": 0,
1534
1320
  "inputs": [
1535
1321
  {
@@ -1580,14 +1366,6 @@
1580
1366
  "name": "height"
1581
1367
  },
1582
1368
  "link": 292
1583
- },
1584
- {
1585
- "name": "length",
1586
- "type": "INT",
1587
- "widget": {
1588
- "name": "length"
1589
- },
1590
- "link": 295
1591
1369
  }
1592
1370
  ],
1593
1371
  "outputs": [
@@ -1621,52 +1399,234 @@
1621
1399
  }
1622
1400
  ],
1623
1401
  "properties": {
1624
- "Node name for S&R": "WanVaceToVideo",
1625
1402
  "cnr_id": "comfy-core",
1626
- "ver": "0.3.34"
1403
+ "ver": "0.3.34",
1404
+ "Node name for S&R": "WanVaceToVideo"
1627
1405
  },
1628
1406
  "widgets_values": [
1629
- 720,
1630
- 720,
1631
- 1,
1407
+ 768,
1408
+ 768,
1409
+ 81,
1632
1410
  1,
1633
- 0.5000000000000001
1411
+ 1.0000000000000002
1634
1412
  ]
1635
1413
  },
1636
1414
  {
1637
- "id": 139,
1638
- "type": "PrimitiveInt",
1415
+ "id": 113,
1416
+ "type": "UNETLoader",
1639
1417
  "pos": [
1640
- 60,
1641
- 710
1418
+ -290,
1419
+ 100
1642
1420
  ],
1643
1421
  "size": [
1644
- 340,
1645
- 90
1422
+ 350,
1423
+ 82
1646
1424
  ],
1647
1425
  "flags": {},
1648
- "order": 18,
1426
+ "order": 15,
1649
1427
  "mode": 0,
1650
1428
  "inputs": [],
1651
1429
  "outputs": [
1652
1430
  {
1653
- "name": "INT",
1654
- "type": "INT",
1431
+ "name": "MODEL",
1432
+ "type": "MODEL",
1433
+ "slot_index": 0,
1655
1434
  "links": [
1656
- 295
1435
+ 187
1657
1436
  ]
1658
1437
  }
1659
1438
  ],
1660
- "title": "Length",
1661
1439
  "properties": {
1662
- "Node name for S&R": "PrimitiveInt"
1440
+ "cnr_id": "comfy-core",
1441
+ "ver": "0.3.34",
1442
+ "Node name for S&R": "UNETLoader",
1443
+ "models": [
1444
+ {
1445
+ "name": "wan2.1_vace_14B_fp16.safetensors",
1446
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_vace_14B_fp16.safetensors",
1447
+ "directory": "diffusion_models"
1448
+ }
1449
+ ]
1663
1450
  },
1664
1451
  "widgets_values": [
1665
- 81,
1666
- "fixed"
1452
+ "wan2.1_vace_14B_fp16.safetensors",
1453
+ "default"
1454
+ ],
1455
+ "color": "#322",
1456
+ "bgcolor": "#533"
1457
+ },
1458
+ {
1459
+ "id": 115,
1460
+ "type": "LoraLoader",
1461
+ "pos": [
1462
+ -290,
1463
+ 220
1464
+ ],
1465
+ "size": [
1466
+ 350,
1467
+ 126
1468
+ ],
1469
+ "flags": {},
1470
+ "order": 20,
1471
+ "mode": 0,
1472
+ "inputs": [
1473
+ {
1474
+ "name": "model",
1475
+ "type": "MODEL",
1476
+ "link": 187
1477
+ },
1478
+ {
1479
+ "name": "clip",
1480
+ "type": "CLIP",
1481
+ "link": 188
1482
+ }
1483
+ ],
1484
+ "outputs": [
1485
+ {
1486
+ "name": "MODEL",
1487
+ "type": "MODEL",
1488
+ "links": [
1489
+ 186
1490
+ ]
1491
+ },
1492
+ {
1493
+ "name": "CLIP",
1494
+ "type": "CLIP",
1495
+ "links": [
1496
+ 176,
1497
+ 178
1498
+ ]
1499
+ }
1500
+ ],
1501
+ "properties": {
1502
+ "cnr_id": "comfy-core",
1503
+ "ver": "0.3.38",
1504
+ "Node name for S&R": "LoraLoader",
1505
+ "models": [
1506
+ {
1507
+ "name": "Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
1508
+ "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
1509
+ "directory": "loras"
1510
+ }
1511
+ ]
1512
+ },
1513
+ "widgets_values": [
1514
+ "Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
1515
+ 0.30000000000000004,
1516
+ 1
1517
+ ],
1518
+ "color": "#322",
1519
+ "bgcolor": "#533"
1520
+ },
1521
+ {
1522
+ "id": 163,
1523
+ "type": "MarkdownNote",
1524
+ "pos": [
1525
+ -320,
1526
+ -180
1527
+ ],
1528
+ "size": [
1529
+ 410,
1530
+ 140
1531
+ ],
1532
+ "flags": {},
1533
+ "order": 16,
1534
+ "mode": 0,
1535
+ "inputs": [],
1536
+ "outputs": [],
1537
+ "title": "About CausVid LoRA",
1538
+ "properties": {},
1539
+ "widgets_values": [
1540
+ "We have added CausVid LoRA by default to achieve acceleration. However, in some cases, the video may shake and become blurry. You might need to test different LoRA intensities to get the best results, which should be between 0.3 and 0.7. If you don't need it, you can use the bypass mode to disable it, and then restore the settings of `KSampler` to the default ones.\n\n\n我们默认添加了 CausVid LoRA 来实现加速,但有些情况下会出现视频抖动和模糊的情况,你可能需要测试不同的 LoRA 强度来获取最好的结果,0.3~0.7 之间。如果你不需要的话,可以使用 bypass 模式禁用它,然后恢复 `KSampler`的设置到默认的设置即可。"
1541
+ ],
1542
+ "color": "#432",
1543
+ "bgcolor": "#653"
1544
+ },
1545
+ {
1546
+ "id": 107,
1547
+ "type": "CLIPTextEncode",
1548
+ "pos": [
1549
+ 120,
1550
+ 400
1551
+ ],
1552
+ "size": [
1553
+ 425.27801513671875,
1554
+ 180.6060791015625
1555
+ ],
1556
+ "flags": {},
1557
+ "order": 25,
1558
+ "mode": 0,
1559
+ "inputs": [
1560
+ {
1561
+ "name": "clip",
1562
+ "type": "CLIP",
1563
+ "link": 178
1564
+ }
1565
+ ],
1566
+ "outputs": [
1567
+ {
1568
+ "name": "CONDITIONING",
1569
+ "type": "CONDITIONING",
1570
+ "slot_index": 0,
1571
+ "links": [
1572
+ 184
1573
+ ]
1574
+ }
1575
+ ],
1576
+ "title": "CLIP Text Encode (Negative Prompt)",
1577
+ "properties": {
1578
+ "cnr_id": "comfy-core",
1579
+ "ver": "0.3.34",
1580
+ "Node name for S&R": "CLIPTextEncode"
1581
+ },
1582
+ "widgets_values": [
1583
+ "过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走,"
1667
1584
  ],
1668
1585
  "color": "#322",
1669
1586
  "bgcolor": "#533"
1587
+ },
1588
+ {
1589
+ "id": 105,
1590
+ "type": "CLIPTextEncode",
1591
+ "pos": [
1592
+ 120,
1593
+ 60
1594
+ ],
1595
+ "size": [
1596
+ 420,
1597
+ 290
1598
+ ],
1599
+ "flags": {},
1600
+ "order": 24,
1601
+ "mode": 0,
1602
+ "inputs": [
1603
+ {
1604
+ "name": "clip",
1605
+ "type": "CLIP",
1606
+ "link": 176
1607
+ }
1608
+ ],
1609
+ "outputs": [
1610
+ {
1611
+ "name": "CONDITIONING",
1612
+ "type": "CONDITIONING",
1613
+ "slot_index": 0,
1614
+ "links": [
1615
+ 183
1616
+ ]
1617
+ }
1618
+ ],
1619
+ "title": "CLIP Text Encode (Positive Prompt)",
1620
+ "properties": {
1621
+ "cnr_id": "comfy-core",
1622
+ "ver": "0.3.34",
1623
+ "Node name for S&R": "CLIPTextEncode"
1624
+ },
1625
+ "widgets_values": [
1626
+ "An icicle dragon lunges forward, mouth wide open to exhale a stream of icy mist. Ultramarine energy flickers beneath its frost-coated scales as it twists. The camera circles slowly, capturing the swirling ice particles and the backdrop of floating glaciers and frozen nebulae under a cyan-blue filter."
1627
+ ],
1628
+ "color": "#232",
1629
+ "bgcolor": "#353"
1670
1630
  }
1671
1631
  ],
1672
1632
  "links": [
@@ -1997,14 +1957,6 @@
1997
1957
  109,
1998
1958
  7,
1999
1959
  "INT"
2000
- ],
2001
- [
2002
- 295,
2003
- 139,
2004
- 0,
2005
- 109,
2006
- 8,
2007
- "INT"
2008
1960
  ]
2009
1961
  ],
2010
1962
  "groups": [
@@ -2052,9 +2004,9 @@
2052
2004
  "title": "Prompt",
2053
2005
  "bounding": [
2054
2006
  110,
2055
- 130,
2007
+ -20,
2056
2008
  450,
2057
- 470
2009
+ 620
2058
2010
  ],
2059
2011
  "color": "#3f789e",
2060
2012
  "font_size": 24,
@@ -2112,25 +2064,12 @@
2112
2064
  "font_size": 24,
2113
2065
  "flags": {}
2114
2066
  },
2115
- {
2116
- "id": 16,
2117
- "title": "Length - 1 should be divisible by 4",
2118
- "bounding": [
2119
- 40,
2120
- 620,
2121
- 390,
2122
- 200
2123
- ],
2124
- "color": "#A88",
2125
- "font_size": 24,
2126
- "flags": {}
2127
- },
2128
2067
  {
2129
2068
  "id": 17,
2130
2069
  "title": "Video Size",
2131
2070
  "bounding": [
2132
2071
  40,
2133
- 1050,
2072
+ 840,
2134
2073
  390,
2135
2074
  310
2136
2075
  ],
@@ -2140,11 +2079,11 @@
2140
2079
  },
2141
2080
  {
2142
2081
  "id": 19,
2143
- "title": "Batch Size = Length - 1",
2082
+ "title": "Value= Length(WanVaceToVideo) - 1",
2144
2083
  "bounding": [
2145
2084
  40,
2146
- 840,
2147
- 390,
2085
+ 630,
2086
+ 400,
2148
2087
  190
2149
2088
  ],
2150
2089
  "color": "#A88",
@@ -2207,13 +2146,13 @@
2207
2146
  "config": {},
2208
2147
  "extra": {
2209
2148
  "ds": {
2210
- "scale": 0.6727499949325964,
2149
+ "scale": 1.1,
2211
2150
  "offset": [
2212
- 835.2834022171496,
2213
- -95.0718725490264
2151
+ 199.60496009744975,
2152
+ 149.56539080998232
2214
2153
  ]
2215
2154
  },
2216
- "frontendVersion": "1.21.0",
2155
+ "frontendVersion": "1.20.7",
2217
2156
  "node_versions": {
2218
2157
  "comfy-core": "0.3.34"
2219
2158
  },