diff --git a/example_workflows/wanvideo_480p_I2V_example_02.json b/example_workflows/wanvideo_480p_I2V_example_03.json similarity index 83% rename from example_workflows/wanvideo_480p_I2V_example_02.json rename to example_workflows/wanvideo_480p_I2V_example_03.json index 06b1bc2..1e8c2ba 100644 --- a/example_workflows/wanvideo_480p_I2V_example_02.json +++ b/example_workflows/wanvideo_480p_I2V_example_03.json @@ -1,22 +1,22 @@ { "id": "206247b6-9fec-4ed2-8927-e4f388c674d4", "revision": 0, - "last_node_id": 67, - "last_link_id": 83, + "last_node_id": 69, + "last_link_id": 89, "nodes": [ { "id": 46, "type": "WanVideoTextEmbedBridge", "pos": [ - 1204.152587890625, - 707.1484985351562 + 919.7472534179688, + 822.0996704101562 ], "size": [ 315, 46 ], "flags": {}, - "order": 22, + "order": 18, "mode": 2, "inputs": [ { @@ -26,6 +26,7 @@ }, { "name": "negative", + "shape": 7, "type": "CONDITIONING", "link": 55 } @@ -48,15 +49,15 @@ "id": 50, "type": "CLIPTextEncode", "pos": [ - 754.153076171875, - 967.1485595703125 + 469.7478332519531, + 1082.099609375 ], "size": [ 400, 200 ], "flags": {}, - "order": 19, + "order": 15, "mode": 2, "inputs": [ { @@ -88,12 +89,12 @@ "id": 48, "type": "CLIPLoader", "pos": [ - 394.15313720703125, - 717.1484985351562 + 109.74829864501953, + 832.0996704101562 ], "size": [ 315, - 98.00003051757812 + 106 ], "flags": {}, "order": 0, @@ -125,15 +126,15 @@ "id": 49, "type": "CLIPTextEncode", "pos": [ - 754.153076171875, - 717.1484985351562 + 469.7478332519531, + 832.0996704101562 ], "size": [ 400, 200 ], "flags": {}, - "order": 18, + "order": 14, "mode": 2, "inputs": [ { @@ -161,62 +162,6 @@ "high quality nature video featuring a red panda balancing on a bamboo stem while a bird lands on it's head, on the background there is a waterfall" ] }, - { - "id": 42, - "type": "Note", - "pos": [ - -580, - -760 - ], - "size": [ - 314.96246337890625, - 152.77333068847656 - ], - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "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" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 45, - "type": "WanVideoVRAMManagement", - "pos": [ - -210, - -580 - ], - "size": [ - 315, - 58 - ], - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "vram_management_args", - "type": "VRAM_MANAGEMENTARGS", - "links": [] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50", - "Node name for S&R": "WanVideoVRAMManagement" - }, - "widgets_values": [ - 1 - ], - "color": "#223", - "bgcolor": "#335" - }, { "id": 36, "type": "Note", @@ -229,7 +174,7 @@ 171.9547576904297 ], "flags": {}, - "order": 3, + "order": 1, "mode": 0, "inputs": [], "outputs": [], @@ -252,7 +197,7 @@ 88 ], "flags": {}, - "order": 4, + "order": 2, "mode": 0, "inputs": [], "outputs": [], @@ -267,15 +212,15 @@ "id": 51, "type": "Note", "pos": [ - 424.153076171875, - 547.1480712890625 + 139.7482452392578, + 662.0992431640625 ], "size": [ 253.16725158691406, 88 ], "flags": {}, - "order": 5, + "order": 3, "mode": 0, "inputs": [], "outputs": [], @@ -286,175 +231,6 @@ "color": "#432", "bgcolor": "#653" }, - { - "id": 62, - "type": "Note", - "pos": [ - 315.68389892578125, - 215.8892364501953 - ], - "size": [ - 268.73455810546875, - 90.03050994873047 - ], - "flags": {}, - "order": 6, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "The original code had automatic resolution adjustment based on input image total pixels and aspect ratio. If you want to set it manually, disable the adjust_resolution" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 11, - "type": "LoadWanVideoT5TextEncoder", - "pos": [ - 161.7229461669922, - -501.2225036621094 - ], - "size": [ - 377.1661376953125, - 130 - ], - "flags": {}, - "order": 7, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "wan_t5_model", - "type": "WANTEXTENCODER", - "slot_index": 0, - "links": [ - 15 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50", - "Node name for S&R": "LoadWanVideoT5TextEncoder" - }, - "widgets_values": [ - "umt5-xxl-enc-bf16.safetensors", - "bf16", - "offload_device", - "disabled" - ], - "color": "#332922", - "bgcolor": "#593930" - }, - { - "id": 52, - "type": "WanVideoTeaCache", - "pos": [ - 1307.6705322265625, - -787.4303588867188 - ], - "size": [ - 315, - 178 - ], - "flags": {}, - "order": 8, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "cache_args", - "type": "CACHEARGS", - "links": [ - 56 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50", - "Node name for S&R": "WanVideoTeaCache" - }, - "widgets_values": [ - 0.25, - 1, - -1, - "offload_device", - "true", - "e" - ] - }, - { - "id": 54, - "type": "Note", - "pos": [ - 961.6879272460938, - -580.803466796875 - ], - "size": [ - 327.61932373046875, - 88 - ], - "flags": {}, - "order": 9, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "Enhance-a-video can increase the fidelity of the results, too high values lead to noisy results." - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 53, - "type": "Note", - "pos": [ - 960.3718872070312, - -810.77099609375 - ], - "size": [ - 324.64129638671875, - 159.47401428222656 - ], - "flags": {}, - "order": 10, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "TeaCache could be considered to be sort of an automated step skipper \n\nThe relative l1 threshold -value determines how aggressive this is, higher values are faster but quality suffers more. Very first steps should NEVER be skipped with this model or it kills the motion. When using the pre-calculated coefficients, the treshold value should be much higher than with the default coefficients." - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 44, - "type": "Note", - "pos": [ - -620.9041137695312, - -1049.732421875 - ], - "size": [ - 303.0501403808594, - 88 - ], - "flags": {}, - "order": 11, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "If you have Triton installed, connect this for ~30% speed increase" - ], - "color": "#432", - "bgcolor": "#653" - }, { "id": 39, "type": "WanVideoBlockSwap", @@ -464,10 +240,10 @@ ], "size": [ 315, - 130 + 154 ], "flags": {}, - "order": 12, + "order": 4, "mode": 0, "inputs": [], "outputs": [ @@ -489,7 +265,8 @@ 10, false, false, - true + true, + 0 ], "color": "#223", "bgcolor": "#335" @@ -503,10 +280,10 @@ ], "size": [ 390.5999755859375, - 178 + 202 ], "flags": {}, - "order": 13, + "order": 5, "mode": 0, "inputs": [], "outputs": [ @@ -528,140 +305,12 @@ "default", false, 64, - true + true, + 128 ], "color": "#223", "bgcolor": "#335" }, - { - "id": 58, - "type": "LoadImage", - "pos": [ - -650.719482421875, - 173.7036895751953 - ], - "size": [ - 413.10479736328125, - 498.3180847167969 - ], - "flags": {}, - "order": 14, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 72 - ] - }, - { - "name": "MASK", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "oldman_upscaled.png", - "image", - "" - ], - "color": "#2a363b", - "bgcolor": "#3f5159" - }, - { - "id": 63, - "type": "WanVideoImageToVideoEncode", - "pos": [ - 304.6556091308594, - -129.80532836914062 - ], - "size": [ - 352.79998779296875, - 338 - ], - "flags": {}, - "order": 25, - "mode": 0, - "inputs": [ - { - "name": "vae", - "type": "WANVAE", - "link": 81 - }, - { - "name": "clip_embeds", - "type": "WANVIDIMAGE_CLIPEMBEDS", - "link": 82 - }, - { - "name": "start_image", - "shape": 7, - "type": "IMAGE", - "link": 83 - }, - { - "name": "end_image", - "shape": 7, - "type": "IMAGE", - "link": null - }, - { - "name": "width", - "type": "INT", - "widget": { - "name": "width" - }, - "link": 75 - }, - { - "name": "height", - "type": "INT", - "widget": { - "name": "height" - }, - "link": 76 - }, - { - "name": "control_embeds", - "shape": 7, - "type": "WANVIDIMAGE_EMBEDS", - "link": null - } - ], - "outputs": [ - { - "name": "image_embeds", - "type": "WANVIDIMAGE_EMBEDS", - "links": [ - 66 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50", - "Node name for S&R": "WanVideoImageToVideoEncode" - }, - "widgets_values": [ - 832, - 480, - 81, - 0.030000000000000006, - 1, - 1, - true, - false - ], - "color": "#2a363b", - "bgcolor": "#3f5159" - }, { "id": 59, "type": "CLIPVisionLoader", @@ -674,7 +323,7 @@ 58 ], "flags": {}, - "order": 15, + "order": 6, "mode": 0, "inputs": [], "outputs": [ @@ -709,7 +358,7 @@ 261.5306701660156 ], "flags": {}, - "order": 23, + "order": 20, "mode": 0, "inputs": [ { @@ -747,149 +396,6 @@ "color": "#332922", "bgcolor": "#593930" }, - { - "id": 27, - "type": "WanVideoSampler", - "pos": [ - 1315.2401123046875, - -401.48028564453125 - ], - "size": [ - 315, - 787 - ], - "flags": {}, - "order": 26, - "mode": 0, - "inputs": [ - { - "name": "model", - "type": "WANVIDEOMODEL", - "link": 29 - }, - { - "name": "text_embeds", - "type": "WANVIDEOTEXTEMBEDS", - "link": 30 - }, - { - "name": "image_embeds", - "type": "WANVIDIMAGE_EMBEDS", - "link": 66 - }, - { - "name": "samples", - "shape": 7, - "type": "LATENT", - "link": null - }, - { - "name": "feta_args", - "shape": 7, - "type": "FETAARGS", - "link": 80 - }, - { - "name": "context_options", - "shape": 7, - "type": "WANVIDCONTEXT", - "link": null - }, - { - "name": "cache_args", - "shape": 7, - "type": "CACHEARGS", - "link": 56 - }, - { - "name": "flowedit_args", - "shape": 7, - "type": "FLOWEDITARGS", - "link": null - }, - { - "name": "slg_args", - "shape": 7, - "type": "SLGARGS", - "link": null - }, - { - "name": "loop_args", - "shape": 7, - "type": "LOOPARGS", - "link": null - }, - { - "name": "experimental_args", - "shape": 7, - "type": "EXPERIMENTALARGS", - "link": null - } - ], - "outputs": [ - { - "name": "samples", - "type": "LATENT", - "slot_index": 0, - "links": [ - 33 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50", - "Node name for S&R": "WanVideoSampler" - }, - "widgets_values": [ - 25, - 6, - 5, - 1057359483639287, - "fixed", - true, - "unipc", - 0, - 1, - "", - "comfy" - ] - }, - { - "id": 55, - "type": "WanVideoEnhanceAVideo", - "pos": [ - 1312.6407470703125, - -596.7884521484375 - ], - "size": [ - 315, - 106 - ], - "flags": {}, - "order": 16, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "feta_args", - "type": "FETAARGS", - "links": [ - 80 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50", - "Node name for S&R": "WanVideoEnhanceAVideo" - }, - "widgets_values": [ - 2, - 0, - 1 - ] - }, { "id": 30, "type": "VHS_VideoCombine", @@ -899,10 +405,10 @@ ], "size": [ 1245.8460693359375, - 1573.8460693359375 + 334 ], "flags": {}, - "order": 28, + "order": 24, "mode": 0, "inputs": [ { @@ -976,10 +482,10 @@ ], "size": [ 315, - 174 + 198 ], "flags": {}, - "order": 27, + "order": 23, "mode": 0, "inputs": [ { @@ -1013,111 +519,8 @@ 272, 272, 144, - 128 - ], - "color": "#322", - "bgcolor": "#533" - }, - { - "id": 22, - "type": "WanVideoModelLoader", - "pos": [ - 150, - -780 - ], - "size": [ - 477.4410095214844, - 226.43276977539062 - ], - "flags": {}, - "order": 20, - "mode": 0, - "inputs": [ - { - "name": "compile_args", - "shape": 7, - "type": "WANCOMPILEARGS", - "link": null - }, - { - "name": "block_swap_args", - "shape": 7, - "type": "BLOCKSWAPARGS", - "link": 50 - }, - { - "name": "lora", - "shape": 7, - "type": "WANVIDLORA", - "link": null - }, - { - "name": "vram_management_args", - "shape": 7, - "type": "VRAM_MANAGEMENTARGS", - "link": null - } - ], - "outputs": [ - { - "name": "model", - "type": "WANVIDEOMODEL", - "slot_index": 0, - "links": [ - 29, - 79 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50", - "Node name for S&R": "WanVideoModelLoader" - }, - "widgets_values": [ - "WanVideo\\Wan2_1-I2V-14B-480P_fp8_e4m3fn.safetensors", - "fp16", - "fp8_e4m3fn", - "offload_device", - "sdpa" - ], - "color": "#223", - "bgcolor": "#335" - }, - { - "id": 38, - "type": "WanVideoVAELoader", - "pos": [ - 169.25408935546875, - -322.9471740722656 - ], - "size": [ - 372.7727966308594, - 82 - ], - "flags": {}, - "order": 17, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "vae", - "type": "WANVAE", - "slot_index": 0, - "links": [ - 43, - 81 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50", - "Node name for S&R": "WanVideoVAELoader" - }, - "widgets_values": [ - "wanvideo\\Wan2_1_VAE_bf16.safetensors", - "bf16" + 128, + "default" ], "color": "#322", "bgcolor": "#533" @@ -1134,7 +537,7 @@ 262 ], "flags": {}, - "order": 24, + "order": 19, "mode": 0, "inputs": [ { @@ -1145,7 +548,7 @@ { "name": "image_1", "type": "IMAGE", - "link": 73 + "link": 85 }, { "name": "image_2", @@ -1187,47 +590,70 @@ "bgcolor": "#355" }, { - "id": 66, - "type": "ImageResizeKJ", + "id": 58, + "type": "LoadImage", "pos": [ - -175.95899963378906, - 176.40057373046875 + -650.719482421875, + 173.7036895751953 ], "size": [ - 315, - 266 + 413.10479736328125, + 498.3180847167969 ], "flags": {}, - "order": 21, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 84 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.26", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "oldman_upscaled.png", + "image" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 68, + "type": "ImageResizeKJv2", + "pos": [ + -153.1925811767578, + 172.66262817382812 + ], + "size": [ + 270, + 336 + ], + "flags": {}, + "order": 16, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", - "link": 72 + "link": 84 }, { - "name": "get_image_size", + "name": "mask", "shape": 7, - "type": "IMAGE", - "link": null - }, - { - "name": "width_input", - "shape": 7, - "type": "INT", - "widget": { - "name": "width_input" - }, - "link": null - }, - { - "name": "height_input", - "shape": 7, - "type": "INT", - "widget": { - "name": "height_input" - }, + "type": "MASK", "link": null } ], @@ -1236,40 +662,588 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 73, - 83 + 85, + 86 ] }, { "name": "width", "type": "INT", "links": [ - 75 + 87 ] }, { "name": "height", "type": "INT", "links": [ - 76 + 88 ] + }, + { + "name": "mask", + "type": "MASK", + "links": null } ], "properties": { "cnr_id": "comfyui-kjnodes", - "ver": "52c2e31a903fec2dd654fb614ea82ba2757d5028", - "Node name for S&R": "ImageResizeKJ" + "ver": "ad37ce656c13e9abea002b46e3a89be3dba32355", + "Node name for S&R": "ImageResizeKJv2" }, "widgets_values": [ 624, 624, "lanczos", - false, + "crop", + "0, 0, 0", + "center", 16, - 0, - 0, - "disabled" + "cpu", + "
| Metadata | |
| No metadata found | |