{ "id": "c6e410bc-5e2c-460b-ae81-c91b6094fbb1", "revision": 0, "last_node_id": 77, "last_link_id": 120, "nodes": [ { "id": 11, "type": "LoadWanVideoT5TextEncoder", "pos": [ 224.15325927734375, -34.481563568115234 ], "size": [ 377.1661376953125, 130 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "wan_t5_model", "type": "WANTEXTENCODER", "slot_index": 0, "links": [ 15 ] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "6099ad393b071728032fd481e96d77d2900eee2c", "Node name for S&R": "LoadWanVideoT5TextEncoder" }, "widgets_values": [ "umt5-xxl-enc-bf16.safetensors", "bf16", "offload_device", "disabled" ], "color": "#332922", "bgcolor": "#593930" }, { "id": 42, "type": "Note", "pos": [ -165.44613647460938, -344.9282531738281 ], "size": [ 314.96246337890625, 152.77333068847656 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "Adjust the blocks to swap based on your VRAM, this is a tradeoff between speed and memory usage.\n\nAlternatively there's option to use VRAM management introduced in DiffSynt-Studios. This is usually slower, but saves even more VRAM compared to BlockSwap" ], "color": "#432", "bgcolor": "#653" }, { "id": 50, "type": "CLIPTextEncode", "pos": [ -78.64810180664062, 1769.301513671875 ], "size": [ 400, 200 ], "flags": {}, "order": 22, "mode": 2, "inputs": [ { "name": "clip", "type": "CLIP", "link": 53 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 55 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.29", "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走" ], "color": "#432", "bgcolor": "#653" }, { "id": 48, "type": "CLIPLoader", "pos": [ -438.6482238769531, 1519.30126953125 ], "size": [ 315, 106 ], "flags": {}, "order": 2, "mode": 2, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "slot_index": 0, "links": [ 52, 53 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.29", "Node name for S&R": "CLIPLoader" }, "widgets_values": [ "umt5_xxl_fp16.safetensors", "wan", "default" ], "color": "#432", "bgcolor": "#653" }, { "id": 51, "type": "Note", "pos": [ -408.648193359375, 1349.3011474609375 ], "size": [ 253.16725158691406, 88 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "You can also use native ComfyUI text encoding with these nodes instead of the original, the models are node specific and can't otherwise be mixed." ], "color": "#432", "bgcolor": "#653" }, { "id": 49, "type": "CLIPTextEncode", "pos": [ -78.64810180664062, 1519.30126953125 ], "size": [ 400, 200 ], "flags": {}, "order": 21, "mode": 2, "inputs": [ { "name": "clip", "type": "CLIP", "link": 52 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 54 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.29", "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "high quality nature video featuring a red panda balancing on a bamboo stem while a bird lands on it's head, on the background there is a waterfall" ], "color": "#432", "bgcolor": "#653" }, { "id": 45, "type": "WanVideoVRAMManagement", "pos": [ -158.19737243652344, -136.97467041015625 ], "size": [ 315, 58 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "vram_management_args", "type": "VRAM_MANAGEMENTARGS", "links": [] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "6099ad393b071728032fd481e96d77d2900eee2c", "Node name for S&R": "WanVideoVRAMManagement" }, "widgets_values": [ 1 ] }, { "id": 33, "type": "Note", "pos": [ -153.7365264892578, -16.124788284301758 ], "size": [ 359.0753479003906, 88 ], "flags": {}, "order": 5, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "Models:\nhttps://huggingface.co/Kijai/WanVideo_comfy/tree/main" ], "color": "#432", "bgcolor": "#653" }, { "id": 39, "type": "WanVideoBlockSwap", "pos": [ 253.16395568847656, -343.3807678222656 ], "size": [ 315, 154 ], "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [ { "name": "block_swap_args", "type": "BLOCKSWAPARGS", "slot_index": 0, "links": [] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "6099ad393b071728032fd481e96d77d2900eee2c", "Node name for S&R": "WanVideoBlockSwap" }, "widgets_values": [ 20, false, false, true, 0 ], "color": "#223", "bgcolor": "#335" }, { "id": 38, "type": "WanVideoVAELoader", "pos": [ 1687.4093017578125, -582.2750854492188 ], "size": [ 315, 82 ], "flags": {}, "order": 7, "mode": 0, "inputs": [], "outputs": [ { "name": "vae", "type": "WANVAE", "slot_index": 0, "links": [ 43, 59, 110 ] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "6099ad393b071728032fd481e96d77d2900eee2c", "Node name for S&R": "WanVideoVAELoader" }, "widgets_values": [ "wanvideo\\Wan2_1_VAE_bf16.safetensors", "bf16" ], "color": "#322", "bgcolor": "#533" }, { "id": 46, "type": "WanVideoTextEmbedBridge", "pos": [ 371.3523254394531, 1509.30126953125 ], "size": [ 315, 46 ], "flags": {}, "order": 25, "mode": 2, "inputs": [ { "name": "positive", "type": "CONDITIONING", "link": 54 }, { "name": "negative", "type": "CONDITIONING", "link": 55 } ], "outputs": [ { "name": "text_embeds", "type": "WANVIDEOTEXTEMBEDS", "links": null } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "6099ad393b071728032fd481e96d77d2900eee2c", "Node name for S&R": "WanVideoTextEmbedBridge" }, "widgets_values": [] }, { "id": 28, "type": "WanVideoDecode", "pos": [ 1692.973876953125, -404.8614501953125 ], "size": [ 315, 174 ], "flags": {}, "order": 33, "mode": 0, "inputs": [ { "name": "vae", "type": "WANVAE", "link": 43 }, { "name": "samples", "type": "LATENT", "link": 33 } ], "outputs": [ { "name": "images", "type": "IMAGE", "slot_index": 0, "links": [ 81 ] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "6099ad393b071728032fd481e96d77d2900eee2c", "Node name for S&R": "WanVideoDecode" }, "widgets_values": [ false, 272, 272, 144, 128 ], "color": "#322", "bgcolor": "#533" }, { "id": 64, "type": "WanVideoTeaCache", "pos": [ 1203.9754638671875, -657.2056884765625 ], "size": [ 380.4000244140625, 178 ], "flags": {}, "order": 8, "mode": 0, "inputs": [], "outputs": [ { "name": "cache_args", "type": "CACHEARGS", "links": [ 71 ] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "a623f87dcad9cff5a690559fe559566be4045a9a", "Node name for S&R": "WanVideoTeaCache" }, "widgets_values": [ 0.10000000000000002, 6, -1, "offload_device", true, "e0" ] }, { "id": 66, "type": "ImageConcatMulti", "pos": [ 1772.1153564453125, -17.343990325927734 ], "size": [ 315, 150 ], "flags": {}, "order": 34, "mode": 0, "inputs": [ { "name": "image_1", "type": "IMAGE", "link": 81 }, { "name": "image_2", "type": "IMAGE", "link": 82 } ], "outputs": [ { "name": "images", "type": "IMAGE", "links": [ 83 ] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "3e3a1a8aac61dc4515f6a7da74e026f05a80299f" }, "widgets_values": [ 2, "up", false, null ] }, { "id": 67, "type": "LoadImage", "pos": [ -529.6270751953125, 642.4041137695312 ], "size": [ 315, 314 ], "flags": {}, "order": 9, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 87 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.29", "Node name for S&R": "LoadImage" }, "widgets_values": [ "oldman_upscaled.png", "image" ] }, { "id": 68, "type": "ImageResizeKJ", "pos": [ -136.8474884033203, 636.0980224609375 ], "size": [ 315, 238 ], "flags": {}, "order": 24, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 87 }, { "name": "get_image_size", "shape": 7, "type": "IMAGE", "link": null }, { "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 85 }, { "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 86 }, { "name": "width_input", "shape": 7, "type": "INT", "link": null }, { "name": "height_input", "shape": 7, "type": "INT", "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 91 ] }, { "name": "width", "type": "INT", "links": [] }, { "name": "height", "type": "INT", "links": [] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "3e3a1a8aac61dc4515f6a7da74e026f05a80299f", "Node name for S&R": "ImageResizeKJ" }, "widgets_values": [ 512, 512, "lanczos", true, 8, "disabled" ] }, { "id": 65, "type": "ImageResizeKJ", "pos": [ -138.123046875, 268.34466552734375 ], "size": [ 315, 238 ], "flags": {}, "order": 23, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 72 }, { "name": "get_image_size", "shape": 7, "type": "IMAGE", "link": null }, { "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 79 }, { "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 80 }, { "name": "width_input", "shape": 7, "type": "INT", "link": null }, { "name": "height_input", "shape": 7, "type": "INT", "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 73 ] }, { "name": "width", "type": "INT", "links": [] }, { "name": "height", "type": "INT", "links": [] } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "3e3a1a8aac61dc4515f6a7da74e026f05a80299f", "Node name for S&R": "ImageResizeKJ" }, "widgets_values": [ 512, 512, "lanczos", true, 8, "disabled" ] }, { "id": 57, "type": "LoadImage", "pos": [ -549.6646728515625, 251.52166748046875 ], "size": [ 315, 314 ], "flags": {}, "order": 10, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 72 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.29", "Node name for S&R": "LoadImage" }, "widgets_values": [ "anya.webp", "image" ] }, { "id": 16, "type": "WanVideoTextEncode", "pos": [ 675.8850708007812, -36.032100677490234 ], "size": [ 420.30511474609375, 261.5306701660156 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "t5", "type": "WANTEXTENCODER", "link": 15 }, { "name": "model_to_offload", "shape": 7, "type": "WANVIDEOMODEL", "link": null } ], "outputs": [ { "name": "text_embeds", "type": "WANVIDEOTEXTEMBEDS", "slot_index": 0, "links": [ 30 ] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "6099ad393b071728032fd481e96d77d2900eee2c", "Node name for S&R": "WanVideoTextEncode" }, "widgets_values": [ "an old man is playing with a chibi anime figurine", "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走", true ], "color": "#332922", "bgcolor": "#593930" }, { "id": 69, "type": "ImagePadKJ", "pos": [ 241.51797485351562, 614.47705078125 ], "size": [ 315, 262 ], "flags": {}, "order": 27, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 91 }, { "name": "mask", "shape": 7, "type": "MASK", "link": null }, { "name": "target_width", "shape": 7, "type": "INT", "link": 89 }, { "name": "target_height", "shape": 7, "type": "INT", "link": 90 } ], "outputs": [ { "name": "images", "type": "IMAGE", "links": [ 102, 105 ] }, { "name": "masks", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "3e3a1a8aac61dc4515f6a7da74e026f05a80299f", "Node name for S&R": "ImagePadKJ" }, "widgets_values": [ 0, 0, 0, 0, 0, "color", "255,255,255" ] }, { "id": 60, "type": "ImagePadKJ", "pos": [ 241.20155334472656, 261.9258728027344 ], "size": [ 315, 262 ], "flags": {}, "order": 26, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 73 }, { "name": "mask", "shape": 7, "type": "MASK", "link": null }, { "name": "target_width", "shape": 7, "type": "INT", "link": 76 }, { "name": "target_height", "shape": 7, "type": "INT", "link": 77 } ], "outputs": [ { "name": "images", "type": "IMAGE", "links": [ 82, 106 ] }, { "name": "masks", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfyui-kjnodes", "ver": "3e3a1a8aac61dc4515f6a7da74e026f05a80299f", "Node name for S&R": "ImagePadKJ" }, "widgets_values": [ 0, 0, 0, 0, 0, "color", "255,255,255" ] }, { "id": 73, "type": "WanVideoEncode", "pos": [ 685.5361938476562, 634.3781127929688 ], "size": [ 330, 242 ], "flags": {}, "order": 30, "mode": 0, "inputs": [ { "name": "vae", "type": "WANVAE", "link": 110 }, { "name": "image", "type": "IMAGE", "link": 105 }, { "name": "mask", "shape": 7, "type": "MASK", "link": null } ], "outputs": [ { "name": "samples", "type": "LATENT", "links": [ 119 ] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "a623f87dcad9cff5a690559fe559566be4045a9a", "Node name for S&R": "WanVideoEncode" }, "widgets_values": [ false, 272, 272, 144, 128, 0, 1 ] }, { "id": 56, "type": "WanVideoEncode", "pos": [ 688.443359375, 299.2251892089844 ], "size": [ 330, 242 ], "flags": {}, "order": 28, "mode": 0, "inputs": [ { "name": "vae", "type": "WANVAE", "link": 59 }, { "name": "image", "type": "IMAGE", "link": 106 }, { "name": "mask", "shape": 7, "type": "MASK", "link": null } ], "outputs": [ { "name": "samples", "type": "LATENT", "links": [ 120 ] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "a623f87dcad9cff5a690559fe559566be4045a9a", "Node name for S&R": "WanVideoEncode" }, "widgets_values": [ false, 272, 272, 144, 128, 0, 1 ] }, { "id": 27, "type": "WanVideoSampler", "pos": [ 1315.2401123046875, -401.48028564453125 ], "size": [ 315, 729 ], "flags": {}, "order": 32, "mode": 0, "inputs": [ { "name": "model", "type": "WANVIDEOMODEL", "link": 29 }, { "name": "text_embeds", "type": "WANVIDEOTEXTEMBEDS", "link": 30 }, { "name": "image_embeds", "type": "WANVIDIMAGE_EMBEDS", "link": 114 }, { "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": 71 }, { "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 } ], "outputs": [ { "name": "samples", "type": "LATENT", "slot_index": 0, "links": [ 33 ] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "6099ad393b071728032fd481e96d77d2900eee2c", "Node name for S&R": "WanVideoSampler" }, "widgets_values": [ 40, 7.500000000000002, 5, 44, "fixed", true, "unipc", 0, 1, false, "comfy" ] }, { "id": 63, "type": "PreviewImage", "pos": [ 1257.5802001953125, 714.0238647460938 ], "size": [ 675.1277465820312, 258 ], "flags": {}, "order": 29, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 102 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.29", "Node name for S&R": "PreviewImage" }, "widgets_values": [] }, { "id": 74, "type": "WanVideoPhantomEmbeds", "pos": [ 1243.949462890625, 424.87481689453125 ], "size": [ 380.4000244140625, 210 ], "flags": {}, "order": 31, "mode": 0, "inputs": [ { "name": "phantom_latent_1", "type": "LATENT", "link": 119 }, { "name": "phantom_latent_2", "shape": 7, "type": "LATENT", "link": 120 }, { "name": "phantom_latent_3", "shape": 7, "type": "LATENT", "link": null }, { "name": "phantom_latent_4", "shape": 7, "type": "LATENT", "link": null }, { "name": "vace_embeds", "shape": 7, "type": "WANVIDIMAGE_EMBEDS", "link": null } ], "outputs": [ { "name": "image_embeds", "type": "WANVIDIMAGE_EMBEDS", "links": [ 114 ] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "1f535743870da83c530386874f10aabc70201919", "Node name for S&R": "WanVideoPhantomEmbeds" }, "widgets_values": [ 121, 5, 0, 1 ] }, { "id": 61, "type": "INTConstant", "pos": [ -507.47119140625, -30.832414627075195 ], "size": [ 210, 58 ], "flags": {}, "order": 11, "mode": 0, "inputs": [], "outputs": [ { "name": "value", "type": "INT", "links": [ 76, 79, 85, 89 ] } ], "title": "Width", "properties": { "cnr_id": "comfyui-kjnodes", "ver": "3e3a1a8aac61dc4515f6a7da74e026f05a80299f", "Node name for S&R": "INTConstant" }, "widgets_values": [ 832 ], "color": "#1b4669", "bgcolor": "#29699c" }, { "id": 62, "type": "INTConstant", "pos": [ -501.34527587890625, 83.66830444335938 ], "size": [ 210, 58 ], "flags": {}, "order": 12, "mode": 0, "inputs": [], "outputs": [ { "name": "value", "type": "INT", "links": [ 77, 80, 86, 90 ] } ], "title": "Height", "properties": { "cnr_id": "comfyui-kjnodes", "ver": "3e3a1a8aac61dc4515f6a7da74e026f05a80299f", "Node name for S&R": "INTConstant" }, "widgets_values": [ 480 ], "color": "#1b4669", "bgcolor": "#29699c" }, { "id": 22, "type": "WanVideoModelLoader", "pos": [ 620.3950805664062, -357.8426818847656 ], "size": [ 477.4410095214844, 254 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "compile_args", "shape": 7, "type": "WANCOMPILEARGS", "link": null }, { "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 } ], "outputs": [ { "name": "model", "type": "WANVIDEOMODEL", "slot_index": 0, "links": [ 29 ] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "6099ad393b071728032fd481e96d77d2900eee2c", "Node name for S&R": "WanVideoModelLoader" }, "widgets_values": [ "WanVideo\\Phantom-Wan-1_3B_fp16.safetensors", "fp16_fast", "disabled", "offload_device", "sdpa" ], "color": "#223", "bgcolor": "#335" }, { "id": 44, "type": "Note", "pos": [ -364.3403625488281, -713.1776733398438 ], "size": [ 303.0501403808594, 88 ], "flags": {}, "order": 14, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "If you have Triton installed, connect this for ~30% speed increase" ], "color": "#432", "bgcolor": "#653" }, { "id": 35, "type": "WanVideoTorchCompileSettings", "pos": [ 2.7694029808044434, -703.7493896484375 ], "size": [ 421.6000061035156, 202 ], "flags": {}, "order": 15, "mode": 0, "inputs": [], "outputs": [ { "name": "torch_compile_args", "type": "WANCOMPILEARGS", "slot_index": 0, "links": [] } ], "properties": { "cnr_id": "ComfyUI-WanVideoWrapper", "ver": "6099ad393b071728032fd481e96d77d2900eee2c", "Node name for S&R": "WanVideoTorchCompileSettings" }, "widgets_values": [ "inductor", false, "default", false, 64, true, 128 ] }, { "id": 36, "type": "Note", "pos": [ 717.425537109375, -601.8137817382812 ], "size": [ 374.3061828613281, 171.9547576904297 ], "flags": {}, "order": 16, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "fp8_fast seems to cause huge quality degradation\n\nfp_16_fast enables \"Full FP16 Accmumulation in FP16 GEMMs\" feature available in the very latest pytorch nightly, this is around 20% speed boost. \n\nSageattn if you have it installed can be used for almost double inference speed" ], "color": "#432", "bgcolor": "#653" }, { "id": 75, "type": "MarkdownNote", "pos": [ 730.5043334960938, -853.4318237304688 ], "size": [ 369.9837341308594, 207.7837371826172 ], "flags": {}, "order": 17, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "Model links:\n\n1.3B:\n\n[https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Phantom-Wan-1_3B_fp16.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Phantom-Wan-1_3B_fp16.safetensors)\n\n14B:\n\n[https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Phantom-Wan-14B_fp16.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Phantom-Wan-14B_fp16.safetensors)\n\n[https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Phantom-Wan-14B_fp8_e4m3fn.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Phantom-Wan-14B_fp8_e4m3fn.safetensors)" ], "color": "#432", "bgcolor": "#653" }, { "id": 30, "type": "VHS_VideoCombine", "pos": [ 2202.927001953125, -570.5418701171875 ], "size": [ 1245.8460693359375, 334 ], "flags": {}, "order": 35, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 83 }, { "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": "WanVideo21_Phantom", "format": "video/h264-mp4", "pix_fmt": "yuv420p", "crf": 19, "save_metadata": true, "trim_to_audio": false, "pingpong": false, "save_output": false, "videopreview": { "hidden": false, "paused": false, "params": { "filename": "WanVideo2_1_T2V_00013.mp4", "subfolder": "", "type": "temp", "format": "video/h264-mp4", "frame_rate": 16, "workflow": "WanVideo2_1_T2V_00013.png", "fullpath": "N:\\AI\\ComfyUI\\temp\\WanVideo2_1_T2V_00013.mp4" } } } }, { "id": 77, "type": "Note", "pos": [ -532.9983520507812, -216.64346313476562 ], "size": [ 274.3274841308594, 121.00284576416016 ], "flags": {}, "order": 18, "mode": 0, "inputs": [], "outputs": [], "title": "Note: Resolution", "properties": {}, "widgets_values": [ "Phantom is trained at 480p but can also work at 720p" ], "color": "#432", "bgcolor": "#653" }, { "id": 76, "type": "Note", "pos": [ 1697.19970703125, 441.3788757324219 ], "size": [ 274.3274841308594, 121.00284576416016 ], "flags": {}, "order": 19, "mode": 0, "inputs": [], "outputs": [], "title": "Note: FPS", "properties": {}, "widgets_values": [ "Phantom is trained at 24fps, but you can also generate less frames, quality may vary." ], "color": "#432", "bgcolor": "#653" } ], "links": [ [ 15, 11, 0, 16, 0, "WANTEXTENCODER" ], [ 29, 22, 0, 27, 0, "WANVIDEOMODEL" ], [ 30, 16, 0, 27, 1, "WANVIDEOTEXTEMBEDS" ], [ 33, 27, 0, 28, 1, "LATENT" ], [ 43, 38, 0, 28, 0, "VAE" ], [ 52, 48, 0, 49, 0, "CLIP" ], [ 53, 48, 0, 50, 0, "CLIP" ], [ 54, 49, 0, 46, 0, "CONDITIONING" ], [ 55, 50, 0, 46, 1, "CONDITIONING" ], [ 59, 38, 0, 56, 0, "WANVAE" ], [ 71, 64, 0, 27, 6, "TEACACHEARGS" ], [ 72, 57, 0, 65, 0, "IMAGE" ], [ 73, 65, 0, 60, 0, "IMAGE" ], [ 76, 61, 0, 60, 2, "INT" ], [ 77, 62, 0, 60, 3, "INT" ], [ 79, 61, 0, 65, 2, "INT" ], [ 80, 62, 0, 65, 3, "INT" ], [ 81, 28, 0, 66, 0, "IMAGE" ], [ 82, 60, 0, 66, 1, "IMAGE" ], [ 83, 66, 0, 30, 0, "IMAGE" ], [ 85, 61, 0, 68, 2, "INT" ], [ 86, 62, 0, 68, 3, "INT" ], [ 87, 67, 0, 68, 0, "IMAGE" ], [ 89, 61, 0, 69, 2, "INT" ], [ 90, 62, 0, 69, 3, "INT" ], [ 91, 68, 0, 69, 0, "IMAGE" ], [ 102, 69, 0, 63, 0, "IMAGE" ], [ 105, 69, 0, 73, 1, "IMAGE" ], [ 106, 60, 0, 56, 1, "IMAGE" ], [ 110, 38, 0, 73, 0, "WANVAE" ], [ 114, 74, 0, 27, 2, "WANVIDIMAGE_EMBEDS" ], [ 119, 73, 0, 74, 0, "LATENT" ], [ 120, 56, 0, 74, 1, "LATENT" ] ], "groups": [ { "id": 1, "title": "ComfyUI text encoding alternative", "bounding": [ -501.4642639160156, 1205.3677978515625, 1210.621337890625, 805.9080810546875 ], "color": "#3f789e", "font_size": 24, "flags": {} } ], "config": {}, "extra": { "ds": { "scale": 0.7400249944258622, "offset": [ 1005.437787735656, 997.7652923947804 ] }, "frontendVersion": "1.20.3", "node_versions": { "ComfyUI-WanVideoWrapper": "5a2383621a05825d0d0437781afcb8552d9590fd", "comfy-core": "0.3.26", "ComfyUI-VideoHelperSuite": "0a75c7958fe320efcb052f1d9f8451fd20c730a8" }, "VHS_latentpreview": true, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 }