{
  "id": "c6e410bc-5e2c-460b-ae81-c91b6094fbb1",
  "revision": 0,
  "last_node_id": 102,
  "last_link_id": 164,
  "nodes": [
    {
      "id": 44,
      "type": "Note",
      "pos": [
        -710,
        -710
      ],
      "size": [
        303.0501403808594,
        88
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "If you have Triton installed, connect this for ~30% speed increase"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 38,
      "type": "WanVideoVAELoader",
      "pos": [
        1988.66015625,
        -572.3654174804688
      ],
      "size": [
        315,
        82
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [
        {
          "name": "compile_args",
          "shape": 7,
          "type": "WANCOMPILEARGS",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "vae",
          "type": "WANVAE",
          "slot_index": 0,
          "links": [
            43,
            81
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "5406a72f62adf4a31a8a0a0e4923cc5288399652",
        "Node name for S&R": "WanVideoVAELoader"
      },
      "widgets_values": [
        "wanvideo\\Wan2_1_VAE_bf16.safetensors",
        "bf16"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 56,
      "type": "WanVideoSetBlockSwap",
      "pos": [
        882.7855834960938,
        -362.668701171875
      ],
      "size": [
        201.76815795898438,
        46
      ],
      "flags": {},
      "order": 25,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "WANVIDEOMODEL",
          "link": 62
        },
        {
          "name": "block_swap_args",
          "shape": 7,
          "type": "BLOCKSWAPARGS",
          "link": 58
        }
      ],
      "outputs": [
        {
          "name": "model",
          "type": "WANVIDEOMODEL",
          "links": [
            60
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "5406a72f62adf4a31a8a0a0e4923cc5288399652",
        "Node name for S&R": "WanVideoSetBlockSwap"
      },
      "widgets_values": [],
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 42,
      "type": "Note",
      "pos": [
        -340.0147399902344,
        -394.8644104003906
      ],
      "size": [
        312.98052978515625,
        92.32489013671875
      ],
      "flags": {},
      "order": 2,
      "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": 36,
      "type": "Note",
      "pos": [
        110,
        -630
      ],
      "size": [
        374.3061828613281,
        171.9547576904297
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "fp_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 at higher resolutions\n\nRadial attention is even faster but has worst quality, it should be used along with Set Radial Attention node to control which steps/blocks it's applied on to balance quality and speed."
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 62,
      "type": "PreviewAny",
      "pos": [
        546.9254150390625,
        -252.02532958984375
      ],
      "size": [
        210,
        88
      ],
      "flags": {},
      "order": 23,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 65
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.52",
        "Node name for S&R": "PreviewAny"
      },
      "widgets_values": []
    },
    {
      "id": 28,
      "type": "WanVideoDecode",
      "pos": [
        1994.2247314453125,
        -394.9518737792969
      ],
      "size": [
        315,
        198
      ],
      "flags": {},
      "order": 31,
      "mode": 0,
      "inputs": [
        {
          "name": "vae",
          "type": "WANVAE",
          "link": 43
        },
        {
          "name": "samples",
          "type": "LATENT",
          "link": 105
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            77
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "5406a72f62adf4a31a8a0a0e4923cc5288399652",
        "Node name for S&R": "WanVideoDecode"
      },
      "widgets_values": [
        false,
        272,
        272,
        144,
        128,
        "default"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 73,
      "type": "LoadImage",
      "pos": [
        609.2274169921875,
        131.5489044189453
      ],
      "size": [
        274.080078125,
        314
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            83
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.52",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "2b.jpg",
        "image"
      ]
    },
    {
      "id": 67,
      "type": "WanVideoTextEncodeCached",
      "pos": [
        46.950748443603516,
        -20.68189239501953
      ],
      "size": [
        459.45745849609375,
        393.8887939453125
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "extender_args",
          "shape": 7,
          "type": "WANVIDEOPROMPTEXTENDER_ARGS",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "text_embeds",
          "type": "WANVIDEOTEXTEMBEDS",
          "links": [
            71
          ]
        },
        {
          "name": "negative_text_embeds",
          "type": "WANVIDEOTEXTEMBEDS",
          "links": null
        },
        {
          "name": "positive_prompt",
          "type": "STRING",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "a1ca0985ec120ff97e34676a64de19c99767bbd4",
        "Node name for S&R": "WanVideoTextEncodeCached"
      },
      "widgets_values": [
        "umt5-xxl-enc-bf16.safetensors",
        "bf16",
        "a woman is singing passionately",
        "色调艳丽，过曝，静态，细节模糊不清，字幕，风格，作品，画作，画面，静止，整体发灰，最差质量，低质量，JPEG压缩残留，丑陋的，残缺的，多余的手指，画得不好的手部，画得不好的脸部，畸形的，毁容的，形态畸形的肢体，手指融合，静止不动的画面，杂乱的背景，三条腿，背景人很多，倒着走",
        "disabled",
        true,
        "gpu"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 61,
      "type": "MarkdownNote",
      "pos": [
        -128.9186248779297,
        -1117.54248046875
      ],
      "size": [
        510.2661437988281,
        245.62203979492188
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "Models:\n\n[https://huggingface.co/Kijai/WanVideo_comfy_fp8_scaled/blob/main/T2V/Wan2_1-T2V-14B_fp8_e4m3fn_scaled_KJ.safetensors](https://huggingface.co/Kijai/WanVideo_comfy_fp8_scaled/blob/main/T2V/Wan2_1-T2V-14B_fp8_e4m3fn_scaled_KJ.safetensors)\n\nIf you want to use torch compile on GPUs prior to 4000 series:\n\n[https://huggingface.co/Kijai/WanVideo_comfy_fp8_scaled/blob/main/T2V/Wan2_1-T2V-14B_fp8_e5m2_scaled_KJ.safetensors](https://huggingface.co/Kijai/WanVideo_comfy_fp8_scaled/blob/main/T2V/Wan2_1-T2V-14B_fp8_e5m2_scaled_KJ.safetensors)\n\nLoRA:\n\n[https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Lightx2v/lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Lightx2v/lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors)"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 72,
      "type": "WanVideoEncode",
      "pos": [
        1256.0252685546875,
        -81.86726379394531
      ],
      "size": [
        270,
        242
      ],
      "flags": {},
      "order": 20,
      "mode": 0,
      "inputs": [
        {
          "name": "vae",
          "type": "WANVAE",
          "link": 81
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 84
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "links": [
            92,
            157
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "63d4b6aadaae543f96d101788122563f3e2ba0c8",
        "Node name for S&R": "WanVideoEncode"
      },
      "widgets_values": [
        false,
        272,
        272,
        144,
        128,
        0,
        1
      ]
    },
    {
      "id": 22,
      "type": "WanVideoModelLoader",
      "pos": [
        10,
        -390
      ],
      "size": [
        477.4410095214844,
        314
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "compile_args",
          "shape": 7,
          "type": "WANCOMPILEARGS",
          "link": 129
        },
        {
          "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": [
            61,
            65
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "5406a72f62adf4a31a8a0a0e4923cc5288399652",
        "Node name for S&R": "WanVideoModelLoader"
      },
      "widgets_values": [
        "WanVideo\\S2V\\Wan2_2-S2V-14B_fp8_e4m3fn_scaled_KJ.safetensors",
        "fp16_fast",
        "fp8_e4m3fn_scaled",
        "offload_device",
        "sageattn"
      ],
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 35,
      "type": "WanVideoTorchCompileSettings",
      "pos": [
        -390,
        -710
      ],
      "size": [
        390.5999755859375,
        202
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "torch_compile_args",
          "type": "WANCOMPILEARGS",
          "slot_index": 0,
          "links": [
            129
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "5406a72f62adf4a31a8a0a0e4923cc5288399652",
        "Node name for S&R": "WanVideoTorchCompileSettings"
      },
      "widgets_values": [
        "inductor",
        false,
        "default",
        false,
        64,
        true,
        128
      ]
    },
    {
      "id": 58,
      "type": "WanVideoSetLoRAs",
      "pos": [
        630.5015869140625,
        -367.1865234375
      ],
      "size": [
        174.53378295898438,
        46
      ],
      "flags": {},
      "order": 22,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "WANVIDEOMODEL",
          "link": 61
        },
        {
          "name": "lora",
          "shape": 7,
          "type": "WANVIDLORA",
          "link": 64
        }
      ],
      "outputs": [
        {
          "name": "model",
          "type": "WANVIDEOMODEL",
          "links": [
            62
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "5406a72f62adf4a31a8a0a0e4923cc5288399652",
        "Node name for S&R": "WanVideoSetLoRAs"
      },
      "widgets_values": [],
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 77,
      "type": "InsertLatentToIndexed",
      "pos": [
        2088.097412109375,
        -69.78427124023438
      ],
      "size": [
        270,
        78
      ],
      "flags": {},
      "order": 30,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "LATENT",
          "link": 92
        },
        {
          "name": "destination",
          "type": "LATENT",
          "link": 93
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "ba9153cb06fc77bfd86c36835f1817482e8328a0",
        "Node name for S&R": "InsertLatentToIndexed"
      },
      "widgets_values": [
        0
      ]
    },
    {
      "id": 74,
      "type": "ImageResizeKJv2",
      "pos": [
        1009.1867065429688,
        210.0146942138672
      ],
      "size": [
        270,
        336
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 83
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            84
          ]
        },
        {
          "name": "width",
          "type": "INT",
          "links": [
            85
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            86
          ]
        },
        {
          "name": "mask",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "ba9153cb06fc77bfd86c36835f1817482e8328a0",
        "Node name for S&R": "ImageResizeKJv2"
      },
      "widgets_values": [
        960,
        640,
        "lanczos",
        "crop",
        "0, 0, 0",
        "center",
        2,
        "cpu",
        "<tr><td>Output: </td><td><b>1</b> x <b>960</b> x <b>640 | 7.03MB</b></td></tr>"
      ]
    },
    {
      "id": 39,
      "type": "WanVideoBlockSwap",
      "pos": [
        775.6461791992188,
        -256.3999328613281
      ],
      "size": [
        315,
        202
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "block_swap_args",
          "type": "BLOCKSWAPARGS",
          "slot_index": 0,
          "links": [
            58
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "5406a72f62adf4a31a8a0a0e4923cc5288399652",
        "Node name for S&R": "WanVideoBlockSwap"
      },
      "widgets_values": [
        25,
        false,
        false,
        true,
        0,
        1,
        false
      ],
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 70,
      "type": "GetImageSizeAndCount",
      "pos": [
        2367.16748046875,
        -395.861572265625
      ],
      "size": [
        190.86483764648438,
        86
      ],
      "flags": {},
      "order": 32,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 77
        }
      ],
      "outputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "links": [
            100
          ]
        },
        {
          "label": "960 width",
          "name": "width",
          "type": "INT",
          "links": null
        },
        {
          "label": "640 height",
          "name": "height",
          "type": "INT",
          "links": null
        },
        {
          "label": "201 count",
          "name": "count",
          "type": "INT",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "ba9153cb06fc77bfd86c36835f1817482e8328a0",
        "Node name for S&R": "GetImageSizeAndCount"
      },
      "widgets_values": []
    },
    {
      "id": 60,
      "type": "WanVideoLoraSelectMulti",
      "pos": [
        497.81256103515625,
        -824.0181274414062
      ],
      "size": [
        614.6506958007812,
        342
      ],
      "flags": {},
      "order": 9,
      "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": [
            64
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "5406a72f62adf4a31a8a0a0e4923cc5288399652",
        "Node name for S&R": "WanVideoLoraSelectMulti"
      },
      "widgets_values": [
        "WanVideo\\Lightx2v\\lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16_.safetensors",
        1.5,
        "none",
        1,
        "none",
        1,
        "none",
        1,
        "none",
        1,
        false,
        false
      ],
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 94,
      "type": "VHS_LoadAudio",
      "pos": [
        -59.62910079956055,
        496.306396484375
      ],
      "size": [
        415.6340026855469,
        126
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "audio",
          "type": "AUDIO",
          "links": [
            148,
            153,
            154
          ]
        },
        {
          "name": "duration",
          "type": "FLOAT",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "8e4d79471bf1952154768e8435a9300077b534fa",
        "Node name for S&R": "VHS_LoadAudio"
      },
      "widgets_values": {
        "audio_file": "input/weightoftheworld2.mp4",
        "seek_seconds": 0,
        "duration": 0
      }
    },
    {
      "id": 66,
      "type": "LoadAudio",
      "pos": [
        -40.06507873535156,
        719.501953125
      ],
      "size": [
        361.2844543457031,
        155.81912231445312
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "AUDIO",
          "type": "AUDIO",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.52",
        "Node name for S&R": "LoadAudio"
      },
      "widgets_values": [
        "NieR_ Automata - _Weight of the World_ ENG VER. by Lizz Robinett [CyOSTbel3AM].mp3",
        null,
        null
      ]
    },
    {
      "id": 81,
      "type": "MelBandRoFormerModelLoader",
      "pos": [
        563.452392578125,
        647.8037109375
      ],
      "size": [
        316.2164001464844,
        58
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "model",
          "type": "MELROFORMERMODEL",
          "links": [
            106
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-MelBandRoFormer",
        "ver": "b40e263224778ec417114d91d8b3b39934e30de5",
        "Node name for S&R": "MelBandRoFormerModelLoader"
      },
      "widgets_values": [
        "MelBandRoFormer\\MelBandRoformer_fp16.safetensors"
      ]
    },
    {
      "id": 82,
      "type": "MelBandRoFormerSampler",
      "pos": [
        555.0003662109375,
        770.088623046875
      ],
      "size": [
        222.73397827148438,
        46
      ],
      "flags": {},
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MELROFORMERMODEL",
          "link": 106
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "link": 154
        }
      ],
      "outputs": [
        {
          "name": "vocals",
          "type": "AUDIO",
          "links": [
            149
          ]
        },
        {
          "name": "instruments",
          "type": "AUDIO",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-MelBandRoFormer",
        "ver": "b40e263224778ec417114d91d8b3b39934e30de5",
        "Node name for S&R": "MelBandRoFormerSampler"
      },
      "widgets_values": []
    },
    {
      "id": 98,
      "type": "NormalizeAudioLoudness",
      "pos": [
        834.3135986328125,
        760.9041137695312
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 24,
      "mode": 0,
      "inputs": [
        {
          "name": "audio",
          "type": "AUDIO",
          "link": 149
        }
      ],
      "outputs": [
        {
          "name": "audio",
          "type": "AUDIO",
          "links": [
            150
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "90c3bbb6c2e4ff5e05305e765d007d5e58428ce4",
        "Node name for S&R": "NormalizeAudioLoudness"
      },
      "widgets_values": [
        -23
      ]
    },
    {
      "id": 95,
      "type": "DownloadAndLoadGIMMVFIModel",
      "pos": [
        3262.200927734375,
        -713.7930908203125
      ],
      "size": [
        339.4301452636719,
        106
      ],
      "flags": {},
      "order": 13,
      "mode": 2,
      "inputs": [],
      "outputs": [
        {
          "name": "gimmvfi_model",
          "type": "GIMMVIF_MODEL",
          "links": [
            144
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-GIMM-VFI",
        "ver": "4c9a3123762af85e7c796e41737da0b70c75d72d",
        "Node name for S&R": "DownloadAndLoadGIMMVFIModel"
      },
      "widgets_values": [
        "gimmvfi_r_arb_lpips_fp32.safetensors",
        "fp16",
        false
      ]
    },
    {
      "id": 80,
      "type": "VHS_SplitImages",
      "pos": [
        2397.607666015625,
        -214.64483642578125
      ],
      "size": [
        210,
        118
      ],
      "flags": {},
      "order": 33,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 100
        }
      ],
      "outputs": [
        {
          "name": "IMAGE_A",
          "type": "IMAGE",
          "links": null
        },
        {
          "name": "A_count",
          "type": "INT",
          "links": null
        },
        {
          "name": "IMAGE_B",
          "type": "IMAGE",
          "links": [
            145,
            155
          ]
        },
        {
          "name": "B_count",
          "type": "INT",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "8e4d79471bf1952154768e8435a9300077b534fa",
        "Node name for S&R": "VHS_SplitImages"
      },
      "widgets_values": {
        "split_index": 3
      }
    },
    {
      "id": 64,
      "type": "AudioEncoderEncode",
      "pos": [
        1198.93212890625,
        778.826904296875
      ],
      "size": [
        285.087890625,
        46
      ],
      "flags": {},
      "order": 26,
      "mode": 0,
      "inputs": [
        {
          "name": "audio_encoder",
          "type": "AUDIO_ENCODER",
          "link": 69
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "link": 150
        }
      ],
      "outputs": [
        {
          "name": "AUDIO_ENCODER_OUTPUT",
          "type": "AUDIO_ENCODER_OUTPUT",
          "links": [
            156
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.52",
        "Node name for S&R": "AudioEncoderEncode"
      },
      "widgets_values": []
    },
    {
      "id": 65,
      "type": "AudioEncoderLoader",
      "pos": [
        1136.3577880859375,
        641.1036376953125
      ],
      "size": [
        346.756103515625,
        58
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "AUDIO_ENCODER",
          "type": "AUDIO_ENCODER",
          "links": [
            69
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.52",
        "Node name for S&R": "AudioEncoderLoader"
      },
      "widgets_values": [
        "wav2vec_xlsr_53_english_fp32.safetensors"
      ]
    },
    {
      "id": 69,
      "type": "PreviewAny",
      "pos": [
        2732.885009765625,
        -1020.7718505859375
      ],
      "size": [
        490.69390869140625,
        355.7907409667969
      ],
      "flags": {},
      "order": 29,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 159
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.52",
        "Node name for S&R": "PreviewAny"
      },
      "widgets_values": []
    },
    {
      "id": 37,
      "type": "WanVideoEmptyEmbeds",
      "pos": [
        1442.7791748046875,
        -1070.2607421875
      ],
      "size": [
        315,
        126
      ],
      "flags": {},
      "order": 21,
      "mode": 0,
      "inputs": [
        {
          "name": "control_embeds",
          "shape": 7,
          "type": "WANVIDIMAGE_EMBEDS",
          "link": null
        },
        {
          "name": "extra_latents",
          "shape": 7,
          "type": "LATENT",
          "link": null
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 85
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 86
        },
        {
          "name": "num_frames",
          "type": "INT",
          "widget": {
            "name": "num_frames"
          },
          "link": 79
        }
      ],
      "outputs": [
        {
          "name": "image_embeds",
          "type": "WANVIDIMAGE_EMBEDS",
          "links": [
            158
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "5406a72f62adf4a31a8a0a0e4923cc5288399652",
        "Node name for S&R": "WanVideoEmptyEmbeds"
      },
      "widgets_values": [
        832,
        480,
        201
      ]
    },
    {
      "id": 71,
      "type": "PrimitiveNode",
      "pos": [
        1388.9095458984375,
        -791.9364013671875
      ],
      "size": [
        210,
        82
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "widget": {
            "name": "num_frames"
          },
          "links": [
            79,
            161
          ]
        }
      ],
      "title": "num_frames",
      "properties": {
        "Run widget replace on values": false
      },
      "widgets_values": [
        201,
        "fixed"
      ]
    },
    {
      "id": 27,
      "type": "WanVideoSampler",
      "pos": [
        1616.490966796875,
        -391.5707092285156
      ],
      "size": [
        315,
        900.6666870117188
      ],
      "flags": {},
      "order": 28,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "WANVIDEOMODEL",
          "link": 60
        },
        {
          "name": "image_embeds",
          "type": "WANVIDIMAGE_EMBEDS",
          "link": 162
        },
        {
          "name": "text_embeds",
          "shape": 7,
          "type": "WANVIDEOTEXTEMBEDS",
          "link": 71
        },
        {
          "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": 121
        },
        {
          "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": [
            93,
            105
          ]
        },
        {
          "name": "denoised_samples",
          "type": "LATENT",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "5406a72f62adf4a31a8a0a0e4923cc5288399652",
        "Node name for S&R": "WanVideoSampler"
      },
      "widgets_values": [
        4,
        1,
        4,
        45,
        "fixed",
        true,
        "dpm++_sde",
        0,
        1,
        false,
        "comfy",
        0,
        -1,
        false
      ]
    },
    {
      "id": 101,
      "type": "WanVideoAddS2VEmbeds",
      "pos": [
        2000.4896240234375,
        -871.2449340820312
      ],
      "size": [
        327.17578125,
        234
      ],
      "flags": {},
      "order": 27,
      "mode": 0,
      "inputs": [
        {
          "name": "embeds",
          "type": "WANVIDIMAGE_EMBEDS",
          "link": 158
        },
        {
          "name": "audio_encoder_output",
          "shape": 7,
          "type": "AUDIO_ENCODER_OUTPUT",
          "link": 156
        },
        {
          "name": "ref_latent",
          "shape": 7,
          "type": "LATENT",
          "link": 157
        },
        {
          "name": "pose_latent",
          "shape": 7,
          "type": "LATENT",
          "link": null
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "WANVAE",
          "link": null
        },
        {
          "name": "frame_window_size",
          "type": "INT",
          "widget": {
            "name": "frame_window_size"
          },
          "link": 161
        }
      ],
      "outputs": [
        {
          "name": "image_embeds",
          "type": "WANVIDIMAGE_EMBEDS",
          "links": [
            162
          ]
        },
        {
          "name": "audio_frame_count",
          "type": "INT",
          "links": [
            159
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "a5621b87391013155b4f688fbe01dba10a8104aa",
        "Node name for S&R": "WanVideoAddS2VEmbeds"
      },
      "widgets_values": [
        201,
        1,
        0,
        1,
        false
      ]
    },
    {
      "id": 83,
      "type": "WanVideoContextOptions",
      "pos": [
        1290.159423828125,
        -496.63787841796875
      ],
      "size": [
        275.783203125,
        202
      ],
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "reference_latent",
          "shape": 7,
          "type": "LATENT",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "context_options",
          "type": "WANVIDCONTEXT",
          "links": [
            121
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "3c79851230c9ab042f52c8e176f349ecc3e51a64",
        "Node name for S&R": "WanVideoContextOptions"
      },
      "widgets_values": [
        "uniform_standard",
        81,
        4,
        16,
        true,
        false,
        "linear"
      ]
    },
    {
      "id": 96,
      "type": "GIMMVFI_interpolate",
      "pos": [
        3209.548583984375,
        -509.1043701171875
      ],
      "size": [
        270,
        174
      ],
      "flags": {},
      "order": 34,
      "mode": 2,
      "inputs": [
        {
          "name": "gimmvfi_model",
          "type": "GIMMVIF_MODEL",
          "link": 144
        },
        {
          "name": "images",
          "type": "IMAGE",
          "link": 145
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            163
          ]
        },
        {
          "name": "flow_tensors",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-GIMM-VFI",
        "ver": "4c9a3123762af85e7c796e41737da0b70c75d72d",
        "Node name for S&R": "GIMMVFI_interpolate"
      },
      "widgets_values": [
        1,
        3,
        0,
        "fixed",
        false
      ]
    },
    {
      "id": 30,
      "type": "VHS_VideoCombine",
      "pos": [
        3815.402099609375,
        -864.041748046875
      ],
      "size": [
        940.8292846679688,
        334
      ],
      "flags": {},
      "order": 37,
      "mode": 2,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 164
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": 153
        },
        {
          "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": "330bce6c3c0d47ebdedcc0348d9ab355707b7523",
        "Node name for S&R": "VHS_VideoCombine"
      },
      "widgets_values": {
        "frame_rate": 24,
        "loop_count": 0,
        "filename_prefix": "WanVideo2_2_S2V",
        "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_2_S2V_00013-audio.mp4",
            "subfolder": "",
            "type": "temp",
            "format": "video/h264-mp4",
            "frame_rate": 32,
            "workflow": "WanVideo2_2_S2V_00013.png",
            "fullpath": "N:\\AI\\ComfyUI\\temp\\WanVideo2_2_S2V_00013-audio.mp4"
          }
        }
      }
    },
    {
      "id": 102,
      "type": "VHS_SelectEveryNthImage",
      "pos": [
        3513.563720703125,
        -508.5723876953125
      ],
      "size": [
        266.349609375,
        102
      ],
      "flags": {},
      "order": 36,
      "mode": 2,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 163
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            164
          ]
        },
        {
          "name": "count",
          "type": "INT",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "8e4d79471bf1952154768e8435a9300077b534fa",
        "Node name for S&R": "VHS_SelectEveryNthImage"
      },
      "widgets_values": {
        "select_every_nth": 2,
        "skip_first_images": 0
      }
    },
    {
      "id": 97,
      "type": "VHS_VideoCombine",
      "pos": [
        2914.45703125,
        -176.39088439941406
      ],
      "size": [
        940.8292846679688,
        961.8861694335938
      ],
      "flags": {},
      "order": 35,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 155
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": 148
        },
        {
          "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": "330bce6c3c0d47ebdedcc0348d9ab355707b7523",
        "Node name for S&R": "VHS_VideoCombine"
      },
      "widgets_values": {
        "frame_rate": 16,
        "loop_count": 0,
        "filename_prefix": "WanVideo2_2_S2V",
        "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_2_S2V_00015-audio.mp4",
            "subfolder": "",
            "type": "temp",
            "format": "video/h264-mp4",
            "frame_rate": 16,
            "workflow": "WanVideo2_2_S2V_00015.png",
            "fullpath": "N:\\AI\\ComfyUI\\temp\\WanVideo2_2_S2V_00015-audio.mp4"
          }
        }
      }
    }
  ],
  "links": [
    [
      43,
      38,
      0,
      28,
      0,
      "VAE"
    ],
    [
      58,
      39,
      0,
      56,
      1,
      "BLOCKSWAPARGS"
    ],
    [
      60,
      56,
      0,
      27,
      0,
      "WANVIDEOMODEL"
    ],
    [
      61,
      22,
      0,
      58,
      0,
      "WANVIDEOMODEL"
    ],
    [
      62,
      58,
      0,
      56,
      0,
      "WANVIDEOMODEL"
    ],
    [
      64,
      60,
      0,
      58,
      1,
      "WANVIDLORA"
    ],
    [
      65,
      22,
      0,
      62,
      0,
      "*"
    ],
    [
      69,
      65,
      0,
      64,
      0,
      "AUDIO_ENCODER"
    ],
    [
      71,
      67,
      0,
      27,
      2,
      "WANVIDEOTEXTEMBEDS"
    ],
    [
      77,
      28,
      0,
      70,
      0,
      "IMAGE"
    ],
    [
      79,
      71,
      0,
      37,
      4,
      "INT"
    ],
    [
      81,
      38,
      0,
      72,
      0,
      "WANVAE"
    ],
    [
      83,
      73,
      0,
      74,
      0,
      "IMAGE"
    ],
    [
      84,
      74,
      0,
      72,
      1,
      "IMAGE"
    ],
    [
      85,
      74,
      1,
      37,
      2,
      "INT"
    ],
    [
      86,
      74,
      2,
      37,
      3,
      "INT"
    ],
    [
      92,
      72,
      0,
      77,
      0,
      "LATENT"
    ],
    [
      93,
      27,
      0,
      77,
      1,
      "LATENT"
    ],
    [
      100,
      70,
      0,
      80,
      0,
      "IMAGE"
    ],
    [
      105,
      27,
      0,
      28,
      1,
      "LATENT"
    ],
    [
      106,
      81,
      0,
      82,
      0,
      "MELROFORMERMODEL"
    ],
    [
      121,
      83,
      0,
      27,
      5,
      "WANVIDCONTEXT"
    ],
    [
      129,
      35,
      0,
      22,
      0,
      "WANCOMPILEARGS"
    ],
    [
      144,
      95,
      0,
      96,
      0,
      "GIMMVIF_MODEL"
    ],
    [
      145,
      80,
      2,
      96,
      1,
      "IMAGE"
    ],
    [
      148,
      94,
      0,
      97,
      1,
      "AUDIO"
    ],
    [
      149,
      82,
      0,
      98,
      0,
      "AUDIO"
    ],
    [
      150,
      98,
      0,
      64,
      1,
      "AUDIO"
    ],
    [
      153,
      94,
      0,
      30,
      1,
      "AUDIO"
    ],
    [
      154,
      94,
      0,
      82,
      1,
      "AUDIO"
    ],
    [
      155,
      80,
      2,
      97,
      0,
      "IMAGE"
    ],
    [
      156,
      64,
      0,
      101,
      1,
      "AUDIO_ENCODER_OUTPUT"
    ],
    [
      157,
      72,
      0,
      101,
      2,
      "LATENT"
    ],
    [
      158,
      37,
      0,
      101,
      0,
      "WANVIDIMAGE_EMBEDS"
    ],
    [
      159,
      101,
      1,
      69,
      0,
      "*"
    ],
    [
      161,
      71,
      0,
      101,
      5,
      "INT"
    ],
    [
      162,
      101,
      0,
      27,
      1,
      "WANVIDIMAGE_EMBEDS"
    ],
    [
      163,
      96,
      0,
      102,
      0,
      "IMAGE"
    ],
    [
      164,
      102,
      0,
      30,
      0,
      "IMAGE"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.5116450399201969,
      "offset": [
        572.0674176111402,
        1097.812069895393
      ]
    },
    "frontendVersion": "1.26.6",
    "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
}