From 5f3d358f61e52f649211d67ebe94e8b65734c6f1 Mon Sep 17 00:00:00 2001 From: robertvoy Date: Sun, 3 Aug 2025 18:38:00 +1000 Subject: [PATCH] wan 2.2 workflow --- workflows/distributed-wan-2.2_14b_t2v.json | 1227 ++++++++++++++++++++ 1 file changed, 1227 insertions(+) create mode 100644 workflows/distributed-wan-2.2_14b_t2v.json diff --git a/workflows/distributed-wan-2.2_14b_t2v.json b/workflows/distributed-wan-2.2_14b_t2v.json new file mode 100644 index 0000000..e436e89 --- /dev/null +++ b/workflows/distributed-wan-2.2_14b_t2v.json @@ -0,0 +1,1227 @@ +{ + "id": "8968d33f-abd1-4e8a-8e55-5d87a104afb8", + "revision": 0, + "last_node_id": 92, + "last_link_id": 187, + "nodes": [ + { + "id": 82, + "type": "CreateVideo", + "pos": [ + 640, + 1460 + ], + "size": [ + 270, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 172 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + } + ], + "outputs": [ + { + "name": "VIDEO", + "type": "VIDEO", + "links": [ + 187 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.45", + "Node name for S&R": "CreateVideo" + }, + "widgets_values": [ + 16 + ] + }, + { + "id": 80, + "type": "CreateVideo", + "pos": [ + 20, + 1450 + ], + "size": [ + 270, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 170 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + } + ], + "outputs": [ + { + "name": "VIDEO", + "type": "VIDEO", + "links": [ + 186 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.45", + "Node name for S&R": "CreateVideo" + }, + "widgets_values": [ + 16 + ] + }, + { + "id": 78, + "type": "CreateVideo", + "pos": [ + 970, + 480 + ], + "size": [ + 270, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 168 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + } + ], + "outputs": [ + { + "name": "VIDEO", + "type": "VIDEO", + "links": [ + 184 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.45", + "Node name for S&R": "CreateVideo" + }, + "widgets_values": [ + 16 + ] + }, + { + "id": 60, + "type": "CreateVideo", + "pos": [ + 80, + 610 + ], + "size": [ + 270, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 166 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + } + ], + "outputs": [ + { + "name": "VIDEO", + "type": "VIDEO", + "links": [ + 185 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.45", + "Node name for S&R": "CreateVideo" + }, + "widgets_values": [ + 16 + ] + }, + { + "id": 77, + "type": "ImageBatchDivider", + "pos": [ + 930, + 380 + ], + "size": [ + 270, + 118 + ], + "flags": { + "collapsed": true + }, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 165 + } + ], + "outputs": [ + { + "name": "batch_1", + "type": "IMAGE", + "links": [ + 166 + ] + }, + { + "name": "batch_2", + "type": "IMAGE", + "links": [ + 168 + ] + }, + { + "name": "batch_3", + "type": "IMAGE", + "links": [ + 170 + ] + }, + { + "name": "batch_4", + "type": "IMAGE", + "links": [ + 172 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "ComfyUI-Distributed", + "ver": "ae3201accb0161040bfd7c5705b08874726b1853", + "Node name for S&R": "ImageBatchDivider" + }, + "widgets_values": [ + 4 + ] + }, + { + "id": 67, + "type": "DistributedCollector", + "pos": [ + 700, + 380 + ], + "size": [ + 166.50416564941406, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 141 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 165 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "ComfyUI-Distributed", + "ver": "b54f2be19cab29543068d9c4355d9c5b773bee0d", + "Node name for S&R": "DistributedCollector" + }, + "widgets_values": [] + }, + { + "id": 8, + "type": "VAEDecode", + "pos": [ + 520, + 380 + ], + "size": [ + 210, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 178 + }, + { + "name": "vae", + "type": "VAE", + "link": 76 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 141 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.45", + "Node name for S&R": "VAEDecode" + }, + "widgets_values": [] + }, + { + "id": 7, + "type": "CLIPTextEncode", + "pos": [ + 580, + 340 + ], + "size": [ + 430, + 180 + ], + "flags": { + "collapsed": true + }, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 148 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "slot_index": 0, + "links": [ + 176 + ] + } + ], + "title": "CLIP Text Encode (Negative Prompt)", + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.45", + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 57, + "type": "KSamplerAdvanced", + "pos": [ + 890, + 10 + ], + "size": [ + 304.748046875, + 334 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 139 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 174 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 176 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 179 + }, + { + "name": "noise_seed", + "type": "INT", + "widget": { + "name": "noise_seed" + }, + "link": 143 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 178 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.45", + "Node name for S&R": "KSamplerAdvanced" + }, + "widgets_values": [ + "enable", + 1070591872081175, + "randomize", + 4, + 1, + "euler", + "simple", + 0, + 1000, + "disable" + ] + }, + { + "id": 68, + "type": "DistributedSeed", + "pos": [ + 560, + 100 + ], + "size": [ + 270, + 82 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "seed", + "type": "INT", + "links": [ + 143 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "ComfyUI-Distributed", + "ver": "b54f2be19cab29543068d9c4355d9c5b773bee0d", + "Node name for S&R": "DistributedSeed" + }, + "widgets_values": [ + 349924686792776, + "randomize" + ] + }, + { + "id": 66, + "type": "LoraLoaderModelOnly", + "pos": [ + 320, + 0 + ], + "size": [ + 240, + 82 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 134 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 135 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.43", + "Node name for S&R": "LoraLoaderModelOnly" + }, + "widgets_values": [ + "WAN\\Wan21_T2V_14B_lightx2v_cfg_step_distill_lora_rank32.safetensors", + 0.8000000000000002 + ] + }, + { + "id": 71, + "type": "CLIPLoaderGGUF", + "pos": [ + 30, + 70 + ], + "size": [ + 270, + 82 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 148, + 149 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-gguf", + "ver": "1.1.1", + "Node name for S&R": "CLIPLoaderGGUF" + }, + "widgets_values": [ + "umt5-xxl-encoder-Q8_0.gguf", + "wan" + ] + }, + { + "id": 63, + "type": "UnetLoaderGGUF", + "pos": [ + 30, + 0 + ], + "size": [ + 270, + 58 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 134 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfyui-gguf", + "ver": "1.1.1", + "Node name for S&R": "UnetLoaderGGUF" + }, + "widgets_values": [ + "Wan2.2-T2V-A14B-LowNoise-Q8_0.gguf" + ] + }, + { + "id": 54, + "type": "ModelSamplingSD3", + "pos": [ + 610, + 0 + ], + "size": [ + 210, + 60 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 135 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "slot_index": 0, + "links": [ + 139 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.45", + "Node name for S&R": "ModelSamplingSD3" + }, + "widgets_values": [ + 8.000000000000002 + ] + }, + { + "id": 90, + "type": "SaveVideo", + "pos": [ + 20, + 420 + ], + "size": [ + 580, + 678 + ], + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "video", + "type": "VIDEO", + "link": 185 + } + ], + "outputs": [], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.47", + "Node name for S&R": "SaveVideo" + }, + "widgets_values": [ + "video/ComfyUI", + "auto", + "auto" + ] + }, + { + "id": 91, + "type": "SaveVideo", + "pos": [ + 20, + 1130 + ], + "size": [ + 580, + 678 + ], + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "video", + "type": "VIDEO", + "link": 186 + } + ], + "outputs": [], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.47", + "Node name for S&R": "SaveVideo" + }, + "widgets_values": [ + "video/ComfyUI", + "auto", + "auto" + ] + }, + { + "id": 89, + "type": "SaveVideo", + "pos": [ + 610, + 420 + ], + "size": [ + 580, + 678 + ], + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "video", + "type": "VIDEO", + "link": 184 + } + ], + "outputs": [], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.47", + "Node name for S&R": "SaveVideo" + }, + "widgets_values": [ + "video/ComfyUI", + "auto", + "auto" + ] + }, + { + "id": 92, + "type": "SaveVideo", + "pos": [ + 610, + 1130 + ], + "size": [ + 580, + 678 + ], + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "video", + "type": "VIDEO", + "link": 187 + } + ], + "outputs": [], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.47", + "Node name for S&R": "SaveVideo" + }, + "widgets_values": [ + "video/ComfyUI", + "auto", + "auto" + ] + }, + { + "id": 39, + "type": "VAELoader", + "pos": [ + 30, + 340 + ], + "size": [ + 320, + 58 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "slot_index": 0, + "links": [ + 76 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.45", + "Node name for S&R": "VAELoader", + "models": [ + { + "name": "wan_2.1_vae.safetensors", + "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors", + "directory": "vae" + } + ] + }, + "widgets_values": [ + "wan_2.1_vae.safetensors" + ] + }, + { + "id": 59, + "type": "EmptyHunyuanLatentVideo", + "pos": [ + 40, + 180 + ], + "size": [ + 315, + 130 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "slot_index": 0, + "links": [ + 179 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.45", + "Node name for S&R": "EmptyHunyuanLatentVideo" + }, + "widgets_values": [ + 704, + 704, + 33, + 1 + ] + }, + { + "id": 6, + "type": "CLIPTextEncode", + "pos": [ + 380, + 210 + ], + "size": [ + 460, + 88 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 149 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "slot_index": 0, + "links": [ + 174 + ] + } + ], + "title": "CLIP Text Encode (Positive Prompt)", + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.3.45", + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "A beautiful woman holding a GPU at a photoshoot" + ], + "color": "#232", + "bgcolor": "#353" + } + ], + "links": [ + [ + 76, + 39, + 0, + 8, + 1, + "VAE" + ], + [ + 134, + 63, + 0, + 66, + 0, + "MODEL" + ], + [ + 135, + 66, + 0, + 54, + 0, + "MODEL" + ], + [ + 139, + 54, + 0, + 57, + 0, + "MODEL" + ], + [ + 141, + 8, + 0, + 67, + 0, + "IMAGE" + ], + [ + 143, + 68, + 0, + 57, + 4, + "INT" + ], + [ + 148, + 71, + 0, + 7, + 0, + "CLIP" + ], + [ + 149, + 71, + 0, + 6, + 0, + "CLIP" + ], + [ + 165, + 67, + 0, + 77, + 0, + "IMAGE" + ], + [ + 166, + 77, + 0, + 60, + 0, + "IMAGE" + ], + [ + 168, + 77, + 1, + 78, + 0, + "IMAGE" + ], + [ + 170, + 77, + 2, + 80, + 0, + "IMAGE" + ], + [ + 172, + 77, + 3, + 82, + 0, + "IMAGE" + ], + [ + 174, + 6, + 0, + 57, + 1, + "CONDITIONING" + ], + [ + 176, + 7, + 0, + 57, + 2, + "CONDITIONING" + ], + [ + 178, + 57, + 0, + 8, + 0, + "LATENT" + ], + [ + 179, + 59, + 0, + 57, + 3, + "LATENT" + ], + [ + 184, + 78, + 0, + 89, + 0, + "VIDEO" + ], + [ + 185, + 60, + 0, + 90, + 0, + "VIDEO" + ], + [ + 186, + 80, + 0, + 91, + 0, + "VIDEO" + ], + [ + 187, + 82, + 0, + 92, + 0, + "VIDEO" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.693433494944177, + "offset": [ + 630.9170235538304, + 115.03441263315318 + ] + }, + "frontendVersion": "1.23.4", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file