From 8bd173316fa8adee4504f3bf0fb8ff73e21c896c Mon Sep 17 00:00:00 2001 From: Flow-two Date: Fri, 28 Mar 2025 01:00:27 +0900 Subject: [PATCH] Update example_start_end_frames.json --- examples/example_start_end_frames.json | 837 +++++++++++++------------ 1 file changed, 444 insertions(+), 393 deletions(-) diff --git a/examples/example_start_end_frames.json b/examples/example_start_end_frames.json index f4efbe2..1e0219b 100644 --- a/examples/example_start_end_frames.json +++ b/examples/example_start_end_frames.json @@ -1,8 +1,8 @@ { "id": "f7892458-72a2-4d5b-a285-afa7a53cbfb9", "revision": 0, - "last_node_id": 94, - "last_link_id": 263, + "last_node_id": 95, + "last_link_id": 267, "nodes": [ { "id": 17, @@ -51,7 +51,7 @@ 178 ], "flags": {}, - "order": 20, + "order": 21, "mode": 4, "inputs": [ { @@ -210,7 +210,7 @@ 78 ], "flags": {}, - "order": 14, + "order": 13, "mode": 0, "inputs": [ { @@ -254,7 +254,7 @@ 106 ], "flags": {}, - "order": 11, + "order": 10, "mode": 0, "inputs": [ { @@ -284,31 +284,6 @@ "fixed" ] }, - { - "id": 86, - "type": "Note", - "pos": [ - -40, - -1690 - ], - "size": [ - 600, - 320 - ], - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [], - "outputs": [], - "title": "MODEL DOWNLOAD URL", - "properties": {}, - "widgets_values": [ - "MODEL (select one):\nhttps://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan2.1-Fun-InP-14B_fp8_e4m3fn.safetensors\n\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\n\nCLIP (select one):\nhttps://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp16.safetensors?download=true\nhttps://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors?download=true\n\n\nCLIP VISION:\nhttps://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/clip_vision/clip_vision_h.safetensors?download=true\n\n\nVAE:\nhttps://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors?download=true\n\n\nLORA (example):\nhttps://civitai.com/models/1344352/gun-shooting-wan21-i2v-lora" - ], - "color": "#432", - "bgcolor": "#653", - "shape": 2 - }, { "id": 37, "type": "VAEDecode", @@ -321,7 +296,7 @@ 46 ], "flags": {}, - "order": 22, + "order": 23, "mode": 0, "inputs": [ { @@ -351,86 +326,6 @@ }, "widgets_values": [] }, - { - "id": 94, - "type": "WanSkipEndFrameImages_F2", - "pos": [ - 2510, - -1500 - ], - "size": [ - 240, - 58 - ], - "flags": {}, - "order": 23, - "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": 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": [ - "" - ], - "color": "#232", - "bgcolor": "#353" - }, { "id": 50, "type": "WanVideoEnhanceAVideoKJ", @@ -443,7 +338,7 @@ 80 ], "flags": {}, - "order": 18, + "order": 19, "mode": 4, "inputs": [ { @@ -487,13 +382,13 @@ 58 ], "flags": {}, - "order": 10, + "order": 14, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", - "link": 262 + "link": 265 } ], "outputs": [ @@ -526,7 +421,7 @@ 106 ], "flags": {}, - "order": 13, + "order": 16, "mode": 4, "inputs": [ { @@ -555,6 +450,286 @@ 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", @@ -569,7 +744,7 @@ "flags": { "collapsed": false }, - "order": 17, + "order": 18, "mode": 4, "inputs": [ { @@ -598,86 +773,45 @@ ] }, { - "id": 28, - "type": "PathchSageAttentionKJ", + "id": 12, + "type": "CLIPTextEncode", "pos": [ 1270, - -1820 + -1560 ], "size": [ - 210, - 58 + 400, + 200 ], "flags": {}, - "order": 15, + "order": 8, "mode": 0, "inputs": [ { - "name": "model", - "type": "MODEL", - "link": 156 + "name": "clip", + "type": "CLIP", + "link": 12 } ], "outputs": [ { - "name": "MODEL", - "type": "MODEL", + "name": "CONDITIONING", + "type": "CONDITIONING", "links": [ - 213 + 179 ] } ], "properties": { - "cnr_id": "comfyui-kjnodes", - "ver": "a5bd3c86c8ed6b83c55c2d0e7a59515b15a0137f", - "Node name for S&R": "PathchSageAttentionKJ" + "cnr_id": "comfy-core", + "ver": "0.3.27", + "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ - "auto" - ] - }, - { - "id": 54, - "type": "WanVideoTeaCacheKJ", - "pos": [ - 1900, - -1890 + "p5lls g4un pulls starts shooting with a gun, after that puts down the gun." ], - "size": [ - 340.20001220703125, - 154 - ], - "flags": {}, - "order": 19, - "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" - ] + "color": "#232", + "bgcolor": "#353" }, { "id": 53, @@ -688,10 +822,10 @@ ], "size": [ 315, - 669.3333129882812 + 571 ], "flags": {}, - "order": 21, + "order": 22, "mode": 0, "inputs": [ { @@ -730,85 +864,16 @@ "Node name for S&R": "KSampler" }, "widgets_values": [ - 1093220006749782, + 331190248410967, "randomize", 20, 4, - "euler_ancestral", + "euler", "simple", 1, "" ] }, - { - "id": 58, - "type": "UNETLoader", - "pos": [ - 360, - -1950 - ], - "size": [ - 380, - 82 - ], - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [] - } - ], - "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": 19, - "type": "UnetLoaderGGUF", - "pos": [ - 380, - -1820 - ], - "size": [ - 360, - 58 - ], - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [ - 262 - ] - } - ], - "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": 56, "type": "WanImageToVideo_F2", @@ -821,7 +886,7 @@ 206 ], "flags": {}, - "order": 16, + "order": 15, "mode": 0, "inputs": [ { @@ -887,138 +952,87 @@ }, "widgets_values": [ 480, - 640, - 61 + 480, + 49 ] }, { - "id": 46, - "type": "ImageNoiseAugmentation", + "id": 95, + "type": "LoraLoaderModelOnly", "pos": [ - 900, - -750 + 590, + -1850 ], "size": [ - 230, - 106 + 315, + 82 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { - "name": "image", - "type": "IMAGE", - "link": 190 + "name": "model", + "type": "MODEL", + "link": 267 } ], "outputs": [ { - "name": "IMAGE", - "type": "IMAGE", + "name": "MODEL", + "type": "MODEL", "links": [ - 263 + 265 ] } ], "properties": { - "cnr_id": "comfyui-kjnodes", - "ver": "a5bd3c86c8ed6b83c55c2d0e7a59515b15a0137f", - "Node name for S&R": "ImageNoiseAugmentation" + "cnr_id": "comfy-core", + "ver": "0.3.27", + "Node name for S&R": "LoraLoaderModelOnly" }, "widgets_values": [ - 0.015000000000000003, - 1234, - "fixed" - ] + "gun_epoch20.safetensors", + 1 + ], + "color": "#323", + "bgcolor": "#535" }, { - "id": 38, - "type": "VHS_VideoCombine", + "id": 86, + "type": "Note", "pos": [ - 2760, - -1500 + -40, + -1690 ], "size": [ - 430, - 894.6666870117188 + 710, + 320 ], "flags": {}, - "order": 24, + "order": 5, "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 - } + "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" ], - "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_00048.mp4", - "subfolder": "", - "type": "output", - "format": "video/h264-mp4", - "frame_rate": 16, - "workflow": "Wan_00048.png", - "fullpath": "D:\\ai\\ComfyUI_windows_portable\\ComfyUI\\output\\Wan_00048.mp4" - } - } - } + "color": "#432", + "bgcolor": "#653", + "shape": 2 }, { - "id": 59, - "type": "LoadImage", + "id": 19, + "type": "UnetLoaderGGUF", "pos": [ - 490, - -1130 + 140, + -1850 ], "size": [ - 315, - 314 + 360, + 58 ], "flags": {}, "order": 6, @@ -1026,41 +1040,34 @@ "inputs": [], "outputs": [ { - "name": "IMAGE", - "type": "IMAGE", + "name": "MODEL", + "type": "MODEL", "links": [ - 189 + 267 ] - }, - { - "name": "MASK", - "type": "MASK", - "links": null } ], "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.27", - "Node name for S&R": "LoadImage" + "cnr_id": "ComfyUI-GGUF", + "ver": "bc5223b0e37e053dbec2ea5e5f52c2fd4b8f712a", + "Node name for S&R": "UnetLoaderGGUF" }, "widgets_values": [ - "start.jpg", - "image", - "" + "wan2.1-i2v-14b-480p-Q8_0.gguf" ], - "color": "#2a363b", - "bgcolor": "#3f5159" + "color": "#323", + "bgcolor": "#535" }, { - "id": 60, - "type": "LoadImage", + "id": 58, + "type": "UNETLoader", "pos": [ - 490, - -740 + 120, + -1980 ], "size": [ - 315, - 314 + 380, + 82 ], "flags": {}, "order": 7, @@ -1068,30 +1075,66 @@ "inputs": [], "outputs": [ { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 190 - ] - }, - { - "name": "MASK", - "type": "MASK", - "links": null + "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": "LoadImage" + "Node name for S&R": "UNETLoader" }, "widgets_values": [ - "end.jpg", - "image", - "" + "Wan2.1-Fun-InP-14B_fp8_e4m3fn.safetensors", + "fp8_e4m3fn_fast" ], - "color": "#2a363b", - "bgcolor": "#3f5159" + "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": [ @@ -1295,14 +1338,6 @@ 0, "IMAGE" ], - [ - 262, - 19, - 0, - 48, - 0, - "MODEL" - ], [ 263, 46, @@ -1310,16 +1345,32 @@ 56, 4, "IMAGE" + ], + [ + 265, + 95, + 0, + 48, + 0, + "MODEL" + ], + [ + 267, + 19, + 0, + 95, + 0, + "MODEL" ] ], "groups": [], "config": {}, "extra": { "ds": { - "scale": 0.8830511255241724, + "scale": 0.802773750476525, "offset": [ - -254.06213793116663, - 2157.7731911281803 + 504.7995146005047, + 2062.40751879963 ] }, "VHS_latentpreview": true,