From b2623b3a0433e46ddb41c3c18e9b2ac9efb5a363 Mon Sep 17 00:00:00 2001 From: kijai <40791699+kijai@users.noreply.github.com> Date: Fri, 19 Sep 2025 13:31:46 +0300 Subject: [PATCH] Update wanvideo_WanAnimate_example_01.json --- .../wanvideo_WanAnimate_example_01.json | 543 +++++++++--------- 1 file changed, 276 insertions(+), 267 deletions(-) diff --git a/example_workflows/wanvideo_WanAnimate_example_01.json b/example_workflows/wanvideo_WanAnimate_example_01.json index 57985cc..f7f8d3c 100644 --- a/example_workflows/wanvideo_WanAnimate_example_01.json +++ b/example_workflows/wanvideo_WanAnimate_example_01.json @@ -1,8 +1,8 @@ { "id": "8b7a9a57-2303-4ef5-9fc2-bf41713bd1fc", "revision": 0, - "last_node_id": 169, - "last_link_id": 287, + "last_node_id": 171, + "last_link_id": 289, "nodes": [ { "id": 66, @@ -51,137 +51,6 @@ null ] }, - { - "id": 48, - "type": "WanVideoSetLoRAs", - "pos": [ - -488.5894775390625, - -541.1556396484375 - ], - "size": [ - 174.53378295898438, - 46 - ], - "flags": {}, - "order": 39, - "mode": 0, - "inputs": [ - { - "name": "model", - "type": "WANVIDEOMODEL", - "link": 59 - }, - { - "name": "lora", - "shape": 7, - "type": "WANVIDLORA", - "link": 61 - } - ], - "outputs": [ - { - "name": "model", - "type": "WANVIDEOMODEL", - "links": [ - 62 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "e5ef9752a7e846b232fc05fd993327a2e870a788", - "Node name for S&R": "WanVideoSetLoRAs" - }, - "widgets_values": [], - "color": "#223", - "bgcolor": "#335" - }, - { - "id": 50, - "type": "WanVideoSetBlockSwap", - "pos": [ - -278.3233337402344, - -545.14013671875 - ], - "size": [ - 201.76815795898438, - 46 - ], - "flags": {}, - "order": 45, - "mode": 0, - "inputs": [ - { - "name": "model", - "type": "WANVIDEOMODEL", - "link": 62 - }, - { - "name": "block_swap_args", - "shape": 7, - "type": "BLOCKSWAPARGS", - "link": 64 - } - ], - "outputs": [ - { - "name": "model", - "type": "WANVIDEOMODEL", - "links": [ - 63 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "e5ef9752a7e846b232fc05fd993327a2e870a788", - "Node name for S&R": "WanVideoSetBlockSwap" - }, - "widgets_values": [], - "color": "#223", - "bgcolor": "#335" - }, - { - "id": 51, - "type": "WanVideoBlockSwap", - "pos": [ - -514.5902099609375, - -420.09027099609375 - ], - "size": [ - 281.404296875, - 202 - ], - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "block_swap_args", - "type": "BLOCKSWAPARGS", - "links": [ - 64 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "e5ef9752a7e846b232fc05fd993327a2e870a788", - "Node name for S&R": "WanVideoBlockSwap" - }, - "widgets_values": [ - 25, - false, - false, - true, - 0, - 1, - false - ], - "color": "#223", - "bgcolor": "#335" - }, { "id": 137, "type": "GetNode", @@ -196,7 +65,7 @@ "flags": { "collapsed": true }, - "order": 1, + "order": 0, "mode": 0, "inputs": [], "outputs": [ @@ -291,7 +160,7 @@ "flags": { "collapsed": true }, - "order": 2, + "order": 1, "mode": 0, "inputs": [], "outputs": [ @@ -325,7 +194,7 @@ "flags": { "collapsed": true }, - "order": 3, + "order": 2, "mode": 0, "inputs": [], "outputs": [ @@ -397,7 +266,7 @@ "flags": { "collapsed": true }, - "order": 4, + "order": 3, "mode": 0, "inputs": [], "outputs": [ @@ -469,7 +338,7 @@ "flags": { "collapsed": true }, - "order": 5, + "order": 4, "mode": 0, "inputs": [], "outputs": [ @@ -503,7 +372,7 @@ "flags": { "collapsed": true }, - "order": 6, + "order": 5, "mode": 0, "inputs": [], "outputs": [ @@ -682,7 +551,7 @@ "flags": { "collapsed": true }, - "order": 7, + "order": 6, "mode": 0, "inputs": [], "outputs": [ @@ -716,7 +585,7 @@ "flags": { "collapsed": true }, - "order": 8, + "order": 7, "mode": 0, "inputs": [], "outputs": [ @@ -750,7 +619,7 @@ "flags": { "collapsed": true }, - "order": 9, + "order": 8, "mode": 0, "inputs": [], "outputs": [ @@ -784,7 +653,7 @@ "flags": { "collapsed": true }, - "order": 10, + "order": 9, "mode": 0, "inputs": [], "outputs": [ @@ -885,7 +754,7 @@ 130 ], "flags": {}, - "order": 11, + "order": 10, "mode": 0, "inputs": [], "outputs": [ @@ -1171,7 +1040,8 @@ "0, 0, 0", "top", 16, - "cpu" + "cpu", + "Output: 1 x 832 x 480 | 4.57MB" ] }, { @@ -1186,7 +1056,7 @@ 314 ], "flags": {}, - "order": 12, + "order": 11, "mode": 0, "inputs": [], "outputs": [ @@ -1609,7 +1479,7 @@ "flags": { "collapsed": true }, - "order": 13, + "order": 12, "mode": 0, "inputs": [], "outputs": [ @@ -1641,7 +1511,7 @@ 88 ], "flags": {}, - "order": 14, + "order": 13, "mode": 0, "inputs": [], "outputs": [], @@ -1760,13 +1630,13 @@ "hidden": false, "paused": false, "params": { - "filename": "WanVideo2_1_T2V_00020.mp4", + "filename": "WanVideo2_1_T2V_00055.mp4", "subfolder": "", "type": "temp", "format": "video/h264-mp4", "frame_rate": 16, - "workflow": "WanVideo2_1_T2V_00020.png", - "fullpath": "N:\\AI\\ComfyUI\\temp\\WanVideo2_1_T2V_00020.mp4" + "workflow": "WanVideo2_1_T2V_00055.png", + "fullpath": "N:\\AI\\ComfyUI\\temp\\WanVideo2_1_T2V_00055.mp4" } } } @@ -1785,7 +1655,7 @@ "flags": { "collapsed": true }, - "order": 15, + "order": 14, "mode": 0, "inputs": [], "outputs": [ @@ -1809,15 +1679,15 @@ "id": 71, "type": "CLIPVisionLoader", "pos": [ - -1007.053955078125, - -135.2229461669922 + -1004.4947509765625, + -186.4078826904297 ], "size": [ 270, 58 ], "flags": {}, - "order": 16, + "order": 15, "mode": 0, "inputs": [], "outputs": [ @@ -1918,7 +1788,7 @@ "flags": { "collapsed": true }, - "order": 17, + "order": 16, "mode": 0, "inputs": [], "outputs": [ @@ -1953,7 +1823,7 @@ "flags": { "collapsed": true }, - "order": 18, + "order": 17, "mode": 0, "inputs": [], "outputs": [ @@ -1977,15 +1847,15 @@ "id": 35, "type": "WanVideoTorchCompileSettings", "pos": [ - -1640.5732421875, - -799.4371948242188 + -1638.0140380859375, + -850.6221313476562 ], "size": [ 390.5999755859375, 202 ], "flags": {}, - "order": 19, + "order": 18, "mode": 0, "inputs": [], "outputs": [ @@ -2019,15 +1889,15 @@ "id": 38, "type": "WanVideoVAELoader", "pos": [ - -1064.2779541015625, - -389.7803955078125 + -1061.71875, + -440.96533203125 ], "size": [ 416.25482177734375, 82 ], "flags": {}, - "order": 20, + "order": 19, "mode": 0, "inputs": [ { @@ -2063,8 +1933,8 @@ "id": 161, "type": "SetNode", "pos": [ - -753.8130493164062, - -247.184814453125 + -751.2538452148438, + -298.3697509765625 ], "size": [ 210, @@ -2099,30 +1969,6 @@ "color": "#322", "bgcolor": "#533" }, - { - "id": 164, - "type": "MarkdownNote", - "pos": [ - -1685.8245849609375, - -403.1519470214844 - ], - "size": [ - 541.7905883789062, - 240.68362426757812 - ], - "flags": {}, - "order": 21, - "mode": 0, - "inputs": [], - "outputs": [], - "title": "Markdown Note: Model Links", - "properties": {}, - "widgets_values": [ - "Model links:\n\n[https://huggingface.co/Kijai/WanVideo_comfy_fp8_scaled/tree/main/WanAnimate](https://huggingface.co/Kijai/WanVideo_comfy_fp8_scaled/tree/main/WanAnimate)\n\nLoRA:\n\n[https://huggingface.co/Kijai/WanVideo_comfy/tree/main/Lightx2v](https://huggingface.co/Kijai/WanVideo_comfy/tree/main/Lightx2v)\n\nText encoder:\n\n[https://huggingface.co/Kijai/WanVideo_comfy/blob/main/umt5-xxl-enc-bf16.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/blob/main/umt5-xxl-enc-bf16.safetensors)\n\nVAE:\n\n[https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan2_1_VAE_bf16.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan2_1_VAE_bf16.safetensors)" - ], - "color": "#432", - "bgcolor": "#653" - }, { "id": 77, "type": "ImageConcatMulti", @@ -2196,7 +2042,7 @@ "flags": { "collapsed": true }, - "order": 22, + "order": 20, "mode": 0, "inputs": [], "outputs": [ @@ -2280,7 +2126,7 @@ "flags": { "collapsed": true }, - "order": 23, + "order": 21, "mode": 0, "inputs": [], "outputs": [ @@ -2446,7 +2292,7 @@ 202 ], "flags": {}, - "order": 24, + "order": 22, "mode": 0, "inputs": [ { @@ -2567,7 +2413,7 @@ 362.56817626953125 ], "flags": {}, - "order": 25, + "order": 23, "mode": 0, "inputs": [ { @@ -2679,13 +2525,13 @@ "hidden": false, "paused": false, "params": { - "filename": "WanVideo2_1_T2V_00018.mp4", + "filename": "WanVideo2_1_T2V_00054.mp4", "subfolder": "", "type": "temp", "format": "video/h264-mp4", "frame_rate": 16, - "workflow": "WanVideo2_1_T2V_00018.png", - "fullpath": "N:\\AI\\ComfyUI\\temp\\WanVideo2_1_T2V_00018.mp4" + "workflow": "WanVideo2_1_T2V_00054.png", + "fullpath": "N:\\AI\\ComfyUI\\temp\\WanVideo2_1_T2V_00054.mp4" } } } @@ -2702,7 +2548,7 @@ 194.427978515625 ], "flags": {}, - "order": 26, + "order": 24, "mode": 0, "inputs": [], "outputs": [], @@ -2713,57 +2559,6 @@ "color": "#432", "bgcolor": "#653" }, - { - "id": 49, - "type": "WanVideoLoraSelect", - "pos": [ - -530.6770629882812, - -794.5624389648438 - ], - "size": [ - 589.3995971679688, - 150 - ], - "flags": {}, - "order": 27, - "mode": 0, - "inputs": [ - { - "name": "prev_lora", - "shape": 7, - "type": "WANVIDLORA", - "link": null - }, - { - "name": "blocks", - "shape": 7, - "type": "SELECTEDBLOCKS", - "link": null - } - ], - "outputs": [ - { - "name": "lora", - "type": "WANVIDLORA", - "links": [ - 61 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "e5ef9752a7e846b232fc05fd993327a2e870a788", - "Node name for S&R": "WanVideoLoraSelect" - }, - "widgets_values": [ - "WanVideo\\Lightx2v\\lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors", - 1, - false, - false - ], - "color": "#223", - "bgcolor": "#335" - }, { "id": 27, "type": "WanVideoSampler", @@ -3030,8 +2825,8 @@ "id": 22, "type": "WanVideoModelLoader", "pos": [ - -1195.4820556640625, - -798.6737670898438 + -1192.9228515625, + -849.8587036132812 ], "size": [ 601.9249267578125, @@ -3127,7 +2922,7 @@ 58 ], "flags": {}, - "order": 28, + "order": 25, "mode": 0, "inputs": [], "outputs": [ @@ -3168,7 +2963,7 @@ "flags": { "collapsed": false }, - "order": 29, + "order": 26, "mode": 0, "inputs": [], "outputs": [ @@ -3194,6 +2989,220 @@ ], "color": "#1b4669", "bgcolor": "#29699c" + }, + { + "id": 51, + "type": "WanVideoBlockSwap", + "pos": [ + -512.7796020507812, + -249.57748413085938 + ], + "size": [ + 281.404296875, + 202 + ], + "flags": {}, + "order": 27, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "block_swap_args", + "type": "BLOCKSWAPARGS", + "links": [ + 64 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "e5ef9752a7e846b232fc05fd993327a2e870a788", + "Node name for S&R": "WanVideoBlockSwap" + }, + "widgets_values": [ + 25, + false, + false, + true, + 0, + 1, + false + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 50, + "type": "WanVideoSetBlockSwap", + "pos": [ + -192.057373046875, + -363.11090087890625 + ], + "size": [ + 201.76815795898438, + 46 + ], + "flags": {}, + "order": 45, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "link": 62 + }, + { + "name": "block_swap_args", + "shape": 7, + "type": "BLOCKSWAPARGS", + "link": 64 + } + ], + "outputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "links": [ + 63 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "e5ef9752a7e846b232fc05fd993327a2e870a788", + "Node name for S&R": "WanVideoSetBlockSwap" + }, + "widgets_values": [], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 48, + "type": "WanVideoSetLoRAs", + "pos": [ + -497.01580810546875, + -361.6855773925781 + ], + "size": [ + 174.53378295898438, + 46 + ], + "flags": {}, + "order": 39, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "link": 59 + }, + { + "name": "lora", + "shape": 7, + "type": "WANVIDLORA", + "link": 289 + } + ], + "outputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "links": [ + 62 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "e5ef9752a7e846b232fc05fd993327a2e870a788", + "Node name for S&R": "WanVideoSetLoRAs" + }, + "widgets_values": [], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 164, + "type": "MarkdownNote", + "pos": [ + -1683.265380859375, + -454.3368835449219 + ], + "size": [ + 541.7905883789062, + 240.68362426757812 + ], + "flags": {}, + "order": 28, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Markdown Note: Model Links", + "properties": {}, + "widgets_values": [ + "Model links:\n\n[https://huggingface.co/Kijai/WanVideo_comfy_fp8_scaled/tree/main/WanAnimate](https://huggingface.co/Kijai/WanVideo_comfy_fp8_scaled/tree/main/WanAnimate)\n\nLoRA:\n\n[https://huggingface.co/Kijai/WanVideo_comfy/tree/main/Lightx2v](https://huggingface.co/Kijai/WanVideo_comfy/tree/main/Lightx2v)\n\n[https://huggingface.co/Kijai/WanVideo_comfy/blob/main/WanAnimate_relight_lora_fp16.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/blob/main/WanAnimate_relight_lora_fp16.safetensors)\n\nText encoder:\n\n[https://huggingface.co/Kijai/WanVideo_comfy/blob/main/umt5-xxl-enc-bf16.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/blob/main/umt5-xxl-enc-bf16.safetensors)\n\nVAE:\n\n[https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan2_1_VAE_bf16.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan2_1_VAE_bf16.safetensors)" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 171, + "type": "WanVideoLoraSelectMulti", + "pos": [ + -488.4440612792969, + -873.2754516601562 + ], + "size": [ + 583.3719482421875, + 342 + ], + "flags": {}, + "order": 29, + "mode": 0, + "inputs": [ + { + "name": "prev_lora", + "shape": 7, + "type": "WANVIDLORA", + "link": null + }, + { + "name": "blocks", + "shape": 7, + "type": "SELECTEDBLOCKS", + "link": null + } + ], + "outputs": [ + { + "name": "lora", + "type": "WANVIDLORA", + "links": [ + 289 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "b2c8cf969fcf60a38884ea2c29af177ae1f28b29", + "Node name for S&R": "WanVideoLoraSelectMulti" + }, + "widgets_values": [ + "WanVideo\\WanAnimate_relight_lora_fp16.safetensors", + 1, + "WanVideo\\Lightx2v\\lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors", + 1.2, + "none", + 1, + "none", + 1, + "none", + 1, + false, + false + ], + "color": "#223", + "bgcolor": "#335" } ], "links": [ @@ -3221,14 +3230,6 @@ 0, "WANVIDEOMODEL" ], - [ - 61, - 49, - 0, - 48, - 1, - "WANVIDLORA" - ], [ 62, 48, @@ -3724,6 +3725,14 @@ 64, 3, "INT" + ], + [ + 289, + 171, + 0, + 48, + 1, + "WANVIDLORA" ] ], "groups": [ @@ -3770,10 +3779,10 @@ "id": 4, "title": "Models", "bounding": [ - -1718.9344482421875, - -945.6475219726562, - 2142.316650390625, - 979.2836303710938 + -1716.375244140625, + -996.8324584960938, + 2156.392578125, + 1012.5536499023438 ], "color": "#88A", "font_size": 24, @@ -3796,10 +3805,10 @@ "config": {}, "extra": { "ds": { - "scale": 0.6934334949441403, + "scale": 0.5730855330116865, "offset": [ - 2216.4991514269896, - 2628.181970255452 + 1111.237643652482, + 1360.120906754177 ] }, "frontendVersion": "1.27.4",