Advertisement
progmars

ComfyUI workflow for CausVid with Skyreels2

May 17th, 2025
601
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 56.05 KB | None | 0 0
  1. {
  2. "id": "0b19625e-07b4-4a1a-ad77-3137387f4491",
  3. "revision": 0,
  4. "last_node_id": 156,
  5. "last_link_id": 230,
  6. "nodes": [
  7. {
  8. "id": 63,
  9. "type": "LoadImage",
  10. "pos": [
  11. -2512.16796875,
  12. -1395.3450927734375
  13. ],
  14. "size": [
  15. 424.3541564941406,
  16. 443.9457702636719
  17. ],
  18. "flags": {},
  19. "order": 0,
  20. "mode": 0,
  21. "inputs": [],
  22. "outputs": [
  23. {
  24. "name": "IMAGE",
  25. "type": "IMAGE",
  26. "links": [
  27. 197
  28. ]
  29. },
  30. {
  31. "name": "MASK",
  32. "type": "MASK",
  33. "links": null
  34. }
  35. ],
  36. "title": "Start image",
  37. "properties": {
  38. "cnr_id": "comfy-core",
  39. "ver": "0.3.26",
  40. "Node name for S&R": "LoadImage",
  41. "widget_ue_connectable": {}
  42. },
  43. "widgets_values": [
  44. "example.png",
  45. "image"
  46. ],
  47. "color": "#2a363b",
  48. "bgcolor": "#3f5159"
  49. },
  50. {
  51. "id": 132,
  52. "type": "SetNode",
  53. "pos": [
  54. -1761.629150390625,
  55. -1072.0511474609375
  56. ],
  57. "size": [
  58. 210,
  59. 58
  60. ],
  61. "flags": {
  62. "collapsed": true
  63. },
  64. "order": 51,
  65. "mode": 0,
  66. "inputs": [
  67. {
  68. "name": "WANVIDEOTEXTEMBEDS",
  69. "type": "WANVIDEOTEXTEMBEDS",
  70. "link": 202
  71. }
  72. ],
  73. "outputs": [
  74. {
  75. "name": "*",
  76. "type": "*",
  77. "links": null
  78. }
  79. ],
  80. "title": "Set_text_embeds",
  81. "properties": {
  82. "previousName": "text_embeds",
  83. "widget_ue_connectable": {}
  84. },
  85. "widgets_values": [
  86. "text_embeds"
  87. ],
  88. "color": "#1b4669",
  89. "bgcolor": "#29699c"
  90. },
  91. {
  92. "id": 128,
  93. "type": "SetNode",
  94. "pos": [
  95. -1224.125,
  96. -1321.061767578125
  97. ],
  98. "size": [
  99. 210,
  100. 60
  101. ],
  102. "flags": {
  103. "collapsed": true
  104. },
  105. "order": 45,
  106. "mode": 0,
  107. "inputs": [
  108. {
  109. "name": "INT",
  110. "type": "INT",
  111. "link": 200
  112. }
  113. ],
  114. "outputs": [
  115. {
  116. "name": "*",
  117. "type": "*",
  118. "links": null
  119. }
  120. ],
  121. "title": "Set_width",
  122. "properties": {
  123. "previousName": "width",
  124. "widget_ue_connectable": {}
  125. },
  126. "widgets_values": [
  127. "width"
  128. ],
  129. "color": "#1b4669",
  130. "bgcolor": "#29699c"
  131. },
  132. {
  133. "id": 129,
  134. "type": "SetNode",
  135. "pos": [
  136. -1224.7528076171875,
  137. -1187.4224853515625
  138. ],
  139. "size": [
  140. 210,
  141. 58
  142. ],
  143. "flags": {
  144. "collapsed": true
  145. },
  146. "order": 44,
  147. "mode": 0,
  148. "inputs": [
  149. {
  150. "name": "INT",
  151. "type": "INT",
  152. "link": 201
  153. }
  154. ],
  155. "outputs": [
  156. {
  157. "name": "*",
  158. "type": "*",
  159. "links": null
  160. }
  161. ],
  162. "title": "Set_height",
  163. "properties": {
  164. "previousName": "height",
  165. "widget_ue_connectable": {}
  166. },
  167. "widgets_values": [
  168. "height"
  169. ],
  170. "color": "#1b4669",
  171. "bgcolor": "#29699c"
  172. },
  173. {
  174. "id": 76,
  175. "type": "ImageResize+",
  176. "pos": [
  177. 73.63726806640625,
  178. -808.2654418945312
  179. ],
  180. "size": [
  181. 315,
  182. 218
  183. ],
  184. "flags": {},
  185. "order": 37,
  186. "mode": 4,
  187. "inputs": [
  188. {
  189. "name": "image",
  190. "type": "IMAGE",
  191. "link": 206
  192. },
  193. {
  194. "name": "width",
  195. "type": "INT",
  196. "widget": {
  197. "name": "width"
  198. },
  199. "link": 207
  200. },
  201. {
  202. "name": "height",
  203. "type": "INT",
  204. "widget": {
  205. "name": "height"
  206. },
  207. "link": 208
  208. }
  209. ],
  210. "outputs": [
  211. {
  212. "name": "IMAGE",
  213. "type": "IMAGE",
  214. "links": [
  215. 214
  216. ]
  217. },
  218. {
  219. "name": "width",
  220. "type": "INT",
  221. "links": []
  222. },
  223. {
  224. "name": "height",
  225. "type": "INT",
  226. "links": []
  227. }
  228. ],
  229. "properties": {
  230. "cnr_id": "comfyui_essentials",
  231. "ver": "76e9d1e4399bd025ce8b12c290753d58f9f53e93",
  232. "Node name for S&R": "ImageResize+",
  233. "aux_id": "kijai/ComfyUI_essentials",
  234. "widget_ue_connectable": {}
  235. },
  236. "widgets_values": [
  237. 854,
  238. 480,
  239. "lanczos",
  240. "fill / crop",
  241. "always",
  242. 16
  243. ]
  244. },
  245. {
  246. "id": 136,
  247. "type": "GetNode",
  248. "pos": [
  249. -161.37278747558594,
  250. -775.785888671875
  251. ],
  252. "size": [
  253. 210,
  254. 50
  255. ],
  256. "flags": {
  257. "collapsed": true
  258. },
  259. "order": 1,
  260. "mode": 4,
  261. "inputs": [],
  262. "outputs": [
  263. {
  264. "name": "IMAGE",
  265. "type": "IMAGE",
  266. "links": [
  267. 206
  268. ]
  269. }
  270. ],
  271. "title": "Get_raw_end_image",
  272. "properties": {
  273. "widget_ue_connectable": {}
  274. },
  275. "widgets_values": [
  276. "raw_end_image"
  277. ],
  278. "color": "#2a363b",
  279. "bgcolor": "#3f5159"
  280. },
  281. {
  282. "id": 137,
  283. "type": "GetNode",
  284. "pos": [
  285. -136.790771484375,
  286. -721.6074829101562
  287. ],
  288. "size": [
  289. 210,
  290. 60
  291. ],
  292. "flags": {
  293. "collapsed": true
  294. },
  295. "order": 2,
  296. "mode": 4,
  297. "inputs": [],
  298. "outputs": [
  299. {
  300. "name": "INT",
  301. "type": "INT",
  302. "links": [
  303. 207
  304. ]
  305. }
  306. ],
  307. "title": "Get_width",
  308. "properties": {
  309. "widget_ue_connectable": {}
  310. },
  311. "widgets_values": [
  312. "width"
  313. ],
  314. "color": "#1b4669",
  315. "bgcolor": "#29699c"
  316. },
  317. {
  318. "id": 138,
  319. "type": "GetNode",
  320. "pos": [
  321. -142.3031463623047,
  322. -670.2847290039062
  323. ],
  324. "size": [
  325. 210,
  326. 50
  327. ],
  328. "flags": {
  329. "collapsed": true
  330. },
  331. "order": 3,
  332. "mode": 4,
  333. "inputs": [],
  334. "outputs": [
  335. {
  336. "name": "INT",
  337. "type": "INT",
  338. "links": [
  339. 208
  340. ]
  341. }
  342. ],
  343. "title": "Get_height",
  344. "properties": {
  345. "widget_ue_connectable": {}
  346. },
  347. "widgets_values": [
  348. "height"
  349. ],
  350. "color": "#1b4669",
  351. "bgcolor": "#29699c"
  352. },
  353. {
  354. "id": 143,
  355. "type": "GetNode",
  356. "pos": [
  357. 1270.4896240234375,
  358. -1153.3812255859375
  359. ],
  360. "size": [
  361. 210,
  362. 60
  363. ],
  364. "flags": {
  365. "collapsed": true
  366. },
  367. "order": 4,
  368. "mode": 0,
  369. "inputs": [],
  370. "outputs": [
  371. {
  372. "name": "INT",
  373. "type": "INT",
  374. "links": [
  375. 223
  376. ]
  377. }
  378. ],
  379. "title": "Get_steps",
  380. "properties": {
  381. "widget_ue_connectable": {}
  382. },
  383. "widgets_values": [
  384. "steps"
  385. ],
  386. "color": "#1b4669",
  387. "bgcolor": "#29699c"
  388. },
  389. {
  390. "id": 131,
  391. "type": "SetNode",
  392. "pos": [
  393. -864.7545776367188,
  394. -1111.098876953125
  395. ],
  396. "size": [
  397. 210,
  398. 58
  399. ],
  400. "flags": {
  401. "collapsed": true
  402. },
  403. "order": 38,
  404. "mode": 0,
  405. "inputs": [
  406. {
  407. "name": "INT",
  408. "type": "INT",
  409. "link": 205
  410. }
  411. ],
  412. "outputs": [
  413. {
  414. "name": "*",
  415. "type": "*",
  416. "links": null
  417. }
  418. ],
  419. "title": "Set_frames",
  420. "properties": {
  421. "previousName": "frames",
  422. "widget_ue_connectable": {}
  423. },
  424. "widgets_values": [
  425. "frames"
  426. ],
  427. "color": "#1b4669",
  428. "bgcolor": "#29699c"
  429. },
  430. {
  431. "id": 123,
  432. "type": "Note",
  433. "pos": [
  434. -2013.647216796875,
  435. -1531.6798095703125
  436. ],
  437. "size": [
  438. 300.2098388671875,
  439. 100.10276794433594
  440. ],
  441. "flags": {},
  442. "order": 5,
  443. "mode": 0,
  444. "inputs": [],
  445. "outputs": [],
  446. "properties": {
  447. "widget_ue_connectable": {}
  448. },
  449. "widgets_values": [
  450. "Set the optional prompt. Be concise, write exact actions that the actors should execute; avoid vague subjective descriptions.\n\nNegative might be ignored with CausVid LoRA."
  451. ],
  452. "color": "#432",
  453. "bgcolor": "#653"
  454. },
  455. {
  456. "id": 135,
  457. "type": "PrimitiveInt",
  458. "pos": [
  459. -1085.7034912109375,
  460. -1351.218017578125
  461. ],
  462. "size": [
  463. 270,
  464. 82
  465. ],
  466. "flags": {
  467. "collapsed": false
  468. },
  469. "order": 6,
  470. "mode": 0,
  471. "inputs": [],
  472. "outputs": [
  473. {
  474. "name": "INT",
  475. "type": "INT",
  476. "links": [
  477. 205
  478. ]
  479. }
  480. ],
  481. "title": "Frames",
  482. "properties": {
  483. "cnr_id": "comfy-core",
  484. "ver": "0.3.34",
  485. "Node name for S&R": "PrimitiveInt",
  486. "widget_ue_connectable": {
  487. "value": true
  488. }
  489. },
  490. "widgets_values": [
  491. 97,
  492. "fixed"
  493. ],
  494. "color": "#232",
  495. "bgcolor": "#353"
  496. },
  497. {
  498. "id": 144,
  499. "type": "Note",
  500. "pos": [
  501. -681.0219116210938,
  502. -1527.8260498046875
  503. ],
  504. "size": [
  505. 300.2098388671875,
  506. 100.10276794433594
  507. ],
  508. "flags": {},
  509. "order": 7,
  510. "mode": 0,
  511. "inputs": [],
  512. "outputs": [],
  513. "properties": {
  514. "widget_ue_connectable": {}
  515. },
  516. "widgets_values": [
  517. "If encountering the \"Allocation on device error\" and don't want to decrease the resolution, you can increase block swap. It will slow down a lot, but make it possible to generate on GPUs with less than 24GB VRAM."
  518. ],
  519. "color": "#432",
  520. "bgcolor": "#653"
  521. },
  522. {
  523. "id": 130,
  524. "type": "SetNode",
  525. "pos": [
  526. -865.0863647460938,
  527. -1382.98828125
  528. ],
  529. "size": [
  530. 210,
  531. 58
  532. ],
  533. "flags": {
  534. "collapsed": true
  535. },
  536. "order": 41,
  537. "mode": 0,
  538. "inputs": [
  539. {
  540. "name": "INT",
  541. "type": "INT",
  542. "link": 204
  543. }
  544. ],
  545. "outputs": [
  546. {
  547. "name": "*",
  548. "type": "*",
  549. "links": null
  550. }
  551. ],
  552. "title": "Set_steps",
  553. "properties": {
  554. "previousName": "steps",
  555. "widget_ue_connectable": {}
  556. },
  557. "widgets_values": [
  558. "steps"
  559. ],
  560. "color": "#1b4669",
  561. "bgcolor": "#29699c"
  562. },
  563. {
  564. "id": 146,
  565. "type": "SetNode",
  566. "pos": [
  567. -371.45391845703125,
  568. -1343.9656982421875
  569. ],
  570. "size": [
  571. 210,
  572. 50
  573. ],
  574. "flags": {
  575. "collapsed": true
  576. },
  577. "order": 46,
  578. "mode": 0,
  579. "inputs": [
  580. {
  581. "name": "INT",
  582. "type": "INT",
  583. "link": 224
  584. }
  585. ],
  586. "outputs": [
  587. {
  588. "name": "*",
  589. "type": "*",
  590. "links": null
  591. }
  592. ],
  593. "title": "Set_swap_blocks",
  594. "properties": {
  595. "previousName": "swap_blocks",
  596. "widget_ue_connectable": {}
  597. },
  598. "widgets_values": [
  599. "swap_blocks"
  600. ],
  601. "color": "#1b4669",
  602. "bgcolor": "#29699c"
  603. },
  604. {
  605. "id": 39,
  606. "type": "WanVideoBlockSwap",
  607. "pos": [
  608. -2115.8212890625,
  609. -219.4136505126953
  610. ],
  611. "size": [
  612. 315,
  613. 154
  614. ],
  615. "flags": {},
  616. "order": 39,
  617. "mode": 0,
  618. "inputs": [
  619. {
  620. "name": "blocks_to_swap",
  621. "type": "INT",
  622. "widget": {
  623. "name": "blocks_to_swap"
  624. },
  625. "link": 225
  626. }
  627. ],
  628. "outputs": [
  629. {
  630. "name": "block_swap_args",
  631. "type": "BLOCKSWAPARGS",
  632. "slot_index": 0,
  633. "links": [
  634. 195
  635. ]
  636. }
  637. ],
  638. "properties": {
  639. "cnr_id": "ComfyUI-WanVideoWrapper",
  640. "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
  641. "Node name for S&R": "WanVideoBlockSwap",
  642. "aux_id": "kijai/ComfyUI-WanVideoWrapper",
  643. "widget_ue_connectable": {}
  644. },
  645. "widgets_values": [
  646. 2,
  647. false,
  648. false,
  649. true,
  650. 0
  651. ],
  652. "color": "#223",
  653. "bgcolor": "#335"
  654. },
  655. {
  656. "id": 149,
  657. "type": "GetNode",
  658. "pos": [
  659. -2327.643310546875,
  660. -61.83481216430664
  661. ],
  662. "size": [
  663. 210,
  664. 60
  665. ],
  666. "flags": {
  667. "collapsed": true
  668. },
  669. "order": 8,
  670. "mode": 0,
  671. "inputs": [],
  672. "outputs": [
  673. {
  674. "name": "INT",
  675. "type": "INT",
  676. "links": [
  677. 225
  678. ]
  679. }
  680. ],
  681. "title": "Get_swap_blocks",
  682. "properties": {
  683. "widget_ue_connectable": {}
  684. },
  685. "widgets_values": [
  686. "swap_blocks"
  687. ],
  688. "color": "#1b4669",
  689. "bgcolor": "#29699c"
  690. },
  691. {
  692. "id": 22,
  693. "type": "WanVideoModelLoader",
  694. "pos": [
  695. -1239.1148681640625,
  696. -38.42436218261719
  697. ],
  698. "size": [
  699. 477.4410095214844,
  700. 234
  701. ],
  702. "flags": {},
  703. "order": 47,
  704. "mode": 0,
  705. "inputs": [
  706. {
  707. "name": "compile_args",
  708. "shape": 7,
  709. "type": "WANCOMPILEARGS",
  710. "link": 194
  711. },
  712. {
  713. "name": "block_swap_args",
  714. "shape": 7,
  715. "type": "BLOCKSWAPARGS",
  716. "link": 195
  717. },
  718. {
  719. "name": "lora",
  720. "shape": 7,
  721. "type": "WANVIDLORA",
  722. "link": 177
  723. },
  724. {
  725. "name": "vram_management_args",
  726. "shape": 7,
  727. "type": "VRAM_MANAGEMENTARGS",
  728. "link": null
  729. },
  730. {
  731. "name": "vace_model",
  732. "shape": 7,
  733. "type": "VACEPATH",
  734. "link": null
  735. }
  736. ],
  737. "outputs": [
  738. {
  739. "name": "model",
  740. "type": "WANVIDEOMODEL",
  741. "slot_index": 0,
  742. "links": [
  743. 29,
  744. 103
  745. ]
  746. }
  747. ],
  748. "properties": {
  749. "cnr_id": "ComfyUI-WanVideoWrapper",
  750. "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
  751. "Node name for S&R": "WanVideoModelLoader",
  752. "aux_id": "kijai/ComfyUI-WanVideoWrapper",
  753. "widget_ue_connectable": {}
  754. },
  755. "widgets_values": [
  756. "Wan2_1-SkyReels-V2-I2V-14B-540P_fp8_e5m2.safetensors",
  757. "fp16_fast",
  758. "fp8_e5m2",
  759. "offload_device",
  760. "sageattn"
  761. ],
  762. "color": "#223",
  763. "bgcolor": "#335"
  764. },
  765. {
  766. "id": 45,
  767. "type": "WanVideoVRAMManagement",
  768. "pos": [
  769. -2495.05908203125,
  770. -2.5412187576293945
  771. ],
  772. "size": [
  773. 315,
  774. 58
  775. ],
  776. "flags": {},
  777. "order": 9,
  778. "mode": 0,
  779. "inputs": [],
  780. "outputs": [
  781. {
  782. "name": "vram_management_args",
  783. "type": "VRAM_MANAGEMENTARGS",
  784. "links": []
  785. }
  786. ],
  787. "properties": {
  788. "cnr_id": "ComfyUI-WanVideoWrapper",
  789. "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
  790. "Node name for S&R": "WanVideoVRAMManagement",
  791. "aux_id": "kijai/ComfyUI-WanVideoWrapper",
  792. "widget_ue_connectable": {}
  793. },
  794. "widgets_values": [
  795. 1
  796. ],
  797. "color": "#223",
  798. "bgcolor": "#335"
  799. },
  800. {
  801. "id": 36,
  802. "type": "Note",
  803. "pos": [
  804. -1271.3060302734375,
  805. -261.1459655761719
  806. ],
  807. "size": [
  808. 472.5829772949219,
  809. 181.7824249267578
  810. ],
  811. "flags": {},
  812. "order": 10,
  813. "mode": 0,
  814. "inputs": [],
  815. "outputs": [],
  816. "properties": {
  817. "widget_ue_connectable": {}
  818. },
  819. "widgets_values": [
  820. "Models and LoRA, VAE from https://huggingface.co/Kijai/WanVideo_comfy/tree/main\n\nfp8_e5m2 - for RTX 30xx series GPUs.\nfp8_e4m3fn - for RTX 40xx and above series GPUs.\n\nAvoid fp8_fast, it can cause huge quality degradation.\n\nfp16_fast enables \"Full FP16 Accmumulation in FP16 GEMMs\" feature available since Pytorch 2.7, this is around 20% speed boost. \n\nAttention mode set to sageattn if you have it installed for almost double inference speed."
  821. ],
  822. "color": "#432",
  823. "bgcolor": "#653"
  824. },
  825. {
  826. "id": 42,
  827. "type": "Note",
  828. "pos": [
  829. -2488.679931640625,
  830. -250.94342041015625
  831. ],
  832. "size": [
  833. 314.96246337890625,
  834. 152.77333068847656
  835. ],
  836. "flags": {},
  837. "order": 11,
  838. "mode": 0,
  839. "inputs": [],
  840. "outputs": [],
  841. "properties": {
  842. "widget_ue_connectable": {}
  843. },
  844. "widgets_values": [
  845. "Adjust the blocks to swap based on your VRAM, this is a tradeoff between speed and memory usage.\n\nAlternatively there's option to use VRAM management introduced in DiffSynt-Studios. This is usually slower, but saves even more VRAM compared to BlockSwap."
  846. ],
  847. "color": "#432",
  848. "bgcolor": "#653"
  849. },
  850. {
  851. "id": 44,
  852. "type": "Note",
  853. "pos": [
  854. -1667.34423828125,
  855. -123.62539672851562
  856. ],
  857. "size": [
  858. 347.6432800292969,
  859. 88
  860. ],
  861. "flags": {},
  862. "order": 12,
  863. "mode": 0,
  864. "inputs": [],
  865. "outputs": [],
  866. "properties": {
  867. "widget_ue_connectable": {}
  868. },
  869. "widgets_values": [
  870. "If you have Triton installed, connect Torch Compile for ~30% speed increase"
  871. ],
  872. "color": "#432",
  873. "bgcolor": "#653"
  874. },
  875. {
  876. "id": 105,
  877. "type": "WanVideoLoraSelect",
  878. "pos": [
  879. -1617.2003173828125,
  880. 85.85111999511719
  881. ],
  882. "size": [
  883. 315,
  884. 126
  885. ],
  886. "flags": {},
  887. "order": 13,
  888. "mode": 0,
  889. "inputs": [
  890. {
  891. "name": "prev_lora",
  892. "shape": 7,
  893. "type": "WANVIDLORA",
  894. "link": null
  895. },
  896. {
  897. "name": "blocks",
  898. "shape": 7,
  899. "type": "SELECTEDBLOCKS",
  900. "link": null
  901. }
  902. ],
  903. "outputs": [
  904. {
  905. "name": "lora",
  906. "type": "WANVIDLORA",
  907. "links": [
  908. 177
  909. ]
  910. }
  911. ],
  912. "properties": {
  913. "cnr_id": "comfyui-wanvideowrapper",
  914. "ver": "a623f87dcad9cff5a690559fe559566be4045a9a",
  915. "Node name for S&R": "WanVideoLoraSelect",
  916. "aux_id": "kijai/ComfyUI-WanVideoWrapper",
  917. "widget_ue_connectable": {}
  918. },
  919. "widgets_values": [
  920. "Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
  921. 0.5000000000000001,
  922. true
  923. ]
  924. },
  925. {
  926. "id": 133,
  927. "type": "GetNode",
  928. "pos": [
  929. 1289.927978515625,
  930. -1207.9381103515625
  931. ],
  932. "size": [
  933. 210,
  934. 60
  935. ],
  936. "flags": {
  937. "collapsed": true
  938. },
  939. "order": 14,
  940. "mode": 0,
  941. "inputs": [],
  942. "outputs": [
  943. {
  944. "name": "WANVIDEOTEXTEMBEDS",
  945. "type": "WANVIDEOTEXTEMBEDS",
  946. "links": [
  947. 203
  948. ]
  949. }
  950. ],
  951. "title": "Get_text_embeds",
  952. "properties": {
  953. "widget_ue_connectable": {}
  954. },
  955. "widgets_values": [
  956. "text_embeds"
  957. ]
  958. },
  959. {
  960. "id": 152,
  961. "type": "Note",
  962. "pos": [
  963. -2491.89208984375,
  964. 105.75613403320312
  965. ],
  966. "size": [
  967. 295.3341979980469,
  968. 88
  969. ],
  970. "flags": {},
  971. "order": 15,
  972. "mode": 0,
  973. "inputs": [],
  974. "outputs": [],
  975. "properties": {
  976. "widget_ue_connectable": {}
  977. },
  978. "widgets_values": [
  979. "https://huggingface.co/Kijai/WanVideo_comfy/blob/main/umt5-xxl-enc-bf16.safetensors"
  980. ],
  981. "color": "#432",
  982. "bgcolor": "#653"
  983. },
  984. {
  985. "id": 38,
  986. "type": "WanVideoVAELoader",
  987. "pos": [
  988. -2057.557861328125,
  989. 273.9217834472656
  990. ],
  991. "size": [
  992. 372.7727966308594,
  993. 82
  994. ],
  995. "flags": {},
  996. "order": 16,
  997. "mode": 0,
  998. "inputs": [],
  999. "outputs": [
  1000. {
  1001. "name": "vae",
  1002. "type": "WANVAE",
  1003. "slot_index": 0,
  1004. "links": [
  1005. 226
  1006. ]
  1007. }
  1008. ],
  1009. "properties": {
  1010. "cnr_id": "ComfyUI-WanVideoWrapper",
  1011. "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
  1012. "Node name for S&R": "WanVideoVAELoader",
  1013. "aux_id": "kijai/ComfyUI-WanVideoWrapper",
  1014. "widget_ue_connectable": {}
  1015. },
  1016. "widgets_values": [
  1017. "Wan2_1_VAE_bf16.safetensors",
  1018. "bf16"
  1019. ],
  1020. "color": "#322",
  1021. "bgcolor": "#533"
  1022. },
  1023. {
  1024. "id": 153,
  1025. "type": "SetNode",
  1026. "pos": [
  1027. -1655.6328125,
  1028. 336.3184509277344
  1029. ],
  1030. "size": [
  1031. 210,
  1032. 60
  1033. ],
  1034. "flags": {
  1035. "collapsed": true
  1036. },
  1037. "order": 40,
  1038. "mode": 0,
  1039. "inputs": [
  1040. {
  1041. "name": "WANVAE",
  1042. "type": "WANVAE",
  1043. "link": 226
  1044. }
  1045. ],
  1046. "outputs": [
  1047. {
  1048. "name": "*",
  1049. "type": "*",
  1050. "links": null
  1051. }
  1052. ],
  1053. "title": "Set_vae",
  1054. "properties": {
  1055. "previousName": "vae",
  1056. "widget_ue_connectable": {}
  1057. },
  1058. "widgets_values": [
  1059. "vae"
  1060. ]
  1061. },
  1062. {
  1063. "id": 101,
  1064. "type": "WanVideoDecode",
  1065. "pos": [
  1066. 2110.505859375,
  1067. -1372.764892578125
  1068. ],
  1069. "size": [
  1070. 315,
  1071. 198
  1072. ],
  1073. "flags": {},
  1074. "order": 53,
  1075. "mode": 0,
  1076. "inputs": [
  1077. {
  1078. "name": "vae",
  1079. "type": "WANVAE",
  1080. "link": 228
  1081. },
  1082. {
  1083. "name": "samples",
  1084. "type": "LATENT",
  1085. "link": 166
  1086. }
  1087. ],
  1088. "outputs": [
  1089. {
  1090. "name": "images",
  1091. "type": "IMAGE",
  1092. "links": [
  1093. 188
  1094. ]
  1095. }
  1096. ],
  1097. "properties": {
  1098. "cnr_id": "ComfyUI-WanVideoWrapper",
  1099. "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
  1100. "Node name for S&R": "WanVideoDecode",
  1101. "aux_id": "kijai/ComfyUI-WanVideoWrapper",
  1102. "widget_ue_connectable": {}
  1103. },
  1104. "widgets_values": [
  1105. false,
  1106. 272,
  1107. 272,
  1108. 144,
  1109. 128
  1110. ]
  1111. },
  1112. {
  1113. "id": 155,
  1114. "type": "GetNode",
  1115. "pos": [
  1116. 1953.909912109375,
  1117. -1365.1787109375
  1118. ],
  1119. "size": [
  1120. 210,
  1121. 34
  1122. ],
  1123. "flags": {
  1124. "collapsed": true
  1125. },
  1126. "order": 17,
  1127. "mode": 0,
  1128. "inputs": [],
  1129. "outputs": [
  1130. {
  1131. "name": "WANVAE",
  1132. "type": "WANVAE",
  1133. "links": [
  1134. 228
  1135. ]
  1136. }
  1137. ],
  1138. "title": "Get_vae",
  1139. "properties": {
  1140. "widget_ue_connectable": {}
  1141. },
  1142. "widgets_values": [
  1143. "vae"
  1144. ],
  1145. "color": "#1b4669",
  1146. "bgcolor": "#29699c"
  1147. },
  1148. {
  1149. "id": 27,
  1150. "type": "WanVideoSampler",
  1151. "pos": [
  1152. 1506.5927734375,
  1153. -1286.9693603515625
  1154. ],
  1155. "size": [
  1156. 529.35888671875,
  1157. 840.3163452148438
  1158. ],
  1159. "flags": {},
  1160. "order": 52,
  1161. "mode": 0,
  1162. "inputs": [
  1163. {
  1164. "name": "model",
  1165. "type": "WANVIDEOMODEL",
  1166. "link": 29
  1167. },
  1168. {
  1169. "name": "text_embeds",
  1170. "type": "WANVIDEOTEXTEMBEDS",
  1171. "link": 203
  1172. },
  1173. {
  1174. "name": "image_embeds",
  1175. "type": "WANVIDIMAGE_EMBEDS",
  1176. "link": 133
  1177. },
  1178. {
  1179. "name": "samples",
  1180. "shape": 7,
  1181. "type": "LATENT",
  1182. "link": null
  1183. },
  1184. {
  1185. "name": "feta_args",
  1186. "shape": 7,
  1187. "type": "FETAARGS",
  1188. "link": null
  1189. },
  1190. {
  1191. "name": "context_options",
  1192. "shape": 7,
  1193. "type": "WANVIDCONTEXT",
  1194. "link": null
  1195. },
  1196. {
  1197. "name": "teacache_args",
  1198. "shape": 7,
  1199. "type": "TEACACHEARGS",
  1200. "link": null
  1201. },
  1202. {
  1203. "name": "flowedit_args",
  1204. "shape": 7,
  1205. "type": "FLOWEDITARGS",
  1206. "link": null
  1207. },
  1208. {
  1209. "name": "slg_args",
  1210. "shape": 7,
  1211. "type": "SLGARGS",
  1212. "link": null
  1213. },
  1214. {
  1215. "name": "loop_args",
  1216. "shape": 7,
  1217. "type": "LOOPARGS",
  1218. "link": null
  1219. },
  1220. {
  1221. "name": "experimental_args",
  1222. "shape": 7,
  1223. "type": "EXPERIMENTALARGS",
  1224. "link": null
  1225. },
  1226. {
  1227. "name": "sigmas",
  1228. "shape": 7,
  1229. "type": "SIGMAS",
  1230. "link": null
  1231. },
  1232. {
  1233. "name": "unianimate_poses",
  1234. "shape": 7,
  1235. "type": "UNIANIMATE_POSE",
  1236. "link": null
  1237. },
  1238. {
  1239. "name": "steps",
  1240. "type": "INT",
  1241. "widget": {
  1242. "name": "steps"
  1243. },
  1244. "link": 223
  1245. }
  1246. ],
  1247. "outputs": [
  1248. {
  1249. "name": "samples",
  1250. "type": "LATENT",
  1251. "slot_index": 0,
  1252. "links": [
  1253. 166
  1254. ]
  1255. }
  1256. ],
  1257. "properties": {
  1258. "cnr_id": "ComfyUI-WanVideoWrapper",
  1259. "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
  1260. "Node name for S&R": "WanVideoSampler",
  1261. "aux_id": "kijai/ComfyUI-WanVideoWrapper",
  1262. "widget_ue_connectable": {}
  1263. },
  1264. "widgets_values": [
  1265. 1,
  1266. 1.0000000000000002,
  1267. 8.000000000000002,
  1268. 149031784768109,
  1269. "randomize",
  1270. true,
  1271. "unipc",
  1272. 0,
  1273. 1,
  1274. "",
  1275. "comfy",
  1276. ""
  1277. ]
  1278. },
  1279. {
  1280. "id": 89,
  1281. "type": "WanVideoImageToVideoEncode",
  1282. "pos": [
  1283. 924.1080322265625,
  1284. -994.21435546875
  1285. ],
  1286. "size": [
  1287. 352.79998779296875,
  1288. 378
  1289. ],
  1290. "flags": {},
  1291. "order": 50,
  1292. "mode": 0,
  1293. "inputs": [
  1294. {
  1295. "name": "vae",
  1296. "type": "WANVAE",
  1297. "link": 227
  1298. },
  1299. {
  1300. "name": "clip_embeds",
  1301. "type": "WANVIDIMAGE_CLIPEMBEDS",
  1302. "link": 172
  1303. },
  1304. {
  1305. "name": "start_image",
  1306. "shape": 7,
  1307. "type": "IMAGE",
  1308. "link": 217
  1309. },
  1310. {
  1311. "name": "end_image",
  1312. "shape": 7,
  1313. "type": "IMAGE",
  1314. "link": 214
  1315. },
  1316. {
  1317. "name": "control_embeds",
  1318. "shape": 7,
  1319. "type": "WANVIDIMAGE_EMBEDS",
  1320. "link": null
  1321. },
  1322. {
  1323. "name": "temporal_mask",
  1324. "shape": 7,
  1325. "type": "MASK",
  1326. "link": null
  1327. },
  1328. {
  1329. "name": "extra_latents",
  1330. "shape": 7,
  1331. "type": "LATENT",
  1332. "link": null
  1333. },
  1334. {
  1335. "name": "width",
  1336. "type": "INT",
  1337. "widget": {
  1338. "name": "width"
  1339. },
  1340. "link": 212
  1341. },
  1342. {
  1343. "name": "height",
  1344. "type": "INT",
  1345. "widget": {
  1346. "name": "height"
  1347. },
  1348. "link": 213
  1349. }
  1350. ],
  1351. "outputs": [
  1352. {
  1353. "name": "image_embeds",
  1354. "type": "WANVIDIMAGE_EMBEDS",
  1355. "links": [
  1356. 133
  1357. ]
  1358. }
  1359. ],
  1360. "properties": {
  1361. "cnr_id": "ComfyUI-WanVideoWrapper",
  1362. "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
  1363. "Node name for S&R": "WanVideoImageToVideoEncode",
  1364. "aux_id": "kijai/ComfyUI-WanVideoWrapper",
  1365. "widget_ue_connectable": {
  1366. "width": true,
  1367. "height": true
  1368. }
  1369. },
  1370. "widgets_values": [
  1371. 832,
  1372. 480,
  1373. 97,
  1374. 0,
  1375. 1,
  1376. true,
  1377. true,
  1378. false
  1379. ],
  1380. "color": "#322",
  1381. "bgcolor": "#533"
  1382. },
  1383. {
  1384. "id": 154,
  1385. "type": "GetNode",
  1386. "pos": [
  1387. 699.3485717773438,
  1388. -1055.631591796875
  1389. ],
  1390. "size": [
  1391. 210,
  1392. 50
  1393. ],
  1394. "flags": {
  1395. "collapsed": true
  1396. },
  1397. "order": 18,
  1398. "mode": 0,
  1399. "inputs": [],
  1400. "outputs": [
  1401. {
  1402. "name": "WANVAE",
  1403. "type": "WANVAE",
  1404. "links": [
  1405. 227
  1406. ]
  1407. }
  1408. ],
  1409. "title": "Get_vae",
  1410. "properties": {
  1411. "widget_ue_connectable": {}
  1412. },
  1413. "widgets_values": [
  1414. "vae"
  1415. ],
  1416. "color": "#1b4669",
  1417. "bgcolor": "#29699c"
  1418. },
  1419. {
  1420. "id": 141,
  1421. "type": "GetNode",
  1422. "pos": [
  1423. 688.4470825195312,
  1424. -807.9803466796875
  1425. ],
  1426. "size": [
  1427. 210,
  1428. 34
  1429. ],
  1430. "flags": {
  1431. "collapsed": true
  1432. },
  1433. "order": 19,
  1434. "mode": 0,
  1435. "inputs": [],
  1436. "outputs": [
  1437. {
  1438. "name": "INT",
  1439. "type": "INT",
  1440. "links": [
  1441. 212
  1442. ]
  1443. }
  1444. ],
  1445. "title": "Get_width",
  1446. "properties": {
  1447. "widget_ue_connectable": {}
  1448. },
  1449. "widgets_values": [
  1450. "width"
  1451. ],
  1452. "color": "#1b4669",
  1453. "bgcolor": "#29699c"
  1454. },
  1455. {
  1456. "id": 142,
  1457. "type": "GetNode",
  1458. "pos": [
  1459. 687.2073364257812,
  1460. -760.7879638671875
  1461. ],
  1462. "size": [
  1463. 210,
  1464. 34
  1465. ],
  1466. "flags": {
  1467. "collapsed": true
  1468. },
  1469. "order": 20,
  1470. "mode": 0,
  1471. "inputs": [],
  1472. "outputs": [
  1473. {
  1474. "name": "INT",
  1475. "type": "INT",
  1476. "links": [
  1477. 213
  1478. ]
  1479. }
  1480. ],
  1481. "title": "Get_height",
  1482. "properties": {
  1483. "widget_ue_connectable": {}
  1484. },
  1485. "widgets_values": [
  1486. "height"
  1487. ],
  1488. "color": "#1b4669",
  1489. "bgcolor": "#29699c"
  1490. },
  1491. {
  1492. "id": 16,
  1493. "type": "WanVideoTextEncode",
  1494. "pos": [
  1495. -2021.1676025390625,
  1496. -1386.8890380859375
  1497. ],
  1498. "size": [
  1499. 420.30511474609375,
  1500. 261.5306701660156
  1501. ],
  1502. "flags": {},
  1503. "order": 49,
  1504. "mode": 0,
  1505. "inputs": [
  1506. {
  1507. "name": "t5",
  1508. "type": "WANTEXTENCODER",
  1509. "link": 15
  1510. },
  1511. {
  1512. "name": "model_to_offload",
  1513. "shape": 7,
  1514. "type": "WANVIDEOMODEL",
  1515. "link": 103
  1516. }
  1517. ],
  1518. "outputs": [
  1519. {
  1520. "name": "text_embeds",
  1521. "type": "WANVIDEOTEXTEMBEDS",
  1522. "slot_index": 0,
  1523. "links": [
  1524. 202
  1525. ]
  1526. }
  1527. ],
  1528. "properties": {
  1529. "cnr_id": "ComfyUI-WanVideoWrapper",
  1530. "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
  1531. "Node name for S&R": "WanVideoTextEncode",
  1532. "aux_id": "kijai/ComfyUI-WanVideoWrapper",
  1533. "widget_ue_connectable": {}
  1534. },
  1535. "widgets_values": [
  1536. "Weird creature dancing.",
  1537. "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走, overexposed, oversaturated",
  1538. true
  1539. ],
  1540. "color": "#332922",
  1541. "bgcolor": "#593930"
  1542. },
  1543. {
  1544. "id": 134,
  1545. "type": "PrimitiveInt",
  1546. "pos": [
  1547. -1100.9664306640625,
  1548. -1509.0047607421875
  1549. ],
  1550. "size": [
  1551. 270,
  1552. 82
  1553. ],
  1554. "flags": {},
  1555. "order": 21,
  1556. "mode": 0,
  1557. "inputs": [],
  1558. "outputs": [
  1559. {
  1560. "name": "INT",
  1561. "type": "INT",
  1562. "links": [
  1563. 204
  1564. ]
  1565. }
  1566. ],
  1567. "title": "Steps",
  1568. "properties": {
  1569. "cnr_id": "comfy-core",
  1570. "ver": "0.3.34",
  1571. "Node name for S&R": "PrimitiveInt",
  1572. "widget_ue_connectable": {
  1573. "value": true
  1574. }
  1575. },
  1576. "widgets_values": [
  1577. 6,
  1578. "fixed"
  1579. ],
  1580. "color": "#232",
  1581. "bgcolor": "#353"
  1582. },
  1583. {
  1584. "id": 127,
  1585. "type": "SetNode",
  1586. "pos": [
  1587. -1968.85498046875,
  1588. -825.3734130859375
  1589. ],
  1590. "size": [
  1591. 210,
  1592. 50
  1593. ],
  1594. "flags": {
  1595. "collapsed": true
  1596. },
  1597. "order": 43,
  1598. "mode": 4,
  1599. "inputs": [
  1600. {
  1601. "name": "IMAGE",
  1602. "type": "IMAGE",
  1603. "link": 199
  1604. }
  1605. ],
  1606. "outputs": [
  1607. {
  1608. "name": "*",
  1609. "type": "*",
  1610. "links": []
  1611. }
  1612. ],
  1613. "title": "Set_raw_end_image",
  1614. "properties": {
  1615. "previousName": "raw_end_image",
  1616. "widget_ue_connectable": {}
  1617. },
  1618. "widgets_values": [
  1619. "raw_end_image"
  1620. ],
  1621. "color": "#2a363b",
  1622. "bgcolor": "#3f5159"
  1623. },
  1624. {
  1625. "id": 77,
  1626. "type": "ImageResize+",
  1627. "pos": [
  1628. 67.94621276855469,
  1629. -1222.7796630859375
  1630. ],
  1631. "size": [
  1632. 315,
  1633. 218
  1634. ],
  1635. "flags": {},
  1636. "order": 42,
  1637. "mode": 0,
  1638. "inputs": [
  1639. {
  1640. "name": "image",
  1641. "type": "IMAGE",
  1642. "link": 198
  1643. },
  1644. {
  1645. "name": "width",
  1646. "type": "INT",
  1647. "widget": {
  1648. "name": "width"
  1649. },
  1650. "link": 209
  1651. },
  1652. {
  1653. "name": "height",
  1654. "type": "INT",
  1655. "widget": {
  1656. "name": "height"
  1657. },
  1658. "link": 210
  1659. }
  1660. ],
  1661. "outputs": [
  1662. {
  1663. "name": "IMAGE",
  1664. "type": "IMAGE",
  1665. "links": [
  1666. 216,
  1667. 217
  1668. ]
  1669. },
  1670. {
  1671. "name": "width",
  1672. "type": "INT",
  1673. "links": null
  1674. },
  1675. {
  1676. "name": "height",
  1677. "type": "INT",
  1678. "links": null
  1679. }
  1680. ],
  1681. "properties": {
  1682. "cnr_id": "comfyui_essentials",
  1683. "ver": "76e9d1e4399bd025ce8b12c290753d58f9f53e93",
  1684. "Node name for S&R": "ImageResize+",
  1685. "aux_id": "kijai/ComfyUI_essentials",
  1686. "widget_ue_connectable": {
  1687. "width": true,
  1688. "height": true
  1689. }
  1690. },
  1691. "widgets_values": [
  1692. 480,
  1693. 832,
  1694. "lanczos",
  1695. "fill / crop",
  1696. "always",
  1697. 16
  1698. ]
  1699. },
  1700. {
  1701. "id": 126,
  1702. "type": "GetNode",
  1703. "pos": [
  1704. -162.02784729003906,
  1705. -1178.305908203125
  1706. ],
  1707. "size": [
  1708. 210,
  1709. 60
  1710. ],
  1711. "flags": {
  1712. "collapsed": true
  1713. },
  1714. "order": 22,
  1715. "mode": 0,
  1716. "inputs": [],
  1717. "outputs": [
  1718. {
  1719. "name": "IMAGE",
  1720. "type": "IMAGE",
  1721. "links": [
  1722. 198
  1723. ]
  1724. }
  1725. ],
  1726. "title": "Get_raw_start_image",
  1727. "properties": {
  1728. "widget_ue_connectable": {}
  1729. },
  1730. "widgets_values": [
  1731. "raw_start_image"
  1732. ],
  1733. "color": "#2a363b",
  1734. "bgcolor": "#3f5159"
  1735. },
  1736. {
  1737. "id": 139,
  1738. "type": "GetNode",
  1739. "pos": [
  1740. -110.66415405273438,
  1741. -1097.235595703125
  1742. ],
  1743. "size": [
  1744. 210,
  1745. 34
  1746. ],
  1747. "flags": {
  1748. "collapsed": true
  1749. },
  1750. "order": 23,
  1751. "mode": 0,
  1752. "inputs": [],
  1753. "outputs": [
  1754. {
  1755. "name": "INT",
  1756. "type": "INT",
  1757. "links": [
  1758. 209
  1759. ]
  1760. }
  1761. ],
  1762. "title": "Get_width",
  1763. "properties": {
  1764. "widget_ue_connectable": {}
  1765. },
  1766. "widgets_values": [
  1767. "width"
  1768. ],
  1769. "color": "#1b4669",
  1770. "bgcolor": "#29699c"
  1771. },
  1772. {
  1773. "id": 140,
  1774. "type": "GetNode",
  1775. "pos": [
  1776. -111.18572998046875,
  1777. -1031.3707275390625
  1778. ],
  1779. "size": [
  1780. 210,
  1781. 34
  1782. ],
  1783. "flags": {
  1784. "collapsed": true
  1785. },
  1786. "order": 24,
  1787. "mode": 0,
  1788. "inputs": [],
  1789. "outputs": [
  1790. {
  1791. "name": "INT",
  1792. "type": "INT",
  1793. "links": [
  1794. 210
  1795. ]
  1796. }
  1797. ],
  1798. "title": "Get_height",
  1799. "properties": {
  1800. "widget_ue_connectable": {}
  1801. },
  1802. "widgets_values": [
  1803. "height"
  1804. ],
  1805. "color": "#1b4669",
  1806. "bgcolor": "#29699c"
  1807. },
  1808. {
  1809. "id": 121,
  1810. "type": "Note",
  1811. "pos": [
  1812. -2512.51708984375,
  1813. -1526.604248046875
  1814. ],
  1815. "size": [
  1816. 232.21986389160156,
  1817. 88
  1818. ],
  1819. "flags": {},
  1820. "order": 25,
  1821. "mode": 0,
  1822. "inputs": [],
  1823. "outputs": [],
  1824. "properties": {
  1825. "widget_ue_connectable": {}
  1826. },
  1827. "widgets_values": [
  1828. "Set the start image and the optional end image - set end image group to Bypass if not used.\nThe images will be resized to match the resolution you configure."
  1829. ],
  1830. "color": "#432",
  1831. "bgcolor": "#653"
  1832. },
  1833. {
  1834. "id": 124,
  1835. "type": "LoadImage",
  1836. "pos": [
  1837. -2446.382568359375,
  1838. -881.089599609375
  1839. ],
  1840. "size": [
  1841. 423.3262939453125,
  1842. 492.40789794921875
  1843. ],
  1844. "flags": {},
  1845. "order": 26,
  1846. "mode": 4,
  1847. "inputs": [],
  1848. "outputs": [
  1849. {
  1850. "name": "IMAGE",
  1851. "type": "IMAGE",
  1852. "links": [
  1853. 199
  1854. ]
  1855. },
  1856. {
  1857. "name": "MASK",
  1858. "type": "MASK",
  1859. "links": null
  1860. }
  1861. ],
  1862. "title": "End image",
  1863. "properties": {
  1864. "cnr_id": "comfy-core",
  1865. "ver": "0.3.26",
  1866. "Node name for S&R": "LoadImage",
  1867. "widget_ue_connectable": {}
  1868. },
  1869. "widgets_values": [
  1870. "example.png",
  1871. "image"
  1872. ],
  1873. "color": "#2a363b",
  1874. "bgcolor": "#3f5159"
  1875. },
  1876. {
  1877. "id": 120,
  1878. "type": "PrimitiveInt",
  1879. "pos": [
  1880. -1514.4437255859375,
  1881. -1200.83251953125
  1882. ],
  1883. "size": [
  1884. 270,
  1885. 82
  1886. ],
  1887. "flags": {},
  1888. "order": 27,
  1889. "mode": 0,
  1890. "inputs": [],
  1891. "outputs": [
  1892. {
  1893. "name": "INT",
  1894. "type": "INT",
  1895. "links": [
  1896. 201
  1897. ]
  1898. }
  1899. ],
  1900. "title": "Height",
  1901. "properties": {
  1902. "cnr_id": "comfy-core",
  1903. "ver": "0.3.34",
  1904. "Node name for S&R": "PrimitiveInt",
  1905. "widget_ue_connectable": {
  1906. "value": true
  1907. }
  1908. },
  1909. "widgets_values": [
  1910. 480,
  1911. "fixed"
  1912. ],
  1913. "color": "#232",
  1914. "bgcolor": "#353"
  1915. },
  1916. {
  1917. "id": 119,
  1918. "type": "PrimitiveInt",
  1919. "pos": [
  1920. -1513.951416015625,
  1921. -1322.1824951171875
  1922. ],
  1923. "size": [
  1924. 270,
  1925. 82
  1926. ],
  1927. "flags": {},
  1928. "order": 28,
  1929. "mode": 0,
  1930. "inputs": [],
  1931. "outputs": [
  1932. {
  1933. "name": "INT",
  1934. "type": "INT",
  1935. "links": [
  1936. 200
  1937. ]
  1938. }
  1939. ],
  1940. "title": "Width",
  1941. "properties": {
  1942. "cnr_id": "comfy-core",
  1943. "ver": "0.3.34",
  1944. "Node name for S&R": "PrimitiveInt",
  1945. "widget_ue_connectable": {
  1946. "value": true
  1947. }
  1948. },
  1949. "widgets_values": [
  1950. 854,
  1951. "fixed"
  1952. ],
  1953. "color": "#232",
  1954. "bgcolor": "#353"
  1955. },
  1956. {
  1957. "id": 112,
  1958. "type": "VHS_VideoCombine",
  1959. "pos": [
  1960. 2588.440673828125,
  1961. -1390.2506103515625
  1962. ],
  1963. "size": [
  1964. 913.1425170898438,
  1965. 853.5523681640625
  1966. ],
  1967. "flags": {},
  1968. "order": 54,
  1969. "mode": 0,
  1970. "inputs": [
  1971. {
  1972. "name": "images",
  1973. "type": "IMAGE",
  1974. "link": 188
  1975. },
  1976. {
  1977. "name": "audio",
  1978. "shape": 7,
  1979. "type": "AUDIO",
  1980. "link": null
  1981. },
  1982. {
  1983. "name": "meta_batch",
  1984. "shape": 7,
  1985. "type": "VHS_BatchManager",
  1986. "link": null
  1987. },
  1988. {
  1989. "name": "vae",
  1990. "shape": 7,
  1991. "type": "VAE",
  1992. "link": null
  1993. }
  1994. ],
  1995. "outputs": [
  1996. {
  1997. "name": "Filenames",
  1998. "type": "VHS_FILENAMES",
  1999. "links": null
  2000. }
  2001. ],
  2002. "properties": {
  2003. "cnr_id": "comfyui-videohelpersuite",
  2004. "ver": "0a75c7958fe320efcb052f1d9f8451fd20c730a8",
  2005. "Node name for S&R": "VHS_VideoCombine",
  2006. "aux_id": "Kosinkadink/ComfyUI-VideoHelperSuite",
  2007. "widget_ue_connectable": {}
  2008. },
  2009. "widgets_values": {
  2010. "frame_rate": 16,
  2011. "loop_count": 0,
  2012. "filename_prefix": "wan_causvid",
  2013. "format": "video/h264-mp4",
  2014. "pix_fmt": "yuv420p",
  2015. "crf": 19,
  2016. "save_metadata": true,
  2017. "trim_to_audio": false,
  2018. "pingpong": false,
  2019. "save_output": true,
  2020. "videopreview": {
  2021. "hidden": false,
  2022. "paused": false,
  2023. "params": {
  2024. "filename": "wan_causvid_00005.mp4",
  2025. "subfolder": "",
  2026. "type": "output",
  2027. "format": "video/h264-mp4",
  2028. "frame_rate": 16,
  2029. "workflow": "wan_causvid_00005.png",
  2030. "fullpath": "D:\\GAN\\Comfy\\ComfyUI\\output\\wan_causvid_00005.mp4"
  2031. }
  2032. }
  2033. }
  2034. },
  2035. {
  2036. "id": 147,
  2037. "type": "Note",
  2038. "pos": [
  2039. -2555.044921875,
  2040. -1859.745849609375
  2041. ],
  2042. "size": [
  2043. 904.1028442382812,
  2044. 231.67864990234375
  2045. ],
  2046. "flags": {},
  2047. "order": 29,
  2048. "mode": 0,
  2049. "inputs": [],
  2050. "outputs": [],
  2051. "properties": {
  2052. "widget_ue_connectable": {}
  2053. },
  2054. "widgets_values": [
  2055. "The workflow is based on Kijai's examples. It assumes you have Triton-Windows and SageAttention2 installed and running ComfyUI with flags --fast fp16_accumulation --use-sage-attention.\n \nThe simplest way to install:\n.\\python_embeded\\python.exe -m pip install triton-windows\nIt will install Triton from\nhttps://github.com/woct0rdho/triton-windows.\n\nThen also find the corresponding whl for your Python and Pytorch, as reported by ComfyUI when it starts, and install it manually from:\nhttps://github.com/woct0rdho/SageAttention/releases\n\nYou will need the following ComfyUI node packs:\nhttps://github.com/kijai/ComfyUI-WanVideoWrapper\nhttps://github.com/kijai/ComfyUI-KJNodes\nhttps://github.com/Kosinkadink/ComfyUI-VideoHelperSuite"
  2056. ],
  2057. "color": "#432",
  2058. "bgcolor": "#653"
  2059. },
  2060. {
  2061. "id": 122,
  2062. "type": "Note",
  2063. "pos": [
  2064. -1539.93994140625,
  2065. -1535.5797119140625
  2066. ],
  2067. "size": [
  2068. 343.6393737792969,
  2069. 176.39297485351562
  2070. ],
  2071. "flags": {},
  2072. "order": 30,
  2073. "mode": 0,
  2074. "inputs": [],
  2075. "outputs": [],
  2076. "properties": {
  2077. "widget_ue_connectable": {}
  2078. },
  2079. "widgets_values": [
  2080. "Set the output video resolution (544 * 960 default; currently set to 480 * 854 for faster generation), number of frames (97 default) and number of steps.\n\nWith CausVid, 8 steps might be enough for acceptable quality. Even 4 steps can be used for drafts and then you can rerender with more steps using the same seed. Fewer steps may lead to flickering and brigtness increase.\nAlso, to be able to stop the video generation when it's going wrong, it's useful to enable video preview:\nhttps://www.reddit.com/r/StableDiffusion/comments/1j7ay60/heres_how_to_activate_animated_previews_on_comfyui/"
  2081. ],
  2082. "color": "#432",
  2083. "bgcolor": "#653"
  2084. },
  2085. {
  2086. "id": 11,
  2087. "type": "LoadWanVideoT5TextEncoder",
  2088. "pos": [
  2089. -2486.38720703125,
  2090. 232.98851013183594
  2091. ],
  2092. "size": [
  2093. 377.1661376953125,
  2094. 130
  2095. ],
  2096. "flags": {},
  2097. "order": 31,
  2098. "mode": 0,
  2099. "inputs": [],
  2100. "outputs": [
  2101. {
  2102. "name": "wan_t5_model",
  2103. "type": "WANTEXTENCODER",
  2104. "slot_index": 0,
  2105. "links": [
  2106. 15
  2107. ]
  2108. }
  2109. ],
  2110. "properties": {
  2111. "cnr_id": "ComfyUI-WanVideoWrapper",
  2112. "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
  2113. "Node name for S&R": "LoadWanVideoT5TextEncoder",
  2114. "aux_id": "kijai/ComfyUI-WanVideoWrapper",
  2115. "widget_ue_connectable": {}
  2116. },
  2117. "widgets_values": [
  2118. "umt5_xxl_fp16.safetensors",
  2119. "bf16",
  2120. "offload_device",
  2121. "disabled"
  2122. ],
  2123. "color": "#332922",
  2124. "bgcolor": "#593930"
  2125. },
  2126. {
  2127. "id": 88,
  2128. "type": "WanVideoClipVisionEncode",
  2129. "pos": [
  2130. 492.575927734375,
  2131. -512.8578491210938
  2132. ],
  2133. "size": [
  2134. 327.5999755859375,
  2135. 262
  2136. ],
  2137. "flags": {},
  2138. "order": 48,
  2139. "mode": 0,
  2140. "inputs": [
  2141. {
  2142. "name": "clip_vision",
  2143. "type": "CLIP_VISION",
  2144. "link": 230
  2145. },
  2146. {
  2147. "name": "image_1",
  2148. "type": "IMAGE",
  2149. "link": 216
  2150. },
  2151. {
  2152. "name": "image_2",
  2153. "shape": 7,
  2154. "type": "IMAGE",
  2155. "link": null
  2156. },
  2157. {
  2158. "name": "negative_image",
  2159. "shape": 7,
  2160. "type": "IMAGE",
  2161. "link": null
  2162. }
  2163. ],
  2164. "outputs": [
  2165. {
  2166. "name": "image_embeds",
  2167. "type": "WANVIDIMAGE_CLIPEMBEDS",
  2168. "links": [
  2169. 172
  2170. ]
  2171. }
  2172. ],
  2173. "properties": {
  2174. "cnr_id": "ComfyUI-WanVideoWrapper",
  2175. "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
  2176. "Node name for S&R": "WanVideoClipVisionEncode",
  2177. "aux_id": "kijai/ComfyUI-WanVideoWrapper",
  2178. "widget_ue_connectable": {}
  2179. },
  2180. "widgets_values": [
  2181. 1,
  2182. 1,
  2183. "center",
  2184. "average",
  2185. true,
  2186. 0,
  2187. 0.5
  2188. ],
  2189. "color": "#233",
  2190. "bgcolor": "#355"
  2191. },
  2192. {
  2193. "id": 156,
  2194. "type": "LoadWanVideoClipTextEncoder",
  2195. "pos": [
  2196. -1103.6904296875,
  2197. 248.79135131835938
  2198. ],
  2199. "size": [
  2200. 282.7955017089844,
  2201. 106
  2202. ],
  2203. "flags": {},
  2204. "order": 32,
  2205. "mode": 0,
  2206. "inputs": [],
  2207. "outputs": [
  2208. {
  2209. "name": "wan_clip_vision",
  2210. "type": "CLIP_VISION",
  2211. "links": [
  2212. 230
  2213. ]
  2214. }
  2215. ],
  2216. "properties": {
  2217. "cnr_id": "comfyui-wanvideowrapper",
  2218. "ver": "1.1.7",
  2219. "Node name for S&R": "LoadWanVideoClipTextEncoder",
  2220. "widget_ue_connectable": {
  2221. "model_name": true,
  2222. "precision": true,
  2223. "load_device": true
  2224. }
  2225. },
  2226. "widgets_values": [
  2227. "open-clip-xlm-roberta-large-vit-huge-14_fp16.safetensors",
  2228. "fp16",
  2229. "offload_device"
  2230. ]
  2231. },
  2232. {
  2233. "id": 148,
  2234. "type": "Note",
  2235. "pos": [
  2236. -1424.0325927734375,
  2237. 273.9600524902344
  2238. ],
  2239. "size": [
  2240. 271.81549072265625,
  2241. 88
  2242. ],
  2243. "flags": {},
  2244. "order": 33,
  2245. "mode": 0,
  2246. "inputs": [],
  2247. "outputs": [],
  2248. "properties": {
  2249. "widget_ue_connectable": {}
  2250. },
  2251. "widgets_values": [
  2252. "open-clip-xlm-roberta-large-vit-huge-14_fp16 from Kijai seems to work with less blockswap than ComfyUI clip_vision_h, very likely because of offloading."
  2253. ],
  2254. "color": "#432",
  2255. "bgcolor": "#653"
  2256. },
  2257. {
  2258. "id": 145,
  2259. "type": "PrimitiveInt",
  2260. "pos": [
  2261. -675.638916015625,
  2262. -1372.879638671875
  2263. ],
  2264. "size": [
  2265. 270,
  2266. 82
  2267. ],
  2268. "flags": {
  2269. "collapsed": false
  2270. },
  2271. "order": 34,
  2272. "mode": 0,
  2273. "inputs": [],
  2274. "outputs": [
  2275. {
  2276. "name": "INT",
  2277. "type": "INT",
  2278. "links": [
  2279. 224
  2280. ]
  2281. }
  2282. ],
  2283. "title": "Swap blocks",
  2284. "properties": {
  2285. "cnr_id": "comfy-core",
  2286. "ver": "0.3.34",
  2287. "Node name for S&R": "PrimitiveInt",
  2288. "widget_ue_connectable": {
  2289. "value": true
  2290. }
  2291. },
  2292. "widgets_values": [
  2293. 2,
  2294. "fixed"
  2295. ],
  2296. "color": "#232",
  2297. "bgcolor": "#353"
  2298. },
  2299. {
  2300. "id": 35,
  2301. "type": "WanVideoTorchCompileSettings",
  2302. "pos": [
  2303. -2107.60595703125,
  2304. -15.917449951171875
  2305. ],
  2306. "size": [
  2307. 421.6000061035156,
  2308. 202
  2309. ],
  2310. "flags": {},
  2311. "order": 35,
  2312. "mode": 0,
  2313. "inputs": [],
  2314. "outputs": [
  2315. {
  2316. "name": "torch_compile_args",
  2317. "type": "WANCOMPILEARGS",
  2318. "slot_index": 0,
  2319. "links": [
  2320. 194
  2321. ]
  2322. }
  2323. ],
  2324. "properties": {
  2325. "cnr_id": "ComfyUI-WanVideoWrapper",
  2326. "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
  2327. "Node name for S&R": "WanVideoTorchCompileSettings",
  2328. "aux_id": "kijai/ComfyUI-WanVideoWrapper",
  2329. "widget_ue_connectable": {}
  2330. },
  2331. "widgets_values": [
  2332. "inductor",
  2333. false,
  2334. "default",
  2335. false,
  2336. 64,
  2337. true,
  2338. 128
  2339. ],
  2340. "color": "#223",
  2341. "bgcolor": "#335"
  2342. },
  2343. {
  2344. "id": 125,
  2345. "type": "SetNode",
  2346. "pos": [
  2347. -2029.03955078125,
  2348. -952.4966430664062
  2349. ],
  2350. "size": [
  2351. 210,
  2352. 50
  2353. ],
  2354. "flags": {
  2355. "collapsed": true
  2356. },
  2357. "order": 36,
  2358. "mode": 0,
  2359. "inputs": [
  2360. {
  2361. "name": "IMAGE",
  2362. "type": "IMAGE",
  2363. "link": 197
  2364. }
  2365. ],
  2366. "outputs": [
  2367. {
  2368. "name": "IMAGE",
  2369. "type": "IMAGE",
  2370. "links": []
  2371. }
  2372. ],
  2373. "title": "Set_raw_start_image",
  2374. "properties": {
  2375. "previousName": "raw_start_image",
  2376. "widget_ue_connectable": {}
  2377. },
  2378. "widgets_values": [
  2379. "raw_start_image"
  2380. ],
  2381. "color": "#2a363b",
  2382. "bgcolor": "#3f5159"
  2383. }
  2384. ],
  2385. "links": [
  2386. [
  2387. 15,
  2388. 11,
  2389. 0,
  2390. 16,
  2391. 0,
  2392. "WANTEXTENCODER"
  2393. ],
  2394. [
  2395. 29,
  2396. 22,
  2397. 0,
  2398. 27,
  2399. 0,
  2400. "WANVIDEOMODEL"
  2401. ],
  2402. [
  2403. 103,
  2404. 22,
  2405. 0,
  2406. 16,
  2407. 1,
  2408. "WANVIDEOMODEL"
  2409. ],
  2410. [
  2411. 133,
  2412. 89,
  2413. 0,
  2414. 27,
  2415. 2,
  2416. "WANVIDIMAGE_EMBEDS"
  2417. ],
  2418. [
  2419. 166,
  2420. 27,
  2421. 0,
  2422. 101,
  2423. 1,
  2424. "LATENT"
  2425. ],
  2426. [
  2427. 172,
  2428. 88,
  2429. 0,
  2430. 89,
  2431. 1,
  2432. "WANVIDIMAGE_CLIPEMBEDS"
  2433. ],
  2434. [
  2435. 177,
  2436. 105,
  2437. 0,
  2438. 22,
  2439. 2,
  2440. "WANVIDLORA"
  2441. ],
  2442. [
  2443. 188,
  2444. 101,
  2445. 0,
  2446. 112,
  2447. 0,
  2448. "IMAGE"
  2449. ],
  2450. [
  2451. 194,
  2452. 35,
  2453. 0,
  2454. 22,
  2455. 0,
  2456. "WANCOMPILEARGS"
  2457. ],
  2458. [
  2459. 195,
  2460. 39,
  2461. 0,
  2462. 22,
  2463. 1,
  2464. "BLOCKSWAPARGS"
  2465. ],
  2466. [
  2467. 197,
  2468. 63,
  2469. 0,
  2470. 125,
  2471. 0,
  2472. "*"
  2473. ],
  2474. [
  2475. 198,
  2476. 126,
  2477. 0,
  2478. 77,
  2479. 0,
  2480. "IMAGE"
  2481. ],
  2482. [
  2483. 199,
  2484. 124,
  2485. 0,
  2486. 127,
  2487. 0,
  2488. "*"
  2489. ],
  2490. [
  2491. 200,
  2492. 119,
  2493. 0,
  2494. 128,
  2495. 0,
  2496. "*"
  2497. ],
  2498. [
  2499. 201,
  2500. 120,
  2501. 0,
  2502. 129,
  2503. 0,
  2504. "*"
  2505. ],
  2506. [
  2507. 202,
  2508. 16,
  2509. 0,
  2510. 132,
  2511. 0,
  2512. "*"
  2513. ],
  2514. [
  2515. 203,
  2516. 133,
  2517. 0,
  2518. 27,
  2519. 1,
  2520. "WANVIDEOTEXTEMBEDS"
  2521. ],
  2522. [
  2523. 204,
  2524. 134,
  2525. 0,
  2526. 130,
  2527. 0,
  2528. "*"
  2529. ],
  2530. [
  2531. 205,
  2532. 135,
  2533. 0,
  2534. 131,
  2535. 0,
  2536. "*"
  2537. ],
  2538. [
  2539. 206,
  2540. 136,
  2541. 0,
  2542. 76,
  2543. 0,
  2544. "IMAGE"
  2545. ],
  2546. [
  2547. 207,
  2548. 137,
  2549. 0,
  2550. 76,
  2551. 1,
  2552. "INT"
  2553. ],
  2554. [
  2555. 208,
  2556. 138,
  2557. 0,
  2558. 76,
  2559. 2,
  2560. "INT"
  2561. ],
  2562. [
  2563. 209,
  2564. 139,
  2565. 0,
  2566. 77,
  2567. 1,
  2568. "INT"
  2569. ],
  2570. [
  2571. 210,
  2572. 140,
  2573. 0,
  2574. 77,
  2575. 2,
  2576. "INT"
  2577. ],
  2578. [
  2579. 212,
  2580. 141,
  2581. 0,
  2582. 89,
  2583. 7,
  2584. "INT"
  2585. ],
  2586. [
  2587. 213,
  2588. 142,
  2589. 0,
  2590. 89,
  2591. 8,
  2592. "INT"
  2593. ],
  2594. [
  2595. 214,
  2596. 76,
  2597. 0,
  2598. 89,
  2599. 3,
  2600. "IMAGE"
  2601. ],
  2602. [
  2603. 216,
  2604. 77,
  2605. 0,
  2606. 88,
  2607. 1,
  2608. "IMAGE"
  2609. ],
  2610. [
  2611. 217,
  2612. 77,
  2613. 0,
  2614. 89,
  2615. 2,
  2616. "IMAGE"
  2617. ],
  2618. [
  2619. 223,
  2620. 143,
  2621. 0,
  2622. 27,
  2623. 13,
  2624. "INT"
  2625. ],
  2626. [
  2627. 224,
  2628. 145,
  2629. 0,
  2630. 146,
  2631. 0,
  2632. "*"
  2633. ],
  2634. [
  2635. 225,
  2636. 149,
  2637. 0,
  2638. 39,
  2639. 0,
  2640. "INT"
  2641. ],
  2642. [
  2643. 226,
  2644. 38,
  2645. 0,
  2646. 153,
  2647. 0,
  2648. "*"
  2649. ],
  2650. [
  2651. 227,
  2652. 154,
  2653. 0,
  2654. 89,
  2655. 0,
  2656. "WANVAE"
  2657. ],
  2658. [
  2659. 228,
  2660. 155,
  2661. 0,
  2662. 101,
  2663. 0,
  2664. "WANVAE"
  2665. ],
  2666. [
  2667. 230,
  2668. 156,
  2669. 0,
  2670. 88,
  2671. 0,
  2672. "CLIP_VISION"
  2673. ]
  2674. ],
  2675. "groups": [
  2676. {
  2677. "id": 3,
  2678. "title": "Input",
  2679. "bounding": [
  2680. -2544.364013671875,
  2681. -1605.32568359375,
  2682. 2363.966552734375,
  2683. 1234.584716796875
  2684. ],
  2685. "color": "#a1309b",
  2686. "font_size": 24,
  2687. "flags": {}
  2688. },
  2689. {
  2690. "id": 4,
  2691. "title": "Models",
  2692. "bounding": [
  2693. -2541.751220703125,
  2694. -334.2509765625,
  2695. 1827.62646484375,
  2696. 714.0226440429688
  2697. ],
  2698. "color": "#3f789e",
  2699. "font_size": 24,
  2700. "flags": {}
  2701. },
  2702. {
  2703. "id": 5,
  2704. "title": "End image",
  2705. "bounding": [
  2706. -2501.07275390625,
  2707. -935.3175659179688,
  2708. 2916.94775390625,
  2709. 549.8069458007812
  2710. ],
  2711. "color": "#3f789e",
  2712. "font_size": 24,
  2713. "flags": {}
  2714. }
  2715. ],
  2716. "config": {},
  2717. "extra": {
  2718. "ds": {
  2719. "scale": 1.3109994191501129,
  2720. "offset": [
  2721. 2319.8564798080224,
  2722. 1054.4923666593822
  2723. ]
  2724. },
  2725. "frontendVersion": "1.19.9",
  2726. "node_versions": {
  2727. "ComfyUI-WanVideoWrapper": "f8f423eceeadf2edcb58fab73701333e83ca733e",
  2728. "comfy-core": "0.3.26",
  2729. "ComfyUI_essentials": "76e9d1e4399bd025ce8b12c290753d58f9f53e93",
  2730. "ComfyUI-KJNodes": "a5bd3c86c8ed6b83c55c2d0e7a59515b15a0137f",
  2731. "ComfyUI-VideoHelperSuite": "0a75c7958fe320efcb052f1d9f8451fd20c730a8"
  2732. },
  2733. "VHS_latentpreview": true,
  2734. "VHS_latentpreviewrate": 0,
  2735. "VHS_MetadataImage": true,
  2736. "VHS_KeepIntermediate": true,
  2737. "ue_links": [],
  2738. "links_added_by_ue": []
  2739. },
  2740. "version": 0.4
  2741. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement