{ "id": "44436dc8-b9e0-461b-aea2-13203712292d", "revision": 0, "last_node_id": 49, "last_link_id": 62, "nodes": [ { "id": 36, "type": "Note", "pos": [ 796.0189208984375, -521.5020751953125 ], "size": [ 298.2554016113281, 108.62744140625 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "sdpa should work too, haven't tested flaash\n\nfp8_fast seems to cause huge quality degradation" ], "color": "#432", "bgcolor": "#653" }, { "id": 35, "type": "WanVideoTorchCompileSettings", "pos": [ 124.67726135253906, -627.7935180664062 ], "size": [ 390.5999755859375, 178 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "torch_compile_args", "type": "WANCOMPILEARGS", "slot_index": 0, "links": [] } ], "properties": { "Node name for S&R": "WanVideoTorchCompileSettings" }, "widgets_values": [ "inductor", false, "default", false, 64, true ] }, { "id": 11, "type": "LoadWanVideoT5TextEncoder", "pos": [ 224.15325927734375, -34.481563568115234 ], "size": [ 377.1661376953125, 130 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "wan_t5_model", "type": "WANTEXTENCODER", "slot_index": 0, "links": [ 15 ] } ], "properties": { "Node name for S&R": "LoadWanVideoT5TextEncoder" }, "widgets_values": [ "umt5-xxl-enc-bf16.safetensors", "bf16", "offload_device", "disabled" ] }, { "id": 28, "type": "WanVideoDecode", "pos": [ 1692.973876953125, -404.8614501953125 ], "size": [ 315, 174 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "vae", "type": "WANVAE", "link": 43 }, { "name": "samples", "type": "LATENT", "link": 33 } ], "outputs": [ { "name": "images", "type": "IMAGE", "slot_index": 0, "links": [ 54 ] } ], "properties": { "Node name for S&R": "WanVideoDecode" }, "widgets_values": [ true, 272, 272, 144, 128 ] }, { "id": 45, "type": "ImageConcatMulti", "pos": [ 1817.8916015625, 102.76653289794922 ], "size": [ 210, 150 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "image_1", "type": "IMAGE", "link": 53 }, { "name": "image_2", "type": "IMAGE", "link": 54 } ], "outputs": [ { "name": "images", "type": "IMAGE", "slot_index": 0, "links": [ 55 ] } ], "properties": {}, "widgets_values": [ 2, "right", false, "" ] }, { "id": 43, "type": "VHS_LoadVideo", "pos": [ 304.38446044921875, 285.45703125 ], "size": [ 247.455078125, 551.455078125 ], "flags": {}, "order": 3, "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", "slot_index": 0, "links": [ 51 ] }, { "name": "frame_count", "type": "INT", "slot_index": 1, "links": [ 56 ] }, { "name": "audio", "type": "AUDIO", "links": null }, { "name": "video_info", "type": "VHS_VIDEOINFO", "links": null } ], "properties": { "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": 37, "type": "WanVideoEmptyEmbeds", "pos": [ 753.8429565429688, 611.1437377929688 ], "size": [ 315, 146 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "num_frames", "type": "INT", "widget": { "name": "num_frames" }, "link": 56 }, { "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 57 }, { "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 58 } ], "outputs": [ { "name": "image_embeds", "type": "WANVIDIMAGE_EMBEDS", "links": [ 42 ] } ], "properties": { "Node name for S&R": "WanVideoEmptyEmbeds" }, "widgets_values": [ 512, 512, 53 ] }, { "id": 33, "type": "Note", "pos": [ 197.6475830078125, -179.16000366210938 ], "size": [ 351.70458984375, 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": 38, "type": "WanVideoVAELoader", "pos": [ 1687.4093017578125, -582.2750854492188 ], "size": [ 373.55645751953125, 82 ], "flags": {}, "order": 5, "mode": 0, "inputs": [], "outputs": [ { "name": "vae", "type": "WANVAE", "slot_index": 0, "links": [ 43, 48 ] } ], "properties": { "Node name for S&R": "WanVideoVAELoader" }, "widgets_values": [ "wanvideo\\Wan2_1_VAE_bf16.safetensors", "bf16" ] }, { "id": 30, "type": "VHS_VideoCombine", "pos": [ 2117.870849609375, -567.7182006835938 ], "size": [ 942.6622314453125, 809.3311157226562 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 55 }, { "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": { "Node name for S&R": "VHS_VideoCombine" }, "widgets_values": { "frame_rate": 16, "loop_count": 0, "filename_prefix": "WanVideoWrapperV2V", "format": "video/h264-mp4", "pix_fmt": "yuv420p", "crf": 19, "save_metadata": true, "trim_to_audio": false, "pingpong": false, "save_output": true, "videopreview": { "hidden": false, "paused": false, "params": { "filename": "WanVideoWrapperV2V_00016.mp4", "subfolder": "", "type": "output", "format": "video/h264-mp4", "frame_rate": 16, "workflow": "WanVideoWrapperV2V_00016.png", "fullpath": "N:\\AI\\ComfyUI\\output\\WanVideoWrapperV2V_00016.mp4" } } } }, { "id": 42, "type": "WanVideoEncode", "pos": [ 1298.557861328125, 306.5940246582031 ], "size": [ 315, 242 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "vae", "type": "WANVAE", "link": 48 }, { "name": "image", "type": "IMAGE", "link": 52 }, { "name": "mask", "shape": 7, "type": "MASK", "link": null } ], "outputs": [ { "name": "samples", "type": "LATENT", "slot_index": 0, "links": [ 50 ] } ], "properties": { "Node name for S&R": "WanVideoEncode" }, "widgets_values": [ false, 272, 272, 144, 128, 0, 1 ] }, { "id": 44, "type": "ImageResizeKJ", "pos": [ 744.0538940429688, 288.3457336425781 ], "size": [ 315, 286 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 51 }, { "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", "slot_index": 0, "links": [ 52, 53 ] }, { "name": "width", "type": "INT", "slot_index": 1, "links": [ 57 ] }, { "name": "height", "type": "INT", "slot_index": 2, "links": [ 58 ] } ], "properties": { "Node name for S&R": "ImageResizeKJ" }, "widgets_values": [ 512, 512, "lanczos", false, 16, 0, 0, "disabled" ] }, { "id": 16, "type": "WanVideoTextEncode", "pos": [ 675.8850708007812, -36.032100677490234 ], "size": [ 420.30511474609375, 261.5306701660156 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "t5", "type": "WANTEXTENCODER", "link": 15 }, { "name": "model_to_offload", "shape": 7, "type": "WANVIDEOMODEL", "link": null } ], "outputs": [ { "name": "text_embeds", "type": "WANVIDEOTEXTEMBEDS", "slot_index": 0, "links": [ 30 ] } ], "properties": { "Node name for S&R": "WanVideoTextEncode" }, "widgets_values": [ "high quality video featuring a red panda", "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走", true ] }, { "id": 46, "type": "WanVideoTeaCache", "pos": [ 1295.5970458984375, -682.718017578125 ], "size": [ 315, 154 ], "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [ { "name": "cache_args", "type": "CACHEARGS", "slot_index": 0, "links": [ 62 ] } ], "properties": { "Node name for S&R": "WanVideoTeaCache" }, "widgets_values": [ 0.25, 1, -1, "offload_device", "true" ] }, { "id": 27, "type": "WanVideoSampler", "pos": [ 1310.73583984375, -457.3343200683594 ], "size": [ 315, 699 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "model", "type": "WANVIDEOMODEL", "link": 29 }, { "name": "text_embeds", "type": "WANVIDEOTEXTEMBEDS", "link": 30 }, { "name": "image_embeds", "type": "WANVIDIMAGE_EMBEDS", "link": 42 }, { "name": "samples", "shape": 7, "type": "LATENT", "link": 50 }, { "name": "feta_args", "shape": 7, "type": "FETAARGS", "link": null }, { "name": "context_options", "shape": 7, "type": "WANVIDCONTEXT", "link": null }, { "name": "cache_args", "shape": 7, "type": "CACHEARGS", "link": 62 }, { "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 } ], "outputs": [ { "name": "samples", "type": "LATENT", "slot_index": 0, "links": [ 33 ] } ], "properties": { "Node name for S&R": "WanVideoSampler" }, "widgets_values": [ 15, 6.000000000000001, 5.000000000000001, 1057359483639288, "fixed", true, "dpm++", 0, 0.5000000000000001, "", "comfy" ] }, { "id": 39, "type": "WanVideoBlockSwap", "pos": [ 194.8857879638672, -363.0874938964844 ], "size": [ 315, 130 ], "flags": {}, "order": 7, "mode": 0, "inputs": [], "outputs": [ { "name": "block_swap_args", "type": "BLOCKSWAPARGS", "slot_index": 0, "links": [] } ], "properties": { "Node name for S&R": "WanVideoBlockSwap" }, "widgets_values": [ 20, false, false, true ] }, { "id": 22, "type": "WanVideoModelLoader", "pos": [ 620.3950805664062, -357.8426818847656 ], "size": [ 477.4410095214844, 226.43276977539062 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "compile_args", "shape": 7, "type": "WANCOMPILEARGS", "link": null }, { "name": "block_swap_args", "shape": 7, "type": "BLOCKSWAPARGS", "link": null }, { "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 ] } ], "properties": { "Node name for S&R": "WanVideoModelLoader" }, "widgets_values": [ "WanVideo\\wan2.1_t2v_1.3B_fp16.safetensors", "fp16", "disabled", "offload_device", "sdpa" ] } ], "links": [ [ 15, 11, 0, 16, 0, "WANTEXTENCODER" ], [ 29, 22, 0, 27, 0, "WANVIDEOMODEL" ], [ 30, 16, 0, 27, 1, "WANVIDEOTEXTEMBEDS" ], [ 33, 27, 0, 28, 1, "LATENT" ], [ 42, 37, 0, 27, 2, "WANVIDIMAGE_EMBEDS" ], [ 43, 38, 0, 28, 0, "VAE" ], [ 48, 38, 0, 42, 0, "WANVAE" ], [ 50, 42, 0, 27, 3, "LATENT" ], [ 51, 43, 0, 44, 0, "IMAGE" ], [ 52, 44, 0, 42, 1, "IMAGE" ], [ 53, 44, 0, 45, 0, "IMAGE" ], [ 54, 28, 0, 45, 1, "IMAGE" ], [ 55, 45, 0, 30, 0, "IMAGE" ], [ 56, 43, 1, 37, 0, "INT" ], [ 57, 44, 1, 37, 1, "INT" ], [ 58, 44, 2, 37, 2, "INT" ], [ 62, 46, 0, 27, 6, "TEACACHEARGS" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.6727499949326009, "offset": [ 391.99039310194877, 810.1005303189878 ] }, "node_versions": { "ComfyUI-WanVideoWrapper": "5a2383621a05825d0d0437781afcb8552d9590fd", "ComfyUI-KJNodes": "a5bd3c86c8ed6b83c55c2d0e7a59515b15a0137f", "ComfyUI-VideoHelperSuite": "0a75c7958fe320efcb052f1d9f8451fd20c730a8" }, "VHS_latentpreview": true, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 }