diff --git a/examples/example_start_end_frames.json b/examples/example_start_end_frames.json index 2a6ae3e..377ef4d 100644 --- a/examples/example_start_end_frames.json +++ b/examples/example_start_end_frames.json @@ -1,19 +1,19 @@ { "id": "f7892458-72a2-4d5b-a285-afa7a53cbfb9", "revision": 0, - "last_node_id": 95, - "last_link_id": 267, + "last_node_id": 119, + "last_link_id": 315, "nodes": [ { - "id": 17, - "type": "CLIPVisionLoader", + "id": 58, + "type": "UNETLoader", "pos": [ - 790, - -1290 + 170, + -2010 ], "size": [ - 315, - 58 + 380, + 82 ], "flags": {}, "order": 0, @@ -21,81 +21,72 @@ "inputs": [], "outputs": [ { - "name": "CLIP_VISION", - "type": "CLIP_VISION", - "links": [ - 19 - ] + "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": "CLIPVisionLoader" + "Node name for S&R": "UNETLoader" }, "widgets_values": [ - "clip_vision_h.safetensors" + "Wan2.1-Fun-InP-14B_fp8_e4m3fn.safetensors", + "fp8_e4m3fn_fast" ], "color": "#323", "bgcolor": "#535" }, { - "id": 55, - "type": "TorchCompileModelWanVideo", + "id": 19, + "type": "UnetLoaderGGUF", "pos": [ - 2280, - -1890 + 170, + -1880 ], "size": [ - 315, - 178 + 380, + 60 ], "flags": {}, - "order": 21, - "mode": 4, - "inputs": [ - { - "name": "model", - "type": "MODEL", - "link": 175 - } - ], + "order": 1, + "mode": 0, + "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ - 176 + 267 ] } ], "properties": { - "cnr_id": "comfyui-kjnodes", - "ver": "a5bd3c86c8ed6b83c55c2d0e7a59515b15a0137f", - "Node name for S&R": "TorchCompileModelWanVideo" + "cnr_id": "ComfyUI-GGUF", + "ver": "bc5223b0e37e053dbec2ea5e5f52c2fd4b8f712a", + "Node name for S&R": "UnetLoaderGGUF" }, "widgets_values": [ - "inductor", - false, - "default", - false, - 64, - true - ] + "wan2.1-i2v-14b-480p-Q8_0.gguf" + ], + "color": "#323", + "bgcolor": "#535" }, { "id": 13, "type": "CLIPLoader", "pos": [ - 730, - -1570 + 170, + -1770 ], "size": [ - 370, + 380, 100 ], "flags": {}, - "order": 1, + "order": 2, "mode": 0, "inputs": [], "outputs": [ @@ -122,59 +113,53 @@ "bgcolor": "#535" }, { - "id": 14, - "type": "CLIPTextEncode", + "id": 17, + "type": "CLIPVisionLoader", "pos": [ - 1270, - -1310 + 170, + -1620 ], "size": [ - 400, - 200 + 380, + 60 ], "flags": {}, - "order": 9, + "order": 3, "mode": 0, - "inputs": [ - { - "name": "clip", - "type": "CLIP", - "link": 14 - } - ], + "inputs": [], "outputs": [ { - "name": "CONDITIONING", - "type": "CONDITIONING", + "name": "CLIP_VISION", + "type": "CLIP_VISION", "links": [ - 180 + 19 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.27", - "Node name for S&R": "CLIPTextEncode" + "Node name for S&R": "CLIPVisionLoader" }, "widgets_values": [ - "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走" + "clip_vision_h.safetensors" ], - "color": "#322", - "bgcolor": "#533" + "color": "#323", + "bgcolor": "#535" }, { "id": 15, "type": "VAELoader", "pos": [ - 790, - -1410 + 170, + -1510 ], "size": [ - 315, - 58 + 380, + 60 ], "flags": {}, - "order": 2, + "order": 4, "mode": 0, "inputs": [], "outputs": [ @@ -199,147 +184,19 @@ "bgcolor": "#535" }, { - "id": 16, - "type": "CLIPVisionEncode", + "id": 50, + "type": "WanVideoEnhanceAVideoKJ", "pos": [ - 1410, - -1060 + 1230, + -1890 ], "size": [ - 253.60000610351562, - 78 - ], - "flags": {}, - "order": 14, - "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": 11, - "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 + 280, + 80 ], "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", @@ -349,7 +206,7 @@ { "name": "latent", "type": "LATENT", - "link": null + "link": 271 } ], "outputs": [ @@ -370,19 +227,151 @@ 2.0000000000000004 ] }, + { + "id": 54, + "type": "WanVideoTeaCacheKJ", + "pos": [ + 1230, + -1770 + ], + "size": [ + 280, + 154 + ], + "flags": {}, + "order": 24, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 172 + }, + { + "name": "coefficients", + "type": "COMBO", + "widget": { + "name": "coefficients" + }, + "link": 270 + } + ], + "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" + ] + }, + { + "id": 84, + "type": "PatchModelPatcherOrder", + "pos": [ + 1230, + -2010 + ], + "size": [ + 280, + 82 + ], + "flags": { + "collapsed": false + }, + "order": 22, + "mode": 0, + "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": 48, + "type": "ModelSamplingSD3", + "pos": [ + 970, + -2010 + ], + "size": [ + 240, + 60 + ], + "flags": {}, + "order": 17, + "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 + 970, + -1900 ], "size": [ - 235.1999969482422, - 106 + 240, + 110 ], "flags": {}, - "order": 15, + "order": 19, "mode": 4, "inputs": [ { @@ -411,19 +400,62 @@ 1 ] }, + { + "id": 28, + "type": "PathchSageAttentionKJ", + "pos": [ + 970, + -1740 + ], + "size": [ + 240, + 60 + ], + "flags": { + "collapsed": false + }, + "order": 21, + "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": 46, "type": "ImageNoiseAugmentation", "pos": [ - 900, - -750 + 820, + -660 ], "size": [ 230, 106 ], - "flags": {}, - "order": 12, + "flags": { + "collapsed": true + }, + "order": 16, "mode": 0, "inputs": [ { @@ -452,459 +484,19 @@ "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_00052.mp4", - "subfolder": "", - "type": "output", - "format": "video/h264-mp4", - "frame_rate": 16, - "workflow": "Wan_00052.png", - "fullpath": "D:\\ai\\ComfyUI_windows_portable\\ComfyUI\\output\\Wan_00052.mp4" - } - } - } - }, - { - "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": [ - 201369609677778, - "randomize", - 20, - 4, - "euler", - "simple", - 1, - "" - ] - }, - { - "id": 95, - "type": "LoraLoaderModelOnly", - "pos": [ - 590, - -1850 - ], - "size": [ - 315, - 82 - ], - "flags": {}, - "order": 10, - "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": 3, - "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": 4, - "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": 5, - "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" - ] - }, { "id": 59, "type": "LoadImage", "pos": [ - 490, - -1130 + 170, + -1270 ], "size": [ - 315, - 314 + 320, + 326 ], "flags": {}, - "order": 6, + "order": 5, "mode": 0, "inputs": [], "outputs": [ @@ -938,15 +530,15 @@ "id": 60, "type": "LoadImage", "pos": [ - 490, - -740 + 170, + -850 ], "size": [ - 315, - 314 + 320, + 326 ], "flags": {}, - "order": 7, + "order": 6, "mode": 0, "inputs": [], "outputs": [ @@ -977,63 +569,26 @@ "bgcolor": "#3f5159" }, { - "id": 48, - "type": "ModelSamplingSD3", + "id": 45, + "type": "ImageNoiseAugmentation", "pos": [ - 1000, - -1940 + 820, + -710 ], "size": [ - 210, - 58 + 230, + 106 ], - "flags": {}, - "order": 13, - "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" + "flags": { + "collapsed": true }, - "widgets_values": [ - 8.000000000000002 - ] - }, - { - "id": 94, - "type": "WanSkipEndFrameImages_F2", - "pos": [ - 2510, - -1500 - ], - "size": [ - 240, - 58 - ], - "flags": {}, - "order": 24, + "order": 15, "mode": 0, "inputs": [ { - "name": "images", + "name": "image", "type": "IMAGE", - "link": 260 + "link": 189 } ], "outputs": [ @@ -1041,32 +596,706 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 261 + 153, + 183 ] } ], "properties": { - "cnr_id": "ComfyUI-WanStartEndFramesNative", - "ver": "7ee27a33536ff32afcb9e52d528a3f73a3622440", - "Node name for S&R": "WanSkipEndFrameImages_F2" + "cnr_id": "comfyui-kjnodes", + "ver": "a5bd3c86c8ed6b83c55c2d0e7a59515b15a0137f", + "Node name for S&R": "ImageNoiseAugmentation" }, "widgets_values": [ + 0.015000000000000003, + 1234, + "fixed" + ] + }, + { + "id": 86, + "type": "Note", + "pos": [ + -580, + -2000 + ], + "size": [ + 710, + 320 + ], + "flags": {}, + "order": 7, + "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 (optional):\nhttps://civitai.com/models/1344352/gun-shooting-wan21-i2v-lora" + ], + "color": "#432", + "bgcolor": "#653", + "shape": 2 + }, + { + "id": 37, + "type": "VAEDecode", + "pos": [ + 2140, + -1390 + ], + "size": [ + 160, + 46 + ], + "flags": {}, + "order": 32, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 313 + }, + { + "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": 103, + "type": "BasicScheduler", + "pos": [ + 1100, + -750 + ], + "size": [ + 320, + 110 + ], + "flags": {}, + "order": 26, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 278 + } + ], + "outputs": [ + { + "name": "SIGMAS", + "type": "SIGMAS", + "links": [ + 276 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.27", + "Node name for S&R": "BasicScheduler" + }, + "widgets_values": [ + "sgm_uniform", + 20, 1 ] }, + { + "id": 55, + "type": "TorchCompileModelWanVideo", + "pos": [ + 1530, + -1790 + ], + "size": [ + 280, + 180 + ], + "flags": {}, + "order": 25, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 175 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 278, + 298, + 306 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "a5bd3c86c8ed6b83c55c2d0e7a59515b15a0137f", + "Node name for S&R": "TorchCompileModelWanVideo" + }, + "widgets_values": [ + "inductor", + false, + "default", + false, + 64, + true + ] + }, + { + "id": 117, + "type": "RandomNoise", + "pos": [ + 1100, + -460 + ], + "size": [ + 320, + 82 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "NOISE", + "type": "NOISE", + "links": [ + 300, + 303 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.27", + "Node name for S&R": "RandomNoise" + }, + "widgets_values": [ + 1125771923107355, + "randomize" + ] + }, + { + "id": 101, + "type": "SplitSigmas", + "pos": [ + 1100, + -590 + ], + "size": [ + 320, + 80 + ], + "flags": {}, + "order": 29, + "mode": 0, + "inputs": [ + { + "name": "sigmas", + "type": "SIGMAS", + "link": 276 + } + ], + "outputs": [ + { + "name": "high_sigmas", + "type": "SIGMAS", + "links": [ + 314 + ] + }, + { + "name": "low_sigmas", + "type": "SIGMAS", + "links": [ + 309 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.27", + "Node name for S&R": "SplitSigmas" + }, + "widgets_values": [ + 12 + ] + }, + { + "id": 95, + "type": "LoraLoaderModelOnly", + "pos": [ + 580, + -1530 + ], + "size": [ + 330, + 82 + ], + "flags": {}, + "order": 12, + "mode": 4, + "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": 100, + "type": "PrimitiveNode", + "pos": [ + 610, + -1880 + ], + "size": [ + 250, + 106 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [], + "outputs": [ + { + "label": " ", + "name": "COMBO", + "type": "COMBO", + "widget": { + "name": "coefficients" + }, + "links": [ + 270 + ] + } + ], + "title": "Select Coefficients", + "properties": { + "Run widget replace on values": false + }, + "widgets_values": [ + "i2v_480", + "fixed", + "" + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 104, + "type": "KSamplerSelect", + "pos": [ + 1100, + -860 + ], + "size": [ + 320, + 60 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "SAMPLER", + "type": "SAMPLER", + "links": [ + 301 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.27", + "Node name for S&R": "KSamplerSelect" + }, + "widgets_values": [ + "uni_pc" + ] + }, + { + "id": 116, + "type": "CFGGuider", + "pos": [ + 1100, + -1010 + ], + "size": [ + 320, + 98 + ], + "flags": {}, + "order": 27, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 298 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 292 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 293 + } + ], + "outputs": [ + { + "name": "GUIDER", + "type": "GUIDER", + "links": [ + 299 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.27", + "Node name for S&R": "CFGGuider" + }, + "widgets_values": [ + 6 + ] + }, + { + "id": 12, + "type": "CLIPTextEncode", + "pos": [ + 620, + -1270 + ], + "size": [ + 400, + 200 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 12 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 179 + ] + } + ], + "title": "Positive", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.27", + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 14, + "type": "CLIPTextEncode", + "pos": [ + 620, + -1000 + ], + "size": [ + 400, + 200 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 14 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 180 + ] + } + ], + "title": "Negative", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.27", + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 118, + "type": "SamplerCustomAdvanced", + "pos": [ + 1840, + -1270 + ], + "size": [ + 270, + 378 + ], + "flags": {}, + "order": 31, + "mode": 0, + "inputs": [ + { + "name": "noise", + "type": "NOISE", + "link": 303 + }, + { + "name": "guider", + "type": "GUIDER", + "link": 307 + }, + { + "name": "sampler", + "type": "SAMPLER", + "link": 310 + }, + { + "name": "sigmas", + "type": "SIGMAS", + "link": 309 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 315 + } + ], + "outputs": [ + { + "name": "output", + "type": "LATENT", + "links": [ + 313 + ] + }, + { + "name": "denoised_output", + "type": "LATENT", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.27", + "Node name for S&R": "SamplerCustomAdvanced" + }, + "widgets_values": [ + "" + ] + }, + { + "id": 38, + "type": "VHS_VideoCombine", + "pos": [ + 2140, + -1270 + ], + "size": [ + 430, + 758 + ], + "flags": {}, + "order": 34, + "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 + } + ], + "title": "RESULT", + "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_00054.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 16, + "workflow": "Wan_00054.png", + "fullpath": "D:\\ai\\ComfyUI_windows_portable\\ComfyUI\\output\\Wan_00054.mp4" + } + } + } + }, + { + "id": 16, + "type": "CLIPVisionEncode", + "pos": [ + 860, + -610 + ], + "size": [ + 253.60000610351562, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 18, + "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": 56, "type": "WanImageToVideo_F2", "pos": [ - 1770, - -1480 + 1100, + -1270 ], "size": [ - 342.5999755859375, + 320, 206 ], "flags": {}, - "order": 16, + "order": 20, "mode": 0, "inputs": [ { @@ -1107,21 +1336,24 @@ "name": "positive", "type": "CONDITIONING", "links": [ - 245 + 292, + 304 ] }, { "name": "negative", "type": "CONDITIONING", "links": [ - 246 + 293, + 305 ] }, { "name": "latent", "type": "LATENT", "links": [ - 247 + 271, + 302 ] } ], @@ -1131,9 +1363,198 @@ "Node name for S&R": "WanImageToVideo_F2" }, "widgets_values": [ - 480, - 480, - 61 + 512, + 512, + 49 + ] + }, + { + "id": 108, + "type": "SamplerCustomAdvanced", + "pos": [ + 1540, + -1270 + ], + "size": [ + 280, + 388 + ], + "flags": {}, + "order": 30, + "mode": 0, + "inputs": [ + { + "name": "noise", + "type": "NOISE", + "link": 300 + }, + { + "name": "guider", + "type": "GUIDER", + "link": 299 + }, + { + "name": "sampler", + "type": "SAMPLER", + "link": 301 + }, + { + "name": "sigmas", + "type": "SIGMAS", + "link": 314 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 302 + } + ], + "outputs": [ + { + "name": "output", + "type": "LATENT", + "links": [] + }, + { + "name": "denoised_output", + "type": "LATENT", + "links": [ + 315 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.27", + "Node name for S&R": "SamplerCustomAdvanced" + }, + "widgets_values": [ + "" + ] + }, + { + "id": 119, + "type": "CFGGuider", + "pos": [ + 1840, + -1310 + ], + "size": [ + 210, + 98 + ], + "flags": { + "collapsed": true + }, + "order": 28, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 306 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 304 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 305 + } + ], + "outputs": [ + { + "name": "GUIDER", + "type": "GUIDER", + "links": [ + 307 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.27", + "Node name for S&R": "CFGGuider" + }, + "widgets_values": [ + 1 + ] + }, + { + "id": 106, + "type": "KSamplerSelect", + "pos": [ + 1840, + -1350 + ], + "size": [ + 280, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 11, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "SAMPLER", + "type": "SAMPLER", + "links": [ + 310 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.27", + "Node name for S&R": "KSamplerSelect" + }, + "widgets_values": [ + "gradient_estimation" + ] + }, + { + "id": 94, + "type": "WanSkipEndFrameImages_F2", + "pos": [ + 2330, + -1390 + ], + "size": [ + 240, + 58 + ], + "flags": {}, + "order": 33, + "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": [ + 1 ] } ], @@ -1210,14 +1631,6 @@ 0, "MODEL" ], - [ - 176, - 55, - 0, - 53, - 0, - "MODEL" - ], [ 179, 12, @@ -1274,14 +1687,6 @@ 0, "IMAGE" ], - [ - 193, - 53, - 0, - 37, - 0, - "LATENT" - ], [ 213, 28, @@ -1298,30 +1703,6 @@ 0, "MODEL" ], - [ - 245, - 56, - 0, - 53, - 1, - "CONDITIONING" - ], - [ - 246, - 56, - 1, - 53, - 2, - "CONDITIONING" - ], - [ - 247, - 56, - 2, - 53, - 3, - "LATENT" - ], [ 260, 37, @@ -1361,16 +1742,263 @@ 95, 0, "MODEL" + ], + [ + 270, + 100, + 0, + 54, + 1, + "COMBO" + ], + [ + 271, + 56, + 2, + 50, + 1, + "LATENT" + ], + [ + 276, + 103, + 0, + 101, + 0, + "SIGMAS" + ], + [ + 278, + 55, + 0, + 103, + 0, + "MODEL" + ], + [ + 292, + 56, + 0, + 116, + 1, + "CONDITIONING" + ], + [ + 293, + 56, + 1, + 116, + 2, + "CONDITIONING" + ], + [ + 298, + 55, + 0, + 116, + 0, + "MODEL" + ], + [ + 299, + 116, + 0, + 108, + 1, + "GUIDER" + ], + [ + 300, + 117, + 0, + 108, + 0, + "NOISE" + ], + [ + 301, + 104, + 0, + 108, + 2, + "SAMPLER" + ], + [ + 302, + 56, + 2, + 108, + 4, + "LATENT" + ], + [ + 303, + 117, + 0, + 118, + 0, + "NOISE" + ], + [ + 304, + 56, + 0, + 119, + 1, + "CONDITIONING" + ], + [ + 305, + 56, + 1, + 119, + 2, + "CONDITIONING" + ], + [ + 306, + 55, + 0, + 119, + 0, + "MODEL" + ], + [ + 307, + 119, + 0, + 118, + 1, + "GUIDER" + ], + [ + 309, + 101, + 1, + 118, + 3, + "SIGMAS" + ], + [ + 310, + 106, + 0, + 118, + 2, + "SAMPLER" + ], + [ + 313, + 118, + 0, + 37, + 0, + "LATENT" + ], + [ + 314, + 101, + 0, + 108, + 3, + "SIGMAS" + ], + [ + 315, + 108, + 1, + 118, + 4, + "LATENT" ] ], - "groups": [], + "groups": [ + { + "id": 1, + "title": "Start Image", + "bounding": [ + 160, + -1340, + 340, + 400 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 2, + "title": "End Image", + "bounding": [ + 160, + -920, + 340, + 400 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 3, + "title": "MODEL PATCH", + "bounding": [ + 960, + -2080, + 860, + 480 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 4, + "title": "MODELS", + "bounding": [ + 160, + -2080, + 760, + 640 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 5, + "title": "PARAMETER", + "bounding": [ + 1090, + -1340, + 340, + 975.5999755859375 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 6, + "title": "Prompt", + "bounding": [ + 610, + -1340, + 420, + 553.5999755859375 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], "config": {}, "extra": { "ds": { - "scale": 0.9713562380765963, + "scale": 0.8830511255241797, "offset": [ - -888.3853554506056, - 1770.4848731587415 + -849.0180502568, + 1714.2581079798244 ] }, "VHS_latentpreview": true,