{ "id": "f7892458-72a2-4d5b-a285-afa7a53cbfb9", "revision": 0, "last_node_id": 95, "last_link_id": 267, "nodes": [ { "id": 17, "type": "CLIPVisionLoader", "pos": [ 790, -1290 ], "size": [ 315, 58 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP_VISION", "type": "CLIP_VISION", "links": [ 19 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.27", "Node name for S&R": "CLIPVisionLoader" }, "widgets_values": [ "clip_vision_h.safetensors" ], "color": "#323", "bgcolor": "#535" }, { "id": 55, "type": "TorchCompileModelWanVideo", "pos": [ 2280, -1890 ], "size": [ 315, 178 ], "flags": {}, "order": 21, "mode": 4, "inputs": [ { "name": "model", "type": "MODEL", "link": 175 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 176 ] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "a5bd3c86c8ed6b83c55c2d0e7a59515b15a0137f", "Node name for S&R": "TorchCompileModelWanVideo" }, "widgets_values": [ "inductor", false, "default", false, 64, true ] }, { "id": 13, "type": "CLIPLoader", "pos": [ 730, -1570 ], "size": [ 370, 100 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 12, 14 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.27", "Node name for S&R": "CLIPLoader" }, "widgets_values": [ "umt5_xxl_fp8_e4m3fn_scaled.safetensors", "wan", "default" ], "color": "#323", "bgcolor": "#535" }, { "id": 14, "type": "CLIPTextEncode", "pos": [ 1270, -1310 ], "size": [ 400, 200 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 14 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 180 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.27", "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走" ], "color": "#322", "bgcolor": "#533" }, { "id": 15, "type": "VAELoader", "pos": [ 790, -1410 ], "size": [ 315, 58 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 120, 181 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.27", "Node name for S&R": "VAELoader" }, "widgets_values": [ "wan_2.1_vae.safetensors" ], "color": "#323", "bgcolor": "#535" }, { "id": 16, "type": "CLIPVisionEncode", "pos": [ 1410, -1060 ], "size": [ 253.60000610351562, 78 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "clip_vision", "type": "CLIP_VISION", "link": 19 }, { "name": "image", "type": "IMAGE", "link": 153 } ], "outputs": [ { "name": "CLIP_VISION_OUTPUT", "type": "CLIP_VISION_OUTPUT", "links": [ 182 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.27", "Node name for S&R": "CLIPVisionEncode" }, "widgets_values": [ "none" ] }, { "id": 45, "type": "ImageNoiseAugmentation", "pos": [ 900, -1130 ], "size": [ 230, 106 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 189 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 153, 183 ] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "a5bd3c86c8ed6b83c55c2d0e7a59515b15a0137f", "Node name for S&R": "ImageNoiseAugmentation" }, "widgets_values": [ 0.015000000000000003, 1234, "fixed" ] }, { "id": 37, "type": "VAEDecode", "pos": [ 2360, -1590 ], "size": [ 140, 46 ], "flags": {}, "order": 23, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 193 }, { "name": "vae", "type": "VAE", "link": 120 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 260 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.27", "Node name for S&R": "VAEDecode" }, "widgets_values": [] }, { "id": 50, "type": "WanVideoEnhanceAVideoKJ", "pos": [ 1560, -1820 ], "size": [ 277.20001220703125, 80 ], "flags": {}, "order": 19, "mode": 4, "inputs": [ { "name": "model", "type": "MODEL", "link": 214 }, { "name": "latent", "type": "LATENT", "link": null } ], "outputs": [ { "name": "model", "type": "MODEL", "links": [ 172 ] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "a5bd3c86c8ed6b83c55c2d0e7a59515b15a0137f", "Node name for S&R": "WanVideoEnhanceAVideoKJ" }, "widgets_values": [ 2.0000000000000004 ] }, { "id": 48, "type": "ModelSamplingSD3", "pos": [ 1000, -1940 ], "size": [ 210, 58 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 265 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 158 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.27", "Node name for S&R": "ModelSamplingSD3" }, "widgets_values": [ 8.000000000000002 ] }, { "id": 47, "type": "SkipLayerGuidanceWanVideo", "pos": [ 1000, -1820 ], "size": [ 235.1999969482422, 106 ], "flags": {}, "order": 16, "mode": 4, "inputs": [ { "name": "model", "type": "MODEL", "link": 158 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 156 ] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "a5bd3c86c8ed6b83c55c2d0e7a59515b15a0137f", "Node name for S&R": "SkipLayerGuidanceWanVideo" }, "widgets_values": [ "9, 10", 0.20000000000000004, 1 ] }, { "id": 46, "type": "ImageNoiseAugmentation", "pos": [ 900, -750 ], "size": [ 230, 106 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 190 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 263 ] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "a5bd3c86c8ed6b83c55c2d0e7a59515b15a0137f", "Node name for S&R": "ImageNoiseAugmentation" }, "widgets_values": [ 0.015000000000000003, 1234, "fixed" ] }, { "id": 38, "type": "VHS_VideoCombine", "pos": [ 2760, -1500 ], "size": [ 430, 758 ], "flags": {}, "order": 25, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 261 }, { "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": "c9dcc3a229437df232d61da4f9697c87c1f22428", "Node name for S&R": "VHS_VideoCombine" }, "widgets_values": { "frame_rate": 16, "loop_count": 0, "filename_prefix": "Wan/", "format": "video/h264-mp4", "pix_fmt": "yuv420p", "crf": 19, "save_metadata": false, "trim_to_audio": false, "pingpong": false, "save_output": true, "videopreview": { "hidden": false, "paused": false, "params": { "filename": "Wan_00050.mp4", "subfolder": "", "type": "output", "format": "video/h264-mp4", "frame_rate": 16, "workflow": "Wan_00050.png", "fullpath": "D:\\ai\\ComfyUI_windows_portable\\ComfyUI\\output\\Wan_00050.mp4" } } } }, { "id": 59, "type": "LoadImage", "pos": [ 490, -1130 ], "size": [ 315, 314 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 189 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.27", "Node name for S&R": "LoadImage" }, "widgets_values": [ "start.jpg", "image", "" ], "color": "#2a363b", "bgcolor": "#3f5159" }, { "id": 60, "type": "LoadImage", "pos": [ 490, -740 ], "size": [ 315, 314 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 190 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.27", "Node name for S&R": "LoadImage" }, "widgets_values": [ "end.jpg", "image", "" ], "color": "#2a363b", "bgcolor": "#3f5159" }, { "id": 94, "type": "WanSkipEndFrameImages_F2", "pos": [ 2510, -1500 ], "size": [ 240, 58 ], "flags": {}, "order": 24, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 260 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 261 ] } ], "properties": { "cnr_id": "ComfyUI-WanStartEndFramesNative", "ver": "7ee27a33536ff32afcb9e52d528a3f73a3622440", "Node name for S&R": "WanSkipEndFrameImages_F2" }, "widgets_values": [ 4 ] }, { "id": 28, "type": "PathchSageAttentionKJ", "pos": [ 1270, -1820 ], "size": [ 210, 58 ], "flags": {}, "order": 17, "mode": 4, "inputs": [ { "name": "model", "type": "MODEL", "link": 156 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 213 ] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "a5bd3c86c8ed6b83c55c2d0e7a59515b15a0137f", "Node name for S&R": "PathchSageAttentionKJ" }, "widgets_values": [ "auto" ] }, { "id": 84, "type": "PatchModelPatcherOrder", "pos": [ 1270, -1960 ], "size": [ 270, 82 ], "flags": { "collapsed": false }, "order": 18, "mode": 4, "inputs": [ { "name": "model", "type": "MODEL", "link": 213 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 214 ] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "52c2e31a903fec2dd654fb614ea82ba2757d5028", "Node name for S&R": "PatchModelPatcherOrder" }, "widgets_values": [ "weight_patch_first", "disabled" ] }, { "id": 12, "type": "CLIPTextEncode", "pos": [ 1270, -1560 ], "size": [ 400, 200 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 12 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 179 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.27", "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "p5lls g4un pulls starts shooting with a gun, after that puts down the gun." ], "color": "#232", "bgcolor": "#353" }, { "id": 53, "type": "KSampler", "pos": [ 2180, -1500 ], "size": [ 315, 571 ], "flags": {}, "order": 22, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 176 }, { "name": "positive", "type": "CONDITIONING", "link": 245 }, { "name": "negative", "type": "CONDITIONING", "link": 246 }, { "name": "latent_image", "type": "LATENT", "link": 247 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 193 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.27", "Node name for S&R": "KSampler" }, "widgets_values": [ 331190248410967, "randomize", 20, 4, "euler", "simple", 1, "" ] }, { "id": 56, "type": "WanImageToVideo_F2", "pos": [ 1770, -1480 ], "size": [ 342.5999755859375, 206 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "positive", "type": "CONDITIONING", "link": 179 }, { "name": "negative", "type": "CONDITIONING", "link": 180 }, { "name": "vae", "type": "VAE", "link": 181 }, { "name": "start_image", "type": "IMAGE", "link": 183 }, { "name": "end_image", "shape": 7, "type": "IMAGE", "link": 263 }, { "name": "clip_vision_output", "shape": 7, "type": "CLIP_VISION_OUTPUT", "link": 182 } ], "outputs": [ { "name": "positive", "type": "CONDITIONING", "links": [ 245 ] }, { "name": "negative", "type": "CONDITIONING", "links": [ 246 ] }, { "name": "latent", "type": "LATENT", "links": [ 247 ] } ], "properties": { "cnr_id": "ComfyUI-WanStartEndFramesNative", "ver": "0f9718ac2b239d8fd7e1be583fc7c78383351cad", "Node name for S&R": "WanImageToVideo_F2" }, "widgets_values": [ 480, 480, 49 ] }, { "id": 95, "type": "LoraLoaderModelOnly", "pos": [ 590, -1850 ], "size": [ 315, 82 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 267 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 265 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.27", "Node name for S&R": "LoraLoaderModelOnly" }, "widgets_values": [ "gun_epoch20.safetensors", 1 ], "color": "#323", "bgcolor": "#535" }, { "id": 86, "type": "Note", "pos": [ -40, -1690 ], "size": [ 710, 320 ], "flags": {}, "order": 5, "mode": 0, "inputs": [], "outputs": [], "title": "MODEL DOWNLOAD URL", "properties": {}, "widgets_values": [ "MODEL (select one):\nhttps://huggingface.co/city96/Wan2.1-I2V-14B-480P-gguf/tree/main\nhttps://huggingface.co/city96/Wan2.1-I2V-14B-720P-gguf/tree/main\nhttps://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/tree/main/split_files/diffusion_models\n\nFUN MODEL (lora not supported, optional)\nhttps://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Wan2.1-Fun-InP-14B_fp8_e4m3fn.safetensors\n\n\nCLIP (select one):\nhttps://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp16.safetensors\nhttps://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors\n\n\nCLIP VISION:\nhttps://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/clip_vision/clip_vision_h.safetensors\n\n\nVAE:\nhttps://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors\n\n\nLORA (example):\nhttps://civitai.com/models/1344352/gun-shooting-wan21-i2v-lora" ], "color": "#432", "bgcolor": "#653", "shape": 2 }, { "id": 19, "type": "UnetLoaderGGUF", "pos": [ 140, -1850 ], "size": [ 360, 58 ], "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 267 ] } ], "properties": { "cnr_id": "ComfyUI-GGUF", "ver": "bc5223b0e37e053dbec2ea5e5f52c2fd4b8f712a", "Node name for S&R": "UnetLoaderGGUF" }, "widgets_values": [ "wan2.1-i2v-14b-480p-Q8_0.gguf" ], "color": "#323", "bgcolor": "#535" }, { "id": 58, "type": "UNETLoader", "pos": [ 120, -1980 ], "size": [ 380, 82 ], "flags": {}, "order": 7, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [] } ], "title": "Load Fun InP Model (LoRA not supported)", "properties": { "cnr_id": "comfy-core", "ver": "0.3.27", "Node name for S&R": "UNETLoader" }, "widgets_values": [ "Wan2.1-Fun-InP-14B_fp8_e4m3fn.safetensors", "fp8_e4m3fn_fast" ], "color": "#323", "bgcolor": "#535" }, { "id": 54, "type": "WanVideoTeaCacheKJ", "pos": [ 1900, -1890 ], "size": [ 340.20001220703125, 154 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 172 } ], "outputs": [ { "name": "model", "type": "MODEL", "links": [ 175 ] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "a5bd3c86c8ed6b83c55c2d0e7a59515b15a0137f", "Node name for S&R": "WanVideoTeaCacheKJ" }, "widgets_values": [ 0.23000000000000007, 0.1, 1, "offload_device", "i2v_480" ] } ], "links": [ [ 12, 13, 0, 12, 0, "CLIP" ], [ 14, 13, 0, 14, 0, "CLIP" ], [ 19, 17, 0, 16, 0, "CLIP_VISION" ], [ 120, 15, 0, 37, 1, "VAE" ], [ 153, 45, 0, 16, 1, "IMAGE" ], [ 156, 47, 0, 28, 0, "MODEL" ], [ 158, 48, 0, 47, 0, "MODEL" ], [ 172, 50, 0, 54, 0, "MODEL" ], [ 175, 54, 0, 55, 0, "MODEL" ], [ 176, 55, 0, 53, 0, "MODEL" ], [ 179, 12, 0, 56, 0, "CONDITIONING" ], [ 180, 14, 0, 56, 1, "CONDITIONING" ], [ 181, 15, 0, 56, 2, "VAE" ], [ 182, 16, 0, 56, 5, "CLIP_VISION_OUTPUT" ], [ 183, 45, 0, 56, 3, "IMAGE" ], [ 189, 59, 0, 45, 0, "IMAGE" ], [ 190, 60, 0, 46, 0, "IMAGE" ], [ 193, 53, 0, 37, 0, "LATENT" ], [ 213, 28, 0, 84, 0, "MODEL" ], [ 214, 84, 0, 50, 0, "MODEL" ], [ 245, 56, 0, 53, 1, "CONDITIONING" ], [ 246, 56, 1, 53, 2, "CONDITIONING" ], [ 247, 56, 2, 53, 3, "LATENT" ], [ 260, 37, 0, 94, 0, "IMAGE" ], [ 261, 94, 0, 38, 0, "IMAGE" ], [ 263, 46, 0, 56, 4, "IMAGE" ], [ 265, 95, 0, 48, 0, "MODEL" ], [ 267, 19, 0, 95, 0, "MODEL" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.802773750476525, "offset": [ 504.7995146005047, 2062.40751879963 ] }, "VHS_latentpreview": true, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 }