| { |
| "id": "c6e410bc-5e2c-460b-ae81-c91b6094fbb1", |
| "revision": 0, |
| "last_node_id": 86, |
| "last_link_id": 157, |
| "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": 50, |
| "type": "CLIPTextEncode", |
| "pos": [ |
| -78.64810180664062, |
| 1769.301513671875 |
| ], |
| "size": [ |
| 400, |
| 200 |
| ], |
| "flags": {}, |
| "order": 20, |
| "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": 1, |
| "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": 2, |
| "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": 19, |
| "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": 33, |
| "type": "Note", |
| "pos": [ |
| -153.7365264892578, |
| -16.124788284301758 |
| ], |
| "size": [ |
| 359.0753479003906, |
| 88 |
| ], |
| "flags": {}, |
| "order": 3, |
| "mode": 0, |
| "inputs": [], |
| "outputs": [], |
| "properties": {}, |
| "widgets_values": [ |
| "Models:\nhttps://huggingface.co/Kijai/WanVideo_comfy/tree/main" |
| ], |
| "color": "#432", |
| "bgcolor": "#653" |
| }, |
| { |
| "id": 38, |
| "type": "WanVideoVAELoader", |
| "pos": [ |
| 2340.400390625, |
| -578.1526489257812 |
| ], |
| "size": [ |
| 315, |
| 82 |
| ], |
| "flags": {}, |
| "order": 4, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "compile_args", |
| "shape": 7, |
| "type": "WANCOMPILEARGS", |
| "link": null |
| } |
| ], |
| "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": 23, |
| "mode": 2, |
| "inputs": [ |
| { |
| "name": "positive", |
| "type": "CONDITIONING", |
| "link": 54 |
| }, |
| { |
| "name": "negative", |
| "shape": 7, |
| "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": 16, |
| "type": "WanVideoTextEncode", |
| "pos": [ |
| 675.8850708007812, |
| -36.032100677490234 |
| ], |
| "size": [ |
| 420.30511474609375, |
| 261.5306701660156 |
| ], |
| "flags": {}, |
| "order": 18, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "t5", |
| "shape": 7, |
| "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, |
| false, |
| "gpu" |
| ], |
| "color": "#332922", |
| "bgcolor": "#593930" |
| }, |
| { |
| "id": 77, |
| "type": "Note", |
| "pos": [ |
| -532.9983520507812, |
| -216.64346313476562 |
| ], |
| "size": [ |
| 274.3274841308594, |
| 121.00284576416016 |
| ], |
| "flags": {}, |
| "order": 5, |
| "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": 28, |
| "type": "WanVideoDecode", |
| "pos": [ |
| 2345.96484375, |
| -400.7390441894531 |
| ], |
| "size": [ |
| 315, |
| 198 |
| ], |
| "flags": {}, |
| "order": 34, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "vae", |
| "type": "WANVAE", |
| "link": 43 |
| }, |
| { |
| "name": "samples", |
| "type": "LATENT", |
| "link": 33 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "images", |
| "type": "IMAGE", |
| "slot_index": 0, |
| "links": [ |
| 126 |
| ] |
| } |
| ], |
| "properties": { |
| "cnr_id": "ComfyUI-WanVideoWrapper", |
| "ver": "6099ad393b071728032fd481e96d77d2900eee2c", |
| "Node name for S&R": "WanVideoDecode" |
| }, |
| "widgets_values": [ |
| false, |
| 272, |
| 272, |
| 144, |
| 128, |
| "default" |
| ], |
| "color": "#322", |
| "bgcolor": "#533" |
| }, |
| { |
| "id": 61, |
| "type": "INTConstant", |
| "pos": [ |
| -507.47119140625, |
| -30.832414627075195 |
| ], |
| "size": [ |
| 210, |
| 58 |
| ], |
| "flags": {}, |
| "order": 6, |
| "mode": 0, |
| "inputs": [], |
| "outputs": [ |
| { |
| "name": "value", |
| "type": "INT", |
| "links": [ |
| 139 |
| ] |
| } |
| ], |
| "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": 7, |
| "mode": 0, |
| "inputs": [], |
| "outputs": [ |
| { |
| "name": "value", |
| "type": "INT", |
| "links": [ |
| 140 |
| ] |
| } |
| ], |
| "title": "Height", |
| "properties": { |
| "cnr_id": "comfyui-kjnodes", |
| "ver": "3e3a1a8aac61dc4515f6a7da74e026f05a80299f", |
| "Node name for S&R": "INTConstant" |
| }, |
| "widgets_values": [ |
| 480 |
| ], |
| "color": "#1b4669", |
| "bgcolor": "#29699c" |
| }, |
| { |
| "id": 82, |
| "type": "PreviewImage", |
| "pos": [ |
| 231.0643768310547, |
| 345.1055908203125 |
| ], |
| "size": [ |
| 400.632568359375, |
| 258 |
| ], |
| "flags": {}, |
| "order": 25, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "images", |
| "type": "IMAGE", |
| "link": 145 |
| } |
| ], |
| "outputs": [], |
| "properties": { |
| "cnr_id": "comfy-core", |
| "ver": "0.3.29", |
| "Node name for S&R": "PreviewImage" |
| }, |
| "widgets_values": [] |
| }, |
| { |
| "id": 63, |
| "type": "PreviewImage", |
| "pos": [ |
| 246.37728881835938, |
| 749.4605712890625 |
| ], |
| "size": [ |
| 400.632568359375, |
| 258 |
| ], |
| "flags": {}, |
| "order": 28, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "images", |
| "type": "IMAGE", |
| "link": 130 |
| } |
| ], |
| "outputs": [], |
| "properties": { |
| "cnr_id": "comfy-core", |
| "ver": "0.3.29", |
| "Node name for S&R": "PreviewImage" |
| }, |
| "widgets_values": [] |
| }, |
| { |
| "id": 56, |
| "type": "WanVideoEncode", |
| "pos": [ |
| 727.0906982421875, |
| 297.24334716796875 |
| ], |
| "size": [ |
| 330, |
| 242 |
| ], |
| "flags": {}, |
| "order": 24, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "vae", |
| "type": "WANVAE", |
| "link": 59 |
| }, |
| { |
| "name": "image", |
| "type": "IMAGE", |
| "link": 137 |
| }, |
| { |
| "name": "mask", |
| "shape": 7, |
| "type": "MASK", |
| "link": null |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "samples", |
| "type": "LATENT", |
| "links": [ |
| 143 |
| ] |
| } |
| ], |
| "properties": { |
| "cnr_id": "ComfyUI-WanVideoWrapper", |
| "ver": "a623f87dcad9cff5a690559fe559566be4045a9a", |
| "Node name for S&R": "WanVideoEncode" |
| }, |
| "widgets_values": [ |
| false, |
| 272, |
| 272, |
| 144, |
| 128, |
| 0, |
| 1 |
| ] |
| }, |
| { |
| "id": 44, |
| "type": "Note", |
| "pos": [ |
| -231.55201721191406, |
| -847.9478759765625 |
| ], |
| "size": [ |
| 303.0501403808594, |
| 88 |
| ], |
| "flags": {}, |
| "order": 8, |
| "mode": 0, |
| "inputs": [], |
| "outputs": [], |
| "properties": {}, |
| "widgets_values": [ |
| "If you have Triton installed, connect this for ~30% speed increase" |
| ], |
| "color": "#432", |
| "bgcolor": "#653" |
| }, |
| { |
| "id": 36, |
| "type": "Note", |
| "pos": [ |
| 714.1553955078125, |
| -685.7478637695312 |
| ], |
| "size": [ |
| 374.3061828613281, |
| 171.9547576904297 |
| ], |
| "flags": {}, |
| "order": 9, |
| "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": 84, |
| "type": "WanVideoSetBlockSwap", |
| "pos": [ |
| 1203.40625, |
| -451.20733642578125 |
| ], |
| "size": [ |
| 201.76815795898438, |
| 46 |
| ], |
| "flags": {}, |
| "order": 27, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "model", |
| "type": "WANVIDEOMODEL", |
| "link": 149 |
| }, |
| { |
| "name": "block_swap_args", |
| "shape": 7, |
| "type": "BLOCKSWAPARGS", |
| "link": 151 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "model", |
| "type": "WANVIDEOMODEL", |
| "links": [ |
| 150 |
| ] |
| } |
| ], |
| "properties": { |
| "cnr_id": "ComfyUI-WanVideoWrapper", |
| "ver": "cc3b79ab180e8c81e6125d539662935cf171c87b", |
| "Node name for S&R": "WanVideoSetBlockSwap" |
| }, |
| "color": "#223", |
| "bgcolor": "#335" |
| }, |
| { |
| "id": 83, |
| "type": "WanVideoSetLoRAs", |
| "pos": [ |
| 1471.3389892578125, |
| -454.92852783203125 |
| ], |
| "size": [ |
| 174.53378295898438, |
| 46 |
| ], |
| "flags": {}, |
| "order": 31, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "model", |
| "type": "WANVIDEOMODEL", |
| "link": 150 |
| }, |
| { |
| "name": "lora", |
| "shape": 7, |
| "type": "WANVIDLORA", |
| "link": 147 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "model", |
| "type": "WANVIDEOMODEL", |
| "links": [ |
| 148 |
| ] |
| } |
| ], |
| "properties": { |
| "cnr_id": "ComfyUI-WanVideoWrapper", |
| "ver": "cc3b79ab180e8c81e6125d539662935cf171c87b", |
| "Node name for S&R": "WanVideoSetLoRAs" |
| }, |
| "color": "#223", |
| "bgcolor": "#335" |
| }, |
| { |
| "id": 75, |
| "type": "MarkdownNote", |
| "pos": [ |
| 703.451416015625, |
| -986.7158203125 |
| ], |
| "size": [ |
| 369.9837341308594, |
| 207.7837371826172 |
| ], |
| "flags": {}, |
| "order": 10, |
| "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_fp8_scaled/blob/main/T2V/Wan2_1-T2V-14B-Phantom_fp8_e4m3fn_scaled_KJ.safetensors](https://huggingface.co/Kijai/WanVideo_comfy_fp8_scaled/blob/main/T2V/Wan2_1-T2V-14B-Phantom_fp8_e4m3fn_scaled_KJ.safetensors)" |
| ], |
| "color": "#432", |
| "bgcolor": "#653" |
| }, |
| { |
| "id": 22, |
| "type": "WanVideoModelLoader", |
| "pos": [ |
| 617.1249389648438, |
| -441.7767028808594 |
| ], |
| "size": [ |
| 530.5924072265625, |
| 314 |
| ], |
| "flags": {}, |
| "order": 22, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "compile_args", |
| "shape": 7, |
| "type": "WANCOMPILEARGS", |
| "link": 122 |
| }, |
| { |
| "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": "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": [ |
| 149 |
| ] |
| } |
| ], |
| "properties": { |
| "cnr_id": "ComfyUI-WanVideoWrapper", |
| "ver": "6099ad393b071728032fd481e96d77d2900eee2c", |
| "Node name for S&R": "WanVideoModelLoader" |
| }, |
| "widgets_values": [ |
| "WanVideo\\Wan2_1-T2V-14B-Phantom_fp8_e4m3fn_scaled_KJ.safetensors", |
| "fp16_fast", |
| "disabled", |
| "offload_device", |
| "sageattn" |
| ], |
| "color": "#223", |
| "bgcolor": "#335" |
| }, |
| { |
| "id": 81, |
| "type": "ImageResizeKJv2", |
| "pos": [ |
| -78.1143798828125, |
| 250.96481323242188 |
| ], |
| "size": [ |
| 270, |
| 336 |
| ], |
| "flags": {}, |
| "order": 21, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "image", |
| "type": "IMAGE", |
| "link": 152 |
| }, |
| { |
| "name": "mask", |
| "shape": 7, |
| "type": "MASK", |
| "link": null |
| }, |
| { |
| "name": "width", |
| "type": "INT", |
| "widget": { |
| "name": "width" |
| }, |
| "link": 139 |
| }, |
| { |
| "name": "height", |
| "type": "INT", |
| "widget": { |
| "name": "height" |
| }, |
| "link": 140 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 137, |
| 145, |
| 155 |
| ] |
| }, |
| { |
| "name": "width", |
| "type": "INT", |
| "links": [ |
| 141 |
| ] |
| }, |
| { |
| "name": "height", |
| "type": "INT", |
| "links": [ |
| 142 |
| ] |
| }, |
| { |
| "name": "mask", |
| "type": "MASK", |
| "links": null |
| } |
| ], |
| "properties": { |
| "cnr_id": "comfyui-kjnodes", |
| "ver": "0adab07d1ad3d0780afc97319eaf37c3681af37d", |
| "Node name for S&R": "ImageResizeKJv2" |
| }, |
| "widgets_values": [ |
| 512, |
| 512, |
| "lanczos", |
| "pad", |
| "255,255,255", |
| "center", |
| 16, |
| "cpu", |
| "<tr><td>Output: </td><td><b>1</b> x <b>832</b> x <b>480 | 4.57MB</b></td></tr>" |
| ] |
| }, |
| { |
| "id": 73, |
| "type": "WanVideoEncode", |
| "pos": [ |
| 720.615966796875, |
| 645.6749267578125 |
| ], |
| "size": [ |
| 330, |
| 242 |
| ], |
| "flags": {}, |
| "order": 29, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "vae", |
| "type": "WANVAE", |
| "link": 110 |
| }, |
| { |
| "name": "image", |
| "type": "IMAGE", |
| "link": 131 |
| }, |
| { |
| "name": "mask", |
| "shape": 7, |
| "type": "MASK", |
| "link": null |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "samples", |
| "type": "LATENT", |
| "links": [ |
| 144 |
| ] |
| } |
| ], |
| "properties": { |
| "cnr_id": "ComfyUI-WanVideoWrapper", |
| "ver": "a623f87dcad9cff5a690559fe559566be4045a9a", |
| "Node name for S&R": "WanVideoEncode" |
| }, |
| "widgets_values": [ |
| false, |
| 272, |
| 272, |
| 144, |
| 128, |
| 0, |
| 1 |
| ] |
| }, |
| { |
| "id": 76, |
| "type": "Note", |
| "pos": [ |
| 1339.711181640625, |
| 574.1276245117188 |
| ], |
| "size": [ |
| 274.3274841308594, |
| 121.00284576416016 |
| ], |
| "flags": {}, |
| "order": 11, |
| "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" |
| }, |
| { |
| "id": 42, |
| "type": "Note", |
| "pos": [ |
| 1175.9500732421875, |
| -98.08979797363281 |
| ], |
| "size": [ |
| 298.7467956542969, |
| 88 |
| ], |
| "flags": {}, |
| "order": 12, |
| "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." |
| ], |
| "color": "#432", |
| "bgcolor": "#653" |
| }, |
| { |
| "id": 67, |
| "type": "LoadImage", |
| "pos": [ |
| -528.6361083984375, |
| 241.06634521484375 |
| ], |
| "size": [ |
| 340.7649230957031, |
| 379.4031982421875 |
| ], |
| "flags": {}, |
| "order": 13, |
| "mode": 0, |
| "inputs": [], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 152 |
| ] |
| }, |
| { |
| "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": 57, |
| "type": "LoadImage", |
| "pos": [ |
| -514.9811401367188, |
| 678.6246337890625 |
| ], |
| "size": [ |
| 317.9728698730469, |
| 349.6744689941406 |
| ], |
| "flags": {}, |
| "order": 14, |
| "mode": 0, |
| "inputs": [], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 153 |
| ] |
| }, |
| { |
| "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": 39, |
| "type": "WanVideoBlockSwap", |
| "pos": [ |
| 1175.088134765625, |
| -351.6418151855469 |
| ], |
| "size": [ |
| 315, |
| 202 |
| ], |
| "flags": {}, |
| "order": 15, |
| "mode": 0, |
| "inputs": [], |
| "outputs": [ |
| { |
| "name": "block_swap_args", |
| "type": "BLOCKSWAPARGS", |
| "slot_index": 0, |
| "links": [ |
| 151 |
| ] |
| } |
| ], |
| "properties": { |
| "cnr_id": "ComfyUI-WanVideoWrapper", |
| "ver": "6099ad393b071728032fd481e96d77d2900eee2c", |
| "Node name for S&R": "WanVideoBlockSwap" |
| }, |
| "widgets_values": [ |
| 20, |
| false, |
| false, |
| false, |
| 0, |
| 0, |
| false |
| ], |
| "color": "#223", |
| "bgcolor": "#335" |
| }, |
| { |
| "id": 78, |
| "type": "WanVideoLoraSelect", |
| "pos": [ |
| 1191.41259765625, |
| -703.387939453125 |
| ], |
| "size": [ |
| 596.4673461914062, |
| 150 |
| ], |
| "flags": {}, |
| "order": 16, |
| "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": [ |
| 147 |
| ] |
| } |
| ], |
| "properties": { |
| "cnr_id": "ComfyUI-WanVideoWrapper", |
| "ver": "cc3b79ab180e8c81e6125d539662935cf171c87b", |
| "Node name for S&R": "WanVideoLoraSelect" |
| }, |
| "widgets_values": [ |
| "WanVideo\\Lightx2v\\lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16_.safetensors", |
| 0.8, |
| false, |
| false |
| ], |
| "color": "#223", |
| "bgcolor": "#335" |
| }, |
| { |
| "id": 80, |
| "type": "ImageResizeKJv2", |
| "pos": [ |
| -67.21376037597656, |
| 660.2300415039062 |
| ], |
| "size": [ |
| 270, |
| 336 |
| ], |
| "flags": {}, |
| "order": 26, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "image", |
| "type": "IMAGE", |
| "link": 153 |
| }, |
| { |
| "name": "mask", |
| "shape": 7, |
| "type": "MASK", |
| "link": null |
| }, |
| { |
| "name": "width", |
| "type": "INT", |
| "widget": { |
| "name": "width" |
| }, |
| "link": 141 |
| }, |
| { |
| "name": "height", |
| "type": "INT", |
| "widget": { |
| "name": "height" |
| }, |
| "link": 142 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "IMAGE", |
| "type": "IMAGE", |
| "links": [ |
| 130, |
| 131, |
| 156 |
| ] |
| }, |
| { |
| "name": "width", |
| "type": "INT", |
| "links": null |
| }, |
| { |
| "name": "height", |
| "type": "INT", |
| "links": null |
| }, |
| { |
| "name": "mask", |
| "type": "MASK", |
| "links": null |
| } |
| ], |
| "properties": { |
| "cnr_id": "comfyui-kjnodes", |
| "ver": "0adab07d1ad3d0780afc97319eaf37c3681af37d", |
| "Node name for S&R": "ImageResizeKJv2" |
| }, |
| "widgets_values": [ |
| 512, |
| 512, |
| "lanczos", |
| "pad", |
| "255,255,255", |
| "center", |
| 16, |
| "cpu", |
| "<tr><td>Output: </td><td><b>1</b> x <b>832</b> x <b>480 | 4.57MB</b></td></tr>" |
| ] |
| }, |
| { |
| "id": 66, |
| "type": "ImageConcatMulti", |
| "pos": [ |
| 2365.64892578125, |
| -121.23597717285156 |
| ], |
| "size": [ |
| 315, |
| 170 |
| ], |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 30, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "image_1", |
| "type": "IMAGE", |
| "link": 155 |
| }, |
| { |
| "name": "image_2", |
| "shape": 7, |
| "type": "IMAGE", |
| "link": 156 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "images", |
| "type": "IMAGE", |
| "links": [ |
| 125 |
| ] |
| } |
| ], |
| "properties": { |
| "cnr_id": "comfyui-kjnodes", |
| "ver": "3e3a1a8aac61dc4515f6a7da74e026f05a80299f" |
| }, |
| "widgets_values": [ |
| 2, |
| "down", |
| false, |
| null |
| ] |
| }, |
| { |
| "id": 79, |
| "type": "ImageConcatMulti", |
| "pos": [ |
| 2381.864501953125, |
| -67.17642974853516 |
| ], |
| "size": [ |
| 315, |
| 170 |
| ], |
| "flags": { |
| "collapsed": true |
| }, |
| "order": 35, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "image_1", |
| "type": "IMAGE", |
| "link": 126 |
| }, |
| { |
| "name": "image_2", |
| "shape": 7, |
| "type": "IMAGE", |
| "link": 125 |
| } |
| ], |
| "outputs": [ |
| { |
| "name": "images", |
| "type": "IMAGE", |
| "links": [ |
| 127 |
| ] |
| } |
| ], |
| "properties": { |
| "cnr_id": "comfyui-kjnodes", |
| "ver": "3e3a1a8aac61dc4515f6a7da74e026f05a80299f" |
| }, |
| "widgets_values": [ |
| 2, |
| "left", |
| true, |
| null |
| ] |
| }, |
| { |
| "id": 35, |
| "type": "WanVideoTorchCompileSettings", |
| "pos": [ |
| 151.95358276367188, |
| -578.2579956054688 |
| ], |
| "size": [ |
| 421.6000061035156, |
| 202 |
| ], |
| "flags": {}, |
| "order": 17, |
| "mode": 0, |
| "inputs": [], |
| "outputs": [ |
| { |
| "name": "torch_compile_args", |
| "type": "WANCOMPILEARGS", |
| "slot_index": 0, |
| "links": [ |
| 122 |
| ] |
| } |
| ], |
| "properties": { |
| "cnr_id": "ComfyUI-WanVideoWrapper", |
| "ver": "6099ad393b071728032fd481e96d77d2900eee2c", |
| "Node name for S&R": "WanVideoTorchCompileSettings" |
| }, |
| "widgets_values": [ |
| "inductor", |
| false, |
| "default", |
| false, |
| 64, |
| true, |
| 128 |
| ] |
| }, |
| { |
| "id": 30, |
| "type": "VHS_VideoCombine", |
| "pos": [ |
| 2873.2001953125, |
| -528.5747680664062 |
| ], |
| "size": [ |
| 1245.8460693359375, |
| 819.479248046875 |
| ], |
| "flags": {}, |
| "order": 36, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "images", |
| "type": "IMAGE", |
| "link": 127 |
| }, |
| { |
| "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": "WanVideo21_Phantom_00012.mp4", |
| "subfolder": "", |
| "type": "temp", |
| "format": "video/h264-mp4", |
| "frame_rate": 24, |
| "workflow": "WanVideo21_Phantom_00012.png", |
| "fullpath": "N:\\AI\\ComfyUI\\temp\\WanVideo21_Phantom_00012.mp4" |
| } |
| } |
| } |
| }, |
| { |
| "id": 74, |
| "type": "WanVideoPhantomEmbeds", |
| "pos": [ |
| 1304.2489013671875, |
| 315.63165283203125 |
| ], |
| "size": [ |
| 380.4000244140625, |
| 210 |
| ], |
| "flags": {}, |
| "order": 32, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "phantom_latent_1", |
| "type": "LATENT", |
| "link": 143 |
| }, |
| { |
| "name": "phantom_latent_2", |
| "shape": 7, |
| "type": "LATENT", |
| "link": 144 |
| }, |
| { |
| "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, |
| 2, |
| 0, |
| 1 |
| ] |
| }, |
| { |
| "id": 27, |
| "type": "WanVideoSampler", |
| "pos": [ |
| 1968.231201171875, |
| -397.3578796386719 |
| ], |
| "size": [ |
| 315, |
| 874.1923217773438 |
| ], |
| "flags": {}, |
| "order": 33, |
| "mode": 0, |
| "inputs": [ |
| { |
| "name": "model", |
| "type": "WANVIDEOMODEL", |
| "link": 148 |
| }, |
| { |
| "name": "image_embeds", |
| "type": "WANVIDIMAGE_EMBEDS", |
| "link": 114 |
| }, |
| { |
| "name": "text_embeds", |
| "shape": 7, |
| "type": "WANVIDEOTEXTEMBEDS", |
| "link": 30 |
| }, |
| { |
| "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": [ |
| 33 |
| ] |
| }, |
| { |
| "name": "denoised_samples", |
| "type": "LATENT", |
| "links": null |
| } |
| ], |
| "properties": { |
| "cnr_id": "ComfyUI-WanVideoWrapper", |
| "ver": "6099ad393b071728032fd481e96d77d2900eee2c", |
| "Node name for S&R": "WanVideoSampler" |
| }, |
| "widgets_values": [ |
| 8, |
| 1, |
| 5, |
| 45, |
| "fixed", |
| true, |
| "dpm++_sde", |
| 0, |
| 1, |
| false, |
| "comfy", |
| 0, |
| -1, |
| false |
| ] |
| } |
| ], |
| "links": [ |
| [ |
| 15, |
| 11, |
| 0, |
| 16, |
| 0, |
| "WANTEXTENCODER" |
| ], |
| [ |
| 30, |
| 16, |
| 0, |
| 27, |
| 2, |
| "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" |
| ], |
| [ |
| 110, |
| 38, |
| 0, |
| 73, |
| 0, |
| "WANVAE" |
| ], |
| [ |
| 114, |
| 74, |
| 0, |
| 27, |
| 1, |
| "WANVIDIMAGE_EMBEDS" |
| ], |
| [ |
| 122, |
| 35, |
| 0, |
| 22, |
| 0, |
| "WANCOMPILEARGS" |
| ], |
| [ |
| 125, |
| 66, |
| 0, |
| 79, |
| 1, |
| "IMAGE" |
| ], |
| [ |
| 126, |
| 28, |
| 0, |
| 79, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 127, |
| 79, |
| 0, |
| 30, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 130, |
| 80, |
| 0, |
| 63, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 131, |
| 80, |
| 0, |
| 73, |
| 1, |
| "IMAGE" |
| ], |
| [ |
| 137, |
| 81, |
| 0, |
| 56, |
| 1, |
| "IMAGE" |
| ], |
| [ |
| 139, |
| 61, |
| 0, |
| 81, |
| 2, |
| "INT" |
| ], |
| [ |
| 140, |
| 62, |
| 0, |
| 81, |
| 3, |
| "INT" |
| ], |
| [ |
| 141, |
| 81, |
| 1, |
| 80, |
| 2, |
| "INT" |
| ], |
| [ |
| 142, |
| 81, |
| 2, |
| 80, |
| 3, |
| "INT" |
| ], |
| [ |
| 143, |
| 56, |
| 0, |
| 74, |
| 0, |
| "LATENT" |
| ], |
| [ |
| 144, |
| 73, |
| 0, |
| 74, |
| 1, |
| "LATENT" |
| ], |
| [ |
| 145, |
| 81, |
| 0, |
| 82, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 147, |
| 78, |
| 0, |
| 83, |
| 1, |
| "WANVIDLORA" |
| ], |
| [ |
| 148, |
| 83, |
| 0, |
| 27, |
| 0, |
| "WANVIDEOMODEL" |
| ], |
| [ |
| 149, |
| 22, |
| 0, |
| 84, |
| 0, |
| "WANVIDEOMODEL" |
| ], |
| [ |
| 150, |
| 84, |
| 0, |
| 83, |
| 0, |
| "WANVIDEOMODEL" |
| ], |
| [ |
| 151, |
| 39, |
| 0, |
| 84, |
| 1, |
| "BLOCKSWAPARGS" |
| ], |
| [ |
| 152, |
| 67, |
| 0, |
| 81, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 153, |
| 57, |
| 0, |
| 80, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 155, |
| 81, |
| 0, |
| 66, |
| 0, |
| "IMAGE" |
| ], |
| [ |
| 156, |
| 80, |
| 0, |
| 66, |
| 1, |
| "IMAGE" |
| ] |
| ], |
| "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.7400249944258633, |
| "offset": [ |
| -638.0262905717265, |
| 888.6874794608037 |
| ] |
| }, |
| "frontendVersion": "1.26.7", |
| "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 |
| } |