diff --git a/example_workflows/example_images/env.png b/example_workflows/example_inputs/env.png similarity index 100% rename from example_workflows/example_images/env.png rename to example_workflows/example_inputs/env.png diff --git a/example_workflows/example_images/human.png b/example_workflows/example_inputs/human.png similarity index 100% rename from example_workflows/example_images/human.png rename to example_workflows/example_inputs/human.png diff --git a/example_workflows/example_images/thing.png b/example_workflows/example_inputs/thing.png similarity index 100% rename from example_workflows/example_images/thing.png rename to example_workflows/example_inputs/thing.png diff --git a/example_workflows/example_inputs/wolf_interpolated.mp4 b/example_workflows/example_inputs/wolf_interpolated.mp4 new file mode 100644 index 0000000..46e6a31 Binary files /dev/null and b/example_workflows/example_inputs/wolf_interpolated.mp4 differ diff --git a/example_workflows/wanvideo_1_3B_VACE_examples_01.json b/example_workflows/wanvideo_1_3B_VACE_examples_02.json similarity index 71% rename from example_workflows/wanvideo_1_3B_VACE_examples_01.json rename to example_workflows/wanvideo_1_3B_VACE_examples_02.json index 734f666..8e5e741 100644 --- a/example_workflows/wanvideo_1_3B_VACE_examples_01.json +++ b/example_workflows/wanvideo_1_3B_VACE_examples_02.json @@ -1,55 +1,9 @@ { "id": "c6e410bc-5e2c-460b-ae81-c91b6094fbb1", "revision": 0, - "last_node_id": 184, - "last_link_id": 337, + "last_node_id": 225, + "last_link_id": 391, "nodes": [ - { - "id": 44, - "type": "Note", - "pos": [ - -1578.02880859375, - -1069.8497314453125 - ], - "size": [ - 303.0501403808594, - 88 - ], - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "If you have Triton installed, connect this for ~30% speed increase" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 42, - "type": "Note", - "pos": [ - -1578.02880859375, - -899.8494262695312 - ], - "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": 35, "type": "WanVideoTorchCompileSettings", @@ -62,7 +16,7 @@ 202 ], "flags": {}, - "order": 2, + "order": 0, "mode": 0, "inputs": [], "outputs": [ @@ -88,60 +42,6 @@ 128 ] }, - { - "id": 45, - "type": "WanVideoVRAMManagement", - "pos": [ - -1568.0289306640625, - -449.8500061035156 - ], - "size": [ - 315, - 58 - ], - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "vram_management_args", - "type": "VRAM_MANAGEMENTARGS", - "links": [] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "3869b0482b615b6a8fd6f346467c5ef6627eed72", - "Node name for S&R": "WanVideoVRAMManagement" - }, - "widgets_values": [ - 1 - ] - }, - { - "id": 33, - "type": "Note", - "pos": [ - -1578.02880859375, - -309.8499450683594 - ], - "size": [ - 359.0753479003906, - 88 - ], - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "Models:\nhttps://huggingface.co/Kijai/WanVideo_comfy/tree/main" - ], - "color": "#432", - "bgcolor": "#653" - }, { "id": 120, "type": "MarkdownNote", @@ -154,7 +54,7 @@ 147.49659729003906 ], "flags": {}, - "order": 5, + "order": 1, "mode": 0, "inputs": [], "outputs": [], @@ -178,7 +78,7 @@ 171.9547576904297 ], "flags": {}, - "order": 6, + "order": 2, "mode": 0, "inputs": [], "outputs": [], @@ -201,7 +101,7 @@ 82 ], "flags": {}, - "order": 7, + "order": 3, "mode": 0, "inputs": [], "outputs": [ @@ -240,7 +140,7 @@ "flags": { "collapsed": true }, - "order": 37, + "order": 47, "mode": 0, "inputs": [ { @@ -280,7 +180,7 @@ "flags": { "collapsed": true }, - "order": 8, + "order": 4, "mode": 2, "inputs": [], "outputs": [ @@ -312,7 +212,7 @@ 130 ], "flags": {}, - "order": 9, + "order": 5, "mode": 0, "inputs": [], "outputs": [ @@ -353,7 +253,7 @@ "flags": { "collapsed": true }, - "order": 38, + "order": 48, "mode": 0, "inputs": [ { @@ -393,7 +293,7 @@ "flags": { "collapsed": true }, - "order": 10, + "order": 6, "mode": 2, "inputs": [], "outputs": [ @@ -427,7 +327,7 @@ "flags": { "collapsed": false }, - "order": 56, + "order": 70, "mode": 2, "inputs": [ { @@ -488,7 +388,7 @@ 86 ], "flags": {}, - "order": 60, + "order": 78, "mode": 2, "inputs": [ { @@ -550,7 +450,7 @@ 262.9547424316406 ], "flags": {}, - "order": 61, + "order": 79, "mode": 2, "inputs": [ { @@ -579,7 +479,7 @@ 106 ], "flags": {}, - "order": 11, + "order": 7, "mode": 2, "inputs": [], "outputs": [ @@ -614,7 +514,7 @@ 130 ], "flags": {}, - "order": 12, + "order": 8, "mode": 2, "inputs": [], "outputs": [ @@ -652,7 +552,7 @@ "flags": { "collapsed": true }, - "order": 13, + "order": 9, "mode": 2, "inputs": [], "outputs": [ @@ -686,7 +586,7 @@ "flags": { "collapsed": true }, - "order": 14, + "order": 10, "mode": 2, "inputs": [], "outputs": [ @@ -720,7 +620,7 @@ "flags": { "collapsed": true }, - "order": 15, + "order": 11, "mode": 2, "inputs": [], "outputs": [ @@ -754,7 +654,7 @@ "flags": { "collapsed": true }, - "order": 16, + "order": 12, "mode": 2, "inputs": [], "outputs": [ @@ -788,7 +688,7 @@ "flags": { "collapsed": true }, - "order": 72, + "order": 97, "mode": 2, "inputs": [ { @@ -835,7 +735,7 @@ "flags": { "collapsed": true }, - "order": 40, + "order": 50, "mode": 2, "inputs": [ { @@ -894,7 +794,7 @@ "flags": { "collapsed": true }, - "order": 41, + "order": 51, "mode": 2, "inputs": [ { @@ -951,7 +851,7 @@ 170 ], "flags": {}, - "order": 74, + "order": 100, "mode": 2, "inputs": [ { @@ -1002,7 +902,7 @@ 86 ], "flags": {}, - "order": 70, + "order": 94, "mode": 2, "inputs": [ { @@ -1059,7 +959,7 @@ 150 ], "flags": {}, - "order": 50, + "order": 63, "mode": 2, "inputs": [ { @@ -1105,7 +1005,7 @@ 266 ], "flags": {}, - "order": 42, + "order": 52, "mode": 2, "inputs": [ { @@ -1189,7 +1089,7 @@ "flags": { "collapsed": true }, - "order": 51, + "order": 64, "mode": 2, "inputs": [ { @@ -1229,7 +1129,7 @@ 266 ], "flags": {}, - "order": 43, + "order": 53, "mode": 2, "inputs": [ { @@ -1311,7 +1211,7 @@ "flags": { "collapsed": true }, - "order": 52, + "order": 65, "mode": 2, "inputs": [ { @@ -1348,10 +1248,10 @@ ], "size": [ 605.903076171875, - 334 + 744.3826293945312 ], "flags": {}, - "order": 76, + "order": 103, "mode": 2, "inputs": [ { @@ -1430,7 +1330,7 @@ "flags": { "collapsed": true }, - "order": 17, + "order": 13, "mode": 2, "inputs": [], "outputs": [ @@ -1462,7 +1362,7 @@ 198 ], "flags": {}, - "order": 68, + "order": 91, "mode": 2, "inputs": [ { @@ -1512,7 +1412,7 @@ 261.5306701660156 ], "flags": {}, - "order": 39, + "order": 49, "mode": 2, "inputs": [ { @@ -1562,7 +1462,7 @@ 396.9063415527344 ], "flags": {}, - "order": 18, + "order": 14, "mode": 2, "inputs": [], "outputs": [ @@ -1587,7 +1487,8 @@ }, "widgets_values": [ "replicate-prediction-5cvynz9d91rgg0cfsvqschdpww-0.webp", - "image" + "image", + "" ] }, { @@ -1602,7 +1503,7 @@ 396.9063415527344 ], "flags": {}, - "order": 19, + "order": 15, "mode": 2, "inputs": [], "outputs": [ @@ -1627,7 +1528,8 @@ }, "widgets_values": [ "replicate-prediction-5cvynz9d91rgg0cfsvqschdpww-3.webp", - "image" + "image", + "" ] }, { @@ -1642,7 +1544,7 @@ 258 ], "flags": {}, - "order": 63, + "order": 84, "mode": 2, "inputs": [ { @@ -1659,6 +1561,3241 @@ }, "widgets_values": [] }, + { + "id": 142, + "type": "GetNode", + "pos": [ + 1611.2392578125, + 1339.4432373046875 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 16, + "mode": 2, + "inputs": [], + "outputs": [ + { + "name": "WANVAE", + "type": "WANVAE", + "links": [ + 276 + ] + } + ], + "title": "Get_WanVAE", + "properties": {}, + "widgets_values": [ + "WanVAE" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 143, + "type": "GetNode", + "pos": [ + 1031.2391357421875, + 1089.443115234375 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 17, + "mode": 2, + "inputs": [], + "outputs": [ + { + "name": "WANTEXTENCODER", + "type": "WANTEXTENCODER", + "links": [ + 299 + ] + } + ], + "title": "Get_WanTextEncoder", + "properties": {}, + "widgets_values": [ + "WanTextEncoder" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 149, + "type": "WanVideoSLG", + "pos": [ + 1621.2392578125, + 1699.44287109375 + ], + "size": [ + 315, + 106 + ], + "flags": {}, + "order": 18, + "mode": 2, + "inputs": [], + "outputs": [ + { + "name": "slg_args", + "type": "SLGARGS", + "links": [ + 305 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "2d2a184723dae88388e130659f51c36fcadeaba8", + "Node name for S&R": "WanVideoSLG" + }, + "widgets_values": [ + "8", + 0.30000000000000004, + 0.7000000000000002 + ] + }, + { + "id": 150, + "type": "WanVideoExperimentalArgs", + "pos": [ + 1631.2392578125, + 1859.4429931640625 + ], + "size": [ + 327.5999755859375, + 130 + ], + "flags": {}, + "order": 19, + "mode": 2, + "inputs": [], + "outputs": [ + { + "name": "exp_args", + "type": "EXPERIMENTALARGS", + "links": [ + 306 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "2d2a184723dae88388e130659f51c36fcadeaba8", + "Node name for S&R": "WanVideoExperimentalArgs" + }, + "widgets_values": [ + "", + true, + false, + 0 + ] + }, + { + "id": 151, + "type": "GetNode", + "pos": [ + 1041.2391357421875, + 1139.4432373046875 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 20, + "mode": 2, + "inputs": [], + "outputs": [ + { + "name": "WANVIDEOMODEL", + "type": "WANVIDEOMODEL", + "links": [ + 300 + ] + } + ], + "title": "Get_WanModel", + "properties": {}, + "widgets_values": [ + "WanModel" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 152, + "type": "GetNode", + "pos": [ + 1841.2392578125, + 1309.4432373046875 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 21, + "mode": 2, + "inputs": [], + "outputs": [ + { + "name": "WANVIDEOMODEL", + "type": "WANVIDEOMODEL", + "links": [ + 302 + ] + } + ], + "title": "Get_WanModel", + "properties": {}, + "widgets_values": [ + "WanModel" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 155, + "type": "EmptyImage", + "pos": [ + 2851.23974609375, + 1219.4432373046875 + ], + "size": [ + 315, + 130 + ], + "flags": { + "collapsed": true + }, + "order": 98, + "mode": 2, + "inputs": [ + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 283 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 287 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.26", + "Node name for S&R": "EmptyImage" + }, + "widgets_values": [ + 8, + 512, + 1, + 0 + ] + }, + { + "id": 158, + "type": "ImageConcatMulti", + "pos": [ + 2841.23974609375, + 1259.4432373046875 + ], + "size": [ + 315, + 170 + ], + "flags": {}, + "order": 101, + "mode": 2, + "inputs": [ + { + "name": "image_1", + "type": "IMAGE", + "link": 286 + }, + { + "name": "image_2", + "type": "IMAGE", + "link": 287 + }, + { + "name": "image_3", + "type": "IMAGE", + "link": 288 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": [ + 296 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "52c2e31a903fec2dd654fb614ea82ba2757d5028" + }, + "widgets_values": [ + 3, + "left", + true, + null + ] + }, + { + "id": 159, + "type": "GetImageSizeAndCount", + "pos": [ + 2421.23974609375, + 1749.44287109375 + ], + "size": [ + 277.20001220703125, + 86 + ], + "flags": {}, + "order": 95, + "mode": 2, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 289 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 286 + ] + }, + { + "label": "512 width", + "name": "width", + "type": "INT", + "links": null + }, + { + "label": "512 height", + "name": "height", + "type": "INT", + "links": [ + 283 + ] + }, + { + "label": "53 count", + "name": "count", + "type": "INT", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "52c2e31a903fec2dd654fb614ea82ba2757d5028", + "Node name for S&R": "GetImageSizeAndCount" + }, + "widgets_values": [] + }, + { + "id": 160, + "type": "ImageConcatMulti", + "pos": [ + 2411.23974609375, + 1269.4432373046875 + ], + "size": [ + 315, + 150 + ], + "flags": {}, + "order": 67, + "mode": 2, + "inputs": [ + { + "name": "image_1", + "type": "IMAGE", + "link": 290 + }, + { + "name": "image_2", + "type": "IMAGE", + "link": 291 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": [ + 288 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "52c2e31a903fec2dd654fb614ea82ba2757d5028" + }, + "widgets_values": [ + 2, + "down", + true, + null + ] + }, + { + "id": 166, + "type": "GetNode", + "pos": [ + 2181.23974609375, + 1239.4432373046875 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 22, + "mode": 2, + "inputs": [], + "outputs": [ + { + "name": "WANVAE", + "type": "WANVAE", + "links": [ + 297 + ] + } + ], + "title": "Get_WanVAE", + "properties": {}, + "widgets_values": [ + "WanVAE" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 167, + "type": "WanVideoDecode", + "pos": [ + 2421.23974609375, + 1479.443115234375 + ], + "size": [ + 315, + 198 + ], + "flags": {}, + "order": 92, + "mode": 2, + "inputs": [ + { + "name": "vae", + "type": "WANVAE", + "link": 297 + }, + { + "name": "samples", + "type": "LATENT", + "link": 298 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": [ + 289 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50", + "Node name for S&R": "WanVideoDecode" + }, + "widgets_values": [ + false, + 272, + 272, + 144, + 128 + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 175, + "type": "DownloadAndLoadDepthAnythingV2Model", + "pos": [ + 227.4590301513672, + 1162.26025390625 + ], + "size": [ + 372.3266296386719, + 61.27016067504883 + ], + "flags": {}, + "order": 23, + "mode": 2, + "inputs": [], + "outputs": [ + { + "name": "da_v2_model", + "type": "DAMODEL", + "links": [ + 308 + ] + } + ], + "properties": { + "cnr_id": "comfyui-depthanythingv2", + "ver": "003d7b44bafd3a8a4c3693a9ca3ddcd72f4883ab", + "Node name for S&R": "DownloadAndLoadDepthAnythingV2Model" + }, + "widgets_values": [ + "depth_anything_v2_vitl_fp16.safetensors" + ] + }, + { + "id": 173, + "type": "VHS_LoadVideo", + "pos": [ + -84.29633331298828, + 1283.2564697265625 + ], + "size": [ + 247.455078125, + 551.455078125 + ], + "flags": {}, + "order": 24, + "mode": 2, + "inputs": [ + { + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 313 + ] + }, + { + "name": "frame_count", + "type": "INT", + "links": null + }, + { + "name": "audio", + "type": "AUDIO", + "links": null + }, + { + "name": "video_info", + "type": "VHS_VIDEOINFO", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "0a75c7958fe320efcb052f1d9f8451fd20c730a8", + "Node name for S&R": "VHS_LoadVideo" + }, + "widgets_values": { + "video": "wolf_interpolated.mp4", + "force_rate": 0, + "custom_width": 0, + "custom_height": 0, + "frame_load_cap": 0, + "skip_first_frames": 0, + "select_every_nth": 1, + "format": "AnimateDiff", + "choose video to upload": "image", + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "wolf_interpolated.mp4", + "type": "input", + "format": "video/mp4", + "force_rate": 0, + "custom_width": 0, + "custom_height": 0, + "frame_load_cap": 0, + "skip_first_frames": 0, + "select_every_nth": 1 + } + } + } + }, + { + "id": 177, + "type": "VHS_VideoCombine", + "pos": [ + 662.3901977539062, + 1749.7991943359375 + ], + "size": [ + 386.8023681640625, + 334 + ], + "flags": {}, + "order": 71, + "mode": 2, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 316 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "0a75c7958fe320efcb052f1d9f8451fd20c730a8", + "Node name for S&R": "VHS_VideoCombine" + }, + "widgets_values": { + "frame_rate": 16, + "loop_count": 0, + "filename_prefix": "WanVideoWrapper_VACE_startendframe", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": false, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "WanVideoWrapper_VACE_startendframe_00002.mp4", + "subfolder": "", + "type": "temp", + "format": "video/h264-mp4", + "frame_rate": 16, + "workflow": "WanVideoWrapper_VACE_startendframe_00002.png", + "fullpath": "N:\\AI\\ComfyUI\\temp\\WanVideoWrapper_VACE_startendframe_00002.mp4" + } + } + } + }, + { + "id": 153, + "type": "GetNode", + "pos": [ + 2308.5478515625, + 1020.5623779296875 + ], + "size": [ + 233.0802459716797, + 60.23356246948242 + ], + "flags": { + "collapsed": false + }, + "order": 25, + "mode": 2, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 319 + ] + } + ], + "title": "Get_reference_image", + "properties": {}, + "widgets_values": [ + "reference_image" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 156, + "type": "AddLabel", + "pos": [ + 2601.697509765625, + 1051.6173095703125 + ], + "size": [ + 315, + 274 + ], + "flags": { + "collapsed": true + }, + "order": 56, + "mode": 2, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 319 + }, + { + "name": "caption", + "shape": 7, + "type": "STRING", + "widget": { + "name": "caption" + }, + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 290 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "52c2e31a903fec2dd654fb614ea82ba2757d5028", + "Node name for S&R": "AddLabel" + }, + "widgets_values": [ + 10, + 2, + 48, + 32, + "white", + "black", + "FreeMono.ttf", + "reference image", + "up", + "" + ] + }, + { + "id": 174, + "type": "DepthAnything_V2", + "pos": [ + 591.5367431640625, + 1422.782958984375 + ], + "size": [ + 214.20001220703125, + 46 + ], + "flags": {}, + "order": 66, + "mode": 2, + "inputs": [ + { + "name": "da_model", + "type": "DAMODEL", + "link": 308 + }, + { + "name": "images", + "type": "IMAGE", + "link": 314 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 316, + 320 + ] + } + ], + "properties": { + "cnr_id": "comfyui-depthanythingv2", + "ver": "003d7b44bafd3a8a4c3693a9ca3ddcd72f4883ab", + "Node name for S&R": "DepthAnything_V2" + }, + "widgets_values": [] + }, + { + "id": 180, + "type": "SetNode", + "pos": [ + 642.4301147460938, + 1558.4716796875 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 72, + "mode": 2, + "inputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "link": 320 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 321 + ] + } + ], + "title": "Set_control_video", + "properties": { + "previousName": "control_video" + }, + "widgets_values": [ + "control_video" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 145, + "type": "GetImageSizeAndCount", + "pos": [ + 1105.15625, + 1530.5657958984375 + ], + "size": [ + 277.20001220703125, + 86 + ], + "flags": {}, + "order": 80, + "mode": 2, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 321 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 322 + ] + }, + { + "label": "512 width", + "name": "width", + "type": "INT", + "links": [ + 281 + ] + }, + { + "label": "512 height", + "name": "height", + "type": "INT", + "links": [ + 282 + ] + }, + { + "label": "53 count", + "name": "count", + "type": "INT", + "links": [ + 280 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "2aa4da0f587f68c1c255b0152ed8f5c334ebe4b4", + "Node name for S&R": "GetImageSizeAndCount" + }, + "widgets_values": [] + }, + { + "id": 154, + "type": "GetNode", + "pos": [ + 2391.23974609375, + 1219.4432373046875 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 26, + "mode": 2, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 285 + ] + } + ], + "title": "Get_control_video", + "properties": {}, + "widgets_values": [ + "control_video" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 157, + "type": "AddLabel", + "pos": [ + 2591.23974609375, + 1219.4432373046875 + ], + "size": [ + 315, + 274 + ], + "flags": { + "collapsed": true + }, + "order": 57, + "mode": 2, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 285 + }, + { + "name": "caption", + "shape": 7, + "type": "STRING", + "widget": { + "name": "caption" + }, + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 291 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "52c2e31a903fec2dd654fb614ea82ba2757d5028", + "Node name for S&R": "AddLabel" + }, + "widgets_values": [ + 10, + 2, + 48, + 32, + "white", + "black", + "FreeMono.ttf", + "control_video", + "up", + "" + ] + }, + { + "id": 179, + "type": "SetNode", + "pos": [ + 1181.8577880859375, + 1983.660400390625 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 73, + "mode": 2, + "inputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "link": 331 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 329 + ] + } + ], + "title": "Set_reference_image", + "properties": { + "previousName": "reference_image" + }, + "widgets_values": [ + "reference_image" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 148, + "type": "WanVideoVACEEncode", + "pos": [ + 1601.2392578125, + 1389.443115234375 + ], + "size": [ + 343.59088134765625, + 334 + ], + "flags": {}, + "order": 86, + "mode": 2, + "inputs": [ + { + "name": "vae", + "type": "WANVAE", + "link": 276 + }, + { + "name": "input_frames", + "shape": 7, + "type": "IMAGE", + "link": 322 + }, + { + "name": "ref_images", + "shape": 7, + "type": "IMAGE", + "link": 329 + }, + { + "name": "input_masks", + "shape": 7, + "type": "MASK", + "link": null + }, + { + "name": "num_frames", + "type": "INT", + "widget": { + "name": "num_frames" + }, + "link": 280 + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 281 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 282 + }, + { + "name": "prev_vace_embeds", + "shape": 7, + "type": "WANVIDIMAGE_EMBEDS", + "link": null + } + ], + "outputs": [ + { + "name": "vace_embeds", + "type": "WANVIDIMAGE_EMBEDS", + "links": [ + 304 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "3869b0482b615b6a8fd6f346467c5ef6627eed72", + "Node name for S&R": "WanVideoVACEEncode" + }, + "widgets_values": [ + 480, + 832, + 29, + 1.0000000000000002, + 0, + 1, + false + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 56, + "type": "WanVideoVACEEncode", + "pos": [ + 1597.3994140625, + -720.1734008789062 + ], + "size": [ + 343.59088134765625, + 334 + ], + "flags": {}, + "order": 85, + "mode": 2, + "inputs": [ + { + "name": "vae", + "type": "WANVAE", + "link": 249 + }, + { + "name": "input_frames", + "shape": 7, + "type": "IMAGE", + "link": 228 + }, + { + "name": "ref_images", + "shape": 7, + "type": "IMAGE", + "link": 227 + }, + { + "name": "input_masks", + "shape": 7, + "type": "MASK", + "link": 211 + }, + { + "name": "num_frames", + "type": "INT", + "widget": { + "name": "num_frames" + }, + "link": 193 + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 224 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 225 + }, + { + "name": "prev_vace_embeds", + "shape": 7, + "type": "WANVIDIMAGE_EMBEDS", + "link": null + } + ], + "outputs": [ + { + "name": "vace_embeds", + "type": "WANVIDIMAGE_EMBEDS", + "links": [ + 92 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "3869b0482b615b6a8fd6f346467c5ef6627eed72", + "Node name for S&R": "WanVideoVACEEncode" + }, + "widgets_values": [ + 480, + 832, + 29, + 1.0000000000000002, + 0, + 1, + false + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 169, + "type": "LoadImage", + "pos": [ + -108.76033020019531, + 1929.4429931640625 + ], + "size": [ + 292.45867919921875, + 396.9063415527344 + ], + "flags": {}, + "order": 27, + "mode": 2, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 323, + 336 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "title": "Load Image: Reference", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.27", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "hunhyuanwolf.png", + "image", + "" + ] + }, + { + "id": 168, + "type": "WanVideoTextEncode", + "pos": [ + 1031.2391357421875, + 1199.4432373046875 + ], + "size": [ + 420.30511474609375, + 261.5306701660156 + ], + "flags": {}, + "order": 54, + "mode": 2, + "inputs": [ + { + "name": "t5", + "type": "WANTEXTENCODER", + "link": 299 + }, + { + "name": "model_to_offload", + "shape": 7, + "type": "WANVIDEOMODEL", + "link": 300 + } + ], + "outputs": [ + { + "name": "text_embeds", + "type": "WANVIDEOTEXTEMBEDS", + "slot_index": 0, + "links": [ + 303 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "3869b0482b615b6a8fd6f346467c5ef6627eed72", + "Node name for S&R": "WanVideoTextEncode" + }, + "widgets_values": [ + "robotic cybernetic wolf turning his head", + "bad quality, blurry, messy, chaotic", + true + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 176, + "type": "ImageResizeKJ", + "pos": [ + 228.5489959716797, + 1459.844970703125 + ], + "size": [ + 315, + 266 + ], + "flags": {}, + "order": 55, + "mode": 2, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 313 + }, + { + "name": "get_image_size", + "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" + }, + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 314, + 332 + ] + }, + { + "name": "width", + "type": "INT", + "links": null + }, + { + "name": "height", + "type": "INT", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "0addfc6101f7a834c7fb6e0a1b26529360ab5350", + "Node name for S&R": "ImageResizeKJ" + }, + "widgets_values": [ + 512, + 512, + "lanczos", + false, + 2, + 0, + 0, + "disabled" + ] + }, + { + "id": 165, + "type": "VHS_VideoCombine", + "pos": [ + 2791.23974609375, + 1499.4432373046875 + ], + "size": [ + 605.903076171875, + 334 + ], + "flags": {}, + "order": 104, + "mode": 2, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 296 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "0a75c7958fe320efcb052f1d9f8451fd20c730a8", + "Node name for S&R": "VHS_VideoCombine" + }, + "widgets_values": { + "frame_rate": 16, + "loop_count": 0, + "filename_prefix": "WanVideoWrapper_VACE_startendframe", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": false, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "WanVideoWrapper_VACE_startendframe_00007.mp4", + "subfolder": "", + "type": "temp", + "format": "video/h264-mp4", + "frame_rate": 16, + "workflow": "WanVideoWrapper_VACE_startendframe_00007.png", + "fullpath": "N:\\AI\\ComfyUI\\temp\\WanVideoWrapper_VACE_startendframe_00007.mp4" + } + } + } + }, + { + "id": 121, + "type": "SetNode", + "pos": [ + -596.304443359375, + -758.7190551757812 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 62, + "mode": 0, + "inputs": [ + { + "name": "WANVIDEOMODEL", + "type": "WANVIDEOMODEL", + "link": 246 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_WanModel", + "properties": { + "previousName": "WanModel" + }, + "widgets_values": [ + "WanModel" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 39, + "type": "WanVideoBlockSwap", + "pos": [ + -1568.0289306640625, + -679.8494262695312 + ], + "size": [ + 315, + 154 + ], + "flags": {}, + "order": 28, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "block_swap_args", + "type": "BLOCKSWAPARGS", + "slot_index": 0, + "links": [] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "3869b0482b615b6a8fd6f346467c5ef6627eed72", + "Node name for S&R": "WanVideoBlockSwap" + }, + "widgets_values": [ + 0, + false, + false, + true, + 15 + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 147, + "type": "WanVideoTeaCache", + "pos": [ + 1611.2392578125, + 1079.4429931640625 + ], + "size": [ + 315, + 178 + ], + "flags": {}, + "order": 29, + "mode": 2, + "inputs": [], + "outputs": [ + { + "name": "teacache_args", + "type": "TEACACHEARGS", + "links": [ + 334 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "3869b0482b615b6a8fd6f346467c5ef6627eed72", + "Node name for S&R": "WanVideoTeaCache" + }, + "widgets_values": [ + 0.10000000000000002, + 0, + -1, + "offload_device", + "true", + "e" + ] + }, + { + "id": 52, + "type": "WanVideoTeaCache", + "pos": [ + 1607.3994140625, + -1030.173583984375 + ], + "size": [ + 315, + 178 + ], + "flags": {}, + "order": 30, + "mode": 2, + "inputs": [], + "outputs": [ + { + "name": "teacache_args", + "type": "TEACACHEARGS", + "links": [ + 335 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "3869b0482b615b6a8fd6f346467c5ef6627eed72", + "Node name for S&R": "WanVideoTeaCache" + }, + "widgets_values": [ + 0.10000000000000002, + 0, + -1, + "offload_device", + "true", + "e" + ] + }, + { + "id": 161, + "type": "ImageResizeKJ", + "pos": [ + 288.76275634765625, + 1815.1871337890625 + ], + "size": [ + 315, + 266 + ], + "flags": { + "collapsed": false + }, + "order": 68, + "mode": 2, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 337 + }, + { + "name": "get_image_size", + "shape": 7, + "type": "IMAGE", + "link": 332 + }, + { + "name": "width_input", + "shape": 7, + "type": "INT", + "widget": { + "name": "width_input" + }, + "link": null + }, + { + "name": "height_input", + "shape": 7, + "type": "INT", + "widget": { + "name": "height_input" + }, + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 331 + ] + }, + { + "name": "width", + "type": "INT", + "links": [] + }, + { + "name": "height", + "type": "INT", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "0addfc6101f7a834c7fb6e0a1b26529360ab5350", + "Node name for S&R": "ImageResizeKJ" + }, + "widgets_values": [ + 640, + 640, + "lanczos", + false, + 2, + 0, + 0, + "center" + ] + }, + { + "id": 184, + "type": "ImagePadKJ", + "pos": [ + 289.6068115234375, + 2133.591552734375 + ], + "size": [ + 315, + 270 + ], + "flags": { + "collapsed": false + }, + "order": 58, + "mode": 2, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 336 + }, + { + "name": "mask", + "shape": 7, + "type": "MASK", + "link": null + }, + { + "name": "target_width", + "shape": 7, + "type": "INT", + "widget": { + "name": "target_width" + }, + "link": null + }, + { + "name": "target_height", + "shape": 7, + "type": "INT", + "widget": { + "name": "target_height" + }, + "link": null + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": [ + 337 + ] + }, + { + "name": "masks", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "6c997afd5f2d1d31d8d4c30d0526e04b982139f4", + "Node name for S&R": "ImagePadKJ" + }, + "widgets_values": [ + 0, + 0, + 0, + 0, + 256, + "color", + "255,255,255", + 512, + 512 + ] + }, + { + "id": 185, + "type": "GetNode", + "pos": [ + 5371.6435546875, + -764.2315063476562 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 31, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "WANVAE", + "type": "WANVAE", + "links": [ + 361 + ] + } + ], + "title": "Get_WanVAE", + "properties": {}, + "widgets_values": [ + "WanVAE" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 186, + "type": "GetNode", + "pos": [ + 4791.64306640625, + -1014.2316284179688 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 32, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "WANTEXTENCODER", + "type": "WANTEXTENCODER", + "links": [ + 367 + ] + } + ], + "title": "Get_WanTextEncoder", + "properties": {}, + "widgets_values": [ + "WanTextEncoder" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 189, + "type": "GetNode", + "pos": [ + 4801.64306640625, + -964.2315063476562 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 33, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "WANVIDEOMODEL", + "type": "WANVIDEOMODEL", + "links": [ + 368 + ] + } + ], + "title": "Get_WanModel", + "properties": {}, + "widgets_values": [ + "WanModel" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 190, + "type": "GetNode", + "pos": [ + 5601.6435546875, + -794.2315063476562 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 34, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "WANVIDEOMODEL", + "type": "WANVIDEOMODEL", + "links": [ + 347 + ] + } + ], + "title": "Get_WanModel", + "properties": {}, + "widgets_values": [ + "WanModel" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 191, + "type": "EmptyImage", + "pos": [ + 6611.64404296875, + -884.2315063476562 + ], + "size": [ + 315, + 130 + ], + "flags": { + "collapsed": true + }, + "order": 96, + "mode": 0, + "inputs": [ + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 338 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 340 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.26", + "Node name for S&R": "EmptyImage" + }, + "widgets_values": [ + 8, + 512, + 1, + 0 + ] + }, + { + "id": 192, + "type": "ImageConcatMulti", + "pos": [ + 6601.64404296875, + -844.2315063476562 + ], + "size": [ + 315, + 170 + ], + "flags": {}, + "order": 99, + "mode": 0, + "inputs": [ + { + "name": "image_1", + "type": "IMAGE", + "link": 339 + }, + { + "name": "image_2", + "type": "IMAGE", + "link": 340 + }, + { + "name": "image_3", + "type": "IMAGE", + "link": 386 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": [ + 370 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "52c2e31a903fec2dd654fb614ea82ba2757d5028" + }, + "widgets_values": [ + 3, + "left", + true, + null + ] + }, + { + "id": 193, + "type": "GetImageSizeAndCount", + "pos": [ + 6181.64404296875, + -354.23199462890625 + ], + "size": [ + 277.20001220703125, + 86 + ], + "flags": {}, + "order": 93, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 342 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 339 + ] + }, + { + "label": "768 width", + "name": "width", + "type": "INT", + "links": null + }, + { + "label": "768 height", + "name": "height", + "type": "INT", + "links": [ + 338 + ] + }, + { + "label": "53 count", + "name": "count", + "type": "INT", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "52c2e31a903fec2dd654fb614ea82ba2757d5028", + "Node name for S&R": "GetImageSizeAndCount" + }, + "widgets_values": [] + }, + { + "id": 195, + "type": "GetNode", + "pos": [ + 5941.64404296875, + -864.2315063476562 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 35, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "WANVAE", + "type": "WANVAE", + "links": [ + 345 + ] + } + ], + "title": "Get_WanVAE", + "properties": {}, + "widgets_values": [ + "WanVAE" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 196, + "type": "WanVideoDecode", + "pos": [ + 6181.64404296875, + -624.2315673828125 + ], + "size": [ + 315, + 198 + ], + "flags": {}, + "order": 90, + "mode": 0, + "inputs": [ + { + "name": "vae", + "type": "WANVAE", + "link": 345 + }, + { + "name": "samples", + "type": "LATENT", + "link": 346 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": [ + 342 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50", + "Node name for S&R": "WanVideoDecode" + }, + "widgets_values": [ + false, + 272, + 272, + 144, + 128 + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 211, + "type": "WanVideoTextEncode", + "pos": [ + 4791.64306640625, + -904.2315063476562 + ], + "size": [ + 420.30511474609375, + 261.5306701660156 + ], + "flags": {}, + "order": 59, + "mode": 0, + "inputs": [ + { + "name": "t5", + "type": "WANTEXTENCODER", + "link": 367 + }, + { + "name": "model_to_offload", + "shape": 7, + "type": "WANVIDEOMODEL", + "link": 368 + } + ], + "outputs": [ + { + "name": "text_embeds", + "type": "WANVIDEOTEXTEMBEDS", + "slot_index": 0, + "links": [ + 348 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "3869b0482b615b6a8fd6f346467c5ef6627eed72", + "Node name for S&R": "WanVideoTextEncode" + }, + "widgets_values": [ + "robotic cybernetic wolf turning his head", + "bad quality, blurry, messy, chaotic", + true + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 214, + "type": "WanVideoTeaCache", + "pos": [ + 5371.6435546875, + -1024.2318115234375 + ], + "size": [ + 315, + 178 + ], + "flags": {}, + "order": 36, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "teacache_args", + "type": "TEACACHEARGS", + "links": [ + 350 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "3869b0482b615b6a8fd6f346467c5ef6627eed72", + "Node name for S&R": "WanVideoTeaCache" + }, + "widgets_values": [ + 0.10000000000000002, + 0, + -1, + "offload_device", + "true", + "e" + ] + }, + { + "id": 199, + "type": "VHS_LoadVideo", + "pos": [ + 3668.1787109375, + -820.4182739257812 + ], + "size": [ + 269.2561340332031, + 573.256103515625 + ], + "flags": {}, + "order": 37, + "mode": 0, + "inputs": [ + { + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 369 + ] + }, + { + "name": "frame_count", + "type": "INT", + "links": null + }, + { + "name": "audio", + "type": "AUDIO", + "links": null + }, + { + "name": "video_info", + "type": "VHS_VIDEOINFO", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "0a75c7958fe320efcb052f1d9f8451fd20c730a8", + "Node name for S&R": "VHS_LoadVideo" + }, + "widgets_values": { + "video": "wolf_interpolated.mp4", + "force_rate": 0, + "custom_width": 0, + "custom_height": 0, + "frame_load_cap": 0, + "skip_first_frames": 0, + "select_every_nth": 1, + "format": "AnimateDiff", + "choose video to upload": "image", + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "wolf_interpolated.mp4", + "type": "input", + "format": "video/mp4", + "force_rate": 0, + "custom_width": 0, + "custom_height": 0, + "frame_load_cap": 0, + "skip_first_frames": 0, + "select_every_nth": 1 + } + } + } + }, + { + "id": 212, + "type": "ImageResizeKJ", + "pos": [ + 3985.679931640625, + -821.5078125 + ], + "size": [ + 315, + 266 + ], + "flags": {}, + "order": 60, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 369 + }, + { + "name": "get_image_size", + "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" + }, + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 380 + ] + }, + { + "name": "width", + "type": "INT", + "links": null + }, + { + "name": "height", + "type": "INT", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "0addfc6101f7a834c7fb6e0a1b26529360ab5350", + "Node name for S&R": "ImageResizeKJ" + }, + "widgets_values": [ + 512, + 512, + "lanczos", + false, + 2, + 0, + 0, + "disabled" + ] + }, + { + "id": 221, + "type": "SetNode", + "pos": [ + 4472.44873046875, + -850.466796875 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 76, + "mode": 0, + "inputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "link": 385 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_InputVideo", + "properties": { + "previousName": "InputVideo" + }, + "widgets_values": [ + "InputVideo" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 201, + "type": "GetNode", + "pos": [ + 6199.5791015625, + -854.2909545898438 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 38, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 354 + ] + } + ], + "title": "Get_InputVideo", + "properties": {}, + "widgets_values": [ + "InputVideo" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 188, + "type": "WanVideoExperimentalArgs", + "pos": [ + 5380.8330078125, + -113.60554504394531 + ], + "size": [ + 327.5999755859375, + 130 + ], + "flags": {}, + "order": 39, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "exp_args", + "type": "EXPERIMENTALARGS", + "links": [ + 352 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "2d2a184723dae88388e130659f51c36fcadeaba8", + "Node name for S&R": "WanVideoExperimentalArgs" + }, + "widgets_values": [ + "", + true, + false, + 0 + ] + }, + { + "id": 187, + "type": "WanVideoSLG", + "pos": [ + 5381.6435546875, + -302.43359375 + ], + "size": [ + 315, + 106 + ], + "flags": {}, + "order": 40, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "slg_args", + "type": "SLGARGS", + "links": [ + 351 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "2d2a184723dae88388e130659f51c36fcadeaba8", + "Node name for S&R": "WanVideoSLG" + }, + "widgets_values": [ + "8", + 0.30000000000000004, + 0.7000000000000002 + ] + }, + { + "id": 205, + "type": "GetImageSizeAndCount", + "pos": [ + 4802.4990234375, + -586.6219482421875 + ], + "size": [ + 277.20001220703125, + 86 + ], + "flags": {}, + "order": 74, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 381 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 362 + ] + }, + { + "label": "768 width", + "name": "width", + "type": "INT", + "links": [ + 365 + ] + }, + { + "label": "768 height", + "name": "height", + "type": "INT", + "links": [ + 366 + ] + }, + { + "label": "53 count", + "name": "count", + "type": "INT", + "links": [ + 364 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "2aa4da0f587f68c1c255b0152ed8f5c334ebe4b4", + "Node name for S&R": "GetImageSizeAndCount" + }, + "widgets_values": [] + }, + { + "id": 220, + "type": "PreviewImage", + "pos": [ + 4058.52880859375, + -175.7363739013672 + ], + "size": [ + 382.4266052246094, + 433.2909851074219 + ], + "flags": {}, + "order": 82, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 384 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.27", + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [ + "" + ] + }, + { + "id": 219, + "type": "GetImageRangeFromBatch", + "pos": [ + 4042.67529296875, + -349.1539306640625 + ], + "size": [ + 428.4000244140625, + 102 + ], + "flags": {}, + "order": 75, + "mode": 0, + "inputs": [ + { + "name": "images", + "shape": 7, + "type": "IMAGE", + "link": 383 + }, + { + "name": "masks", + "shape": 7, + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 384 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "d57154c3a808b8a3f232ed293eaa2d000867c884", + "Node name for S&R": "GetImageRangeFromBatch" + }, + "widgets_values": [ + 0, + 1 + ] + }, + { + "id": 223, + "type": "MaskPreview+", + "pos": [ + 4549.5517578125, + -126.2688980102539 + ], + "size": [ + 210, + 246 + ], + "flags": {}, + "order": 83, + "mode": 0, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 388 + } + ], + "outputs": [], + "properties": { + "aux_id": "kijai/ComfyUI_essentials", + "ver": "76e9d1e4399bd025ce8b12c290753d58f9f53e93", + "Node name for S&R": "MaskPreview+" + }, + "widgets_values": [ + "" + ] + }, + { + "id": 222, + "type": "GetImageRangeFromBatch", + "pos": [ + 4525.76806640625, + -342.2976379394531 + ], + "size": [ + 428.4000244140625, + 102 + ], + "flags": {}, + "order": 77, + "mode": 0, + "inputs": [ + { + "name": "images", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "name": "masks", + "shape": 7, + "type": "MASK", + "link": 387 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [] + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 388 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "d57154c3a808b8a3f232ed293eaa2d000867c884", + "Node name for S&R": "GetImageRangeFromBatch" + }, + "widgets_values": [ + 0, + 1 + ] + }, + { + "id": 209, + "type": "WanVideoVACEEncode", + "pos": [ + 5383.2646484375, + -702.5205078125 + ], + "size": [ + 343.59088134765625, + 334 + ], + "flags": {}, + "order": 81, + "mode": 0, + "inputs": [ + { + "name": "vae", + "type": "WANVAE", + "link": 361 + }, + { + "name": "input_frames", + "shape": 7, + "type": "IMAGE", + "link": 362 + }, + { + "name": "ref_images", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "name": "input_masks", + "shape": 7, + "type": "MASK", + "link": 390 + }, + { + "name": "num_frames", + "type": "INT", + "widget": { + "name": "num_frames" + }, + "link": 364 + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 365 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 366 + }, + { + "name": "prev_vace_embeds", + "shape": 7, + "type": "WANVIDIMAGE_EMBEDS", + "link": null + } + ], + "outputs": [ + { + "name": "vace_embeds", + "type": "WANVIDIMAGE_EMBEDS", + "links": [ + 349 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "3869b0482b615b6a8fd6f346467c5ef6627eed72", + "Node name for S&R": "WanVideoVACEEncode" + }, + "widgets_values": [ + 480, + 832, + 29, + 1.0000000000000002, + 0, + 1, + false + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 216, + "type": "ImagePadKJ", + "pos": [ + 4381.97607421875, + -735.1026611328125 + ], + "size": [ + 315, + 270 + ], + "flags": { + "collapsed": false + }, + "order": 69, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 380 + }, + { + "name": "mask", + "shape": 7, + "type": "MASK", + "link": null + }, + { + "name": "target_width", + "shape": 7, + "type": "INT", + "widget": { + "name": "target_width" + }, + "link": null + }, + { + "name": "target_height", + "shape": 7, + "type": "INT", + "widget": { + "name": "target_height" + }, + "link": null + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": [ + 381, + 383, + 385 + ] + }, + { + "name": "masks", + "type": "MASK", + "links": [ + 387, + 390 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "6c997afd5f2d1d31d8d4c30d0526e04b982139f4", + "Node name for S&R": "ImagePadKJ" + }, + "widgets_values": [ + 0, + 0, + 0, + 0, + 128, + "color", + "255,255,255", + 512, + 512 + ] + }, + { + "id": 213, + "type": "VHS_VideoCombine", + "pos": [ + 6551.64404296875, + -604.2315063476562 + ], + "size": [ + 605.903076171875, + 648.3828735351562 + ], + "flags": {}, + "order": 102, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 370 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "0a75c7958fe320efcb052f1d9f8451fd20c730a8", + "Node name for S&R": "VHS_VideoCombine" + }, + "widgets_values": { + "frame_rate": 16, + "loop_count": 0, + "filename_prefix": "WanVideoWrapper_VACE_outpaint", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": false, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "WanVideoWrapper_VACE_startendframe_00001.mp4", + "subfolder": "", + "type": "temp", + "format": "video/h264-mp4", + "frame_rate": 16, + "workflow": "WanVideoWrapper_VACE_startendframe_00001.png", + "fullpath": "N:\\AI\\ComfyUI\\temp\\WanVideoWrapper_VACE_startendframe_00001.mp4" + } + } + } + }, + { + "id": 202, + "type": "AddLabel", + "pos": [ + 6403.5419921875, + -842.1546020507812 + ], + "size": [ + 315, + 274 + ], + "flags": { + "collapsed": true + }, + "order": 61, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 354 + }, + { + "name": "caption", + "shape": 7, + "type": "STRING", + "widget": { + "name": "caption" + }, + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 386 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "52c2e31a903fec2dd654fb614ea82ba2757d5028", + "Node name for S&R": "AddLabel" + }, + "widgets_values": [ + 10, + 2, + 48, + 32, + "white", + "black", + "FreeMono.ttf", + "input", + "up", + "" + ] + }, + { + "id": 197, + "type": "WanVideoSampler", + "pos": [ + 5771.6435546875, + -784.2314453125 + ], + "size": [ + 312.8956298828125, + 804.8956298828125 + ], + "flags": {}, + "order": 87, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "link": 347 + }, + { + "name": "text_embeds", + "type": "WANVIDEOTEXTEMBEDS", + "link": 348 + }, + { + "name": "image_embeds", + "type": "WANVIDIMAGE_EMBEDS", + "link": 349 + }, + { + "name": "samples", + "shape": 7, + "type": "LATENT", + "link": null + }, + { + "name": "feta_args", + "shape": 7, + "type": "FETAARGS", + "link": null + }, + { + "name": "context_options", + "shape": 7, + "type": "WANVIDCONTEXT", + "link": null + }, + { + "name": "teacache_args", + "shape": 7, + "type": "TEACACHEARGS", + "link": 350 + }, + { + "name": "flowedit_args", + "shape": 7, + "type": "FLOWEDITARGS", + "link": null + }, + { + "name": "slg_args", + "shape": 7, + "type": "SLGARGS", + "link": 351 + }, + { + "name": "loop_args", + "shape": 7, + "type": "LOOPARGS", + "link": null + }, + { + "name": "experimental_args", + "shape": 7, + "type": "EXPERIMENTALARGS", + "link": 352 + } + ], + "outputs": [ + { + "name": "samples", + "type": "LATENT", + "links": [ + 346 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "2d2a184723dae88388e130659f51c36fcadeaba8", + "Node name for S&R": "WanVideoSampler" + }, + "widgets_values": [ + 20, + 4.000000000000001, + 8.000000000000002, + 18, + "fixed", + true, + "unipc", + 0, + 1, + false, + "comfy", + "" + ] + }, { "id": 70, "type": "WanVideoSampler", @@ -1671,7 +4808,7 @@ 804.8956298828125 ], "flags": {}, - "order": 66, + "order": 88, "mode": 2, "inputs": [ { @@ -1755,7 +4892,7 @@ "widgets_values": [ 20, 4.000000000000001, - 5, + 8.000000000000002, 18, "fixed", true, @@ -1766,498 +4903,6 @@ "comfy" ] }, - { - "id": 142, - "type": "GetNode", - "pos": [ - 1611.2392578125, - 1339.4432373046875 - ], - "size": [ - 210, - 58 - ], - "flags": { - "collapsed": true - }, - "order": 20, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "WANVAE", - "type": "WANVAE", - "links": [ - 276 - ] - } - ], - "title": "Get_WanVAE", - "properties": {}, - "widgets_values": [ - "WanVAE" - ], - "color": "#322", - "bgcolor": "#533" - }, - { - "id": 143, - "type": "GetNode", - "pos": [ - 1031.2391357421875, - 1089.443115234375 - ], - "size": [ - 210, - 58 - ], - "flags": { - "collapsed": true - }, - "order": 21, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "WANTEXTENCODER", - "type": "WANTEXTENCODER", - "links": [ - 299 - ] - } - ], - "title": "Get_WanTextEncoder", - "properties": {}, - "widgets_values": [ - "WanTextEncoder" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 149, - "type": "WanVideoSLG", - "pos": [ - 1621.2392578125, - 1699.44287109375 - ], - "size": [ - 315, - 106 - ], - "flags": {}, - "order": 22, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "slg_args", - "type": "SLGARGS", - "links": [ - 305 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "2d2a184723dae88388e130659f51c36fcadeaba8", - "Node name for S&R": "WanVideoSLG" - }, - "widgets_values": [ - "8", - 0.30000000000000004, - 0.7000000000000002 - ] - }, - { - "id": 150, - "type": "WanVideoExperimentalArgs", - "pos": [ - 1631.2392578125, - 1859.4429931640625 - ], - "size": [ - 327.5999755859375, - 130 - ], - "flags": {}, - "order": 23, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "exp_args", - "type": "EXPERIMENTALARGS", - "links": [ - 306 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "2d2a184723dae88388e130659f51c36fcadeaba8", - "Node name for S&R": "WanVideoExperimentalArgs" - }, - "widgets_values": [ - "", - true, - false, - 0 - ] - }, - { - "id": 151, - "type": "GetNode", - "pos": [ - 1041.2391357421875, - 1139.4432373046875 - ], - "size": [ - 210, - 58 - ], - "flags": { - "collapsed": true - }, - "order": 24, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "WANVIDEOMODEL", - "type": "WANVIDEOMODEL", - "links": [ - 300 - ] - } - ], - "title": "Get_WanModel", - "properties": {}, - "widgets_values": [ - "WanModel" - ], - "color": "#223", - "bgcolor": "#335" - }, - { - "id": 152, - "type": "GetNode", - "pos": [ - 1841.2392578125, - 1309.4432373046875 - ], - "size": [ - 210, - 58 - ], - "flags": { - "collapsed": true - }, - "order": 25, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "WANVIDEOMODEL", - "type": "WANVIDEOMODEL", - "links": [ - 302 - ] - } - ], - "title": "Get_WanModel", - "properties": {}, - "widgets_values": [ - "WanModel" - ], - "color": "#223", - "bgcolor": "#335" - }, - { - "id": 155, - "type": "EmptyImage", - "pos": [ - 2851.23974609375, - 1219.4432373046875 - ], - "size": [ - 315, - 130 - ], - "flags": { - "collapsed": true - }, - "order": 73, - "mode": 0, - "inputs": [ - { - "name": "height", - "type": "INT", - "widget": { - "name": "height" - }, - "link": 283 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 287 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.26", - "Node name for S&R": "EmptyImage" - }, - "widgets_values": [ - 8, - 512, - 1, - 0 - ] - }, - { - "id": 158, - "type": "ImageConcatMulti", - "pos": [ - 2841.23974609375, - 1259.4432373046875 - ], - "size": [ - 315, - 170 - ], - "flags": {}, - "order": 75, - "mode": 0, - "inputs": [ - { - "name": "image_1", - "type": "IMAGE", - "link": 286 - }, - { - "name": "image_2", - "type": "IMAGE", - "link": 287 - }, - { - "name": "image_3", - "type": "IMAGE", - "link": 288 - } - ], - "outputs": [ - { - "name": "images", - "type": "IMAGE", - "links": [ - 296 - ] - } - ], - "properties": { - "cnr_id": "comfyui-kjnodes", - "ver": "52c2e31a903fec2dd654fb614ea82ba2757d5028" - }, - "widgets_values": [ - 3, - "left", - true, - null - ] - }, - { - "id": 159, - "type": "GetImageSizeAndCount", - "pos": [ - 2421.23974609375, - 1749.44287109375 - ], - "size": [ - 277.20001220703125, - 86 - ], - "flags": {}, - "order": 71, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 289 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "links": [ - 286 - ] - }, - { - "label": "512 width", - "name": "width", - "type": "INT", - "links": null - }, - { - "label": "512 height", - "name": "height", - "type": "INT", - "links": [ - 283 - ] - }, - { - "label": "53 count", - "name": "count", - "type": "INT", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-kjnodes", - "ver": "52c2e31a903fec2dd654fb614ea82ba2757d5028", - "Node name for S&R": "GetImageSizeAndCount" - }, - "widgets_values": [] - }, - { - "id": 160, - "type": "ImageConcatMulti", - "pos": [ - 2411.23974609375, - 1269.4432373046875 - ], - "size": [ - 315, - 150 - ], - "flags": {}, - "order": 54, - "mode": 0, - "inputs": [ - { - "name": "image_1", - "type": "IMAGE", - "link": 290 - }, - { - "name": "image_2", - "type": "IMAGE", - "link": 291 - } - ], - "outputs": [ - { - "name": "images", - "type": "IMAGE", - "links": [ - 288 - ] - } - ], - "properties": { - "cnr_id": "comfyui-kjnodes", - "ver": "52c2e31a903fec2dd654fb614ea82ba2757d5028" - }, - "widgets_values": [ - 2, - "down", - true, - null - ] - }, - { - "id": 166, - "type": "GetNode", - "pos": [ - 2181.23974609375, - 1239.4432373046875 - ], - "size": [ - 210, - 58 - ], - "flags": { - "collapsed": true - }, - "order": 26, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "WANVAE", - "type": "WANVAE", - "links": [ - 297 - ] - } - ], - "title": "Get_WanVAE", - "properties": {}, - "widgets_values": [ - "WanVAE" - ], - "color": "#322", - "bgcolor": "#533" - }, - { - "id": 167, - "type": "WanVideoDecode", - "pos": [ - 2421.23974609375, - 1479.443115234375 - ], - "size": [ - 315, - 198 - ], - "flags": {}, - "order": 69, - "mode": 0, - "inputs": [ - { - "name": "vae", - "type": "WANVAE", - "link": 297 - }, - { - "name": "samples", - "type": "LATENT", - "link": 298 - } - ], - "outputs": [ - { - "name": "images", - "type": "IMAGE", - "links": [ - 289 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50", - "Node name for S&R": "WanVideoDecode" - }, - "widgets_values": [ - false, - 272, - 272, - 144, - 128 - ], - "color": "#322", - "bgcolor": "#533" - }, { "id": 172, "type": "WanVideoSampler", @@ -2270,8 +4915,8 @@ 804.8956298828125 ], "flags": {}, - "order": 67, - "mode": 0, + "order": 89, + "mode": 2, "inputs": [ { "name": "model", @@ -2354,7 +4999,7 @@ "widgets_values": [ 20, 4.000000000000001, - 5, + 8.000000000000002, 18, "fixed", true, @@ -2365,1012 +5010,6 @@ "comfy" ] }, - { - "id": 175, - "type": "DownloadAndLoadDepthAnythingV2Model", - "pos": [ - 227.4590301513672, - 1162.26025390625 - ], - "size": [ - 372.3266296386719, - 61.27016067504883 - ], - "flags": {}, - "order": 27, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "da_v2_model", - "type": "DAMODEL", - "links": [ - 308 - ] - } - ], - "properties": { - "cnr_id": "comfyui-depthanythingv2", - "ver": "003d7b44bafd3a8a4c3693a9ca3ddcd72f4883ab", - "Node name for S&R": "DownloadAndLoadDepthAnythingV2Model" - }, - "widgets_values": [ - "depth_anything_v2_vitl_fp16.safetensors" - ] - }, - { - "id": 173, - "type": "VHS_LoadVideo", - "pos": [ - -84.29633331298828, - 1283.2564697265625 - ], - "size": [ - 247.455078125, - 551.455078125 - ], - "flags": {}, - "order": 28, - "mode": 0, - "inputs": [ - { - "name": "meta_batch", - "shape": 7, - "type": "VHS_BatchManager", - "link": null - }, - { - "name": "vae", - "shape": 7, - "type": "VAE", - "link": null - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 313 - ] - }, - { - "name": "frame_count", - "type": "INT", - "links": null - }, - { - "name": "audio", - "type": "AUDIO", - "links": null - }, - { - "name": "video_info", - "type": "VHS_VIDEOINFO", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-videohelpersuite", - "ver": "0a75c7958fe320efcb052f1d9f8451fd20c730a8", - "Node name for S&R": "VHS_LoadVideo" - }, - "widgets_values": { - "video": "wolf_interpolated.mp4", - "force_rate": 0, - "custom_width": 0, - "custom_height": 0, - "frame_load_cap": 0, - "skip_first_frames": 0, - "select_every_nth": 1, - "format": "AnimateDiff", - "choose video to upload": "image", - "videopreview": { - "hidden": false, - "paused": false, - "params": { - "filename": "wolf_interpolated.mp4", - "type": "input", - "format": "video/mp4", - "force_rate": 0, - "custom_width": 0, - "custom_height": 0, - "frame_load_cap": 0, - "skip_first_frames": 0, - "select_every_nth": 1 - } - } - } - }, - { - "id": 177, - "type": "VHS_VideoCombine", - "pos": [ - 662.3901977539062, - 1749.7991943359375 - ], - "size": [ - 386.8023681640625, - 714.8023681640625 - ], - "flags": {}, - "order": 57, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 316 - }, - { - "name": "audio", - "shape": 7, - "type": "AUDIO", - "link": null - }, - { - "name": "meta_batch", - "shape": 7, - "type": "VHS_BatchManager", - "link": null - }, - { - "name": "vae", - "shape": 7, - "type": "VAE", - "link": null - } - ], - "outputs": [ - { - "name": "Filenames", - "type": "VHS_FILENAMES", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-videohelpersuite", - "ver": "0a75c7958fe320efcb052f1d9f8451fd20c730a8", - "Node name for S&R": "VHS_VideoCombine" - }, - "widgets_values": { - "frame_rate": 16, - "loop_count": 0, - "filename_prefix": "WanVideoWrapper_VACE_startendframe", - "format": "video/h264-mp4", - "pix_fmt": "yuv420p", - "crf": 19, - "save_metadata": true, - "trim_to_audio": false, - "pingpong": false, - "save_output": false, - "videopreview": { - "hidden": false, - "paused": false, - "params": { - "filename": "WanVideoWrapper_VACE_startendframe_00002.mp4", - "subfolder": "", - "type": "temp", - "format": "video/h264-mp4", - "frame_rate": 16, - "workflow": "WanVideoWrapper_VACE_startendframe_00002.png", - "fullpath": "N:\\AI\\ComfyUI\\temp\\WanVideoWrapper_VACE_startendframe_00002.mp4" - } - } - } - }, - { - "id": 153, - "type": "GetNode", - "pos": [ - 2308.5478515625, - 1020.5623779296875 - ], - "size": [ - 233.0802459716797, - 60.23356246948242 - ], - "flags": { - "collapsed": false - }, - "order": 29, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 319 - ] - } - ], - "title": "Get_reference_image", - "properties": {}, - "widgets_values": [ - "reference_image" - ], - "color": "#2a363b", - "bgcolor": "#3f5159" - }, - { - "id": 156, - "type": "AddLabel", - "pos": [ - 2601.697509765625, - 1051.6173095703125 - ], - "size": [ - 315, - 274 - ], - "flags": { - "collapsed": true - }, - "order": 46, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 319 - }, - { - "name": "caption", - "shape": 7, - "type": "STRING", - "widget": { - "name": "caption" - }, - "link": null - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 290 - ] - } - ], - "properties": { - "cnr_id": "comfyui-kjnodes", - "ver": "52c2e31a903fec2dd654fb614ea82ba2757d5028", - "Node name for S&R": "AddLabel" - }, - "widgets_values": [ - 10, - 2, - 48, - 32, - "white", - "black", - "FreeMono.ttf", - "reference image", - "up", - "" - ] - }, - { - "id": 174, - "type": "DepthAnything_V2", - "pos": [ - 591.5367431640625, - 1422.782958984375 - ], - "size": [ - 214.20001220703125, - 46 - ], - "flags": {}, - "order": 53, - "mode": 0, - "inputs": [ - { - "name": "da_model", - "type": "DAMODEL", - "link": 308 - }, - { - "name": "images", - "type": "IMAGE", - "link": 314 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "links": [ - 316, - 320 - ] - } - ], - "properties": { - "cnr_id": "comfyui-depthanythingv2", - "ver": "003d7b44bafd3a8a4c3693a9ca3ddcd72f4883ab", - "Node name for S&R": "DepthAnything_V2" - }, - "widgets_values": [] - }, - { - "id": 180, - "type": "SetNode", - "pos": [ - 642.4301147460938, - 1558.4716796875 - ], - "size": [ - 210, - 60 - ], - "flags": { - "collapsed": true - }, - "order": 58, - "mode": 0, - "inputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "link": 320 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 321 - ] - } - ], - "title": "Set_control_video", - "properties": { - "previousName": "control_video" - }, - "widgets_values": [ - "control_video" - ], - "color": "#2a363b", - "bgcolor": "#3f5159" - }, - { - "id": 145, - "type": "GetImageSizeAndCount", - "pos": [ - 1105.15625, - 1530.5657958984375 - ], - "size": [ - 277.20001220703125, - 86 - ], - "flags": {}, - "order": 62, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 321 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "links": [ - 322 - ] - }, - { - "label": "512 width", - "name": "width", - "type": "INT", - "links": [ - 281 - ] - }, - { - "label": "512 height", - "name": "height", - "type": "INT", - "links": [ - 282 - ] - }, - { - "label": "53 count", - "name": "count", - "type": "INT", - "links": [ - 280 - ] - } - ], - "properties": { - "cnr_id": "comfyui-kjnodes", - "ver": "2aa4da0f587f68c1c255b0152ed8f5c334ebe4b4", - "Node name for S&R": "GetImageSizeAndCount" - }, - "widgets_values": [] - }, - { - "id": 154, - "type": "GetNode", - "pos": [ - 2391.23974609375, - 1219.4432373046875 - ], - "size": [ - 210, - 58 - ], - "flags": { - "collapsed": true - }, - "order": 30, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 285 - ] - } - ], - "title": "Get_control_video", - "properties": {}, - "widgets_values": [ - "control_video" - ], - "color": "#2a363b", - "bgcolor": "#3f5159" - }, - { - "id": 157, - "type": "AddLabel", - "pos": [ - 2591.23974609375, - 1219.4432373046875 - ], - "size": [ - 315, - 274 - ], - "flags": { - "collapsed": true - }, - "order": 47, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 285 - }, - { - "name": "caption", - "shape": 7, - "type": "STRING", - "widget": { - "name": "caption" - }, - "link": null - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 291 - ] - } - ], - "properties": { - "cnr_id": "comfyui-kjnodes", - "ver": "52c2e31a903fec2dd654fb614ea82ba2757d5028", - "Node name for S&R": "AddLabel" - }, - "widgets_values": [ - 10, - 2, - 48, - 32, - "white", - "black", - "FreeMono.ttf", - "control_video", - "up", - "" - ] - }, - { - "id": 179, - "type": "SetNode", - "pos": [ - 1181.8577880859375, - 1983.660400390625 - ], - "size": [ - 210, - 60 - ], - "flags": { - "collapsed": true - }, - "order": 59, - "mode": 0, - "inputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "link": 331 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 329 - ] - } - ], - "title": "Set_reference_image", - "properties": { - "previousName": "reference_image" - }, - "widgets_values": [ - "reference_image" - ], - "color": "#2a363b", - "bgcolor": "#3f5159" - }, - { - "id": 148, - "type": "WanVideoVACEEncode", - "pos": [ - 1601.2392578125, - 1389.443115234375 - ], - "size": [ - 343.59088134765625, - 310 - ], - "flags": {}, - "order": 65, - "mode": 0, - "inputs": [ - { - "name": "vae", - "type": "WANVAE", - "link": 276 - }, - { - "name": "input_frames", - "shape": 7, - "type": "IMAGE", - "link": 322 - }, - { - "name": "ref_images", - "shape": 7, - "type": "IMAGE", - "link": 329 - }, - { - "name": "input_masks", - "shape": 7, - "type": "MASK", - "link": null - }, - { - "name": "num_frames", - "type": "INT", - "widget": { - "name": "num_frames" - }, - "link": 280 - }, - { - "name": "width", - "type": "INT", - "widget": { - "name": "width" - }, - "link": 281 - }, - { - "name": "height", - "type": "INT", - "widget": { - "name": "height" - }, - "link": 282 - }, - { - "name": "prev_vace_embeds", - "shape": 7, - "type": "WANVIDIMAGE_EMBEDS", - "link": null - } - ], - "outputs": [ - { - "name": "vace_embeds", - "type": "WANVIDIMAGE_EMBEDS", - "links": [ - 304 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "3869b0482b615b6a8fd6f346467c5ef6627eed72", - "Node name for S&R": "WanVideoVACEEncode" - }, - "widgets_values": [ - 480, - 832, - 29, - 1.0000000000000002, - 0, - 1 - ], - "color": "#322", - "bgcolor": "#533" - }, - { - "id": 56, - "type": "WanVideoVACEEncode", - "pos": [ - 1597.3994140625, - -720.1734008789062 - ], - "size": [ - 343.59088134765625, - 258 - ], - "flags": {}, - "order": 64, - "mode": 2, - "inputs": [ - { - "name": "vae", - "type": "WANVAE", - "link": 249 - }, - { - "name": "input_frames", - "shape": 7, - "type": "IMAGE", - "link": 228 - }, - { - "name": "ref_images", - "shape": 7, - "type": "IMAGE", - "link": 227 - }, - { - "name": "input_masks", - "shape": 7, - "type": "MASK", - "link": 211 - }, - { - "name": "num_frames", - "type": "INT", - "widget": { - "name": "num_frames" - }, - "link": 193 - }, - { - "name": "width", - "type": "INT", - "widget": { - "name": "width" - }, - "link": 224 - }, - { - "name": "height", - "type": "INT", - "widget": { - "name": "height" - }, - "link": 225 - }, - { - "name": "prev_vace_embeds", - "shape": 7, - "type": "WANVIDIMAGE_EMBEDS", - "link": null - } - ], - "outputs": [ - { - "name": "vace_embeds", - "type": "WANVIDIMAGE_EMBEDS", - "links": [ - 92 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "3869b0482b615b6a8fd6f346467c5ef6627eed72", - "Node name for S&R": "WanVideoVACEEncode" - }, - "widgets_values": [ - 480, - 832, - 29, - 1.0000000000000002, - 0, - 1 - ], - "color": "#322", - "bgcolor": "#533" - }, - { - "id": 169, - "type": "LoadImage", - "pos": [ - -108.76033020019531, - 1929.4429931640625 - ], - "size": [ - 292.45867919921875, - 396.9063415527344 - ], - "flags": {}, - "order": 31, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 323, - 336 - ] - }, - { - "name": "MASK", - "type": "MASK", - "links": null - } - ], - "title": "Load Image: Reference", - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.27", - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "hunhyuanwolf.png", - "image", - "" - ] - }, - { - "id": 168, - "type": "WanVideoTextEncode", - "pos": [ - 1031.2391357421875, - 1199.4432373046875 - ], - "size": [ - 420.30511474609375, - 261.5306701660156 - ], - "flags": {}, - "order": 44, - "mode": 0, - "inputs": [ - { - "name": "t5", - "type": "WANTEXTENCODER", - "link": 299 - }, - { - "name": "model_to_offload", - "shape": 7, - "type": "WANVIDEOMODEL", - "link": 300 - } - ], - "outputs": [ - { - "name": "text_embeds", - "type": "WANVIDEOTEXTEMBEDS", - "slot_index": 0, - "links": [ - 303 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "3869b0482b615b6a8fd6f346467c5ef6627eed72", - "Node name for S&R": "WanVideoTextEncode" - }, - "widgets_values": [ - "robotic cybernetic wolf turning his head", - "bad quality, blurry, messy, chaotic", - true - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 176, - "type": "ImageResizeKJ", - "pos": [ - 228.5489959716797, - 1459.844970703125 - ], - "size": [ - 315, - 266 - ], - "flags": {}, - "order": 45, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 313 - }, - { - "name": "get_image_size", - "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" - }, - "link": null - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 314, - 332 - ] - }, - { - "name": "width", - "type": "INT", - "links": null - }, - { - "name": "height", - "type": "INT", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-kjnodes", - "ver": "0addfc6101f7a834c7fb6e0a1b26529360ab5350", - "Node name for S&R": "ImageResizeKJ" - }, - "widgets_values": [ - 512, - 512, - "lanczos", - false, - 2, - 0, - 0, - "disabled" - ] - }, - { - "id": 165, - "type": "VHS_VideoCombine", - "pos": [ - 2791.23974609375, - 1499.4432373046875 - ], - "size": [ - 605.903076171875, - 334 - ], - "flags": {}, - "order": 77, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 296 - }, - { - "name": "audio", - "shape": 7, - "type": "AUDIO", - "link": null - }, - { - "name": "meta_batch", - "shape": 7, - "type": "VHS_BatchManager", - "link": null - }, - { - "name": "vae", - "shape": 7, - "type": "VAE", - "link": null - } - ], - "outputs": [ - { - "name": "Filenames", - "type": "VHS_FILENAMES", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-videohelpersuite", - "ver": "0a75c7958fe320efcb052f1d9f8451fd20c730a8", - "Node name for S&R": "VHS_VideoCombine" - }, - "widgets_values": { - "frame_rate": 16, - "loop_count": 0, - "filename_prefix": "WanVideoWrapper_VACE_startendframe", - "format": "video/h264-mp4", - "pix_fmt": "yuv420p", - "crf": 19, - "save_metadata": true, - "trim_to_audio": false, - "pingpong": false, - "save_output": false, - "videopreview": { - "hidden": false, - "paused": false, - "params": { - "filename": "WanVideoWrapper_VACE_startendframe_00007.mp4", - "subfolder": "", - "type": "temp", - "format": "video/h264-mp4", - "frame_rate": 16, - "workflow": "WanVideoWrapper_VACE_startendframe_00007.png", - "fullpath": "N:\\AI\\ComfyUI\\temp\\WanVideoWrapper_VACE_startendframe_00007.mp4" - } - } - } - }, { "id": 22, "type": "WanVideoModelLoader", @@ -3383,7 +5022,7 @@ 234 ], "flags": {}, - "order": 32, + "order": 41, "mode": 0, "inputs": [ { @@ -3443,58 +5082,119 @@ "bgcolor": "#335" }, { - "id": 121, - "type": "SetNode", + "id": 225, + "type": "MarkdownNote", "pos": [ - -596.304443359375, - -758.7190551757812 + -1579.6597900390625, + -326.5478820800781 ], "size": [ - 210, - 60 + 354.42205810546875, + 104.6712646484375 ], - "flags": { - "collapsed": true - }, - "order": 49, + "flags": {}, + "order": 42, "mode": 0, - "inputs": [ - { - "name": "WANVIDEOMODEL", - "type": "WANVIDEOMODEL", - "link": 246 - } + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "You can also use the VACE as separate module with any normal 1.3B model (not Fun models):\n\n[https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan2_1_VACE_1_3B_preview_bf16.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan2_1_VACE_1_3B_preview_bf16.safetensors)" ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 224, + "type": "WanVideoVACEModelSelect", + "pos": [ + -1590.0838623046875, + -168.70957946777344 + ], + "size": [ + 491.5760803222656, + 112 + ], + "flags": {}, + "order": 43, + "mode": 0, + "inputs": [], "outputs": [ { - "name": "*", - "type": "*", - "links": null + "name": "vace_model", + "type": "VACEPATH", + "links": [] } ], - "title": "Set_WanModel", "properties": { - "previousName": "WanModel" + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "7d238261361608683ae6627aec6994cb69554ca7", + "Node name for S&R": "WanVideoVACEModelSelect" }, "widgets_values": [ - "WanModel" + "WanVideo\\Wan2_1_VACE_1_3B_preview_bf16.safetensors", + "0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28" + ] + }, + { + "id": 44, + "type": "Note", + "pos": [ + -1573.561767578125, + -1121.2218017578125 ], - "color": "#223", - "bgcolor": "#335" + "size": [ + 303.0501403808594, + 88 + ], + "flags": {}, + "order": 44, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "If you have Triton installed, connect this for ~30% speed increase" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 42, + "type": "Note", + "pos": [ + -1569.8389892578125, + -901.3384399414062 + ], + "size": [ + 325.3857421875, + 177.342529296875 + ], + "flags": {}, + "order": 45, + "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\n\nIMPORTANT!\nWhen at least 1 VACE block is swapped, the intermediate outputs are also offloaded reducing VRAM usage considerably" + ], + "color": "#432", + "bgcolor": "#653" }, { "id": 182, "type": "Note", "pos": [ - -599.407958984375, - -672.3711547851562 + -606.8529663085938, + -673.1156005859375 ], "size": [ 344.17034912109375, 107.31356811523438 ], "flags": {}, - "order": 33, + "order": 46, "mode": 0, "inputs": [], "outputs": [], @@ -3504,280 +5204,6 @@ ], "color": "#432", "bgcolor": "#653" - }, - { - "id": 39, - "type": "WanVideoBlockSwap", - "pos": [ - -1568.0289306640625, - -679.8494262695312 - ], - "size": [ - 315, - 154 - ], - "flags": {}, - "order": 34, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "block_swap_args", - "type": "BLOCKSWAPARGS", - "slot_index": 0, - "links": [] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "3869b0482b615b6a8fd6f346467c5ef6627eed72", - "Node name for S&R": "WanVideoBlockSwap" - }, - "widgets_values": [ - 0, - false, - false, - true, - 15 - ], - "color": "#223", - "bgcolor": "#335" - }, - { - "id": 147, - "type": "WanVideoTeaCache", - "pos": [ - 1611.2392578125, - 1079.4429931640625 - ], - "size": [ - 315, - 178 - ], - "flags": {}, - "order": 35, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "teacache_args", - "type": "TEACACHEARGS", - "links": [ - 334 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "3869b0482b615b6a8fd6f346467c5ef6627eed72", - "Node name for S&R": "WanVideoTeaCache" - }, - "widgets_values": [ - 0.10000000000000002, - 0, - -1, - "offload_device", - "true", - "e" - ] - }, - { - "id": 52, - "type": "WanVideoTeaCache", - "pos": [ - 1607.3994140625, - -1030.173583984375 - ], - "size": [ - 315, - 178 - ], - "flags": {}, - "order": 36, - "mode": 2, - "inputs": [], - "outputs": [ - { - "name": "teacache_args", - "type": "TEACACHEARGS", - "links": [ - 335 - ] - } - ], - "properties": { - "cnr_id": "ComfyUI-WanVideoWrapper", - "ver": "3869b0482b615b6a8fd6f346467c5ef6627eed72", - "Node name for S&R": "WanVideoTeaCache" - }, - "widgets_values": [ - 0.10000000000000002, - 0, - -1, - "offload_device", - "true", - "e" - ] - }, - { - "id": 161, - "type": "ImageResizeKJ", - "pos": [ - 288.76275634765625, - 1815.1871337890625 - ], - "size": [ - 315, - 266 - ], - "flags": { - "collapsed": false - }, - "order": 55, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 337 - }, - { - "name": "get_image_size", - "shape": 7, - "type": "IMAGE", - "link": 332 - }, - { - "name": "width_input", - "shape": 7, - "type": "INT", - "widget": { - "name": "width_input" - }, - "link": null - }, - { - "name": "height_input", - "shape": 7, - "type": "INT", - "widget": { - "name": "height_input" - }, - "link": null - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 331 - ] - }, - { - "name": "width", - "type": "INT", - "links": [] - }, - { - "name": "height", - "type": "INT", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-kjnodes", - "ver": "0addfc6101f7a834c7fb6e0a1b26529360ab5350", - "Node name for S&R": "ImageResizeKJ" - }, - "widgets_values": [ - 640, - 640, - "lanczos", - false, - 2, - 0, - 0, - "center" - ] - }, - { - "id": 184, - "type": "ImagePadKJ", - "pos": [ - 289.6068115234375, - 2133.591552734375 - ], - "size": [ - 315, - 270 - ], - "flags": { - "collapsed": false - }, - "order": 48, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 336 - }, - { - "name": "mask", - "shape": 7, - "type": "MASK", - "link": null - }, - { - "name": "target_width", - "shape": 7, - "type": "INT", - "widget": { - "name": "target_width" - }, - "link": null - }, - { - "name": "target_height", - "shape": 7, - "type": "INT", - "widget": { - "name": "target_height" - }, - "link": null - } - ], - "outputs": [ - { - "name": "images", - "type": "IMAGE", - "links": [ - 337 - ] - }, - { - "name": "masks", - "type": "MASK", - "links": null - } - ], - "properties": { - "cnr_id": "comfyui-kjnodes", - "ver": "6c997afd5f2d1d31d8d4c30d0526e04b982139f4", - "Node name for S&R": "ImagePadKJ" - }, - "widgets_values": [ - 0, - 0, - 0, - 0, - 256, - "color", - "255,255,255", - 512, - 512 - ] } ], "links": [ @@ -4380,6 +5806,254 @@ 161, 0, "IMAGE" + ], + [ + 338, + 193, + 2, + 191, + 0, + "INT" + ], + [ + 339, + 193, + 0, + 192, + 0, + "IMAGE" + ], + [ + 340, + 191, + 0, + 192, + 1, + "IMAGE" + ], + [ + 342, + 196, + 0, + 193, + 0, + "IMAGE" + ], + [ + 345, + 195, + 0, + 196, + 0, + "WANVAE" + ], + [ + 346, + 197, + 0, + 196, + 1, + "LATENT" + ], + [ + 347, + 190, + 0, + 197, + 0, + "WANVIDEOMODEL" + ], + [ + 348, + 211, + 0, + 197, + 1, + "WANVIDEOTEXTEMBEDS" + ], + [ + 349, + 209, + 0, + 197, + 2, + "WANVIDIMAGE_EMBEDS" + ], + [ + 350, + 214, + 0, + 197, + 6, + "TEACACHEARGS" + ], + [ + 351, + 187, + 0, + 197, + 8, + "SLGARGS" + ], + [ + 352, + 188, + 0, + 197, + 10, + "EXPERIMENTALARGS" + ], + [ + 354, + 201, + 0, + 202, + 0, + "IMAGE" + ], + [ + 361, + 185, + 0, + 209, + 0, + "WANVAE" + ], + [ + 362, + 205, + 0, + 209, + 1, + "IMAGE" + ], + [ + 364, + 205, + 3, + 209, + 4, + "INT" + ], + [ + 365, + 205, + 1, + 209, + 5, + "INT" + ], + [ + 366, + 205, + 2, + 209, + 6, + "INT" + ], + [ + 367, + 186, + 0, + 211, + 0, + "WANTEXTENCODER" + ], + [ + 368, + 189, + 0, + 211, + 1, + "WANVIDEOMODEL" + ], + [ + 369, + 199, + 0, + 212, + 0, + "IMAGE" + ], + [ + 370, + 192, + 0, + 213, + 0, + "IMAGE" + ], + [ + 380, + 212, + 0, + 216, + 0, + "IMAGE" + ], + [ + 381, + 216, + 0, + 205, + 0, + "IMAGE" + ], + [ + 383, + 216, + 0, + 219, + 0, + "IMAGE" + ], + [ + 384, + 219, + 0, + 220, + 0, + "IMAGE" + ], + [ + 385, + 216, + 0, + 221, + 0, + "*" + ], + [ + 386, + 202, + 0, + 192, + 2, + "IMAGE" + ], + [ + 387, + 216, + 1, + 222, + 1, + "MASK" + ], + [ + 388, + 222, + 1, + 223, + 0, + "MASK" + ], + [ + 390, + 216, + 1, + 209, + 3, + "MASK" ] ], "groups": [ @@ -4421,15 +6095,28 @@ "color": "#3f789e", "font_size": 24, "flags": {} + }, + { + "id": 4, + "title": "Video outpainting", + "bounding": [ + 3606.939453125, + -1200.154052734375, + 3673.4267578125, + 1979.1768798828125 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} } ], "config": {}, "extra": { "ds": { - "scale": 0.6115909044841891, + "scale": 0.6115909044841911, "offset": [ - 344.8220716571491, - -857.93959870274 + -3554.100385938163, + 1086.1047024716086 ] }, "node_versions": {