From f599706b6b050df244f44552399445af3fe7f96c Mon Sep 17 00:00:00 2001 From: patientx Date: Tue, 2 Sep 2025 17:59:09 +0300 Subject: [PATCH] Add files via upload --- .../1step-cudnn-disabler-workflow.json | 433 +++ ...B TI2V Workflow (Kijai Wrapper Based).json | 1350 ++++++++ ...In-One Workflow (Kijai Wrapper Based).json | 2752 +++++++++++++++++ ...mfyui-Zluda- Qwen-Image-Edit-Workflow.json | 1133 +++++++ cfz/workflows/wan-image-to-video.json | 1361 ++++++++ cfz/workflows/wan-t2v-selfforcing.json | 1059 +++++++ cfz/workflows/wan-text-to-video.json | 1185 +++++++ cfz/workflows/wan2.2-cfz-workflow.json | 1687 ++++++++++ 8 files changed, 10960 insertions(+) create mode 100644 cfz/workflows/1step-cudnn-disabler-workflow.json create mode 100644 cfz/workflows/Comfyui-Zluda Wan 2.2 5B TI2V Workflow (Kijai Wrapper Based).json create mode 100644 cfz/workflows/Comfyui-Zluda Wan 2.2 All-In-One Workflow (Kijai Wrapper Based).json create mode 100644 cfz/workflows/Comfyui-Zluda- Qwen-Image-Edit-Workflow.json create mode 100644 cfz/workflows/wan-image-to-video.json create mode 100644 cfz/workflows/wan-t2v-selfforcing.json create mode 100644 cfz/workflows/wan-text-to-video.json create mode 100644 cfz/workflows/wan2.2-cfz-workflow.json diff --git a/cfz/workflows/1step-cudnn-disabler-workflow.json b/cfz/workflows/1step-cudnn-disabler-workflow.json new file mode 100644 index 000000000..a8fbe1cd9 --- /dev/null +++ b/cfz/workflows/1step-cudnn-disabler-workflow.json @@ -0,0 +1,433 @@ +{ + "id": "00000000-0000-0000-0000-000000000000", + "revision": 0, + "last_node_id": 7, + "last_link_id": 9, + "nodes": [ + { + "id": 1, + "type": "CheckpointLoaderSimple", + "pos": [ + 196, + 296 + ], + "size": [ + 286, + 98 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 1 + ] + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 2 + ] + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 5 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.52", + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "sd15\\photon_v1.safetensors" + ] + }, + { + "id": 2, + "type": "KSampler", + "pos": [ + 768, + 323 + ], + "size": [ + 210, + 262 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 1 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 3 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 4 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 9 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 6 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.52", + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 1, + "fixed", + 1, + 1, + "euler", + "simple", + 1 + ] + }, + { + "id": 3, + "type": "CLIPTextEncode", + "pos": [ + 520, + 328 + ], + "size": [ + 210.29940795898438, + 88 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 2 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 3, + 4 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.52", + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "" + ] + }, + { + "id": 4, + "type": "VAEDecode", + "pos": [ + 1248, + 332 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 7 + }, + { + "name": "vae", + "type": "VAE", + "link": 5 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 8 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.52", + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 5, + "type": "CUDNNToggleAutoPassthrough", + "pos": [ + 1011, + 321 + ], + "size": [ + 210, + 138 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "model", + "shape": 7, + "type": "MODEL", + "link": null + }, + { + "name": "conditioning", + "shape": 7, + "type": "CONDITIONING", + "link": null + }, + { + "name": "latent", + "shape": 7, + "type": "LATENT", + "link": 6 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "image", + "shape": 7, + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "model", + "type": "MODEL", + "links": null + }, + { + "name": "conditioning", + "type": "CONDITIONING", + "links": null + }, + { + "name": "latent", + "type": "LATENT", + "links": [ + 7 + ] + }, + { + "name": "audio", + "type": "AUDIO", + "links": null + }, + { + "name": "image", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "Node name for S&R": "CUDNNToggleAutoPassthrough" + }, + "widgets_values": [ + false + ] + }, + { + "id": 6, + "type": "PreviewImage", + "pos": [ + 1444, + 323 + ], + "size": [ + 210, + 258 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 8 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.52", + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 7, + "type": "EmptyLatentImage", + "pos": [ + 214, + 452 + ], + "size": [ + 210, + 106 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 9 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.52", + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 512, + 512, + 1 + ] + } + ], + "links": [ + [ + 1, + 1, + 0, + 2, + 0, + "MODEL" + ], + [ + 2, + 1, + 1, + 3, + 0, + "CLIP" + ], + [ + 3, + 3, + 0, + 2, + 1, + "CONDITIONING" + ], + [ + 4, + 3, + 0, + 2, + 2, + "CONDITIONING" + ], + [ + 5, + 1, + 2, + 4, + 1, + "VAE" + ], + [ + 6, + 2, + 0, + 5, + 2, + "LATENT" + ], + [ + 7, + 5, + 2, + 4, + 0, + "LATENT" + ], + [ + 8, + 4, + 0, + 6, + 0, + "IMAGE" + ], + [ + 9, + 7, + 0, + 2, + 3, + "LATENT" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1, + "offset": [ + -68, + 10 + ] + }, + "frontendVersion": "1.26.6", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file diff --git a/cfz/workflows/Comfyui-Zluda Wan 2.2 5B TI2V Workflow (Kijai Wrapper Based).json b/cfz/workflows/Comfyui-Zluda Wan 2.2 5B TI2V Workflow (Kijai Wrapper Based).json new file mode 100644 index 000000000..cc3b720ad --- /dev/null +++ b/cfz/workflows/Comfyui-Zluda Wan 2.2 5B TI2V Workflow (Kijai Wrapper Based).json @@ -0,0 +1,1350 @@ +{ + "id": "206247b6-9fec-4ed2-8927-e4f388c674d4", + "revision": 0, + "last_node_id": 119, + "last_link_id": 183, + "nodes": [ + { + "id": 22, + "type": "WanVideoModelLoader", + "pos": [ + 826.7047729492188, + -653.9843139648438 + ], + "size": [ + 382.6997985839844, + 314 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "compile_args", + "shape": 7, + "type": "WANCOMPILEARGS", + "link": 183 + }, + { + "name": "block_swap_args", + "shape": 7, + "type": "BLOCKSWAPARGS", + "link": 177 + }, + { + "name": "lora", + "shape": 7, + "type": "WANVIDLORA", + "link": null + }, + { + "name": "vram_management_args", + "shape": 7, + "type": "VRAM_MANAGEMENTARGS", + "link": null + }, + { + "name": "extra_model", + "shape": 7, + "type": "VACEPATH", + "link": null + }, + { + "name": "fantasytalking_model", + "shape": 7, + "type": "FANTASYTALKINGMODEL", + "link": null + }, + { + "name": "multitalk_model", + "shape": 7, + "type": "MULTITALKMODEL", + "link": null + }, + { + "name": "fantasyportrait_model", + "shape": 7, + "type": "FANTASYPORTRAITMODEL", + "link": null + }, + { + "name": "vace_model", + "shape": 7, + "type": "VACEPATH", + "link": null + } + ], + "outputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "slot_index": 0, + "links": [ + 29 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50", + "Node name for S&R": "WanVideoModelLoader" + }, + "widgets_values": [ + "wan\\Wan2_2-TI2V-5B-Turbo_fp8_e5m2.safetensors", + "fp16", + "fp8_e5m2", + "offload_device", + "sageattn" + ], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 27, + "type": "WanVideoSampler", + "pos": [ + 1255.0452880859375, + -448.1617736816406 + ], + "size": [ + 267.80859375, + 690 + ], + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "link": 29 + }, + { + "name": "image_embeds", + "type": "WANVIDIMAGE_EMBEDS", + "link": 102 + }, + { + "name": "text_embeds", + "shape": 7, + "type": "WANVIDEOTEXTEMBEDS", + "link": 179 + }, + { + "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": "cache_args", + "shape": 7, + "type": "CACHEARGS", + "link": null + }, + { + "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 + }, + { + "name": "experimental_args", + "shape": 7, + "type": "EXPERIMENTALARGS", + "link": null + }, + { + "name": "sigmas", + "shape": 7, + "type": "SIGMAS", + "link": null + }, + { + "name": "unianimate_poses", + "shape": 7, + "type": "UNIANIMATE_POSE", + "link": null + }, + { + "name": "fantasytalking_embeds", + "shape": 7, + "type": "FANTASYTALKING_EMBEDS", + "link": null + }, + { + "name": "uni3c_embeds", + "shape": 7, + "type": "UNI3C_EMBEDS", + "link": null + }, + { + "name": "multitalk_embeds", + "shape": 7, + "type": "MULTITALK_EMBEDS", + "link": null + }, + { + "name": "freeinit_args", + "shape": 7, + "type": "FREEINITARGS", + "link": null + } + ], + "outputs": [ + { + "name": "samples", + "type": "LATENT", + "slot_index": 0, + "links": [ + 153 + ] + }, + { + "name": "denoised_samples", + "type": "LATENT", + "links": null + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50", + "Node name for S&R": "WanVideoSampler" + }, + "widgets_values": [ + 4, + 1, + 7, + 227230090405303, + "fixed", + true, + "dpm++_sde", + 0, + 1, + "", + "comfy_chunked", + 0, + -1, + "" + ], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 38, + "type": "WanVideoVAELoader", + "pos": [ + 93.23693084716797, + -430.0805969238281 + ], + "size": [ + 372.7727966308594, + 82 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "compile_args", + "shape": 7, + "type": "WANCOMPILEARGS", + "link": null + } + ], + "outputs": [ + { + "name": "vae", + "type": "WANVAE", + "slot_index": 0, + "links": [ + 88, + 152 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50", + "Node name for S&R": "WanVideoVAELoader" + }, + "widgets_values": [ + "wan2.2_vae.safetensors", + "fp16" + ], + "color": "#332922", + "bgcolor": "#593930", + "shape": 1 + }, + { + "id": 58, + "type": "LoadImage", + "pos": [ + -188.03244018554688, + -269.52435302734375 + ], + "size": [ + 413.10479736328125, + 498.3180847167969 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 134 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.26", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "qwen_00513_upscaled.png", + "image" + ], + "color": "#2a363b", + "bgcolor": "#3f5159", + "shape": 1 + }, + { + "id": 70, + "type": "WanVideoEncode", + "pos": [ + 486.3009948730469, + -110.9541015625 + ], + "size": [ + 210, + 242 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "vae", + "type": "WANVAE", + "link": 88 + }, + { + "name": "image", + "type": "IMAGE", + "link": 133 + }, + { + "name": "mask", + "shape": 7, + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "samples", + "type": "LATENT", + "links": [ + 180 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "17d48e3e450c7e75f60566e787404cb3d917f48e", + "Node name for S&R": "WanVideoEncode" + }, + "widgets_values": [ + true, + 272, + 272, + 144, + 128, + 0, + 1 + ], + "color": "#2a363b", + "bgcolor": "#3f5159", + "shape": 1 + }, + { + "id": 71, + "type": "ImageResizeKJv2", + "pos": [ + 255.67388916015625, + -268.14373779296875 + ], + "size": [ + 210, + 348 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 134 + }, + { + "name": "mask", + "shape": 7, + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 133 + ] + }, + { + "name": "width", + "type": "INT", + "links": [ + 182 + ] + }, + { + "name": "height", + "type": "INT", + "links": [ + 181 + ] + }, + { + "name": "mask", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "ad37ce656c13e9abea002b46e3a89be3dba32355", + "Node name for S&R": "ImageResizeKJv2" + }, + "widgets_values": [ + 832, + 480, + "lanczos", + "crop", + "0, 0, 0", + "center", + 32, + "cpu", + "Output: 1 x 832 x 480 | 4.57MB" + ], + "color": "#2a363b", + "bgcolor": "#3f5159", + "shape": 1 + }, + { + "id": 78, + "type": "WanVideoEmptyEmbeds", + "pos": [ + 487.2795104980469, + -280.2648010253906 + ], + "size": [ + 212.431640625, + 126 + ], + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "control_embeds", + "shape": 7, + "type": "WANVIDIMAGE_EMBEDS", + "link": null + }, + { + "name": "extra_latents", + "shape": 7, + "type": "LATENT", + "link": 180 + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 182 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 181 + } + ], + "outputs": [ + { + "name": "image_embeds", + "type": "WANVIDIMAGE_EMBEDS", + "links": [ + 102 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "6bc53b771d5d2af316801cb69e2ee10dbf7d18b1", + "Node name for S&R": "WanVideoEmptyEmbeds" + }, + "widgets_values": [ + 480, + 832, + 121 + ], + "color": "#2a363b", + "bgcolor": "#3f5159", + "shape": 1 + }, + { + "id": 92, + "type": "VHS_VideoCombine", + "pos": [ + 1548.882568359375, + -705.1038208007812 + ], + "size": [ + 466.62774658203125, + 605.6698608398438 + ], + "flags": { + "collapsed": false + }, + "order": 21, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 178 + }, + { + "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": 24, + "loop_count": 0, + "filename_prefix": "WanVideoWrapper_5BI2V", + "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": "WanVideoWrapper_5BI2V_00045.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 24, + "workflow": "WanVideoWrapper_5BI2V_00045.png", + "fullpath": "D:\\sd\\t\\ComfyUI\\output\\WanVideoWrapper_5BI2V_00045.mp4" + } + } + }, + "shape": 1 + }, + { + "id": 102, + "type": "WanVideoDecode", + "pos": [ + 1246.9195556640625, + -699.4135131835938 + ], + "size": [ + 270, + 198 + ], + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "vae", + "type": "WANVAE", + "link": 152 + }, + { + "name": "samples", + "type": "LATENT", + "link": 153 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": [ + 178 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "65973b02514c6736f59923352102462e2129f80a", + "Node name for S&R": "WanVideoDecode" + }, + "widgets_values": [ + true, + 272, + 272, + 144, + 128, + "default" + ], + "color": "#332922", + "bgcolor": "#593930", + "shape": 1 + }, + { + "id": 104, + "type": "CLIPTextEncode", + "pos": [ + 715.9688720703125, + -298.76220703125 + ], + "size": [ + 500.4853820800781, + 499.85870361328125 + ], + "flags": { + "collapsed": false + }, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 157 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 176 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.40", + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "Main Subject: A futuristic wide-body AE86 Toyota Sprinter Trueno, reimagined with sleek vented panels, carbon fiber detailing, and glowing custom LED tail lights. Its silhouette keeps the iconic Trueno profile while embracing high-tech cyberpunk design cues.\n\nPose / Action: The car barrels forward down the expressway, tires gripping hard as neon reflections streak across its bodywork. Exhaust haze trails behind, amplifying the sense of raw speed and intensity.\n\nExpression / Emotion: The machine embodies determination and grit, a mechanical soul charging forward — raw, empathetic, and cinematic, like a character in its own right.\n\nCamera Direction & Framing: Dutch angle, close chase perspective that exaggerates speed and dynamism. The wide body dominates the frame, leaning into the camera with aggressive foreshortening. Shot in cinemascope, like a still pulled straight from a sci-fi feature film.\n\nEnvironment / Background: A sprawling cyberpunk highway lit by towering holographic billboards, neon overpasses, and rain-slick asphalt. The glowing skyline flickers with electric hues, casting shifting patterns across the car’s carbon fiber surfaces.\n\nLighting & Atmosphere: Harsh neon pinks, teals, and purples scatter in reflections across metal and glass. Film grain and analog softness create the feel of a gritty cinematic reel. Headlights and tail lights carve bold streaks into the night, contrasting with the moody ambient haze.\n\nStyle Enhancers: Cinematic realism, cyberpunk palette, analog film texture (film grain: 1.4), dutch angle style (1.4), widescreen framing, atmospheric depth, high-detail reflections, and a raw, movie-still aesthetic." + ], + "color": "#232", + "bgcolor": "#353", + "shape": 1 + }, + { + "id": 105, + "type": "CLIPLoader", + "pos": [ + 594.7372436523438, + 251.7023468017578 + ], + "size": [ + 302.2834777832031, + 106 + ], + "flags": { + "collapsed": false + }, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 157, + 158 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.40", + "Node name for S&R": "CLIPLoader" + }, + "widgets_values": [ + "wan\\umt5_xxl_fp8_e4m3fn_scaled.safetensors", + "wan", + "default" + ], + "color": "#232", + "bgcolor": "#353", + "shape": 1 + }, + { + "id": 106, + "type": "CLIPTextEncode", + "pos": [ + 951.92724609375, + 282.84625244140625 + ], + "size": [ + 301.8887939453125, + 196.77981567382812 + ], + "flags": { + "collapsed": true + }, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 158 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 159 + ] + } + ], + "title": "negative", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.41", + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "overexposed, static, blurry details, subtitles, washed out, dull colors, grayish ,worse quality, low quality, jpeg artifacts, compression artifacts, ugly, incomplete, mutilated, extra fingers, too many fingers, poorly drawn hands, bad hands, poorly drawn face, bad face, deformed, mutated, disfigured, malformed limbs, fused fingers, motionless scene, static image, cluttered background, too many people in background, messy background, three legs, crowded background, walking backward, backward movement, " + ], + "color": "#322", + "bgcolor": "#533", + "shape": 1 + }, + { + "id": 107, + "type": "WanVideoTextEmbedBridge", + "pos": [ + 1088.7071533203125, + 310.4274597167969 + ], + "size": [ + 222.00253295898438, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 159 + }, + { + "name": "negative", + "shape": 7, + "type": "CONDITIONING", + "link": null + } + ], + "outputs": [ + { + "name": "text_embeds", + "type": "WANVIDEOTEXTEMBEDS", + "links": [ + 162 + ] + } + ], + "title": "negembed", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "c3ee35f3ece76e38099dc516182d69b406e16772", + "Node name for S&R": "WanVideoTextEmbedBridge", + "aux_id": "kijai/ComfyUI-WanVideoWrapper" + }, + "widgets_values": [], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 108, + "type": "WanVideoTextEmbedBridge", + "pos": [ + 1096.459228515625, + 370.0112609863281 + ], + "size": [ + 222.00253295898438, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 176 + }, + { + "name": "negative", + "shape": 7, + "type": "CONDITIONING", + "link": null + } + ], + "outputs": [ + { + "name": "text_embeds", + "type": "WANVIDEOTEXTEMBEDS", + "links": [ + 161 + ] + } + ], + "title": "posembed", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "c3ee35f3ece76e38099dc516182d69b406e16772", + "Node name for S&R": "WanVideoTextEmbedBridge", + "aux_id": "kijai/ComfyUI-WanVideoWrapper" + }, + "widgets_values": [], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 109, + "type": "WanVideoApplyNAG", + "pos": [ + 1110.114013671875, + 250.55453491210938 + ], + "size": [ + 227.77734375, + 126 + ], + "flags": { + "collapsed": true + }, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "original_text_embeds", + "type": "WANVIDEOTEXTEMBEDS", + "link": 161 + }, + { + "name": "nag_text_embeds", + "type": "WANVIDEOTEXTEMBEDS", + "link": 162 + } + ], + "outputs": [ + { + "name": "text_embeds", + "type": "WANVIDEOTEXTEMBEDS", + "links": [ + 179 + ] + } + ], + "title": "NAG", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "b5cae8bf1a7b348e9c9fa230640be7e11c573ca9", + "Node name for S&R": "WanVideoApplyNAG", + "aux_id": "kijai/ComfyUI-WanVideoWrapper" + }, + "widgets_values": [ + 11, + 2.5, + 0.25 + ], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 113, + "type": "WanVideoBlockSwap", + "pos": [ + 519.3534545898438, + -556.3167724609375 + ], + "size": [ + 281.404296875, + 202 + ], + "flags": {}, + "order": 3, + "mode": 4, + "inputs": [], + "outputs": [ + { + "name": "block_swap_args", + "type": "BLOCKSWAPARGS", + "links": [ + 177 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "65973b02514c6736f59923352102462e2129f80a", + "Node name for S&R": "WanVideoBlockSwap" + }, + "widgets_values": [ + 15, + false, + false, + false, + 0, + 0, + false + ], + "shape": 1 + }, + { + "id": 114, + "type": "Note", + "pos": [ + 244.76840209960938, + 137.03822326660156 + ], + "size": [ + 227.69973754882812, + 88 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "the width-height in resize is also for the video output" + ], + "color": "#2a363b", + "bgcolor": "#3f5159", + "shape": 1 + }, + { + "id": 115, + "type": "WanVideoTorchCompileSettings", + "pos": [ + 935.9613647460938, + -699.82470703125 + ], + "size": [ + 342.74609375, + 202 + ], + "flags": { + "collapsed": true + }, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "torch_compile_args", + "type": "WANCOMPILEARGS", + "links": [ + 183 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "65973b02514c6736f59923352102462e2129f80a", + "Node name for S&R": "WanVideoTorchCompileSettings" + }, + "widgets_values": [ + "inductor", + false, + "default", + false, + 64, + true, + 128 + ], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 116, + "type": "Note", + "pos": [ + 567.8656616210938, + -693.3388061523438 + ], + "size": [ + 227.69973754882812, + 88 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "enable block swap starting with 15 for 8 gb gpu's" + ], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 117, + "type": "Note", + "pos": [ + -273.99835205078125, + -878.1978149414062 + ], + "size": [ + 761.3303833007812, + 394.44818115234375 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "CFZ WAN 2.2 TI2V TURBO WORKFLOW\n--------------------------------\nTHE MAIN MODEL : You can use of these three options :\nfrom here , https://huggingface.co/Kijai/WanVideo_comfy/tree/main/Wan22-Turbo\nyou can use (1) one of the loras with the original 5B model (https://huggingface.co/Kijai/WanVideo_comfy_fp8_scaled/tree/main/TI2V) \n\n(2) use the fp16 model in there (https://huggingface.co/Kijai/WanVideo_comfy/tree/main/Wan22-Turbo)\n\n(3) use this fp8_e5m2 version of that fp16 model\n(https://huggingface.co/patientxtr/wan22ti2v5bturbofp8e5m2/tree/main)\n\n* With option 1 and 3 you can enable torch.compile , make sure to set the \"quantization\" to either fp8_e5m2_scaled or fp8_e5m2. On the second option the quality is supposedly better than fp8 ones but you CAN'T USE torch.compile there.*\n\n* If you have less than 12GB VRAM, you can try enabling \"wanvideo block swap\", starting with 10 and going upwards, it basically loads that much of the blocks from the model into the system ram, slower but less oom. *\n\n*vae must be fp16 if you want speed, bf16 or fp32 two times slower on lower amd gpu*\n\n\n\n\n\n\n" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 118, + "type": "Note", + "pos": [ + 1545.399658203125, + -4.1734490394592285 + ], + "size": [ + 285.6707458496094, + 150.67262268066406 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "recommended schedulers : \nunipc/beta\nflowmatch_distill (4 steps only)\nlcm also works ...\n\n\n" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 119, + "type": "Note", + "pos": [ + 568.8112182617188, + -1171.026123046875 + ], + "size": [ + 988.755126953125, + 373.6380615234375 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "ChatGPT prompt to get prompts like the one below : \n-------------------------------------------------\nI want you to create prompts for image generation but in this style : \"Main Subject: A weary old man in his late seventies, slightly hunched, with deep lines on his face and thin white hair, wearing a worn flat cap. Clothing / Appearance: A faded brown wool coat drapes loosely over his thin frame, paired with threadbare trousers and scuffed leather shoes; a wool scarf, frayed at the ends, hangs loosely around his neck. Pose / Action: He sits on a weathered wooden bench, leaning forward with both hands extended, scattering breadcrumbs in a gentle, slow motion as small birds gather at his feet. Expression / Emotion: His eyes are tired but softened with quiet fondness, lips curled into a faint, almost wistful smile as he watches the birds peck at the ground. Camera Direction & Framing: Eye-level shot from three meters away, 50 mm f/1.8 lens with shallow depth to blur the park’s trees; composition balanced with the man to the left third, birds in the foreground. Environment / Background: An urban park at dusk with bare winter trees silhouetted against a fading orange-pink sky; scattered leaves cover the path; a distant lamppost glows faintly in the background. Lighting & Atmosphere: Soft, fading natural light from the sunset at 3200 K mixed with cool, early evening shadows; subtle rim lighting from a nearby lamppost; gentle haze from cold air. Style Enhancers: Warm cinematic color grading with desaturated tones, fine film grain, and subtle vignetting to focus attention; faint motion blur on falling crumbs to add life.\" Do not worry about the prompt itself, I am going to give you another subject, another environment and you will generate prompts like this.\n\nThen you paste any prompt (preferably the prompt you have for an image you already generated yourself) for an image and it will generate prompts suitable for wan video generation. " + ], + "color": "#432", + "bgcolor": "#653" + } + ], + "links": [ + [ + 29, + 22, + 0, + 27, + 0, + "WANVIDEOMODEL" + ], + [ + 88, + 38, + 0, + 70, + 0, + "WANVAE" + ], + [ + 102, + 78, + 0, + 27, + 1, + "WANVIDIMAGE_EMBEDS" + ], + [ + 133, + 71, + 0, + 70, + 1, + "IMAGE" + ], + [ + 134, + 58, + 0, + 71, + 0, + "IMAGE" + ], + [ + 152, + 38, + 0, + 102, + 0, + "WANVAE" + ], + [ + 153, + 27, + 0, + 102, + 1, + "LATENT" + ], + [ + 157, + 105, + 0, + 104, + 0, + "CLIP" + ], + [ + 158, + 105, + 0, + 106, + 0, + "CLIP" + ], + [ + 159, + 106, + 0, + 107, + 0, + "CONDITIONING" + ], + [ + 161, + 108, + 0, + 109, + 0, + "WANVIDEOTEXTEMBEDS" + ], + [ + 162, + 107, + 0, + 109, + 1, + "WANVIDEOTEXTEMBEDS" + ], + [ + 176, + 104, + 0, + 108, + 0, + "CONDITIONING" + ], + [ + 177, + 113, + 0, + 22, + 1, + "BLOCKSWAPARGS" + ], + [ + 178, + 102, + 0, + 92, + 0, + "IMAGE" + ], + [ + 179, + 109, + 0, + 27, + 2, + "WANVIDEOTEXTEMBEDS" + ], + [ + 180, + 70, + 0, + 78, + 1, + "LATENT" + ], + [ + 181, + 71, + 2, + 78, + 3, + "INT" + ], + [ + 182, + 71, + 1, + 78, + 2, + "INT" + ], + [ + 183, + 115, + 0, + 22, + 0, + "WANCOMPILEARGS" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.611590904484186, + "offset": [ + 496.07181525646797, + 1246.2396060293845 + ] + }, + "frontendVersion": "1.26.6", + "node_versions": { + "ComfyUI-WanVideoWrapper": "5a2383621a05825d0d0437781afcb8552d9590fd", + "comfy-core": "0.3.26", + "ComfyUI-KJNodes": "a5bd3c86c8ed6b83c55c2d0e7a59515b15a0137f", + "ComfyUI-VideoHelperSuite": "0a75c7958fe320efcb052f1d9f8451fd20c730a8" + }, + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file diff --git a/cfz/workflows/Comfyui-Zluda Wan 2.2 All-In-One Workflow (Kijai Wrapper Based).json b/cfz/workflows/Comfyui-Zluda Wan 2.2 All-In-One Workflow (Kijai Wrapper Based).json new file mode 100644 index 000000000..95f073f64 --- /dev/null +++ b/cfz/workflows/Comfyui-Zluda Wan 2.2 All-In-One Workflow (Kijai Wrapper Based).json @@ -0,0 +1,2752 @@ +{ + "id": "44436dc8-b9e0-461b-aea2-13203712292d", + "revision": 0, + "last_node_id": 550, + "last_link_id": 471, + "nodes": [ + { + "id": 27, + "type": "WanVideoSampler", + "pos": [ + -331.23394775390625, + -835.9218139648438 + ], + "size": [ + 267.80859375, + 690 + ], + "flags": {}, + "order": 29, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "link": 457 + }, + { + "name": "image_embeds", + "type": "WANVIDIMAGE_EMBEDS", + "link": 455 + }, + { + "name": "text_embeds", + "shape": 7, + "type": "WANVIDEOTEXTEMBEDS", + "link": 420 + }, + { + "name": "samples", + "shape": 7, + "type": "LATENT", + "link": null + }, + { + "name": "feta_args", + "shape": 7, + "type": "FETAARGS", + "link": 310 + }, + { + "name": "context_options", + "shape": 7, + "type": "WANVIDCONTEXT", + "link": null + }, + { + "name": "cache_args", + "shape": 7, + "type": "CACHEARGS", + "link": null + }, + { + "name": "flowedit_args", + "shape": 7, + "type": "FLOWEDITARGS", + "link": null + }, + { + "name": "slg_args", + "shape": 7, + "type": "SLGARGS", + "link": 312 + }, + { + "name": "loop_args", + "shape": 7, + "type": "LOOPARGS", + "link": null + }, + { + "name": "experimental_args", + "shape": 7, + "type": "EXPERIMENTALARGS", + "link": 308 + }, + { + "name": "sigmas", + "shape": 7, + "type": "SIGMAS", + "link": null + }, + { + "name": "unianimate_poses", + "shape": 7, + "type": "UNIANIMATE_POSE", + "link": null + }, + { + "name": "fantasytalking_embeds", + "shape": 7, + "type": "FANTASYTALKING_EMBEDS", + "link": null + }, + { + "name": "uni3c_embeds", + "shape": 7, + "type": "UNI3C_EMBEDS", + "link": null + }, + { + "name": "multitalk_embeds", + "shape": 7, + "type": "MULTITALK_EMBEDS", + "link": null + }, + { + "name": "freeinit_args", + "shape": 7, + "type": "FREEINITARGS", + "link": null + }, + { + "name": "seed", + "type": "INT", + "widget": { + "name": "seed" + }, + "link": 413 + } + ], + "outputs": [ + { + "name": "samples", + "type": "LATENT", + "slot_index": 0, + "links": [ + 274 + ] + }, + { + "name": "denoised_samples", + "type": "LATENT", + "links": null + } + ], + "title": "high_noise (sampler 1)", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "2da36b7fdaa9da9cf38785116917adf3974387da", + "Node name for S&R": "WanVideoSampler", + "widget_ue_connectable": {} + }, + "widgets_values": [ + 4, + 1.0000000000000002, + 4, + 36137, + "fixed", + true, + "unipc/beta", + 0, + 1, + false, + "comfy_chunked", + 0, + 2, + true + ], + "color": "#2a363b", + "bgcolor": "#3f5159", + "shape": 1 + }, + { + "id": 28, + "type": "WanVideoDecode", + "pos": [ + -369.0511169433594, + 36.46022415161133 + ], + "size": [ + 210, + 198 + ], + "flags": { + "collapsed": false + }, + "order": 31, + "mode": 0, + "inputs": [ + { + "name": "vae", + "type": "WANVAE", + "link": 43 + }, + { + "name": "samples", + "type": "LATENT", + "link": 294 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 444 + ] + } + ], + "title": "Decode", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "2da36b7fdaa9da9cf38785116917adf3974387da", + "Node name for S&R": "WanVideoDecode", + "widget_ue_connectable": {} + }, + "widgets_values": [ + true, + 512, + 512, + 256, + 256, + "default" + ], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 38, + "type": "WanVideoVAELoader", + "pos": [ + -1839.951171875, + -350.90509033203125 + ], + "size": [ + 210, + 82 + ], + "flags": { + "collapsed": false + }, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "compile_args", + "shape": 7, + "type": "WANCOMPILEARGS", + "link": null + } + ], + "outputs": [ + { + "name": "vae", + "type": "WANVAE", + "slot_index": 0, + "links": [ + 43, + 442 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "2da36b7fdaa9da9cf38785116917adf3974387da", + "Node name for S&R": "WanVideoVAELoader", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "wan_2.1_vae.safetensors", + "fp16" + ], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 348, + "type": "SaveImage", + "pos": [ + 249.43661499023438, + 90.49907684326172 + ], + "size": [ + 545.7604370117188, + 613.8565063476562 + ], + "flags": { + "collapsed": true + }, + "order": 34, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 363 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.42", + "Node name for S&R": "SaveImage", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "wanimage\\wan" + ], + "color": "#323", + "bgcolor": "#535", + "shape": 1 + }, + { + "id": 361, + "type": "WanVideoEmptyEmbeds", + "pos": [ + -1566.22802734375, + -382.5927429199219 + ], + "size": [ + 212.431640625, + 146 + ], + "flags": { + "collapsed": false + }, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "control_embeds", + "shape": 7, + "type": "WANVIDIMAGE_EMBEDS", + "link": null + }, + { + "name": "extra_latents", + "shape": 7, + "type": "LATENT", + "link": null + }, + { + "name": "first_latent", + "shape": 7, + "type": "LATENT", + "link": null + } + ], + "outputs": [ + { + "name": "image_embeds", + "type": "WANVIDIMAGE_EMBEDS", + "links": [ + 452 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "2da36b7fdaa9da9cf38785116917adf3974387da", + "Node name for S&R": "WanVideoEmptyEmbeds", + "widget_ue_connectable": {} + }, + "widgets_values": [ + 480, + 832, + 81 + ], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 388, + "type": "CLIPLoader", + "pos": [ + -2450.0810546875, + -141.9174041748047 + ], + "size": [ + 404.4041748046875, + 106 + ], + "flags": { + "collapsed": false + }, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 198, + 205 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.40", + "Node name for S&R": "CLIPLoader" + }, + "widgets_values": [ + "wan\\umt5_xxl_fp8_e4m3fn_scaled.safetensors", + "wan", + "default" + ], + "color": "#432", + "bgcolor": "#653", + "shape": 1 + }, + { + "id": 389, + "type": "CLIPTextEncode", + "pos": [ + -2438.1298828125, + 8.329193115234375 + ], + "size": [ + 387.6866760253906, + 180.93557739257812 + ], + "flags": { + "collapsed": false + }, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 198 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 237 + ] + } + ], + "title": "neg", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.41", + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "overexposed, static, blurry details, subtitles, washed out, dull colors, grayish ,worse quality, low quality, jpeg artifacts, compression artifacts, ugly, incomplete, mutilated, extra fingers, too many fingers, poorly drawn hands, bad hands, poorly drawn face, bad face, deformed, mutated, disfigured, malformed limbs, fused fingers, motionless scene, static image, cluttered background, too many people in background, messy background, three legs, crowded background, walking backward, backward movement, " + ], + "color": "#322", + "bgcolor": "#533", + "shape": 1 + }, + { + "id": 390, + "type": "WanVideoTextEmbedBridge", + "pos": [ + -2446.304931640625, + 249.10780334472656 + ], + "size": [ + 159.076171875, + 46 + ], + "flags": { + "collapsed": false + }, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 237 + }, + { + "name": "negative", + "shape": 7, + "type": "CONDITIONING", + "link": null + } + ], + "outputs": [ + { + "name": "text_embeds", + "type": "WANVIDEOTEXTEMBEDS", + "links": [ + 238 + ] + } + ], + "title": "negembed", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "c3ee35f3ece76e38099dc516182d69b406e16772", + "Node name for S&R": "WanVideoTextEmbedBridge", + "aux_id": "kijai/ComfyUI-WanVideoWrapper" + }, + "widgets_values": [], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 391, + "type": "WanVideoTextEmbedBridge", + "pos": [ + -2245.119873046875, + 253.7824249267578 + ], + "size": [ + 159.076171875, + 46 + ], + "flags": { + "collapsed": false + }, + "order": 21, + "mode": 0, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 201 + }, + { + "name": "negative", + "shape": 7, + "type": "CONDITIONING", + "link": null + } + ], + "outputs": [ + { + "name": "text_embeds", + "type": "WANVIDEOTEXTEMBEDS", + "links": [ + 239, + 251 + ] + } + ], + "title": "posembed", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "c3ee35f3ece76e38099dc516182d69b406e16772", + "Node name for S&R": "WanVideoTextEmbedBridge", + "aux_id": "kijai/ComfyUI-WanVideoWrapper" + }, + "widgets_values": [], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 392, + "type": "WanVideoApplyNAG", + "pos": [ + -2029.144287109375, + 183.99533081054688 + ], + "size": [ + 227.77734375, + 126 + ], + "flags": { + "collapsed": false + }, + "order": 25, + "mode": 0, + "inputs": [ + { + "name": "original_text_embeds", + "type": "WANVIDEOTEXTEMBEDS", + "link": 239 + }, + { + "name": "nag_text_embeds", + "type": "WANVIDEOTEXTEMBEDS", + "link": 238 + } + ], + "outputs": [ + { + "name": "text_embeds", + "type": "WANVIDEOTEXTEMBEDS", + "links": [ + 252 + ] + } + ], + "title": "NAG", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "b5cae8bf1a7b348e9c9fa230640be7e11c573ca9", + "Node name for S&R": "WanVideoApplyNAG", + "aux_id": "kijai/ComfyUI-WanVideoWrapper" + }, + "widgets_values": [ + 11, + 2.5, + 0.25 + ], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 393, + "type": "CLIPTextEncode", + "pos": [ + -1786.814453125, + -139.20068359375 + ], + "size": [ + 741.0176391601562, + 451.6116027832031 + ], + "flags": { + "collapsed": false + }, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 205 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 201 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.40", + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "Main Subject: A striking young woman walking with steady, confident strides down the center of a rain-drenched city street, holding a black umbrella overhead.\n\nClothing / Appearance: Sheer white blouse clinging from the rain, revealing a black bra beneath; short black leather skirt paired with sleek black high heels; raindrops bead and run down her bare legs, catching the light.\n\nPose / Action: Umbrella tilted slightly against the wind, one hand gripping the handle firmly while the other swings loosely at her side; head held high as she walks straight toward the viewer.\n\nExpression / Emotion: Calm and self-assured, with a subtle intensity in her gaze; unbothered by the storm around her.\n\nCamera Direction & Framing: Low, centered tracking shot at street level, 50 mm f/1.8 lens; reflections and ripples in the wet pavement lead directly toward her; lightning bolt framed dramatically between tall buildings in the background.\n\nEnvironment / Background: Neon-lit urban street lined with modern buildings; left side sign glowing red with “sdnext” right side sign glowing blue with “wan”; puddles stretch across the asphalt, reflecting both colors in shifting patterns.\n\nLighting & Atmosphere: Alternating pulses of red and blue neon spill across her figure; intense white flash from lightning silhouettes her form; rain streaks lit from multiple angles; overall moody and electric ambiance.\n\nStyle Enhancers: High-contrast cinematic grading; sharp raindrop highlights frozen mid-air; wet surfaces rendered with hyper-realistic reflections; subtle depth haze between foreground and distant neon signs." + ], + "color": "#232", + "bgcolor": "#353", + "shape": 1 + }, + { + "id": 422, + "type": "ImpactSwitch", + "pos": [ + -2034.093505859375, + -132.11207580566406 + ], + "size": [ + 223.93359375, + 122 + ], + "flags": { + "collapsed": false + }, + "order": 28, + "mode": 0, + "inputs": [ + { + "name": "input1", + "shape": 7, + "type": "*", + "link": 251 + }, + { + "name": "input2", + "type": "WANVIDEOTEXTEMBEDS", + "link": 252 + }, + { + "name": "input3", + "type": "WANVIDEOTEXTEMBEDS", + "link": null + } + ], + "outputs": [ + { + "label": "WANVIDEOTEXTEMBEDS", + "name": "selected_value", + "type": "*", + "links": [ + 420, + 421 + ] + }, + { + "name": "selected_label", + "type": "STRING", + "links": null + }, + { + "name": "selected_index", + "type": "INT", + "links": null + } + ], + "title": "((2)) 1-positive - 2-nag included", + "properties": { + "cnr_id": "comfyui-impact-pack", + "ver": "8.19.1", + "Node name for S&R": "ImpactSwitch" + }, + "widgets_values": [ + 2, + false + ], + "color": "#323", + "bgcolor": "#535", + "shape": 1 + }, + { + "id": 433, + "type": "WanVideoModelLoader", + "pos": [ + -565.3707885742188, + -771.3104858398438 + ], + "size": [ + 211.083984375, + 274 + ], + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "compile_args", + "shape": 7, + "type": "WANCOMPILEARGS", + "link": 344 + }, + { + "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 + }, + { + "name": "vace_model", + "shape": 7, + "type": "VACEPATH", + "link": null + }, + { + "name": "fantasytalking_model", + "shape": 7, + "type": "FANTASYTALKINGMODEL", + "link": null + }, + { + "name": "multitalk_model", + "shape": 7, + "type": "MULTITALKMODEL", + "link": null + } + ], + "outputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "links": [ + 322 + ] + } + ], + "title": "high_noise model", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "98fa84bb1720e184a1d2a116f986524ef2e802aa", + "Node name for S&R": "WanVideoModelLoader" + }, + "widgets_values": [ + "wan\\Wan22-I2V_A14B-Lightning-H-Q3_K_M.gguf", + "fp16", + "disabled", + "offload_device", + "sageattn" + ], + "color": "#2a363b", + "bgcolor": "#3f5159", + "shape": 1 + }, + { + "id": 434, + "type": "WanVideoSampler", + "pos": [ + -34.914756774902344, + -837.2935791015625 + ], + "size": [ + 267.80859375, + 690 + ], + "flags": { + "collapsed": false + }, + "order": 30, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "link": 427 + }, + { + "name": "image_embeds", + "type": "WANVIDIMAGE_EMBEDS", + "link": 456 + }, + { + "name": "text_embeds", + "shape": 7, + "type": "WANVIDEOTEXTEMBEDS", + "link": 421 + }, + { + "name": "samples", + "shape": 7, + "type": "LATENT", + "link": 274 + }, + { + "name": "feta_args", + "shape": 7, + "type": "FETAARGS", + "link": 311 + }, + { + "name": "context_options", + "shape": 7, + "type": "WANVIDCONTEXT", + "link": null + }, + { + "name": "cache_args", + "shape": 7, + "type": "CACHEARGS", + "link": null + }, + { + "name": "flowedit_args", + "shape": 7, + "type": "FLOWEDITARGS", + "link": null + }, + { + "name": "slg_args", + "shape": 7, + "type": "SLGARGS", + "link": 313 + }, + { + "name": "loop_args", + "shape": 7, + "type": "LOOPARGS", + "link": null + }, + { + "name": "experimental_args", + "shape": 7, + "type": "EXPERIMENTALARGS", + "link": 309 + }, + { + "name": "sigmas", + "shape": 7, + "type": "SIGMAS", + "link": null + }, + { + "name": "unianimate_poses", + "shape": 7, + "type": "UNIANIMATE_POSE", + "link": null + }, + { + "name": "fantasytalking_embeds", + "shape": 7, + "type": "FANTASYTALKING_EMBEDS", + "link": null + }, + { + "name": "uni3c_embeds", + "shape": 7, + "type": "UNI3C_EMBEDS", + "link": null + }, + { + "name": "multitalk_embeds", + "shape": 7, + "type": "MULTITALK_EMBEDS", + "link": null + }, + { + "name": "freeinit_args", + "shape": 7, + "type": "FREEINITARGS", + "link": null + }, + { + "name": "seed", + "type": "INT", + "widget": { + "name": "seed" + }, + "link": 414 + } + ], + "outputs": [ + { + "name": "samples", + "type": "LATENT", + "slot_index": 0, + "links": [ + 294 + ] + }, + { + "name": "denoised_samples", + "type": "LATENT", + "links": null + } + ], + "title": "low_noise (sampler 2)", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "2da36b7fdaa9da9cf38785116917adf3974387da", + "Node name for S&R": "WanVideoSampler", + "widget_ue_connectable": {} + }, + "widgets_values": [ + 4, + 1.0000000000000002, + 5, + 35783, + "fixed", + true, + "unipc/beta", + 0, + 1, + false, + "comfy_chunked", + 2, + 1000, + false + ], + "color": "#323", + "bgcolor": "#535", + "shape": 1 + }, + { + "id": 455, + "type": "WanVideoEnhanceAVideo", + "pos": [ + -714.2384033203125, + 210.45596313476562 + ], + "size": [ + 210, + 106 + ], + "flags": { + "collapsed": false + }, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "feta_args", + "type": "FETAARGS", + "links": [ + 310, + 311 + ] + } + ], + "title": "Enhance-A-Video", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "7e290c67bff1f906cdab84523018573f6c9d4d7f", + "Node name for S&R": "WanVideoEnhanceAVideo" + }, + "widgets_values": [ + 2, + 0, + 1 + ], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 456, + "type": "WanVideoSLG", + "pos": [ + -719.213623046875, + 49.51448440551758 + ], + "size": [ + 210, + 106 + ], + "flags": { + "collapsed": false + }, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "slg_args", + "type": "SLGARGS", + "links": [ + 312, + 313 + ] + } + ], + "title": "SLG", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "2d2a184723dae88388e130659f51c36fcadeaba8", + "Node name for S&R": "WanVideoSLG" + }, + "widgets_values": [ + "8", + 0.30000000000000004, + 0.7000000000000002 + ], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 457, + "type": "WanVideoExperimentalArgs", + "pos": [ + -987.2333374023438, + 50.13705825805664 + ], + "size": [ + 248.767578125, + 274 + ], + "flags": { + "collapsed": false + }, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "exp_args", + "type": "EXPERIMENTALARGS", + "links": [ + 308, + 309 + ] + } + ], + "title": "Experiments", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "2d2a184723dae88388e130659f51c36fcadeaba8", + "Node name for S&R": "WanVideoExperimentalArgs" + }, + "widgets_values": [ + "", + true, + false, + 0, + false, + 1, + 1.25, + 20, + true, + 0 + ], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 458, + "type": "VHS_VideoCombine", + "pos": [ + 253.2666015625, + -840.0029907226562 + ], + "size": [ + 743.9667358398438, + 742.8909301757812 + ], + "flags": { + "collapsed": false + }, + "order": 36, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 467 + }, + { + "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": [ + 459 + ] + } + ], + "title": "video", + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.2", + "Node name for S&R": "VHS_VideoCombine" + }, + "widgets_values": { + "frame_rate": 16, + "loop_count": 0, + "filename_prefix": "wan\\wani2v", + "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": "wani2v_00060.mp4", + "subfolder": "wan", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 16, + "workflow": "wani2v_00060.png", + "fullpath": "D:\\sd\\t\\ComfyUI\\output\\wan\\wani2v_00060.mp4" + } + } + }, + "color": "#222", + "bgcolor": "#000", + "shape": 1 + }, + { + "id": 459, + "type": "WanVideoModelLoader", + "pos": [ + -560.1946411132812, + -454.68927001953125 + ], + "size": [ + 211.083984375, + 274 + ], + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "compile_args", + "shape": 7, + "type": "WANCOMPILEARGS", + "link": 345 + }, + { + "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 + }, + { + "name": "vace_model", + "shape": 7, + "type": "VACEPATH", + "link": null + }, + { + "name": "fantasytalking_model", + "shape": 7, + "type": "FANTASYTALKINGMODEL", + "link": null + }, + { + "name": "multitalk_model", + "shape": 7, + "type": "MULTITALKMODEL", + "link": null + } + ], + "outputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "links": [ + 319 + ] + } + ], + "title": "low_noise model", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "98fa84bb1720e184a1d2a116f986524ef2e802aa", + "Node name for S&R": "WanVideoModelLoader" + }, + "widgets_values": [ + "wan\\Wan22-I2V_A14B-Lightning-L-Q3_K_M.gguf", + "fp16", + "disabled", + "offload_device", + "sageattn" + ], + "color": "#323", + "bgcolor": "#535", + "shape": 1 + }, + { + "id": 460, + "type": "WanVideoBlockSwap", + "pos": [ + -1312.5980224609375, + -861.9267578125 + ], + "size": [ + 267.8227844238281, + 202 + ], + "flags": { + "collapsed": false + }, + "order": 12, + "mode": 4, + "inputs": [], + "outputs": [ + { + "name": "block_swap_args", + "type": "BLOCKSWAPARGS", + "links": [ + 327, + 458 + ] + } + ], + "title": "block swap (both)", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "2da36b7fdaa9da9cf38785116917adf3974387da", + "Node name for S&R": "WanVideoBlockSwap", + "widget_ue_connectable": {} + }, + "widgets_values": [ + 15, + false, + false, + false, + 0, + 0, + false + ], + "color": "#323", + "bgcolor": "#535", + "shape": 1 + }, + { + "id": 462, + "type": "WanVideoSetLoRAs", + "pos": [ + -682.5806274414062, + -383.08038330078125 + ], + "size": [ + 174.53378295898438, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 23, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "link": 319 + }, + { + "name": "lora", + "shape": 7, + "type": "WANVIDLORA", + "link": 464 + } + ], + "outputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "links": [ + 326 + ] + } + ], + "title": "lora", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "f835baa3d33b3c97cc1b588ff365b7b0dbf042d1", + "Node name for S&R": "WanVideoSetLoRAs" + }, + "widgets_values": [], + "color": "#323", + "bgcolor": "#535", + "shape": 1 + }, + { + "id": 464, + "type": "WanVideoSetLoRAs", + "pos": [ + -768.0345458984375, + -842.7381591796875 + ], + "size": [ + 174.53378295898438, + 46 + ], + "flags": { + "collapsed": false + }, + "order": 22, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "link": 322 + }, + { + "name": "lora", + "shape": 7, + "type": "WANVIDLORA", + "link": 462 + } + ], + "outputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "links": [ + 329 + ] + } + ], + "title": "lora", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "f835baa3d33b3c97cc1b588ff365b7b0dbf042d1", + "Node name for S&R": "WanVideoSetLoRAs" + }, + "widgets_values": [], + "color": "#2a363b", + "bgcolor": "#3f5159", + "shape": 1 + }, + { + "id": 466, + "type": "WanVideoSetBlockSwap", + "pos": [ + -482.8426208496094, + -136.777587890625 + ], + "size": [ + 201.76815795898438, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 27, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "link": 326 + }, + { + "name": "block_swap_args", + "shape": 7, + "type": "BLOCKSWAPARGS", + "link": 327 + } + ], + "outputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "links": [ + 427 + ] + } + ], + "title": "block_swap", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "f835baa3d33b3c97cc1b588ff365b7b0dbf042d1", + "Node name for S&R": "WanVideoSetBlockSwap" + }, + "widgets_values": [], + "color": "#323", + "bgcolor": "#535", + "shape": 1 + }, + { + "id": 467, + "type": "WanVideoSetBlockSwap", + "pos": [ + -479.610595703125, + -828.6163940429688 + ], + "size": [ + 201.76815795898438, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 26, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "link": 329 + }, + { + "name": "block_swap_args", + "shape": 7, + "type": "BLOCKSWAPARGS", + "link": 458 + } + ], + "outputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "links": [ + 457 + ] + } + ], + "title": "block_swap", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "f835baa3d33b3c97cc1b588ff365b7b0dbf042d1", + "Node name for S&R": "WanVideoSetBlockSwap" + }, + "widgets_values": [], + "color": "#2a363b", + "bgcolor": "#3f5159", + "shape": 1 + }, + { + "id": 470, + "type": "RIFE VFI", + "pos": [ + 255.0641326904297, + -908.226318359375 + ], + "size": [ + 345.6062316894531, + 198 + ], + "flags": { + "collapsed": true + }, + "order": 35, + "mode": 4, + "inputs": [ + { + "name": "frames", + "type": "IMAGE", + "link": 364 + }, + { + "name": "optional_interpolation_states", + "shape": 7, + "type": "INTERPOLATION_STATES", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 467 + ] + } + ], + "title": "frame interpolation", + "properties": { + "cnr_id": "comfyui-frame-interpolation", + "ver": "1.0.7", + "Node name for S&R": "RIFE VFI" + }, + "widgets_values": [ + "rife47.pth", + 81, + 2, + true, + true, + 1 + ], + "shape": 1 + }, + { + "id": 474, + "type": "WanVideoTorchCompileSettings", + "pos": [ + -1322.3970947265625, + -612.137451171875 + ], + "size": [ + 282.74609375, + 202 + ], + "flags": { + "collapsed": false + }, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "torch_compile_args", + "type": "WANCOMPILEARGS", + "links": [ + 344, + 345 + ] + } + ], + "title": "torch compile (both)", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "f835baa3d33b3c97cc1b588ff365b7b0dbf042d1", + "Node name for S&R": "WanVideoTorchCompileSettings" + }, + "widgets_values": [ + "inductor", + false, + "default", + false, + 64, + true, + 128 + ], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 488, + "type": "easy cleanGpuUsed", + "pos": [ + -128.86187744140625, + 200.3677978515625 + ], + "size": [ + 157.38925170898438, + 26 + ], + "flags": { + "collapsed": false + }, + "order": 33, + "mode": 0, + "inputs": [ + { + "name": "anything", + "type": "*", + "link": 471 + } + ], + "outputs": [ + { + "name": "output", + "type": "*", + "links": [ + 363, + 364 + ] + } + ], + "properties": { + "cnr_id": "comfyui-easy-use", + "ver": "1.3.1", + "Node name for S&R": "easy cleanGpuUsed" + }, + "widgets_values": [], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 500, + "type": "easy seed", + "pos": [ + -2074.631591796875, + -364.3846130371094 + ], + "size": [ + 210, + 106 + ], + "flags": { + "collapsed": false + }, + "order": 10, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "seed", + "type": "INT", + "links": [ + 413, + 414 + ] + } + ], + "properties": { + "cnr_id": "comfyui-easy-use", + "ver": "1.3.1", + "Node name for S&R": "easy seed" + }, + "widgets_values": [ + 851711663689615, + "randomize", + null + ], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 514, + "type": "WanVideoImageToVideoEncode", + "pos": [ + -1635.0330810546875, + -856.1463012695312 + ], + "size": [ + 248.23202514648438, + 390 + ], + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "vae", + "shape": 7, + "type": "WANVAE", + "link": 442 + }, + { + "name": "clip_embeds", + "shape": 7, + "type": "WANVIDIMAGE_CLIPEMBEDS", + "link": null + }, + { + "name": "start_image", + "shape": 7, + "type": "IMAGE", + "link": 436 + }, + { + "name": "end_image", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "name": "control_embeds", + "shape": 7, + "type": "WANVIDIMAGE_EMBEDS", + "link": null + }, + { + "name": "temporal_mask", + "shape": 7, + "type": "MASK", + "link": null + }, + { + "name": "extra_latents", + "shape": 7, + "type": "LATENT", + "link": null + }, + { + "name": "add_cond_latents", + "shape": 7, + "type": "ADD_COND_LATENTS", + "link": null + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 437 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 438 + } + ], + "outputs": [ + { + "name": "image_embeds", + "type": "WANVIDIMAGE_EMBEDS", + "links": [ + 453 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "7e290c67bff1f906cdab84523018573f6c9d4d7f", + "Node name for S&R": "WanVideoImageToVideoEncode" + }, + "widgets_values": [ + 832, + 480, + 81, + 0, + 1, + 1, + true, + false, + true + ], + "color": "#322", + "bgcolor": "#533", + "shape": 1 + }, + { + "id": 515, + "type": "ImageResizeKJv2", + "pos": [ + -1862.360107421875, + -806.463134765625 + ], + "size": [ + 210, + 336 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 439 + }, + { + "name": "mask", + "shape": 7, + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 436 + ] + }, + { + "name": "width", + "type": "INT", + "links": [ + 437 + ] + }, + { + "name": "height", + "type": "INT", + "links": [ + 438 + ] + }, + { + "name": "mask", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "a6b867b63a29ca48ddb15c589e17a9f2d8530d57", + "Node name for S&R": "ImageResizeKJv2" + }, + "widgets_values": [ + 704, + 384, + "lanczos", + "crop", + "0, 0, 0", + "center", + 32, + "cpu", + "Output: 1 x 704 x 384 | 3.09MB" + ], + "color": "#322", + "bgcolor": "#533", + "shape": 1 + }, + { + "id": 516, + "type": "LoadImage", + "pos": [ + -2092.74951171875, + -795.8811645507812 + ], + "size": [ + 214.080078125, + 326 + ], + "flags": { + "collapsed": false + }, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 439 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.44", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "native_00011_.png", + "image" + ], + "color": "#322", + "bgcolor": "#533", + "shape": 1 + }, + { + "id": 517, + "type": "ImageSharpen", + "pos": [ + -141.62449645996094, + 42.9093132019043 + ], + "size": [ + 210, + 106 + ], + "flags": { + "collapsed": false + }, + "order": 32, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 444 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 471 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.15", + "Node name for S&R": "ImageSharpen", + "widget_ue_connectable": {} + }, + "widgets_values": [ + 1, + 0.43, + 0.3 + ], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 528, + "type": "Note", + "pos": [ + -2735.588134765625, + -597.2681274414062 + ], + "size": [ + 594.38427734375, + 367.19122314453125 + ], + "flags": { + "collapsed": false + }, + "order": 13, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": { + "widget_ue_connectable": {} + }, + "widgets_values": [ + "To change between t2v and i2v use the yellow toggle. ((1))\nOf course set the correct model when the mode is changed.\nFor amd gpu's try to use fp8_e5m2 or fp8_e5m2_scaled.(torch.compile works)\nWhen using gguf's you need to disable quantization.\nTo add loras just enable the group for the model and set the loras.\nOtherwise choose the model type you are using (e5m2 etc)\nThis has NAG integrated, it doesn't effect speed.\nYou can however just use only positive or NAG if want. ((2))\nEnhancements are optional but you check the effects yourself.\nOn output, vae is set to tiled. Values better than default.\nIf you want to generate an image, choose t2v and set num_frames to 1.\nEnable block_swap and use 15 and up if you see vram getting filled.\nYou can check it easily with AMD Performance Metrics Overlay.\nMake sure \"GPU Mem Util\" is around 15000 MB.\nif you have 16gb vram, this ensures best speeds. (my experience)\nThere is frame interpolation if you want to use it." + ], + "color": "#222", + "bgcolor": "#000", + "shape": 1 + }, + { + "id": 538, + "type": "easy anythingIndexSwitch", + "pos": [ + -1264.6729736328125, + -347.3581237792969 + ], + "size": [ + 210, + 98 + ], + "flags": { + "collapsed": false + }, + "order": 24, + "mode": 0, + "inputs": [ + { + "name": "value0", + "shape": 7, + "type": "*", + "link": 452 + }, + { + "name": "value1", + "shape": 7, + "type": "*", + "link": 453 + }, + { + "name": "value2", + "type": "*", + "link": null + } + ], + "outputs": [ + { + "name": "value", + "type": "*", + "links": [ + 455, + 456 + ] + } + ], + "title": "((1)) ::: 0 T2V - 1 I2V", + "properties": { + "cnr_id": "comfyui-easy-use", + "ver": "1.3.2", + "Node name for S&R": "easy anythingIndexSwitch" + }, + "widgets_values": [ + 1 + ], + "color": "#432", + "bgcolor": "#653", + "shape": 1 + }, + { + "id": 539, + "type": "PlaySound|pysssss", + "pos": [ + -98.76351928710938, + 277.7669372558594 + ], + "size": [ + 270, + 106 + ], + "flags": { + "collapsed": true + }, + "order": 37, + "mode": 0, + "inputs": [ + { + "name": "any", + "type": "*", + "link": 459 + } + ], + "outputs": [ + { + "name": "*", + "shape": 6, + "type": "*", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-custom-scripts", + "ver": "1.2.5", + "Node name for S&R": "PlaySound|pysssss" + }, + "widgets_values": [ + "always", + 1, + "notify.mp3" + ], + "color": "#222", + "bgcolor": "#000", + "shape": 1 + }, + { + "id": 542, + "type": "WanVideoLoraSelectMulti", + "pos": [ + -992.3488159179688, + -847.1314086914062 + ], + "size": [ + 211.87850952148438, + 342 + ], + "flags": { + "collapsed": false + }, + "order": 2, + "mode": 4, + "inputs": [ + { + "name": "prev_lora", + "shape": 7, + "type": "WANVIDLORA", + "link": null + }, + { + "name": "blocks", + "shape": 7, + "type": "SELECTEDBLOCKS", + "link": null + } + ], + "outputs": [ + { + "name": "lora", + "type": "WANVIDLORA", + "links": [ + 462 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "06863fe2d283e89ba2386260ad2700557dda1897", + "Node name for S&R": "WanVideoLoraSelectMulti" + }, + "widgets_values": [ + "none", + 2, + "wan\\x\\NSFW-22-H-e8.safetensors", + 1, + "none", + 1, + "none", + 1, + "none", + 1, + false, + false + ], + "shape": 1 + }, + { + "id": 543, + "type": "WanVideoLoraSelectMulti", + "pos": [ + -987.707763671875, + -413.8914489746094 + ], + "size": [ + 211.87850952148438, + 342 + ], + "flags": { + "collapsed": false + }, + "order": 6, + "mode": 4, + "inputs": [ + { + "name": "prev_lora", + "shape": 7, + "type": "WANVIDLORA", + "link": null + }, + { + "name": "blocks", + "shape": 7, + "type": "SELECTEDBLOCKS", + "link": null + } + ], + "outputs": [ + { + "name": "lora", + "type": "WANVIDLORA", + "links": [ + 464 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "06863fe2d283e89ba2386260ad2700557dda1897", + "Node name for S&R": "WanVideoLoraSelectMulti" + }, + "widgets_values": [ + "none", + 2, + "wan\\x\\NSFW-22-L-e8.safetensors", + 1, + "none", + 1, + "none", + 1, + "none", + 1, + false, + false + ], + "shape": 1 + }, + { + "id": 550, + "type": "Note", + "pos": [ + -2731.49658203125, + -898.1917114257812 + ], + "size": [ + 593.3540649414062, + 271.9778137207031 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "------------------------------------------------\n---COMFYUI-ZLUDA ALL-IN-ONE WAN 2.2 WORKFLOW ---\n------------------------------------------------\n\n* Needed nodes. * \n\n- https://github.com/ltdrdata/ComfyUI-Impact-Pack\n- https://github.com/kijai/ComfyUI-WanVideoWrapper\n- https://github.com/yolain/ComfyUI-Easy-Use\n- https://github.com/kijai/ComfyUI-KJNodes\n- https://github.com/Fannovel16/ComfyUI-Frame-Interpolation\n\n" + ], + "color": "#432", + "bgcolor": "#653", + "shape": 1 + } + ], + "links": [ + [ + 43, + 38, + 0, + 28, + 0, + "VAE" + ], + [ + 198, + 388, + 0, + 389, + 0, + "CLIP" + ], + [ + 201, + 393, + 0, + 391, + 0, + "CONDITIONING" + ], + [ + 205, + 388, + 0, + 393, + 0, + "CLIP" + ], + [ + 237, + 389, + 0, + 390, + 0, + "CONDITIONING" + ], + [ + 238, + 390, + 0, + 392, + 1, + "WANVIDEOTEXTEMBEDS" + ], + [ + 239, + 391, + 0, + 392, + 0, + "WANVIDEOTEXTEMBEDS" + ], + [ + 251, + 391, + 0, + 422, + 0, + "*" + ], + [ + 252, + 392, + 0, + 422, + 1, + "WANVIDEOTEXTEMBEDS" + ], + [ + 274, + 27, + 0, + 434, + 3, + "LATENT" + ], + [ + 294, + 434, + 0, + 28, + 1, + "LATENT" + ], + [ + 308, + 457, + 0, + 27, + 10, + "EXPERIMENTALARGS" + ], + [ + 309, + 457, + 0, + 434, + 10, + "EXPERIMENTALARGS" + ], + [ + 310, + 455, + 0, + 27, + 4, + "FETAARGS" + ], + [ + 311, + 455, + 0, + 434, + 4, + "FETAARGS" + ], + [ + 312, + 456, + 0, + 27, + 8, + "SLGARGS" + ], + [ + 313, + 456, + 0, + 434, + 8, + "SLGARGS" + ], + [ + 319, + 459, + 0, + 462, + 0, + "WANVIDEOMODEL" + ], + [ + 322, + 433, + 0, + 464, + 0, + "WANVIDEOMODEL" + ], + [ + 326, + 462, + 0, + 466, + 0, + "WANVIDEOMODEL" + ], + [ + 327, + 460, + 0, + 466, + 1, + "BLOCKSWAPARGS" + ], + [ + 329, + 464, + 0, + 467, + 0, + "WANVIDEOMODEL" + ], + [ + 344, + 474, + 0, + 433, + 0, + "WANCOMPILEARGS" + ], + [ + 345, + 474, + 0, + 459, + 0, + "WANCOMPILEARGS" + ], + [ + 363, + 488, + 0, + 348, + 0, + "IMAGE" + ], + [ + 364, + 488, + 0, + 470, + 0, + "IMAGE" + ], + [ + 413, + 500, + 0, + 27, + 17, + "INT" + ], + [ + 414, + 500, + 0, + 434, + 17, + "INT" + ], + [ + 420, + 422, + 0, + 27, + 2, + "WANVIDEOTEXTEMBEDS" + ], + [ + 421, + 422, + 0, + 434, + 2, + "WANVIDEOTEXTEMBEDS" + ], + [ + 427, + 466, + 0, + 434, + 0, + "WANVIDEOMODEL" + ], + [ + 436, + 515, + 0, + 514, + 2, + "IMAGE" + ], + [ + 437, + 515, + 1, + 514, + 8, + "INT" + ], + [ + 438, + 515, + 2, + 514, + 9, + "INT" + ], + [ + 439, + 516, + 0, + 515, + 0, + "IMAGE" + ], + [ + 442, + 38, + 0, + 514, + 0, + "WANVAE" + ], + [ + 444, + 28, + 0, + 517, + 0, + "IMAGE" + ], + [ + 452, + 361, + 0, + 538, + 0, + "*" + ], + [ + 453, + 514, + 0, + 538, + 1, + "*" + ], + [ + 455, + 538, + 0, + 27, + 1, + "WANVIDIMAGE_EMBEDS" + ], + [ + 456, + 538, + 0, + 434, + 1, + "WANVIDIMAGE_EMBEDS" + ], + [ + 457, + 467, + 0, + 27, + 0, + "WANVIDEOMODEL" + ], + [ + 458, + 460, + 0, + 467, + 1, + "BLOCKSWAPARGS" + ], + [ + 459, + 458, + 0, + 539, + 0, + "*" + ], + [ + 462, + 542, + 0, + 464, + 1, + "WANVIDLORA" + ], + [ + 464, + 543, + 0, + 462, + 1, + "WANVIDLORA" + ], + [ + 467, + 470, + 0, + 458, + 0, + "IMAGE" + ], + [ + 471, + 517, + 0, + 488, + 0, + "*" + ] + ], + "groups": [ + { + "id": 1, + "title": "to use native comfy clip with nag", + "bounding": [ + -2459.3291015625, + -217.00621032714844, + 1430.7686767578125, + 546.3687744140625 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 2, + "title": "to use with image to video", + "bounding": [ + -2117.224609375, + -947.7061157226562, + 760.460693359375, + 503.9556579589844 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 3, + "title": "loras 1st stage", + "bounding": [ + -1006.2738037109375, + -921.4015502929688, + 426.2474365234375, + 421.9496154785156 + ], + "color": "#8AA", + "font_size": 24, + "flags": {} + }, + { + "id": 4, + "title": "loras 2nd stage", + "bounding": [ + -1001.6336669921875, + -491.2558288574219, + 420.05828857421875, + 426.5914611816406 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + }, + { + "id": 5, + "title": "enhancements for wan samplers (optional)", + "bounding": [ + -1004.7282104492188, + -39.44934844970703, + 515.9898681640625, + 380.1729736328125 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 6, + "title": "Output", + "bounding": [ + -381.1731262207031, + -31.712936401367188, + 466.4768371582031, + 335.3017883300781 + ], + "color": "#444", + "font_size": 24, + "flags": {} + } + ], + "config": {}, + "extra": { + "ds": { + "scale": 0.6462940237856621, + "offset": [ + 2708.287392603635, + 1029.7106470493015 + ] + }, + "frontendVersion": "1.26.2", + "node_versions": { + "ComfyUI-WanVideoWrapper": "5a2383621a05825d0d0437781afcb8552d9590fd", + "ComfyUI-KJNodes": "a5bd3c86c8ed6b83c55c2d0e7a59515b15a0137f", + "ComfyUI-VideoHelperSuite": "0a75c7958fe320efcb052f1d9f8451fd20c730a8" + }, + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true, + "ue_links": [], + "links_added_by_ue": [], + "groupNodes": {} + }, + "version": 0.4 +} \ No newline at end of file diff --git a/cfz/workflows/Comfyui-Zluda- Qwen-Image-Edit-Workflow.json b/cfz/workflows/Comfyui-Zluda- Qwen-Image-Edit-Workflow.json new file mode 100644 index 000000000..abda09704 --- /dev/null +++ b/cfz/workflows/Comfyui-Zluda- Qwen-Image-Edit-Workflow.json @@ -0,0 +1,1133 @@ +{ + "id": "7cbcec68-7fa6-47bb-a38a-da689949a001", + "revision": 0, + "last_node_id": 239, + "last_link_id": 420, + "nodes": [ + { + "id": 31, + "type": "KSampler", + "pos": [ + -254.38722229003906, + 215.63897705078125 + ], + "size": [ + 210, + 262 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 400 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 374 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 375 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 409 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "slot_index": 0, + "links": [ + 322 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.38", + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 909357180612308, + "randomize", + 2, + 1, + "res_2s", + "bong_tangent", + 1 + ], + "color": "#2a363b", + "bgcolor": "#3f5159", + "shape": 1 + }, + { + "id": 136, + "type": "SaveImage", + "pos": [ + -20.44978904724121, + 122.09445190429688 + ], + "size": [ + 256.9048156738281, + 484.9698486328125 + ], + "flags": { + "collapsed": false + }, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 377 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.39", + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "qwen-edit\\qwenedit" + ], + "shape": 1 + }, + { + "id": 190, + "type": "UNETLoader", + "pos": [ + -1095.24560546875, + 145.51499938964844 + ], + "size": [ + 287.05792236328125, + 82 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "slot_index": 0, + "links": [ + 396 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.48", + "Node name for S&R": "UNETLoader", + "models": [ + { + "name": "qwen_image_fp8_e4m3fn.safetensors", + "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_fp8_e4m3fn.safetensors", + "directory": "diffusion_models" + } + ], + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "widget_ue_connectable": {} + }, + "widgets_values": [ + "qwenimage4step_00001_.safetensors", + "fp8_e5m2" + ], + "color": "#332922", + "bgcolor": "#593930", + "shape": 1 + }, + { + "id": 193, + "type": "ModelSamplingAuraFlow", + "pos": [ + -480.092041015625, + 226.68487548828125 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": false + }, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 348 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 398 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.49", + "Node name for S&R": "ModelSamplingAuraFlow" + }, + "widgets_values": [ + 3.5 + ], + "color": "#332922", + "bgcolor": "#593930", + "shape": 1 + }, + { + "id": 199, + "type": "VAEDecodeTiled", + "pos": [ + -252.82998657226562, + 528.8256225585938 + ], + "size": [ + 210, + 151.1167755126953 + ], + "flags": { + "collapsed": false + }, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 322 + }, + { + "name": "vae", + "type": "VAE", + "link": 342 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 376 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.50", + "Node name for S&R": "VAEDecodeTiled" + }, + "widgets_values": [ + 512, + 64, + 64, + 8 + ], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 201, + "type": "LoadImage", + "pos": [ + -1077.2164306640625, + 721.9271240234375 + ], + "size": [ + 288.9044494628906, + 326 + ], + "flags": { + "collapsed": false + }, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 412, + 419 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.50", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "534325031_18515861197008839_7428513282061612305_n.jpg", + "image" + ], + "color": "#432", + "bgcolor": "#653", + "shape": 1 + }, + { + "id": 209, + "type": "CFZVAELoader", + "pos": [ + -1095.289794921875, + 394.710205078125 + ], + "size": [ + 284.8243713378906, + 82 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 342, + 404 + ] + } + ], + "properties": { + "Node name for S&R": "CFZVAELoader" + }, + "widgets_values": [ + "qwen_image_vae.safetensors", + "fp16" + ], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 211, + "type": "PathchSageAttentionKJ", + "pos": [ + -484.4090576171875, + 117.54524230957031 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": false + }, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 397 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 348 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "876a6dd2929d88ec35c09c7cddc6c360f4b27013", + "Node name for S&R": "PathchSageAttentionKJ" + }, + "widgets_values": [ + "auto" + ], + "color": "#332922", + "bgcolor": "#593930", + "shape": 1 + }, + { + "id": 218, + "type": "VRAM_Debug", + "pos": [ + -186.1266632080078, + 788.2235107421875 + ], + "size": [ + 291.1640625, + 186 + ], + "flags": { + "collapsed": true + }, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "any_input", + "shape": 7, + "type": "*", + "link": 402 + }, + { + "name": "image_pass", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "name": "model_pass", + "shape": 7, + "type": "MODEL", + "link": null + } + ], + "outputs": [ + { + "name": "any_output", + "type": "*", + "links": [ + 374, + 375 + ] + }, + { + "name": "image_pass", + "type": "IMAGE", + "links": null + }, + { + "name": "model_pass", + "type": "MODEL", + "links": null + }, + { + "label": "16,526,988,288 freemem_before", + "name": "freemem_before", + "type": "INT", + "links": null + }, + { + "label": "16,779,378,688 freemem_after", + "name": "freemem_after", + "type": "INT", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "876a6dd2929d88ec35c09c7cddc6c360f4b27013", + "Node name for S&R": "VRAM_Debug" + }, + "widgets_values": [ + true, + true, + true + ], + "color": "#2a363b", + "bgcolor": "#3f5159", + "shape": 1 + }, + { + "id": 219, + "type": "VRAM_Debug", + "pos": [ + -184.78164672851562, + 732.9180297851562 + ], + "size": [ + 291.1640625, + 186 + ], + "flags": { + "collapsed": true + }, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "any_input", + "shape": 7, + "type": "*", + "link": null + }, + { + "name": "image_pass", + "shape": 7, + "type": "IMAGE", + "link": 376 + }, + { + "name": "model_pass", + "shape": 7, + "type": "MODEL", + "link": null + } + ], + "outputs": [ + { + "name": "any_output", + "type": "*", + "links": [] + }, + { + "name": "image_pass", + "type": "IMAGE", + "links": [ + 377 + ] + }, + { + "name": "model_pass", + "type": "MODEL", + "links": null + }, + { + "label": "16,224,998,400 freemem_before", + "name": "freemem_before", + "type": "INT", + "links": null + }, + { + "label": "16,779,378,688 freemem_after", + "name": "freemem_after", + "type": "INT", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "876a6dd2929d88ec35c09c7cddc6c360f4b27013", + "Node name for S&R": "VRAM_Debug" + }, + "widgets_values": [ + true, + true, + true + ], + "color": "#2a363b", + "bgcolor": "#3f5159", + "shape": 1 + }, + { + "id": 220, + "type": "Note", + "pos": [ + -1091.3302001953125, + 540.2989501953125 + ], + "size": [ + 469.8566589355469, + 88 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "* you can use \nhttps://github.com/lum3on/ComfyUI-ModelQuantizer \nto quantize fp16 / bf16 model to e5m2.(best for amd)" + ], + "color": "#432", + "bgcolor": "#653", + "shape": 1 + }, + { + "id": 222, + "type": "PreviewImage", + "pos": [ + -776.29345703125, + 850.9697875976562 + ], + "size": [ + 222.2845916748047, + 258 + ], + "flags": { + "collapsed": false + }, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 419 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.50", + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [], + "color": "#432", + "bgcolor": "#653", + "shape": 1 + }, + { + "id": 231, + "type": "TorchCompileModelQwenImage", + "pos": [ + -781.9800415039062, + 114.09339141845703 + ], + "size": [ + 282.74609375, + 178 + ], + "flags": { + "collapsed": false + }, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 396 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 397 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "876a6dd2929d88ec35c09c7cddc6c360f4b27013", + "Node name for S&R": "TorchCompileModelQwenImage" + }, + "widgets_values": [ + "inductor", + false, + "default", + false, + true, + 128 + ], + "color": "#332922", + "bgcolor": "#593930", + "shape": 1 + }, + { + "id": 232, + "type": "CFGNorm", + "pos": [ + -254.8594207763672, + 105.15921783447266 + ], + "size": [ + 210, + 58 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 398 + } + ], + "outputs": [ + { + "name": "patched_model", + "type": "MODEL", + "links": [ + 400 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.50", + "Node name for S&R": "CFGNorm", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "ue_properties": { + "version": "7.0.1", + "widget_ue_connectable": { + "strength": true + } + } + }, + "widgets_values": [ + 1 + ], + "color": "#332922", + "bgcolor": "#593930", + "shape": 1 + }, + { + "id": 233, + "type": "CLIPTextEncode", + "pos": [ + -784.2139282226562, + 339.6834716796875 + ], + "size": [ + 500.5103454589844, + 156.44552612304688 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 414 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 406 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.50", + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "make the woman's hair blue" + ], + "color": "#232", + "bgcolor": "#353", + "shape": 1 + }, + { + "id": 234, + "type": "ReferenceLatent", + "pos": [ + -487.1500549316406, + 542.9376220703125 + ], + "size": [ + 197.712890625, + 46 + ], + "flags": { + "collapsed": false + }, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "conditioning", + "type": "CONDITIONING", + "link": 406 + }, + { + "name": "latent", + "shape": 7, + "type": "LATENT", + "link": 405 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 402 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.50", + "Node name for S&R": "ReferenceLatent" + }, + "widgets_values": [], + "color": "#332922", + "bgcolor": "#593930", + "shape": 1 + }, + { + "id": 235, + "type": "VAEEncodeTiled", + "pos": [ + -497.2005310058594, + 652.3844604492188 + ], + "size": [ + 210, + 150 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 420 + }, + { + "name": "vae", + "type": "VAE", + "link": 404 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 405, + 409 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.50", + "Node name for S&R": "VAEEncodeTiled" + }, + "widgets_values": [ + 512, + 64, + 64, + 8 + ], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 236, + "type": "ImageScaleToTotalPixels", + "pos": [ + -775.2783813476562, + 720.5057373046875 + ], + "size": [ + 234.56919860839844, + 82 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 412 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 420 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.50", + "Node name for S&R": "ImageScaleToTotalPixels" + }, + "widgets_values": [ + "nearest-exact", + 1 + ], + "color": "#432", + "bgcolor": "#653", + "shape": 1 + }, + { + "id": 237, + "type": "CLIPLoaderGGUF", + "pos": [ + -1093.5625, + 269.3258056640625 + ], + "size": [ + 284.8243713378906, + 82 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 414 + ] + } + ], + "properties": { + "cnr_id": "comfyui-gguf", + "ver": "1.1.3", + "Node name for S&R": "CLIPLoaderGGUF" + }, + "widgets_values": [ + "Qwen2.5-VL-7B-Instruct-abliterated.Q4_K_M.gguf", + "qwen_image" + ], + "color": "#232", + "bgcolor": "#353", + "shape": 1 + } + ], + "links": [ + [ + 322, + 31, + 0, + 199, + 0, + "LATENT" + ], + [ + 342, + 209, + 0, + 199, + 1, + "VAE" + ], + [ + 348, + 211, + 0, + 193, + 0, + "MODEL" + ], + [ + 374, + 218, + 0, + 31, + 1, + "CONDITIONING" + ], + [ + 375, + 218, + 0, + 31, + 2, + "CONDITIONING" + ], + [ + 376, + 199, + 0, + 219, + 1, + "IMAGE" + ], + [ + 377, + 219, + 1, + 136, + 0, + "IMAGE" + ], + [ + 396, + 190, + 0, + 231, + 0, + "MODEL" + ], + [ + 397, + 231, + 0, + 211, + 0, + "MODEL" + ], + [ + 398, + 193, + 0, + 232, + 0, + "MODEL" + ], + [ + 400, + 232, + 0, + 31, + 0, + "MODEL" + ], + [ + 402, + 234, + 0, + 218, + 0, + "*" + ], + [ + 404, + 209, + 0, + 235, + 1, + "VAE" + ], + [ + 405, + 235, + 0, + 234, + 1, + "LATENT" + ], + [ + 406, + 233, + 0, + 234, + 0, + "CONDITIONING" + ], + [ + 409, + 235, + 0, + 31, + 3, + "LATENT" + ], + [ + 412, + 201, + 0, + 236, + 0, + "IMAGE" + ], + [ + 414, + 237, + 0, + 233, + 0, + "CLIP" + ], + [ + 419, + 201, + 0, + 222, + 0, + "IMAGE" + ], + [ + 420, + 236, + 0, + 235, + 0, + "IMAGE" + ] + ], + "groups": [ + { + "id": 1, + "title": "models", + "bounding": [ + -1105.8466796875, + 70.53893280029297, + 303.0500793457031, + 418.38482666015625 + ], + "color": "#A88", + "font_size": 24, + "flags": {} + }, + { + "id": 2, + "title": "input", + "bounding": [ + -1086.8612060546875, + 646.7985229492188, + 557.67626953125, + 476.45745849609375 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], + "config": {}, + "extra": { + "ds": { + "scale": 0.895430243255317, + "offset": [ + 1326.969817544657, + -22.517282988604055 + ] + }, + "frontendVersion": "1.26.5", + "groupNodes": {}, + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} diff --git a/cfz/workflows/wan-image-to-video.json b/cfz/workflows/wan-image-to-video.json new file mode 100644 index 000000000..e0c203075 --- /dev/null +++ b/cfz/workflows/wan-image-to-video.json @@ -0,0 +1,1361 @@ +{ + "id": "ead6be84-276d-4aea-b9c9-4ebc5eae4504", + "revision": 0, + "last_node_id": 82, + "last_link_id": 162, + "nodes": [ + { + "id": 56, + "type": "RIFE VFI", + "pos": [ + 222.15480041503906, + 544.4244995117188 + ], + "size": [ + 289.6578063964844, + 198 + ], + "flags": { + "collapsed": false + }, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "frames", + "type": "IMAGE", + "link": 114 + }, + { + "name": "optional_interpolation_states", + "shape": 7, + "type": "INTERPOLATION_STATES", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 115 + ] + } + ], + "properties": { + "cnr_id": "comfyui-frame-interpolation", + "ver": "a969c01dbccd9e5510641be04eb51fe93f6bfc3d", + "Node name for S&R": "RIFE VFI", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "rife47.pth", + 10, + 3, + false, + false, + 1 + ] + }, + { + "id": 65, + "type": "easy cleanGpuUsed", + "pos": [ + 289.1694030761719, + 405.18621826171875 + ], + "size": [ + 157.38925170898438, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "anything", + "type": "*", + "link": 138 + } + ], + "outputs": [ + { + "name": "output", + "type": "*", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-easy-use", + "ver": "1.3.0", + "Node name for S&R": "easy cleanGpuUsed", + "widget_ue_connectable": {} + }, + "widgets_values": [] + }, + { + "id": 3, + "type": "KSampler", + "pos": [ + -424.7112121582031, + 878.5446166992188 + ], + "size": [ + 210, + 262 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 140 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 101 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 102 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 103 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "slot_index": 0, + "links": [ + 112 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.40", + "Node name for S&R": "KSampler", + "widget_ue_connectable": {} + }, + "widgets_values": [ + 572906226304457, + "randomize", + 8, + 1, + "uni_pc", + "beta", + 1 + ] + }, + { + "id": 55, + "type": "CUDNNToggleAutoPassthrough", + "pos": [ + -157.51495361328125, + 812.6849365234375 + ], + "size": [ + 270, + 138 + ], + "flags": { + "collapsed": false + }, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "model", + "shape": 7, + "type": "MODEL", + "link": null + }, + { + "name": "conditioning", + "shape": 7, + "type": "CONDITIONING", + "link": null + }, + { + "name": "latent", + "shape": 7, + "type": "LATENT", + "link": 112 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "image", + "shape": 7, + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "model", + "type": "MODEL", + "links": null + }, + { + "name": "conditioning", + "type": "CONDITIONING", + "links": null + }, + { + "name": "latent", + "type": "LATENT", + "links": [ + 113 + ] + }, + { + "name": "audio", + "type": "AUDIO", + "links": null + }, + { + "name": "image", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "Node name for S&R": "CUDNNToggleAutoPassthrough", + "widget_ue_connectable": {} + }, + "widgets_values": [ + false + ] + }, + { + "id": 8, + "type": "VAEDecode", + "pos": [ + 44.373817443847656, + 641.477783203125 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": false + }, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 113 + }, + { + "name": "vae", + "type": "VAE", + "link": 76 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 114, + 138 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.40", + "Node name for S&R": "VAEDecode", + "widget_ue_connectable": {} + }, + "widgets_values": [] + }, + { + "id": 64, + "type": "easy cleanGpuUsed", + "pos": [ + -412.7046203613281, + 1219.6357421875 + ], + "size": [ + 157.38925170898438, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "anything", + "type": "*", + "link": 137 + } + ], + "outputs": [ + { + "name": "output", + "type": "*", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-easy-use", + "ver": "1.3.0", + "Node name for S&R": "easy cleanGpuUsed", + "widget_ue_connectable": {} + }, + "widgets_values": [] + }, + { + "id": 66, + "type": "PreviewImage", + "pos": [ + -715.3073120117188, + 1350.8878173828125 + ], + "size": [ + 235.02816772460938, + 267.5345458984375 + ], + "flags": { + "collapsed": true + }, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 139 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.40", + "Node name for S&R": "PreviewImage", + "widget_ue_connectable": {} + }, + "widgets_values": [] + }, + { + "id": 58, + "type": "PathchSageAttentionKJ", + "pos": [ + -606.0626831054688, + 335.99664306640625 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": false + }, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 116 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 140 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "1.1.0", + "Node name for S&R": "PathchSageAttentionKJ", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "disabled" + ] + }, + { + "id": 6, + "type": "CLIPTextEncode", + "pos": [ + -903.096923828125, + 482.7010192871094 + ], + "size": [ + 337.1022644042969, + 318.0575256347656 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 141 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "slot_index": 0, + "links": [ + 97 + ] + } + ], + "title": "CLIP Text Encode (Positive Prompt)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.40", + "Node name for S&R": "CLIPTextEncode", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "Close-up on her serene face, backlit by the setting sun. In one smooth motion, the camera rapidly dollies out to reveal her flowing burgundy velvet dress and bare feet pressing into sunlit grass. Her curls catch the light as the full figure comes into view, framed by a golden horizon. The light flares briefly, adding dramatic warmth to the quick pull-back." + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 7, + "type": "CLIPTextEncode", + "pos": [ + -524.0017700195312, + 553.748291015625 + ], + "size": [ + 269.4439392089844, + 171.071533203125 + ], + "flags": { + "collapsed": false + }, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 142 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "slot_index": 0, + "links": [ + 98 + ] + } + ], + "title": "CLIP Text Encode (Negative Prompt)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.40", + "Node name for S&R": "CLIPTextEncode", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 51, + "type": "CLIPVisionEncode", + "pos": [ + -952.651611328125, + 936.674560546875 + ], + "size": [ + 230.390625, + 78 + ], + "flags": { + "collapsed": false + }, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "clip_vision", + "type": "CLIP_VISION", + "link": 94 + }, + { + "name": "image", + "type": "IMAGE", + "link": 136 + } + ], + "outputs": [ + { + "name": "CLIP_VISION_OUTPUT", + "type": "CLIP_VISION_OUTPUT", + "slot_index": 0, + "links": [ + 107 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.40", + "Node name for S&R": "CLIPVisionEncode", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "none" + ] + }, + { + "id": 52, + "type": "LoadImage", + "pos": [ + -1588.8385009765625, + 1102.75 + ], + "size": [ + 315, + 314.00006103515625 + ], + "flags": { + "collapsed": false + }, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 161 + ] + }, + { + "name": "MASK", + "type": "MASK", + "slot_index": 1, + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.40", + "Node name for S&R": "LoadImage", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "Untitled.jpg", + "image" + ] + }, + { + "id": 38, + "type": "CLIPLoader", + "pos": [ + -1454.23583984375, + 602.2388305664062 + ], + "size": [ + 281.3839111328125, + 106 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "slot_index": 0, + "links": [ + 141, + 142 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.40", + "Node name for S&R": "CLIPLoader", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "wan\\umt5_xxl_fp8_e4m3fn_scaled.safetensors", + "wan", + "cpu" + ] + }, + { + "id": 62, + "type": "CUDNNToggleAutoPassthrough", + "pos": [ + -1145.0006103515625, + 314.25225830078125 + ], + "size": [ + 210, + 138 + ], + "flags": { + "collapsed": false + }, + "order": 9, + "mode": 4, + "inputs": [ + { + "name": "model", + "shape": 7, + "type": "MODEL", + "link": 130 + }, + { + "name": "conditioning", + "shape": 7, + "type": "CONDITIONING", + "link": null + }, + { + "name": "latent", + "shape": 7, + "type": "LATENT", + "link": null + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "image", + "shape": 7, + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "model", + "type": "MODEL", + "links": [ + 131 + ] + }, + { + "name": "conditioning", + "type": "CONDITIONING", + "links": null + }, + { + "name": "latent", + "type": "LATENT", + "links": [] + }, + { + "name": "audio", + "type": "AUDIO", + "links": null + }, + { + "name": "image", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "Node name for S&R": "CUDNNToggleAutoPassthrough", + "widget_ue_connectable": {} + }, + "widgets_values": [ + true + ] + }, + { + "id": 37, + "type": "UNETLoader", + "pos": [ + -1476.2994384765625, + 477.8760681152344 + ], + "size": [ + 298.83331298828125, + 82 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "slot_index": 0, + "links": [ + 130 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.40", + "Node name for S&R": "UNETLoader", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "wan\\wan-i2v720-merge.safetensors", + "fp8_e4m3fn" + ] + }, + { + "id": 49, + "type": "CLIPVisionLoader", + "pos": [ + -1446.802490234375, + 759.7808227539062 + ], + "size": [ + 278.2113037109375, + 58 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP_VISION", + "type": "CLIP_VISION", + "slot_index": 0, + "links": [ + 94 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.40", + "Node name for S&R": "CLIPVisionLoader", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "clip_vision_h.safetensors" + ] + }, + { + "id": 39, + "type": "VAELoader", + "pos": [ + -1463.7840576171875, + 866.295654296875 + ], + "size": [ + 295.66070556640625, + 58 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "slot_index": 0, + "links": [ + 76, + 99 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.40", + "Node name for S&R": "VAELoader", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "wan_2.1_vae.safetensors" + ] + }, + { + "id": 57, + "type": "VHS_VideoCombine", + "pos": [ + 194.37893676757812, + 806.4320068359375 + ], + "size": [ + 371.9513854980469, + 699.951416015625 + ], + "flags": { + "collapsed": true + }, + "order": 21, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 115 + }, + { + "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": "1.6.1", + "Node name for S&R": "VHS_VideoCombine", + "widget_ue_connectable": {} + }, + "widgets_values": { + "frame_rate": 24, + "loop_count": 0, + "filename_prefix": "video2\\wani2v", + "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": "wani2v_00034.mp4", + "subfolder": "video2", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 24, + "workflow": "wani2v_00034.png", + "fullpath": "D:\\sd\\ComfyUI-Zluda\\output\\video2\\wani2v_00034.mp4" + } + } + } + }, + { + "id": 82, + "type": "Note", + "pos": [ + -1931.250244140625, + 537.0108032226562 + ], + "size": [ + 423.9493713378906, + 310.6368713378906 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "In my testing both wan 2.1 i2v 480p and 720p have identical performance. They were in the beginning just fp8 versions of the models, each around 15.8 gb. I personally merged my model but you can use this model as well : \n\n`Wan2.1_14B_I2V-FusionX` \nhttps://civitai.com/models/1651125?modelVersionId=1882322\n\nPlace in: `ComfyUI/models/diffusion_models`\n\n\nAll the points in t2v workflow are still valid here, please get that and read the notes there. As said there please start with smaller sizes with both resolution and frame count. (length)\n\n" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 63, + "type": "ImageResizeKJv2", + "pos": [ + -1215.9581298828125, + 1113.6256103515625 + ], + "size": [ + 210, + 242 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 161 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 135, + 136, + 139 + ] + }, + { + "name": "width", + "type": "INT", + "links": [ + 133 + ] + }, + { + "name": "height", + "type": "INT", + "links": [ + 134 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "1.1.0", + "Node name for S&R": "ImageResizeKJv2", + "widget_ue_connectable": {} + }, + "widgets_values": [ + 512, + 512, + "nearest-exact", + "stretch", + "0, 0, 0", + "center", + 2 + ] + }, + { + "id": 50, + "type": "WanImageToVideo", + "pos": [ + -679.4786987304688, + 903.9613647460938 + ], + "size": [ + 210, + 210 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 97 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 98 + }, + { + "name": "vae", + "type": "VAE", + "link": 99 + }, + { + "name": "clip_vision_output", + "shape": 7, + "type": "CLIP_VISION_OUTPUT", + "link": 107 + }, + { + "name": "start_image", + "shape": 7, + "type": "IMAGE", + "link": 135 + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 133 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 134 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "slot_index": 0, + "links": [ + 101 + ] + }, + { + "name": "negative", + "type": "CONDITIONING", + "slot_index": 1, + "links": [ + 102 + ] + }, + { + "name": "latent", + "type": "LATENT", + "slot_index": 2, + "links": [ + 103, + 137 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.40", + "Node name for S&R": "WanImageToVideo", + "widget_ue_connectable": {} + }, + "widgets_values": [ + 256, + 256, + 33, + 1 + ] + }, + { + "id": 54, + "type": "ModelSamplingSD3", + "pos": [ + -895.5330200195312, + 340.7727966308594 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": false + }, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 131 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "slot_index": 0, + "links": [ + 116 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.40", + "Node name for S&R": "ModelSamplingSD3", + "widget_ue_connectable": {} + }, + "widgets_values": [ + 1.0000000000000002 + ] + } + ], + "links": [ + [ + 76, + 39, + 0, + 8, + 1, + "VAE" + ], + [ + 94, + 49, + 0, + 51, + 0, + "CLIP_VISION" + ], + [ + 97, + 6, + 0, + 50, + 0, + "CONDITIONING" + ], + [ + 98, + 7, + 0, + 50, + 1, + "CONDITIONING" + ], + [ + 99, + 39, + 0, + 50, + 2, + "VAE" + ], + [ + 101, + 50, + 0, + 3, + 1, + "CONDITIONING" + ], + [ + 102, + 50, + 1, + 3, + 2, + "CONDITIONING" + ], + [ + 103, + 50, + 2, + 3, + 3, + "LATENT" + ], + [ + 107, + 51, + 0, + 50, + 3, + "CLIP_VISION_OUTPUT" + ], + [ + 112, + 3, + 0, + 55, + 2, + "LATENT" + ], + [ + 113, + 55, + 2, + 8, + 0, + "LATENT" + ], + [ + 114, + 8, + 0, + 56, + 0, + "IMAGE" + ], + [ + 115, + 56, + 0, + 57, + 0, + "IMAGE" + ], + [ + 116, + 54, + 0, + 58, + 0, + "MODEL" + ], + [ + 130, + 37, + 0, + 62, + 0, + "MODEL" + ], + [ + 131, + 62, + 0, + 54, + 0, + "MODEL" + ], + [ + 133, + 63, + 1, + 50, + 5, + "INT" + ], + [ + 134, + 63, + 2, + 50, + 6, + "INT" + ], + [ + 135, + 63, + 0, + 50, + 4, + "IMAGE" + ], + [ + 136, + 63, + 0, + 51, + 1, + "IMAGE" + ], + [ + 137, + 50, + 2, + 64, + 0, + "*" + ], + [ + 138, + 8, + 0, + 65, + 0, + "*" + ], + [ + 139, + 63, + 0, + 66, + 0, + "IMAGE" + ], + [ + 140, + 58, + 0, + 3, + 0, + "MODEL" + ], + [ + 141, + 38, + 0, + 6, + 0, + "CLIP" + ], + [ + 142, + 38, + 0, + 7, + 0, + "CLIP" + ], + [ + 161, + 52, + 0, + 63, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.6303940863128753, + "offset": [ + 1983.5984236575111, + -73.80851902747352 + ] + }, + "ue_links": [], + "links_added_by_ue": [], + "frontendVersion": "1.21.7", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file diff --git a/cfz/workflows/wan-t2v-selfforcing.json b/cfz/workflows/wan-t2v-selfforcing.json new file mode 100644 index 000000000..40959df27 --- /dev/null +++ b/cfz/workflows/wan-t2v-selfforcing.json @@ -0,0 +1,1059 @@ +{ + "id": "278fe23f-843e-4769-92ca-3a44713f28bf", + "revision": 0, + "last_node_id": 76, + "last_link_id": 150, + "nodes": [ + { + "id": 67, + "type": "CUDNNToggleAutoPassthrough", + "pos": [ + 425.2909240722656, + 155.48306274414062 + ], + "size": [ + 270, + 138 + ], + "flags": { + "collapsed": true + }, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "model", + "shape": 7, + "type": "MODEL", + "link": null + }, + { + "name": "conditioning", + "shape": 7, + "type": "CONDITIONING", + "link": null + }, + { + "name": "latent", + "shape": 7, + "type": "LATENT", + "link": 130 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "image", + "shape": 7, + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "model", + "type": "MODEL", + "links": [] + }, + { + "name": "conditioning", + "type": "CONDITIONING", + "links": null + }, + { + "name": "latent", + "type": "LATENT", + "links": [ + 131 + ] + }, + { + "name": "audio", + "type": "AUDIO", + "links": null + }, + { + "name": "image", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "Node name for S&R": "CUDNNToggleAutoPassthrough", + "widget_ue_connectable": {} + }, + "widgets_values": [ + false + ], + "color": "#322", + "bgcolor": "#533", + "shape": 1 + }, + { + "id": 8, + "type": "VAEDecode", + "pos": [ + 461.2257995605469, + 220.65036010742188 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": false + }, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 131 + }, + { + "name": "vae", + "type": "VAE", + "link": 150 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 119, + 128 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.34", + "Node name for S&R": "VAEDecode", + "widget_ue_connectable": {} + }, + "widgets_values": [], + "color": "#322", + "bgcolor": "#533", + "shape": 1 + }, + { + "id": 66, + "type": "RIFE VFI", + "pos": [ + 465.32806396484375, + 338.5156555175781 + ], + "size": [ + 289.6578063964844, + 198 + ], + "flags": { + "collapsed": true + }, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "frames", + "type": "IMAGE", + "link": 128 + }, + { + "name": "optional_interpolation_states", + "shape": 7, + "type": "INTERPOLATION_STATES", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 129 + ] + } + ], + "title": "RIFE", + "properties": { + "cnr_id": "comfyui-frame-interpolation", + "ver": "a969c01dbccd9e5510641be04eb51fe93f6bfc3d", + "Node name for S&R": "RIFE VFI", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "rife47.pth", + 50, + 2, + true, + true, + 1 + ], + "color": "#322", + "bgcolor": "#533", + "shape": 1 + }, + { + "id": 49, + "type": "VHS_VideoCombine", + "pos": [ + 652.2017211914062, + -72.46044921875 + ], + "size": [ + 231.64785766601562, + 446.1045227050781 + ], + "flags": { + "collapsed": false + }, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 129 + }, + { + "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": "a7ce59e381934733bfae03b1be029756d6ce936d", + "Node name for S&R": "VHS_VideoCombine", + "widget_ue_connectable": {} + }, + "widgets_values": { + "frame_rate": 30, + "loop_count": 0, + "filename_prefix": "video\\wan-t2v-selfforcing-", + "format": "video/h265-mp4", + "pix_fmt": "yuv420p10le", + "crf": 17, + "save_metadata": true, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "wan-t2v-selfforcing-_00058.mp4", + "subfolder": "video", + "type": "output", + "format": "video/h265-mp4", + "frame_rate": 30, + "workflow": "wan-t2v-selfforcing-_00058.png", + "fullpath": "D:\\sd\\ComfyUI-Zluda\\output\\video\\wan-t2v-selfforcing-_00058.mp4" + } + } + }, + "color": "#322", + "bgcolor": "#533", + "shape": 1 + }, + { + "id": 51, + "type": "CLIPTextEncode", + "pos": [ + -274.7291259765625, + 424.1614685058594 + ], + "size": [ + 350, + 90 + ], + "flags": { + "collapsed": true + }, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 102 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 97 + ] + } + ], + "title": "CLIP Text Encode (Leave empty)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.34", + "Node name for S&R": "CLIPTextEncode", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "" + ], + "color": "#322", + "bgcolor": "#533", + "shape": 1 + }, + { + "id": 62, + "type": "easy cleanGpuUsed", + "pos": [ + 443.9349670410156, + 391.43402099609375 + ], + "size": [ + 157.38925170898438, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "anything", + "type": "*", + "link": 119 + } + ], + "outputs": [ + { + "name": "output", + "type": "*", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-easy-use", + "ver": "1.3.0", + "Node name for S&R": "easy cleanGpuUsed", + "widget_ue_connectable": {} + }, + "widgets_values": [], + "color": "#322", + "bgcolor": "#533", + "shape": 1 + }, + { + "id": 37, + "type": "UNETLoader", + "pos": [ + -676.6889038085938, + -81.46795654296875 + ], + "size": [ + 298.94915771484375, + 82 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "slot_index": 0, + "links": [ + 127 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.34", + "Node name for S&R": "UNETLoader", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "wan\\self_forcing_dmd.pt", + "default" + ], + "color": "#322", + "bgcolor": "#533", + "shape": 1 + }, + { + "id": 38, + "type": "CLIPLoader", + "pos": [ + -671.0593872070312, + 46.28026580810547 + ], + "size": [ + 291.0675964355469, + 109.37781524658203 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "slot_index": 0, + "links": [ + 101 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.34", + "Node name for S&R": "CLIPLoader", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "wan\\umt5_xxl_fp8_e4m3fn_scaled.safetensors", + "wan", + "cpu" + ], + "color": "#322", + "bgcolor": "#533", + "shape": 1 + }, + { + "id": 39, + "type": "VAELoader", + "pos": [ + -663.1778564453125, + 201.90963745117188 + ], + "size": [ + 278.6822814941406, + 58 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "slot_index": 0, + "links": [ + 150 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.34", + "Node name for S&R": "VAELoader", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "wan_2.1_vae.safetensors" + ], + "color": "#322", + "bgcolor": "#533", + "shape": 1 + }, + { + "id": 61, + "type": "CUDNNToggleAutoPassthrough", + "pos": [ + -132.5452880859375, + -100.6011734008789 + ], + "size": [ + 210, + 138 + ], + "flags": { + "collapsed": false + }, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "model", + "shape": 7, + "type": "MODEL", + "link": 121 + }, + { + "name": "conditioning", + "shape": 7, + "type": "CONDITIONING", + "link": null + }, + { + "name": "latent", + "shape": 7, + "type": "LATENT", + "link": null + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "image", + "shape": 7, + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "model", + "type": "MODEL", + "links": [ + 118 + ] + }, + { + "name": "conditioning", + "type": "CONDITIONING", + "links": null + }, + { + "name": "latent", + "type": "LATENT", + "links": null + }, + { + "name": "audio", + "type": "AUDIO", + "links": null + }, + { + "name": "image", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "Node name for S&R": "CUDNNToggleAutoPassthrough", + "widget_ue_connectable": {} + }, + "widgets_values": [ + false + ], + "color": "#322", + "bgcolor": "#533", + "shape": 1 + }, + { + "id": 48, + "type": "ModelSamplingSD3", + "pos": [ + 94.57884216308594, + -101.17636108398438 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": false + }, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 118 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "slot_index": 0, + "links": [ + 99 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.34", + "Node name for S&R": "ModelSamplingSD3", + "widget_ue_connectable": {} + }, + "widgets_values": [ + 8 + ], + "color": "#322", + "bgcolor": "#533", + "shape": 1 + }, + { + "id": 53, + "type": "LoraLoader", + "pos": [ + 344.103515625, + -68.7909164428711 + ], + "size": [ + 210, + 126 + ], + "flags": {}, + "order": 8, + "mode": 4, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 99 + }, + { + "name": "clip", + "type": "CLIP", + "link": 101 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 100 + ] + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 102, + 103 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.34", + "Node name for S&R": "LoraLoader", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "wan_flat_color_1.3b_v2.safetensors", + 1.0000000000000002, + 1 + ], + "color": "#322", + "bgcolor": "#533", + "shape": 1 + }, + { + "id": 63, + "type": "PathchSageAttentionKJ", + "pos": [ + -359.9853515625, + -74.70446014404297 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": false + }, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 127 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 121 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "1.1.1", + "Node name for S&R": "PathchSageAttentionKJ", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "auto" + ], + "color": "#322", + "bgcolor": "#533", + "shape": 1 + }, + { + "id": 3, + "type": "KSampler", + "pos": [ + 218.02297973632812, + 140.3417205810547 + ], + "size": [ + 210, + 262 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 100 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 46 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 97 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 91 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "slot_index": 0, + "links": [ + 130 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.34", + "Node name for S&R": "KSampler", + "widget_ue_connectable": {} + }, + "widgets_values": [ + 103969633624909, + "randomize", + 3, + 1, + "lcm", + "simple", + 1 + ], + "color": "#322", + "bgcolor": "#533", + "shape": 1 + }, + { + "id": 40, + "type": "EmptyHunyuanLatentVideo", + "pos": [ + -598.3076171875, + 302.78564453125 + ], + "size": [ + 210.09432983398438, + 130 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "slot_index": 0, + "links": [ + 91 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.34", + "Node name for S&R": "EmptyHunyuanLatentVideo", + "widget_ue_connectable": {} + }, + "widgets_values": [ + 832, + 368, + 53, + 1 + ], + "color": "#322", + "bgcolor": "#533", + "shape": 1 + }, + { + "id": 6, + "type": "CLIPTextEncode", + "pos": [ + -332.5860290527344, + 109.94161987304688 + ], + "size": [ + 485.57135009765625, + 257.55633544921875 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 103 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "slot_index": 0, + "links": [ + 46 + ] + } + ], + "title": "CLIP Text Encode (Positive Prompt)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.34", + "Node name for S&R": "CLIPTextEncode", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "flat color, no lineart, blending, negative space,\nartist:[john kafka|ponsuke kaikai|hara id 21|yoneyama mai|fuzichoco],\n\n1girl, sakura miko, pink hair, cowboy shot, white shirt, floral print, off shoulder, outdoors, cherry blossom, tree shade, wariza, looking up, falling petals, half-closed eyes, white sky, clouds,\n\nlive2d animation, upper body, high quality cinematic video of a woman sitting under a sakura tree.\nDreamy and lonely, the camera close-ups on the face of the woman as she turns towards the viewer.\nThe Camera is steady, This is a cowboy shot. The animation is smooth and fluid." + ], + "color": "#232", + "bgcolor": "#353", + "shape": 1 + }, + { + "id": 76, + "type": "Note", + "pos": [ + -349.8519592285156, + 482.63519287109375 + ], + "size": [ + 922.5275268554688, + 155.7047882080078 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "please read", + "properties": {}, + "widgets_values": [ + "*This is a special model based on 1.3b version on wan 2.1 t2v. It is appearently built upon causvid also. \n\n* download this and put it in unet folder in models.\nhttps://huggingface.co/gdhe17/Self-Forcing/blob/main/checkpoints/self_forcing_dmd.pt\n\n* max res said to be 832x480, if black try lower, it requires detailed prompting, also no need for negative prompt so it is empty.\n* it produces acceptable results even with 3 steps, 8 is ideal. vae decoding takes most of the time especially with higher resolutions.\n* sampler , cfg, scheduler all from default workflow.\n* loras can be used but I haven't tried." + ], + "color": "#432", + "bgcolor": "#653", + "shape": 1 + } + ], + "links": [ + [ + 46, + 6, + 0, + 3, + 1, + "CONDITIONING" + ], + [ + 91, + 40, + 0, + 3, + 3, + "LATENT" + ], + [ + 97, + 51, + 0, + 3, + 2, + "CONDITIONING" + ], + [ + 99, + 48, + 0, + 53, + 0, + "MODEL" + ], + [ + 100, + 53, + 0, + 3, + 0, + "MODEL" + ], + [ + 101, + 38, + 0, + 53, + 1, + "CLIP" + ], + [ + 102, + 53, + 1, + 51, + 0, + "CLIP" + ], + [ + 103, + 53, + 1, + 6, + 0, + "CLIP" + ], + [ + 118, + 61, + 0, + 48, + 0, + "MODEL" + ], + [ + 119, + 8, + 0, + 62, + 0, + "*" + ], + [ + 121, + 63, + 0, + 61, + 0, + "MODEL" + ], + [ + 127, + 37, + 0, + 63, + 0, + "MODEL" + ], + [ + 128, + 8, + 0, + 66, + 0, + "IMAGE" + ], + [ + 129, + 66, + 0, + 49, + 0, + "IMAGE" + ], + [ + 130, + 3, + 0, + 67, + 2, + "LATENT" + ], + [ + 131, + 67, + 2, + 8, + 0, + "LATENT" + ], + [ + 150, + 39, + 0, + 8, + 1, + "VAE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.8881476860254085, + "offset": [ + 895.9320854558755, + 377.58213680702715 + ] + }, + "frontendVersion": "1.21.7", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true, + "ue_links": [], + "links_added_by_ue": [] + }, + "version": 0.4 +} \ No newline at end of file diff --git a/cfz/workflows/wan-text-to-video.json b/cfz/workflows/wan-text-to-video.json new file mode 100644 index 000000000..4907a915f --- /dev/null +++ b/cfz/workflows/wan-text-to-video.json @@ -0,0 +1,1185 @@ +{ + "id": "fadfb2f6-c9c1-4141-86c2-31f0786f0b07", + "revision": 0, + "last_node_id": 70, + "last_link_id": 124, + "nodes": [ + { + "id": 7, + "type": "CLIPTextEncode", + "pos": [ + 298.78570556640625, + 363.6191101074219 + ], + "size": [ + 439.5548095703125, + 139.36203002929688 + ], + "flags": { + "collapsed": true + }, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 75 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "slot_index": 0, + "links": [ + 52 + ] + } + ], + "title": "CLIP Text Encode (Negative Prompt)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.39", + "Node name for S&R": "CLIPTextEncode", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走" + ], + "color": "#322", + "bgcolor": "#533", + "shape": 1 + }, + { + "id": 39, + "type": "VAELoader", + "pos": [ + -141.51239013671875, + 182.01220703125 + ], + "size": [ + 311.5238037109375, + 58 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "slot_index": 0, + "links": [ + 101, + 116 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.39", + "Node name for S&R": "VAELoader", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "wan_2.1_vae.safetensors" + ], + "color": "#233", + "bgcolor": "#355", + "shape": 1 + }, + { + "id": 38, + "type": "CLIPLoader", + "pos": [ + -139.50497436523438, + 24.472660064697266 + ], + "size": [ + 328.97320556640625, + 106 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "slot_index": 0, + "links": [ + 74, + 75 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.39", + "Node name for S&R": "CLIPLoader", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "wan\\umt5_xxl_fp8_e4m3fn_scaled.safetensors", + "wan", + "cpu" + ], + "color": "#233", + "bgcolor": "#355", + "shape": 1 + }, + { + "id": 64, + "type": "UNETLoader", + "pos": [ + -144.2886505126953, + -110.60320281982422 + ], + "size": [ + 341.6636657714844, + 82 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 120 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.40", + "Node name for S&R": "UNETLoader", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "wan\\WanT2V_MasterModel.safetensors", + "fp8_e4m3fn" + ], + "color": "#233", + "bgcolor": "#355", + "shape": 1 + }, + { + "id": 49, + "type": "LoaderGGUF", + "pos": [ + -146.75262451171875, + -232.01126098632812 + ], + "size": [ + 290.62200927734375, + 58 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [] + } + ], + "properties": { + "cnr_id": "gguf", + "ver": "2.1.1", + "Node name for S&R": "LoaderGGUF", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "wan\\wan2.1-t2v-14b-Q4_K_M.gguf" + ], + "color": "#233", + "bgcolor": "#355", + "shape": 1 + }, + { + "id": 66, + "type": "Note", + "pos": [ + 341.1225280761719, + 455.7093811035156 + ], + "size": [ + 554.0267333984375, + 336.017822265625 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": { + "widget_ue_connectable": {} + }, + "widgets_values": [ + "GENERAL NOTES : \n\n*** after the first run , the cudnn toggle at the end disables cudnn, overall it is better for vae decoding but know that until next time you restart comfyui or enable the first cudnn toggle after model which enables cudnn , cudnn would stay disabled -only useful in a number of nodes anyway-\n\n\n*** frame-interpolation works great (https://github.com/Fannovel16/ComfyUI-Frame-Interpolation) , at my settings it doubles the framerate and plays it at 30 fps /wan by default produces videos at 16fps so it kinda works.\n\n*** have a clean-vram-used node after vae-decoding , good for memory overflowing from previous run. it was from comfyui-easy-use nodepack but there are other similar solutions in other packs.\n\n*** vae decode tiled is for backup purposes, and a tip always generate with fixed seed so that you can try with tiled vae or change the frame interpolation as you like without regenerating again.\n\n\n\n" + ], + "color": "#2a363b", + "bgcolor": "#3f5159", + "shape": 1 + }, + { + "id": 68, + "type": "Note", + "pos": [ + 245.94351196289062, + -524.6298217773438 + ], + "size": [ + 266.9047546386719, + 199.59521484375 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": { + "widget_ue_connectable": {} + }, + "widgets_values": [ + "sage-attention sometimes works, sometimes doesn't :/ it certainly helps with speed though. this is from kijai's node pack. you can delete it and try starting comfy with --use-sage-attention which enables sa always , but if you get black or garbled output don't use it." + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 52, + "type": "VAEDecodeTiled", + "pos": [ + 975.27978515625, + 310.5162658691406 + ], + "size": [ + 210, + 150 + ], + "flags": { + "collapsed": true + }, + "order": 17, + "mode": 4, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 107 + }, + { + "name": "vae", + "type": "VAE", + "link": 101 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.34", + "Node name for S&R": "VAEDecodeTiled", + "widget_ue_connectable": {} + }, + "widgets_values": [ + 384, + 64, + 64, + 8 + ], + "shape": 1 + }, + { + "id": 62, + "type": "PathchSageAttentionKJ", + "pos": [ + 298.1212158203125, + -274.2027587890625 + ], + "size": [ + 210, + 58 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 120 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 114 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "1.1.0", + "Node name for S&R": "PathchSageAttentionKJ", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "disabled" + ], + "color": "#323", + "bgcolor": "#535", + "shape": 1 + }, + { + "id": 56, + "type": "CUDNNToggleAutoPassthrough", + "pos": [ + 586.3629150390625, + -262.34637451171875 + ], + "size": [ + 210, + 138 + ], + "flags": {}, + "order": 13, + "mode": 4, + "inputs": [ + { + "name": "model", + "shape": 7, + "type": "MODEL", + "link": 114 + }, + { + "name": "conditioning", + "shape": 7, + "type": "CONDITIONING", + "link": null + }, + { + "name": "latent", + "shape": 7, + "type": "LATENT", + "link": null + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "image", + "shape": 7, + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "model", + "type": "MODEL", + "links": [ + 119 + ] + }, + { + "name": "conditioning", + "type": "CONDITIONING", + "links": null + }, + { + "name": "latent", + "type": "LATENT", + "links": [] + }, + { + "name": "audio", + "type": "AUDIO", + "links": null + }, + { + "name": "image", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "Node name for S&R": "CUDNNToggleAutoPassthrough", + "widget_ue_connectable": {} + }, + "widgets_values": [ + true + ], + "color": "#322", + "bgcolor": "#533", + "shape": 1 + }, + { + "id": 69, + "type": "Note", + "pos": [ + 590.4136352539062, + -429.21014404296875 + ], + "size": [ + 282.7678527832031, + 112.34820556640625 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": { + "widget_ue_connectable": {} + }, + "widgets_values": [ + "you can enable this if you want to use cudnn while generating, doesn't effect much though. you can delete or keep it bypassed like this." + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 3, + "type": "KSampler", + "pos": [ + 880.4493408203125, + -16.047531127929688 + ], + "size": [ + 254.697265625, + 262 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 95 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 46 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 52 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 91 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "slot_index": 0, + "links": [ + 106 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.39", + "Node name for S&R": "KSampler", + "widget_ue_connectable": {} + }, + "widgets_values": [ + 98782555705765, + "fixed", + 8, + 1, + "uni_pc", + "normal", + 1 + ], + "shape": 1 + }, + { + "id": 48, + "type": "ModelSamplingSD3", + "pos": [ + 885.1832885742188, + -139.96681213378906 + ], + "size": [ + 210, + 58 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 119 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "slot_index": 0, + "links": [ + 95 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.39", + "Node name for S&R": "ModelSamplingSD3", + "widget_ue_connectable": {} + }, + "widgets_values": [ + 8 + ], + "shape": 1 + }, + { + "id": 55, + "type": "CUDNNToggleAutoPassthrough", + "pos": [ + 1160.6541748046875, + 122.92513275146484 + ], + "size": [ + 210, + 138 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "model", + "shape": 7, + "type": "MODEL", + "link": null + }, + { + "name": "conditioning", + "shape": 7, + "type": "CONDITIONING", + "link": null + }, + { + "name": "latent", + "shape": 7, + "type": "LATENT", + "link": 106 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "image", + "shape": 7, + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "model", + "type": "MODEL", + "links": [] + }, + { + "name": "conditioning", + "type": "CONDITIONING", + "links": null + }, + { + "name": "latent", + "type": "LATENT", + "links": [ + 107, + 115 + ] + }, + { + "name": "audio", + "type": "AUDIO", + "links": null + }, + { + "name": "image", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "Node name for S&R": "CUDNNToggleAutoPassthrough", + "widget_ue_connectable": {} + }, + "widgets_values": [ + false + ], + "shape": 1 + }, + { + "id": 54, + "type": "RIFE VFI", + "pos": [ + 1402.8748779296875, + 101.9754638671875 + ], + "size": [ + 289.6578063964844, + 198 + ], + "flags": { + "collapsed": false + }, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "frames", + "type": "IMAGE", + "link": 117 + }, + { + "name": "optional_interpolation_states", + "shape": 7, + "type": "INTERPOLATION_STATES", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 123 + ] + } + ], + "properties": { + "cnr_id": "comfyui-frame-interpolation", + "ver": "7578205bd810cf96257b2e32d534b4513892af37", + "Node name for S&R": "RIFE VFI", + "widget_ue_connectable": {}, + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65 + }, + "widgets_values": [ + "rife47.pth", + 10, + 2, + false, + false, + 1 + ], + "shape": 1 + }, + { + "id": 53, + "type": "VHS_VideoCombine", + "pos": [ + 1748.0498046875, + -63.105796813964844 + ], + "size": [ + 214.7587890625, + 94 + ], + "flags": { + "collapsed": true + }, + "order": 21, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 123 + }, + { + "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": "1.6.1", + "Node name for S&R": "VHS_VideoCombine", + "widget_ue_connectable": {} + }, + "widgets_values": { + "frame_rate": 30, + "loop_count": 0, + "filename_prefix": "video\\wan", + "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": "wan_00062.mp4", + "subfolder": "video", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 30, + "workflow": "wan_00062.png", + "fullpath": "D:\\sd\\ComfyUI-Zluda\\output\\video\\wan_00062.mp4" + } + } + }, + "shape": 1 + }, + { + "id": 40, + "type": "EmptyHunyuanLatentVideo", + "pos": [ + -11.413797378540039, + 313.84246826171875 + ], + "size": [ + 210.09432983398438, + 130 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "slot_index": 0, + "links": [ + 91 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.39", + "Node name for S&R": "EmptyHunyuanLatentVideo", + "widget_ue_connectable": {} + }, + "widgets_values": [ + 192, + 256, + 33, + 1 + ], + "color": "#432", + "bgcolor": "#653", + "shape": 1 + }, + { + "id": 70, + "type": "Note", + "pos": [ + -517.0712280273438, + -237.5079345703125 + ], + "size": [ + 328.97320556640625, + 377.2618713378906 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": { + "widget_ue_connectable": {} + }, + "widgets_values": [ + "model is very good, has two accelerator loras a few other merged, can give acceptable gens starting from 8 steps / you can try lower.\n\nmodel :\n\nhttps://huggingface.co/vrgamedevgirl84/Wan14BT2V_MasterModel\n\nclip : default clip from comfyui. \n\nyou can also try gguf's of this model but I don't think it would do better speedwise. \n\nhttps://huggingface.co/lym00/Wan14BT2V_MoviiGen_AccVid_CausVid_MasterModel_GGUF/tree/main" + ], + "color": "#233", + "bgcolor": "#355", + "shape": 1 + }, + { + "id": 6, + "type": "CLIPTextEncode", + "pos": [ + 288.0953063964844, + -66.2231674194336 + ], + "size": [ + 529.1277465820312, + 380.0511169433594 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 74 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "slot_index": 0, + "links": [ + 46 + ] + } + ], + "title": "CLIP Text Encode (Positive Prompt)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.39", + "Node name for S&R": "CLIPTextEncode", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "Drone camera captures a golden sand cloud fills the entire scene on a darkened beach. Within the swirling dust, the word \"comfyui\" slowly forms, floating mid-air in elegant sand particles. The letters shimmer briefly and begin to dissolve, crumbling grain by grain into a drifting spiral of sand.As the sand spreads and swirls downward, it begins to build a majestic sandcastle. Towers rise, arches take shape, and the sand elegantly forms detailed walls and turrets — all constructed naturally as if shaped by wind and time. A blue fireworks shoots from the ground to the sky, brightening the area with blue light. The final frame reveals a complete, photorealistic sandcastle glowing in warm sunlight.the animation ends in a clean, steady freeze frame on the finished castle." + ], + "color": "#232", + "bgcolor": "#353", + "shape": 1 + }, + { + "id": 67, + "type": "Note", + "pos": [ + -115.73504638671875, + 489.02178955078125 + ], + "size": [ + 416.0177917480469, + 356.63983154296875 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": { + "widget_ue_connectable": {} + }, + "widgets_values": [ + "*** these resolutions work aka do not produce black output. (TRY OTHERS)\n192x256 \n240x320\n368x480\n368x512\n384x512\n480x720\n576x720\n... \n\n*** start from lowest resolution with 33 frames, go higher from that. Too high a frame count either produces black output or even if it works, model looses context and new things start to appear suddenly in the video. 49 is a sweet spot, with frame doubling that results in a 3+ second video. And it doesn't give oom or black output. After a certain point it won't fit into vram + system ram than it would start to be very slow. My advice start from the bottom with the same prompt of your choosing and keep raising the values." + ], + "color": "#432", + "bgcolor": "#653", + "shape": 1 + }, + { + "id": 63, + "type": "VAEDecode", + "pos": [ + 1438.8502197265625, + -28.115020751953125 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 115 + }, + { + "name": "vae", + "type": "VAE", + "link": 116 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 117, + 124 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.39", + "Node name for S&R": "VAEDecode", + "widget_ue_connectable": {} + }, + "widgets_values": [], + "shape": 1 + }, + { + "id": 65, + "type": "easy cleanGpuUsed", + "pos": [ + 1508.6458740234375, + -172.4692840576172 + ], + "size": [ + 157.38925170898438, + 26 + ], + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "anything", + "type": "*", + "link": 124 + } + ], + "outputs": [ + { + "name": "output", + "type": "*", + "links": [] + } + ], + "properties": { + "cnr_id": "comfyui-easy-use", + "ver": "1.3.0", + "Node name for S&R": "easy cleanGpuUsed", + "widget_ue_connectable": {} + }, + "widgets_values": [], + "shape": 1 + } + ], + "links": [ + [ + 46, + 6, + 0, + 3, + 1, + "CONDITIONING" + ], + [ + 52, + 7, + 0, + 3, + 2, + "CONDITIONING" + ], + [ + 74, + 38, + 0, + 6, + 0, + "CLIP" + ], + [ + 75, + 38, + 0, + 7, + 0, + "CLIP" + ], + [ + 91, + 40, + 0, + 3, + 3, + "LATENT" + ], + [ + 95, + 48, + 0, + 3, + 0, + "MODEL" + ], + [ + 101, + 39, + 0, + 52, + 1, + "VAE" + ], + [ + 106, + 3, + 0, + 55, + 2, + "LATENT" + ], + [ + 107, + 55, + 2, + 52, + 0, + "LATENT" + ], + [ + 114, + 62, + 0, + 56, + 0, + "MODEL" + ], + [ + 115, + 55, + 2, + 63, + 0, + "LATENT" + ], + [ + 116, + 39, + 0, + 63, + 1, + "VAE" + ], + [ + 117, + 63, + 0, + 54, + 0, + "IMAGE" + ], + [ + 119, + 56, + 0, + 48, + 0, + "MODEL" + ], + [ + 120, + 64, + 0, + 62, + 0, + "MODEL" + ], + [ + 123, + 54, + 0, + 53, + 0, + "IMAGE" + ], + [ + 124, + 63, + 0, + 65, + 0, + "*" + ] + ], + "groups": [ + { + "id": 1, + "title": "models", + "bounding": [ + -161.7382049560547, + -310.4780578613281, + 366.84222412109375, + 566.9969482421875 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], + "config": {}, + "extra": { + "ds": { + "scale": 0.6303940863128734, + "offset": [ + 583.6963062380032, + 691.1923907295376 + ] + }, + "ue_links": [], + "links_added_by_ue": [], + "frontendVersion": "1.21.7", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file diff --git a/cfz/workflows/wan2.2-cfz-workflow.json b/cfz/workflows/wan2.2-cfz-workflow.json new file mode 100644 index 000000000..49e462cc8 --- /dev/null +++ b/cfz/workflows/wan2.2-cfz-workflow.json @@ -0,0 +1,1687 @@ +{ + "id": "44436dc8-b9e0-461b-aea2-13203712292d", + "revision": 0, + "last_node_id": 507, + "last_link_id": 402, + "nodes": [ + { + "id": 27, + "type": "WanVideoSampler", + "pos": [ + -602.4633178710938, + -841.9747314453125 + ], + "size": [ + 267.80859375, + 690 + ], + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "link": 331 + }, + { + "name": "image_embeds", + "type": "WANVIDIMAGE_EMBEDS", + "link": 148 + }, + { + "name": "text_embeds", + "shape": 7, + "type": "WANVIDEOTEXTEMBEDS", + "link": 371 + }, + { + "name": "samples", + "shape": 7, + "type": "LATENT", + "link": null + }, + { + "name": "feta_args", + "shape": 7, + "type": "FETAARGS", + "link": 310 + }, + { + "name": "context_options", + "shape": 7, + "type": "WANVIDCONTEXT", + "link": null + }, + { + "name": "cache_args", + "shape": 7, + "type": "CACHEARGS", + "link": null + }, + { + "name": "flowedit_args", + "shape": 7, + "type": "FLOWEDITARGS", + "link": null + }, + { + "name": "slg_args", + "shape": 7, + "type": "SLGARGS", + "link": 312 + }, + { + "name": "loop_args", + "shape": 7, + "type": "LOOPARGS", + "link": null + }, + { + "name": "experimental_args", + "shape": 7, + "type": "EXPERIMENTALARGS", + "link": 308 + }, + { + "name": "sigmas", + "shape": 7, + "type": "SIGMAS", + "link": null + }, + { + "name": "unianimate_poses", + "shape": 7, + "type": "UNIANIMATE_POSE", + "link": null + }, + { + "name": "fantasytalking_embeds", + "shape": 7, + "type": "FANTASYTALKING_EMBEDS", + "link": null + }, + { + "name": "uni3c_embeds", + "shape": 7, + "type": "UNI3C_EMBEDS", + "link": null + }, + { + "name": "multitalk_embeds", + "shape": 7, + "type": "MULTITALK_EMBEDS", + "link": null + }, + { + "name": "freeinit_args", + "shape": 7, + "type": "FREEINITARGS", + "link": null + }, + { + "name": "seed", + "type": "INT", + "widget": { + "name": "seed" + }, + "link": 276 + } + ], + "outputs": [ + { + "name": "samples", + "type": "LATENT", + "slot_index": 0, + "links": [ + 274 + ] + }, + { + "name": "denoised_samples", + "type": "LATENT", + "links": null + } + ], + "title": "high_noise", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "2da36b7fdaa9da9cf38785116917adf3974387da", + "Node name for S&R": "WanVideoSampler", + "widget_ue_connectable": {} + }, + "widgets_values": [ + 6, + 1.0000000000000002, + 5, + 35697, + "fixed", + true, + "euler", + 0, + 1, + false, + "comfy_chunked", + 0, + 3, + true + ], + "color": "#2a363b", + "bgcolor": "#3f5159", + "shape": 1 + }, + { + "id": 38, + "type": "WanVideoVAELoader", + "pos": [ + -1635.490234375, + 63.31763458251953 + ], + "size": [ + 302.5464782714844, + 82 + ], + "flags": { + "collapsed": false + }, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "vae", + "type": "WANVAE", + "slot_index": 0, + "links": [ + 390 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "2da36b7fdaa9da9cf38785116917adf3974387da", + "Node name for S&R": "WanVideoVAELoader", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "wan_2.1_vae.safetensors", + "fp16" + ], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 361, + "type": "WanVideoEmptyEmbeds", + "pos": [ + -1648.10986328125, + 208.98800659179688 + ], + "size": [ + 322.83795166015625, + 146 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "control_embeds", + "shape": 7, + "type": "WANVIDIMAGE_EMBEDS", + "link": null + }, + { + "name": "extra_latents", + "shape": 7, + "type": "LATENT", + "link": null + }, + { + "name": "first_latent", + "shape": 7, + "type": "LATENT", + "link": null + } + ], + "outputs": [ + { + "name": "image_embeds", + "type": "WANVIDIMAGE_EMBEDS", + "links": [ + 148, + 272 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "2da36b7fdaa9da9cf38785116917adf3974387da", + "Node name for S&R": "WanVideoEmptyEmbeds", + "widget_ue_connectable": {} + }, + "widgets_values": [ + 832, + 480, + 33 + ], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 433, + "type": "WanVideoModelLoader", + "pos": [ + -1228.0648193359375, + -852.8375244140625 + ], + "size": [ + 356.24676513671875, + 274 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "compile_args", + "shape": 7, + "type": "WANCOMPILEARGS", + "link": 344 + }, + { + "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 + }, + { + "name": "vace_model", + "shape": 7, + "type": "VACEPATH", + "link": null + }, + { + "name": "fantasytalking_model", + "shape": 7, + "type": "FANTASYTALKINGMODEL", + "link": null + }, + { + "name": "multitalk_model", + "shape": 7, + "type": "MULTITALKMODEL", + "link": null + } + ], + "outputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "links": [ + 322 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "98fa84bb1720e184a1d2a116f986524ef2e802aa", + "Node name for S&R": "WanVideoModelLoader" + }, + "widgets_values": [ + "wan\\Wan2_2-T2V-A14B-HIGH_fp8_e5m2_scaled_KJ.safetensors", + "fp16_fast", + "fp8_e5m2_scaled", + "offload_device", + "sageattn" + ], + "color": "#2a363b", + "bgcolor": "#3f5159", + "shape": 1 + }, + { + "id": 434, + "type": "WanVideoSampler", + "pos": [ + -274.848876953125, + -857.1198120117188 + ], + "size": [ + 267.80859375, + 690 + ], + "flags": { + "collapsed": false + }, + "order": 21, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "link": 328 + }, + { + "name": "image_embeds", + "type": "WANVIDIMAGE_EMBEDS", + "link": 272 + }, + { + "name": "text_embeds", + "shape": 7, + "type": "WANVIDEOTEXTEMBEDS", + "link": 372 + }, + { + "name": "samples", + "shape": 7, + "type": "LATENT", + "link": 274 + }, + { + "name": "feta_args", + "shape": 7, + "type": "FETAARGS", + "link": 311 + }, + { + "name": "context_options", + "shape": 7, + "type": "WANVIDCONTEXT", + "link": null + }, + { + "name": "cache_args", + "shape": 7, + "type": "CACHEARGS", + "link": null + }, + { + "name": "flowedit_args", + "shape": 7, + "type": "FLOWEDITARGS", + "link": null + }, + { + "name": "slg_args", + "shape": 7, + "type": "SLGARGS", + "link": 313 + }, + { + "name": "loop_args", + "shape": 7, + "type": "LOOPARGS", + "link": null + }, + { + "name": "experimental_args", + "shape": 7, + "type": "EXPERIMENTALARGS", + "link": 309 + }, + { + "name": "sigmas", + "shape": 7, + "type": "SIGMAS", + "link": null + }, + { + "name": "unianimate_poses", + "shape": 7, + "type": "UNIANIMATE_POSE", + "link": null + }, + { + "name": "fantasytalking_embeds", + "shape": 7, + "type": "FANTASYTALKING_EMBEDS", + "link": null + }, + { + "name": "uni3c_embeds", + "shape": 7, + "type": "UNI3C_EMBEDS", + "link": null + }, + { + "name": "multitalk_embeds", + "shape": 7, + "type": "MULTITALK_EMBEDS", + "link": null + }, + { + "name": "freeinit_args", + "shape": 7, + "type": "FREEINITARGS", + "link": null + }, + { + "name": "seed", + "type": "INT", + "widget": { + "name": "seed" + }, + "link": 277 + } + ], + "outputs": [ + { + "name": "samples", + "type": "LATENT", + "slot_index": 0, + "links": [ + 389 + ] + }, + { + "name": "denoised_samples", + "type": "LATENT", + "links": null + } + ], + "title": "low_noise", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "2da36b7fdaa9da9cf38785116917adf3974387da", + "Node name for S&R": "WanVideoSampler", + "widget_ue_connectable": {} + }, + "widgets_values": [ + 6, + 1.0000000000000002, + 5, + 35783, + "fixed", + true, + "euler", + 0, + 1, + false, + "comfy_chunked", + 3, + 10000, + false + ], + "color": "#322", + "bgcolor": "#533", + "shape": 1 + }, + { + "id": 435, + "type": "PrimitiveInt", + "pos": [ + -1627.022705078125, + -83.47344970703125 + ], + "size": [ + 286.6318664550781, + 82 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 276, + 277 + ] + } + ], + "title": "seed", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.45", + "Node name for S&R": "PrimitiveInt" + }, + "widgets_values": [ + 365789025, + "randomize" + ], + "color": "#432", + "bgcolor": "#653", + "shape": 1 + }, + { + "id": 455, + "type": "WanVideoEnhanceAVideo", + "pos": [ + -418.73101806640625, + 78.88350677490234 + ], + "size": [ + 277.79583740234375, + 106 + ], + "flags": { + "collapsed": true + }, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "feta_args", + "type": "FETAARGS", + "links": [ + 310, + 311 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "7e290c67bff1f906cdab84523018573f6c9d4d7f", + "Node name for S&R": "WanVideoEnhanceAVideo" + }, + "widgets_values": [ + 2, + 0, + 1 + ], + "shape": 1 + }, + { + "id": 456, + "type": "WanVideoSLG", + "pos": [ + -343.0708312988281, + 21.45498275756836 + ], + "size": [ + 315, + 106 + ], + "flags": { + "collapsed": true + }, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "slg_args", + "type": "SLGARGS", + "links": [ + 312, + 313 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "2d2a184723dae88388e130659f51c36fcadeaba8", + "Node name for S&R": "WanVideoSLG" + }, + "widgets_values": [ + "8", + 0.30000000000000004, + 0.7000000000000002 + ], + "shape": 1 + }, + { + "id": 457, + "type": "WanVideoExperimentalArgs", + "pos": [ + -427.5340270996094, + -28.982872009277344 + ], + "size": [ + 327.5999755859375, + 250 + ], + "flags": { + "collapsed": true + }, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "exp_args", + "type": "EXPERIMENTALARGS", + "links": [ + 308, + 309 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "2d2a184723dae88388e130659f51c36fcadeaba8", + "Node name for S&R": "WanVideoExperimentalArgs" + }, + "widgets_values": [ + "", + true, + false, + 0, + false, + 1, + 1.25, + 20, + true + ], + "shape": 1 + }, + { + "id": 458, + "type": "VHS_VideoCombine", + "pos": [ + 42.11614990234375, + -468.97021484375 + ], + "size": [ + 664.9822998046875, + 720.1051635742188 + ], + "flags": { + "collapsed": false + }, + "order": 23, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 398 + }, + { + "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": "video", + "properties": { + "cnr_id": "comfyui-videohelpersuite", + "ver": "1.7.2", + "Node name for S&R": "VHS_VideoCombine" + }, + "widgets_values": { + "frame_rate": 16, + "loop_count": 0, + "filename_prefix": "wan\\wan", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 13, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "wan_00075.mp4", + "subfolder": "wan", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 24, + "workflow": "wan_00075.png", + "fullpath": "D:\\sd\\t\\ComfyUI\\output\\wan\\wan_00075.mp4" + } + } + }, + "shape": 1 + }, + { + "id": 459, + "type": "WanVideoModelLoader", + "pos": [ + -1227.75830078125, + -491.5802917480469 + ], + "size": [ + 354.8693542480469, + 274 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "compile_args", + "shape": 7, + "type": "WANCOMPILEARGS", + "link": 345 + }, + { + "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 + }, + { + "name": "vace_model", + "shape": 7, + "type": "VACEPATH", + "link": null + }, + { + "name": "fantasytalking_model", + "shape": 7, + "type": "FANTASYTALKINGMODEL", + "link": null + }, + { + "name": "multitalk_model", + "shape": 7, + "type": "MULTITALKMODEL", + "link": null + } + ], + "outputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "links": [ + 319 + ] + } + ], + "title": "2nd", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "98fa84bb1720e184a1d2a116f986524ef2e802aa", + "Node name for S&R": "WanVideoModelLoader" + }, + "widgets_values": [ + "wan\\Wan2_2-T2V-A14B-LOW_fp8_e5m2_scaled_KJ.safetensors", + "fp16_fast", + "fp8_e5m2_scaled", + "offload_device", + "sageattn" + ], + "color": "#323", + "bgcolor": "#535", + "shape": 1 + }, + { + "id": 462, + "type": "WanVideoSetLoRAs", + "pos": [ + -823.7386474609375, + -480.3509216308594 + ], + "size": [ + 174.53378295898438, + 46 + ], + "flags": { + "collapsed": false + }, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "link": 319 + }, + { + "name": "lora", + "shape": 7, + "type": "WANVIDLORA", + "link": 402 + } + ], + "outputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "links": [ + 326 + ] + } + ], + "title": "lora", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "f835baa3d33b3c97cc1b588ff365b7b0dbf042d1", + "Node name for S&R": "WanVideoSetLoRAs" + }, + "widgets_values": [], + "color": "#323", + "bgcolor": "#535", + "shape": 1 + }, + { + "id": 464, + "type": "WanVideoSetLoRAs", + "pos": [ + -834.9993896484375, + -836.263916015625 + ], + "size": [ + 174.53378295898438, + 46 + ], + "flags": { + "collapsed": false + }, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "link": 322 + }, + { + "name": "lora", + "shape": 7, + "type": "WANVIDLORA", + "link": 401 + } + ], + "outputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "links": [ + 329 + ] + } + ], + "title": "lora", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "f835baa3d33b3c97cc1b588ff365b7b0dbf042d1", + "Node name for S&R": "WanVideoSetLoRAs" + }, + "widgets_values": [], + "color": "#2a363b", + "bgcolor": "#3f5159", + "shape": 1 + }, + { + "id": 466, + "type": "WanVideoSetBlockSwap", + "pos": [ + -837.861083984375, + -316.232666015625 + ], + "size": [ + 201.76815795898438, + 46 + ], + "flags": { + "collapsed": false + }, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "link": 326 + }, + { + "name": "block_swap_args", + "shape": 7, + "type": "BLOCKSWAPARGS", + "link": 400 + } + ], + "outputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "links": [ + 328 + ] + } + ], + "title": "sswap", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "f835baa3d33b3c97cc1b588ff365b7b0dbf042d1", + "Node name for S&R": "WanVideoSetBlockSwap" + }, + "widgets_values": [], + "color": "#323", + "bgcolor": "#535", + "shape": 1 + }, + { + "id": 467, + "type": "WanVideoSetBlockSwap", + "pos": [ + -837.1910400390625, + -668.2354125976562 + ], + "size": [ + 201.76815795898438, + 46 + ], + "flags": { + "collapsed": false + }, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "link": 329 + }, + { + "name": "block_swap_args", + "shape": 7, + "type": "BLOCKSWAPARGS", + "link": 399 + } + ], + "outputs": [ + { + "name": "model", + "type": "WANVIDEOMODEL", + "links": [ + 331 + ] + } + ], + "title": "sswap", + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "f835baa3d33b3c97cc1b588ff365b7b0dbf042d1", + "Node name for S&R": "WanVideoSetBlockSwap" + }, + "widgets_values": [], + "color": "#2a363b", + "bgcolor": "#3f5159", + "shape": 1 + }, + { + "id": 474, + "type": "WanVideoTorchCompileSettings", + "pos": [ + -1584.37353515625, + -600.2503051757812 + ], + "size": [ + 282.74609375, + 202 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "torch_compile_args", + "type": "WANCOMPILEARGS", + "links": [ + 344, + 345 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "f835baa3d33b3c97cc1b588ff365b7b0dbf042d1", + "Node name for S&R": "WanVideoTorchCompileSettings" + }, + "widgets_values": [ + "inductor", + false, + "default", + false, + 64, + true, + 128 + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 487, + "type": "WanVideoTextEncodeCached", + "pos": [ + -1227.51171875, + -111.49840545654297 + ], + "size": [ + 618.3701171875, + 570.0732421875 + ], + "flags": { + "collapsed": false + }, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "extender_args", + "shape": 7, + "type": "WANVIDEOPROMPTEXTENDER_ARGS", + "link": null + } + ], + "outputs": [ + { + "name": "text_embeds", + "type": "WANVIDEOTEXTEMBEDS", + "links": [ + 371, + 372 + ] + }, + { + "name": "negative_text_embeds", + "type": "WANVIDEOTEXTEMBEDS", + "links": [] + }, + { + "name": "positive_prompt", + "type": "STRING", + "links": null + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "8321e190092de85b0385e831122ba98a462849a0", + "Node name for S&R": "WanVideoTextEncodeCached" + }, + "widgets_values": [ + "wan\\umt5-xxl-enc-bf16.safetensors", + "bf16", + "A cinematic shot with a young East Asian woman in her early 20s wearing a straw hat and a summer blouse. The woman is standing in a tomato garden, holding a ripe red tomato and smiling brightly. She eats the tomato, juices flow out from the sides of the woman's mouth. The background is full of sunlit tomato plants. There are no cucumbers or other vegetables in the scene. Natural lighting, cheerful mood, summer freshness. ", + "overexposed, static, blurry details, subtitles, washed out, dull colors, grayish ,worse quality, low quality, jpeg artifacts, compression artifacts, ugly, incomplete, mutilated, extra fingers, too many fingers, poorly drawn hands, bad hands, poorly drawn face, bad face, deformed, mutated, disfigured, malformed limbs, fused fingers, motionless scene, static image, cluttered background, too many people in background, messy background, three legs, crowded background, walking backward, backward movement, ", + "disabled", + true, + "gpu" + ] + }, + { + "id": 501, + "type": "WanVideoDecode", + "pos": [ + -464.59857177734375, + 184.71534729003906 + ], + "size": [ + 294.4283752441406, + 198 + ], + "flags": { + "collapsed": false + }, + "order": 22, + "mode": 0, + "inputs": [ + { + "name": "vae", + "type": "WANVAE", + "link": 390 + }, + { + "name": "samples", + "type": "LATENT", + "link": 389 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 398 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "2da36b7fdaa9da9cf38785116917adf3974387da", + "Node name for S&R": "WanVideoDecode", + "widget_ue_connectable": {} + }, + "widgets_values": [ + true, + 512, + 512, + 256, + 256, + "default" + ], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 502, + "type": "Note", + "pos": [ + -3206.241943359375, + -311.029052734375 + ], + "size": [ + 768.3418579101562, + 652.6221313476562 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "MODELS - LORAS", + "properties": {}, + "widgets_values": [ + "models : (need e5m2 if we want to be able to torch.compile (some speed gain))\n-----------------------------------------------------------------------------\nwan 2.2 high_noise model (1st sampler)\n\nhttps://huggingface.co/Kijai/WanVideo_comfy_fp8_scaled/blob/main\n/T2V/Wan2_2-T2V-A14B-HIGH_fp8_e5m2_scaled_KJ.safetensors\n\nwan 2.2 low_noise model (2nd sampler)\n\nhttps://huggingface.co/Kijai/WanVideo_comfy_fp8_scaled/blob/main/T2V/Wan2_2-T2V-A14B-LOW_fp8_e5m2_scaled_KJ.safetensors\n\nt5 clip bf16 version (native comfyui uses fp8 BUT with kijai this is a must , also kijai's textencode cached node enables the prompts to be cached so that when you use a prompt again t5 clip doesn't work on it and if both prompts have been cached (have been used before in short) then t5 clip won't even get loaded into memory at all. this saves a lot of time and vram.\n\nhttps://huggingface.co/Kijai/WanVideo_comfy/blob/main/umt5-xxl-enc-bf16.safetensors\n\nlighting loras for both wan 2.2 models (these should be strength 1)\n\nhttps://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan22-Lightning/Wan2.2-Lightning_T2V-A14B-4steps-lora_HIGH_fp16.safetensors\n\nhttps://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan22-Lightning/Wan2.2-Lightning_T2V-A14B-4steps-lora_LOW_fp16.safetensors\n\n* lightxv2 can also be used on the low_noise model instead of lightning but strength should be 3\n\nhttps://huggingface.co/Kijai/WanVideo_comfy/blob/main/Lightx2v/lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors\n\n\n\n" + ], + "color": "#322", + "bgcolor": "#533", + "shape": 1 + }, + { + "id": 503, + "type": "WanVideoBlockSwap", + "pos": [ + -1906.3485107421875, + -582.9523315429688 + ], + "size": [ + 281.404296875, + 154 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "block_swap_args", + "type": "BLOCKSWAPARGS", + "links": [ + 399, + 400 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "78a7e20838a8944cbbfee0d58abd886a1d34ed76", + "Node name for S&R": "WanVideoBlockSwap" + }, + "widgets_values": [ + 25, + false, + false, + false, + 0 + ], + "color": "#223", + "bgcolor": "#335", + "shape": 1 + }, + { + "id": 504, + "type": "Note", + "pos": [ + -2428.52685546875, + -306.15814208984375 + ], + "size": [ + 683.9135131835938, + 650.9985961914062 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "SETTINGS", + "properties": {}, + "widgets_values": [ + "this is based on a 16 gb rx 6800 -the gpu isn't important vram is- with 32gb sys ram\n-------------------------------------------------------------------------------------\nwanvideo block swap : lets you offload some of the model into system ram instead of ram. basically the models are 40 blocks in this case, so a value of 20 loads half of it into the system ram. for single frame image generation and something like 512x384x33 or 41 .. 15 is enough. you would have to raise it to avoid getting out of memory or huge slowdowns, 20 and when you go something like 832x480x81 for example, 25. you can go higher, but the higher you go the slower the generation will be albeit it will not crash at least.\n\ntorch compile : the settings here work with the latest default installation of comfyui-zluda it makes something like 10-15 percent difference for me. the first time you run a model in a comfy run it compiles then it won't. even then it is not so slow.\n\nwanvideo model loader : the settings here are best for the e5m2 model I recommend. If you use e4m3fn or other this settings here will show errors and also torch.compile won't really work (on amd unless you got the latest gpu, e5m2 is best -not quality wise mind you, speedwise)\n\nksamplers (high_noise - low_noise) : you enter the same step on both, and divide it into two parts, equal ideally, so like 3-3 or 4-4 (6 and 8 steps and recommended for use with lightning loras with wan 2.2) If you want to divide something like 2-4 or 3-5 (with 8 steps of course) you have to enter this number in end_step in ksampler 1 (high_noise) and start step in ksampler 2 (low_noise). CFG must be 1. Best scheduler is euler. \n\nvideo enchancements group : you can delete or disable them, these are things people have used that I incorporated from other workflows. You can try with and without them keeping the seed same, so you can see the difference. These effects the output. But not the speed.\n\nwanvideo decode : these settings are what I found the best for 16gb vram gpu's , we have to use tiled one way or another , but instead of using the default values these values drop the vae decoding time exactly in half compared to the default values here. " + ], + "color": "#232", + "bgcolor": "#353", + "shape": 1 + }, + { + "id": 505, + "type": "WanVideoLoraSelect", + "pos": [ + -1673.9561767578125, + -853.3258056640625 + ], + "size": [ + 398.26617431640625, + 200 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "prev_lora", + "shape": 7, + "type": "WANVIDLORA", + "link": null + }, + { + "name": "blocks", + "shape": 7, + "type": "SELECTEDBLOCKS", + "link": null + } + ], + "outputs": [ + { + "name": "lora", + "type": "WANVIDLORA", + "links": [ + 401 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "78a7e20838a8944cbbfee0d58abd886a1d34ed76", + "Node name for S&R": "WanVideoLoraSelect" + }, + "widgets_values": [ + "wan\\lightx\\Wan2.2-Lightning_T2V-A14B-4steps-lora_HIGH_fp16.safetensors", + 1, + false, + false, + "
Metadata
Metadata
formatpt
" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 506, + "type": "WanVideoLoraSelect", + "pos": [ + -1694.9591064453125, + -283.8699645996094 + ], + "size": [ + 396.6425476074219, + 150 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "prev_lora", + "shape": 7, + "type": "WANVIDLORA", + "link": null + }, + { + "name": "blocks", + "shape": 7, + "type": "SELECTEDBLOCKS", + "link": null + } + ], + "outputs": [ + { + "name": "lora", + "type": "WANVIDLORA", + "links": [ + 402 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-WanVideoWrapper", + "ver": "78a7e20838a8944cbbfee0d58abd886a1d34ed76", + "Node name for S&R": "WanVideoLoraSelect" + }, + "widgets_values": [ + "wan\\lightx\\Wan2.2-Lightning_T2V-A14B-4steps-lora_LOW_fp16.safetensors", + 1, + false, + false + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 507, + "type": "Note", + "pos": [ + -2951.36474609375, + -680.2899169921875 + ], + "size": [ + 891.7372436523438, + 308.41424560546875 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "-----------------------------WAN 2.2 TEXT TO VIDEO WORKFLOW (KIJAI'S WRAPPER NODES)------------------------- \n(OR IMAGE IF YOU SET THE NUM_FRAMES TO 1 AND OUTPUT TO A SAVE IMAGE INSTEAD OF VIDEO) \n\nTHIS WORKS WITH THE NEW-INSTALL METHOD (INSTALL-N.BAT) , SAGE-ATTENTION AND TORCH-\nCOMPILE (IF USED WITH THE RECOMMENDED MODELS) GIVE SPEED BOOSTS EACH.\n\nTHIS IS MAINLY MADE FOR A 16 GB GPU (RX 6800 IN MY CASE) SO FOR 12 OR 8 GB TRY LOWERING - RAISING THE VALUES. IT MIGHT WORK BUT IN THAT CASE YOU WOULD NEED LOTS OF SYSTEM RAM. I HAVE 32 GB SYSTEM RAM AND COMBINED , I CAN GENERATE 832X480X81 VIDEO WITHOUT PROBLEMS. 720 KEPT GIVING OOM, MAYBE IT COULD BE DONE WITH MORE SYSTEM RAM AND INSANE BLOCK SWAPPING. BUT IT WOULD TAKE FOREVER , WHICH I DON'T LIKE TO WAIT A LOT.\n\nyou would need these node packs besides the native :\n\nhttps://github.com/kijai/ComfyUI-WanVideoWrapper\nhttps://github.com/kijai/ComfyUI-KJNodes\nhttps://github.com/Kosinkadink/ComfyUI-VideoHelperSuite\n" + ], + "color": "#432", + "bgcolor": "#653" + } + ], + "links": [ + [ + 148, + 361, + 0, + 27, + 1, + "WANVIDIMAGE_EMBEDS" + ], + [ + 272, + 361, + 0, + 434, + 1, + "WANVIDIMAGE_EMBEDS" + ], + [ + 274, + 27, + 0, + 434, + 3, + "LATENT" + ], + [ + 276, + 435, + 0, + 27, + 17, + "INT" + ], + [ + 277, + 435, + 0, + 434, + 17, + "INT" + ], + [ + 308, + 457, + 0, + 27, + 10, + "EXPERIMENTALARGS" + ], + [ + 309, + 457, + 0, + 434, + 10, + "EXPERIMENTALARGS" + ], + [ + 310, + 455, + 0, + 27, + 4, + "FETAARGS" + ], + [ + 311, + 455, + 0, + 434, + 4, + "FETAARGS" + ], + [ + 312, + 456, + 0, + 27, + 8, + "SLGARGS" + ], + [ + 313, + 456, + 0, + 434, + 8, + "SLGARGS" + ], + [ + 319, + 459, + 0, + 462, + 0, + "WANVIDEOMODEL" + ], + [ + 322, + 433, + 0, + 464, + 0, + "WANVIDEOMODEL" + ], + [ + 326, + 462, + 0, + 466, + 0, + "WANVIDEOMODEL" + ], + [ + 328, + 466, + 0, + 434, + 0, + "WANVIDEOMODEL" + ], + [ + 329, + 464, + 0, + 467, + 0, + "WANVIDEOMODEL" + ], + [ + 331, + 467, + 0, + 27, + 0, + "WANVIDEOMODEL" + ], + [ + 344, + 474, + 0, + 433, + 0, + "WANCOMPILEARGS" + ], + [ + 345, + 474, + 0, + 459, + 0, + "WANCOMPILEARGS" + ], + [ + 371, + 487, + 0, + 27, + 2, + "WANVIDEOTEXTEMBEDS" + ], + [ + 372, + 487, + 0, + 434, + 2, + "WANVIDEOTEXTEMBEDS" + ], + [ + 389, + 434, + 0, + 501, + 1, + "LATENT" + ], + [ + 390, + 38, + 0, + 501, + 0, + "WANVAE" + ], + [ + 398, + 501, + 0, + 458, + 0, + "IMAGE" + ], + [ + 399, + 503, + 0, + 467, + 1, + "BLOCKSWAPARGS" + ], + [ + 400, + 503, + 0, + 466, + 1, + "BLOCKSWAPARGS" + ], + [ + 401, + 505, + 0, + 464, + 1, + "WANVIDLORA" + ], + [ + 402, + 506, + 0, + 462, + 1, + "WANVIDLORA" + ] + ], + "groups": [ + { + "id": 2, + "title": "video enhancements", + "bounding": [ + -493.1692199707031, + -124.31240844726562, + 380.2961120605469, + 216.38429260253906 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], + "config": {}, + "extra": { + "ds": { + "scale": 0.6159067356192479, + "offset": [ + 3298.52591426614, + 761.4705707615542 + ] + }, + "frontendVersion": "1.25.5", + "node_versions": { + "ComfyUI-WanVideoWrapper": "5a2383621a05825d0d0437781afcb8552d9590fd", + "ComfyUI-KJNodes": "a5bd3c86c8ed6b83c55c2d0e7a59515b15a0137f", + "ComfyUI-VideoHelperSuite": "0a75c7958fe320efcb052f1d9f8451fd20c730a8" + }, + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true, + "ue_links": [], + "links_added_by_ue": [], + "groupNodes": {} + }, + "version": 0.4 +}