{
  "config": {},
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        1023.0439736515666,
        -87.5450000825112
      ],
      "scale": 0.5179195959458943
    },
    "frontendVersion": "1.40.10",
    "node_versions": {
      "comfy-core": "0.3.34"
    },
    "ue_links": [],
    "workflowRendererVersion": "LG"
  },
  "groups": [
    {
      "bounding": [
        4170,
        1090,
        940,
        1250
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 4,
      "title": "Save Video(Mp4)"
    },
    {
      "bounding": [
        -276.6666666666667,
        623.3333333333334,
        700,
        510
      ],
      "color": "#8A8",
      "flags": {},
      "font_size": 24,
      "id": 14,
      "title": "Load Reference Image"
    },
    {
      "bounding": [
        460,
        1160,
        972.5272525385923,
        445.1012881028646
      ],
      "color": "#b58b2a",
      "flags": {},
      "font_size": 24,
      "id": 15,
      "title": "Control Video Preprocessing"
    },
    {
      "bounding": [
        -270,
        1160,
        690,
        670
      ],
      "color": "#8A8",
      "flags": {},
      "font_size": 24,
      "id": 16,
      "title": "Load Control Video"
    }
  ],
  "id": "96995b8f-85c5-47af-b3cf-7b6a24675694",
  "last_link_id": 279,
  "last_node_id": 181,
  "links": [
    [
      227,
      153,
      0,
      152,
      0,
      "DAMODEL"
    ],
    [
      230,
      155,
      0,
      152,
      1,
      "IMAGE"
    ],
    [
      231,
      155,
      0,
      151,
      0,
      "IMAGE"
    ],
    [
      232,
      154,
      0,
      155,
      0,
      "IMAGE"
    ],
    [
      241,
      162,
      0,
      160,
      2,
      "INT"
    ],
    [
      242,
      162,
      0,
      155,
      2,
      "INT"
    ],
    [
      243,
      163,
      0,
      155,
      3,
      "INT"
    ],
    [
      244,
      163,
      0,
      160,
      3,
      "INT"
    ],
    [
      245,
      134,
      0,
      160,
      0,
      "IMAGE"
    ],
    [
      250,
      165,
      0,
      154,
      2,
      "INT"
    ],
    [
      252,
      171,
      0,
      166,
      0,
      "WANVAE"
    ],
    [
      253,
      173,
      0,
      166,
      1,
      "LATENT"
    ],
    [
      254,
      172,
      0,
      167,
      0,
      "WANTEXTENCODER"
    ],
    [
      255,
      169,
      0,
      167,
      1,
      "WANVIDEOMODEL"
    ],
    [
      256,
      168,
      0,
      169,
      0,
      "WANCOMPILEARGS"
    ],
    [
      257,
      181,
      0,
      169,
      2,
      "WANVIDLORA"
    ],
    [
      259,
      169,
      0,
      173,
      0,
      "WANVIDEOMODEL"
    ],
    [
      260,
      176,
      0,
      173,
      1,
      "WANVIDIMAGE_EMBEDS"
    ],
    [
      261,
      167,
      0,
      173,
      2,
      "WANVIDEOTEXTEMBEDS"
    ],
    [
      263,
      175,
      0,
      173,
      8,
      "SLGARGS"
    ],
    [
      264,
      174,
      0,
      173,
      10,
      "EXPERIMENTALARGS"
    ],
    [
      265,
      171,
      0,
      176,
      0,
      "WANVAE"
    ],
    [
      268,
      171,
      0,
      177,
      0,
      "WANVAE"
    ],
    [
      271,
      166,
      0,
      164,
      0,
      "IMAGE"
    ],
    [
      272,
      152,
      0,
      176,
      1,
      "IMAGE"
    ],
    [
      273,
      155,
      0,
      177,
      1,
      "IMAGE"
    ],
    [
      274,
      160,
      0,
      176,
      2,
      "IMAGE"
    ],
    [
      277,
      162,
      0,
      176,
      5,
      "INT"
    ],
    [
      278,
      163,
      0,
      176,
      6,
      "INT"
    ],
    [
      279,
      165,
      0,
      176,
      7,
      "INT"
    ]
  ],
  "nodes": [
    {
      "flags": {},
      "id": 134,
      "inputs": [],
      "mode": 0,
      "order": 0,
      "outputs": [
        {
          "links": [
            245
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        -257.2184726390604,
        708.1935844101408
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.34",
        "widget_ue_connectable": {}
      },
      "size": [
        267.4869791666667,
        325.98958333333337
      ],
      "type": "LoadImage",
      "widgets_values": [
        "shane_video_restyle_ref_frame.png",
        "image"
      ]
    },
    {
      "flags": {},
      "id": 154,
      "inputs": [
        {
          "link": null,
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager"
        },
        {
          "link": null,
          "name": "vae",
          "shape": 7,
          "type": "VAE"
        },
        {
          "link": 250,
          "name": "frame_load_cap",
          "type": "INT",
          "widget": {
            "name": "frame_load_cap"
          }
        }
      ],
      "mode": 0,
      "order": 14,
      "outputs": [
        {
          "links": [
            232
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "frame_count",
          "type": "INT"
        },
        {
          "links": null,
          "name": "audio",
          "type": "AUDIO"
        },
        {
          "links": null,
          "name": "video_info",
          "type": "VHS_VIDEOINFO"
        }
      ],
      "pos": [
        -250,
        1240
      ],
      "properties": {
        "Node name for S&R": "VHS_LoadVideo",
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "a7ce59e381934733bfae03b1be029756d6ce936d",
        "widget_ue_connectable": {
          "frame_load_cap": true
        }
      },
      "size": [
        260.4306640625,
        564.4306640625
      ],
      "type": "VHS_LoadVideo",
      "widgets_values": {
        "custom_height": 0,
        "custom_width": 0,
        "force_rate": 0,
        "format": "AnimateDiff",
        "frame_load_cap": 0,
        "select_every_nth": 1,
        "skip_first_frames": 0,
        "video": "flower.mp4",
        "videopreview": {
          "hidden": false,
          "params": {
            "custom_height": 0,
            "custom_width": 0,
            "filename": "flower.mp4",
            "force_rate": 0,
            "format": "video/mp4",
            "frame_load_cap": 0,
            "select_every_nth": 1,
            "skip_first_frames": 0,
            "type": "input"
          },
          "paused": false
        }
      }
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 162,
      "inputs": [],
      "mode": 0,
      "order": 1,
      "outputs": [
        {
          "links": [
            241,
            242,
            277
          ],
          "name": "value",
          "type": "INT"
        }
      ],
      "pos": [
        -556.8055661187286,
        916.9021708607987
      ],
      "properties": {
        "Node name for S&R": "INTConstant",
        "cnr_id": "comfyui-kjnodes",
        "ver": "a5e66ce5510c9b3bf984c43a22014cefae4bd044",
        "widget_ue_connectable": {}
      },
      "size": [
        210,
        86.66666666666667
      ],
      "title": "Width",
      "type": "INTConstant",
      "widgets_values": [
        720
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 163,
      "inputs": [],
      "mode": 0,
      "order": 2,
      "outputs": [
        {
          "links": [
            243,
            244,
            278
          ],
          "name": "value",
          "type": "INT"
        }
      ],
      "pos": [
        -553.1528515293621,
        1039.5697697763794
      ],
      "properties": {
        "Node name for S&R": "INTConstant",
        "cnr_id": "comfyui-kjnodes",
        "ver": "a5e66ce5510c9b3bf984c43a22014cefae4bd044",
        "widget_ue_connectable": {}
      },
      "size": [
        210,
        86.66666666666667
      ],
      "title": "Height",
      "type": "INTConstant",
      "widgets_values": [
        720
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 165,
      "inputs": [],
      "mode": 0,
      "order": 3,
      "outputs": [
        {
          "links": [
            250,
            279
          ],
          "name": "value",
          "type": "INT"
        }
      ],
      "pos": [
        -554.764192416166,
        1165.2190020748048
      ],
      "properties": {
        "Node name for S&R": "INTConstant",
        "cnr_id": "comfyui-kjnodes",
        "ver": "a5e66ce5510c9b3bf984c43a22014cefae4bd044",
        "widget_ue_connectable": {}
      },
      "size": [
        210,
        86.66666666666667
      ],
      "title": "Length",
      "type": "INTConstant",
      "widgets_values": [
        89
      ]
    },
    {
      "bgcolor": "#533",
      "color": "#322",
      "flags": {},
      "id": 176,
      "inputs": [
        {
          "link": 265,
          "name": "vae",
          "type": "WANVAE"
        },
        {
          "link": 272,
          "name": "input_frames",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": 274,
          "name": "ref_images",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "input_masks",
          "shape": 7,
          "type": "MASK"
        },
        {
          "link": null,
          "name": "prev_vace_embeds",
          "shape": 7,
          "type": "WANVIDIMAGE_EMBEDS"
        },
        {
          "link": 277,
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          }
        },
        {
          "link": 278,
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          }
        },
        {
          "link": 279,
          "name": "num_frames",
          "type": "INT",
          "widget": {
            "name": "num_frames"
          }
        }
      ],
      "mode": 0,
      "order": 21,
      "outputs": [
        {
          "links": [
            260
          ],
          "name": "vace_embeds",
          "type": "WANVIDIMAGE_EMBEDS"
        }
      ],
      "pos": [
        3010,
        1140
      ],
      "properties": {
        "Node name for S&R": "WanVideoVACEEncode",
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "3869b0482b615b6a8fd6f346467c5ef6627eed72",
        "widget_ue_connectable": {
          "height": true,
          "num_frames": true,
          "width": true
        }
      },
      "size": [
        343.5807291666667,
        341.9921875
      ],
      "type": "WanVideoVACEEncode",
      "widgets_values": [
        480,
        832,
        29,
        1.0000000000000002,
        0,
        0.3500000000000001,
        false
      ]
    },
    {
      "bgcolor": "#335",
      "color": "#223",
      "flags": {},
      "id": 169,
      "inputs": [
        {
          "link": 256,
          "name": "compile_args",
          "shape": 7,
          "type": "WANCOMPILEARGS"
        },
        {
          "link": null,
          "name": "block_swap_args",
          "shape": 7,
          "type": "BLOCKSWAPARGS"
        },
        {
          "link": 257,
          "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"
        }
      ],
      "mode": 0,
      "order": 15,
      "outputs": [
        {
          "links": [
            255,
            259
          ],
          "name": "model",
          "slot_index": 0,
          "type": "WANVIDEOMODEL"
        }
      ],
      "pos": [
        1903.3232755579616,
        1121.9617726778467
      ],
      "properties": {
        "Node name for S&R": "WanVideoModelLoader",
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "models": [
          {
            "directory": "diffusion_models",
            "name": "wan2.1_vace_14B_fp16.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_vace_14B_fp16.safetensors"
          }
        ],
        "ver": "3869b0482b615b6a8fd6f346467c5ef6627eed72",
        "widget_ue_connectable": {}
      },
      "size": [
        477.43489583333337,
        393.28125
      ],
      "type": "WanVideoModelLoader",
      "widgets_values": [
        "wan2.1_vace_14B_fp16.safetensors",
        "bf16",
        "disabled",
        "offload_device",
        "sdpa",
        "default"
      ]
    },
    {
      "flags": {},
      "id": 152,
      "inputs": [
        {
          "link": 227,
          "name": "da_model",
          "type": "DAMODEL"
        },
        {
          "link": 230,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 18,
      "outputs": [
        {
          "links": [
            272
          ],
          "name": "image",
          "type": "IMAGE"
        }
      ],
      "pos": [
        870,
        1280
      ],
      "properties": {
        "Node name for S&R": "DepthAnything_V2",
        "cnr_id": "comfyui-depthanythingv2",
        "ver": "003d7b44bafd3a8a4c3693a9ca3ddcd72f4883ab",
        "widget_ue_connectable": {}
      },
      "size": [
        310,
        46
      ],
      "type": "DepthAnything_V2",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 153,
      "inputs": [],
      "mode": 0,
      "order": 4,
      "outputs": [
        {
          "links": [
            227
          ],
          "name": "da_v2_model",
          "type": "DAMODEL"
        }
      ],
      "pos": [
        490,
        1280
      ],
      "properties": {
        "Node name for S&R": "DownloadAndLoadDepthAnythingV2Model",
        "cnr_id": "comfyui-depthanythingv2",
        "ver": "003d7b44bafd3a8a4c3693a9ca3ddcd72f4883ab",
        "widget_ue_connectable": {}
      },
      "size": [
        323.577734375,
        118.88020833333334
      ],
      "type": "DownloadAndLoadDepthAnythingV2Model",
      "widgets_values": [
        "depth_anything_v2_vitl_fp32.safetensors",
        "auto"
      ]
    },
    {
      "flags": {},
      "id": 151,
      "inputs": [
        {
          "link": 231,
          "name": "image",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 19,
      "outputs": [
        {
          "links": null,
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        870,
        1430
      ],
      "properties": {
        "Node name for S&R": "CannyEdgePreprocessor",
        "cnr_id": "comfyui_controlnet_aux",
        "ver": "59b027e088c1c8facf7258f6e392d16d204b4d27",
        "widget_ue_connectable": {}
      },
      "size": [
        309.7265625,
        140
      ],
      "type": "CannyEdgePreprocessor",
      "widgets_values": [
        100,
        200,
        512
      ]
    },
    {
      "bgcolor": "#000",
      "color": "#432",
      "flags": {},
      "id": 116,
      "inputs": [],
      "mode": 0,
      "order": 5,
      "outputs": [],
      "pos": [
        1200,
        1430
      ],
      "properties": {
        "widget_ue_connectable": {}
      },
      "size": [
        210,
        88
      ],
      "title": "Preprocessor Settings",
      "type": "MarkdownNote",
      "widgets_values": [
        "Experiment between Depth vs Canny. Plug either into the reroute node here"
      ]
    },
    {
      "bgcolor": "#335",
      "color": "#223",
      "flags": {},
      "id": 181,
      "inputs": [
        {
          "link": null,
          "name": "prev_lora",
          "shape": 7,
          "type": "WANVIDLORA"
        },
        {
          "link": null,
          "name": "blocks",
          "shape": 7,
          "type": "SELECTEDBLOCKS"
        }
      ],
      "mode": 0,
      "order": 6,
      "outputs": [
        {
          "links": [
            257
          ],
          "name": "lora",
          "type": "WANVIDLORA"
        }
      ],
      "pos": [
        1540,
        1150
      ],
      "properties": {
        "Node name for S&R": "WanVideoLoraSelect",
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "models": [
          {
            "directory": "loras",
            "name": "Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
            "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Wan21_CausVid_14B_T2V_lora_rank32.safetensors"
          }
        ],
        "ver": "a4b1a4be7ac69ba705cd9cc43450751cd2e6f25c",
        "widget_ue_connectable": {
          "lora": true,
          "low_mem_load": true,
          "strength": true
        }
      },
      "size": [
        315,
        182.21354166666669
      ],
      "type": "WanVideoLoraSelect",
      "widgets_values": [
        "Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
        0.4000000000000001,
        false,
        true
      ]
    },
    {
      "bgcolor": "#335",
      "color": "#223",
      "flags": {},
      "id": 170,
      "inputs": [],
      "mode": 0,
      "order": 7,
      "outputs": [
        {
          "links": [],
          "name": "extra_model",
          "type": "VACEPATH"
        }
      ],
      "pos": [
        1550,
        1390
      ],
      "properties": {
        "Node name for S&R": "WanVideoVACEModelSelect",
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "models": [
          {
            "directory": "diffusion_models",
            "name": "Wan2_1-VACE_module_14B_bf16.safetensors",
            "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Wan2_1-VACE_module_14B_bf16.safetensors?download=true"
          }
        ],
        "ver": "7d238261361608683ae6627aec6994cb69554ca7",
        "widget_ue_connectable": {}
      },
      "size": [
        307.4869791666667,
        88.88020833333334
      ],
      "type": "WanVideoVACEModelSelect",
      "widgets_values": [
        "Wan2_1-VACE_module_14B_bf16.safetensors"
      ]
    },
    {
      "flags": {},
      "id": 168,
      "inputs": [],
      "mode": 0,
      "order": 8,
      "outputs": [
        {
          "links": [
            256
          ],
          "name": "torch_compile_args",
          "slot_index": 0,
          "type": "WANCOMPILEARGS"
        }
      ],
      "pos": [
        1910,
        770
      ],
      "properties": {
        "Node name for S&R": "WanVideoTorchCompileSettings",
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "3869b0482b615b6a8fd6f346467c5ef6627eed72",
        "widget_ue_connectable": {}
      },
      "size": [
        390.59895833333337,
        287.7604166666667
      ],
      "type": "WanVideoTorchCompileSettings",
      "widgets_values": [
        "inductor",
        false,
        "default",
        false,
        64,
        true,
        128,
        false,
        false
      ]
    },
    {
      "bgcolor": "#533",
      "color": "#322",
      "flags": {},
      "id": 171,
      "inputs": [
        {
          "link": null,
          "name": "compile_args",
          "shape": 7,
          "type": "WANCOMPILEARGS"
        }
      ],
      "mode": 0,
      "order": 9,
      "outputs": [
        {
          "links": [
            252,
            265,
            268
          ],
          "name": "vae",
          "slot_index": 0,
          "type": "WANVAE"
        }
      ],
      "pos": [
        2000,
        1580
      ],
      "properties": {
        "Node name for S&R": "WanVideoVAELoader",
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "models": [
          {
            "directory": "vae",
            "name": "Wan2_1_VAE_bf16.safetensors",
            "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Wan2_1_VAE_bf16.safetensors?download=true"
          }
        ],
        "ver": "3869b0482b615b6a8fd6f346467c5ef6627eed72",
        "widget_ue_connectable": {}
      },
      "size": [
        368.02083333333337,
        164.42708333333334
      ],
      "type": "WanVideoVAELoader",
      "widgets_values": [
        "Wan2_1_VAE_bf16.safetensors",
        "bf16",
        false,
        false
      ]
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 172,
      "inputs": [],
      "mode": 0,
      "order": 10,
      "outputs": [
        {
          "links": [
            254
          ],
          "name": "wan_t5_model",
          "slot_index": 0,
          "type": "WANTEXTENCODER"
        }
      ],
      "pos": [
        1990,
        1810
      ],
      "properties": {
        "Node name for S&R": "LoadWanVideoT5TextEncoder",
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "models": [
          {
            "directory": "text_encoders",
            "name": "umt5-xxl-enc-bf16.safetensors",
            "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/umt5-xxl-enc-bf16.safetensors?download=true"
          }
        ],
        "ver": "3869b0482b615b6a8fd6f346467c5ef6627eed72",
        "widget_ue_connectable": {}
      },
      "size": [
        377.16145833333337,
        175.52083333333334
      ],
      "type": "LoadWanVideoT5TextEncoder",
      "widgets_values": [
        "umt5-xxl-enc-bf16.safetensors",
        "bf16",
        "offload_device",
        "disabled"
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 167,
      "inputs": [
        {
          "link": 254,
          "name": "t5",
          "shape": 7,
          "type": "WANTEXTENCODER"
        },
        {
          "link": 255,
          "name": "model_to_offload",
          "shape": 7,
          "type": "WANVIDEOMODEL"
        }
      ],
      "mode": 0,
      "order": 17,
      "outputs": [
        {
          "links": [
            261
          ],
          "name": "text_embeds",
          "slot_index": 0,
          "type": "WANVIDEOTEXTEMBEDS"
        }
      ],
      "pos": [
        2500,
        1130
      ],
      "properties": {
        "Node name for S&R": "WanVideoTextEncode",
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "3869b0482b615b6a8fd6f346467c5ef6627eed72",
        "widget_ue_connectable": {}
      },
      "size": [
        420.2994791666667,
        283.88020833333337
      ],
      "type": "WanVideoTextEncode",
      "widgets_values": [
        "a few white flowers grow from green stems and leaves. Painted in the style of watercolor washes with translucent layers blending into soft gradients. Pigment flows organically across paper creating luminous greens and blues that suggest atmospheric depth without defined edges; color palette features diffused chromatic transitions from pale yellows to deep forest tones",
        "bad quality, blurry, messy, chaotic",
        true,
        [
          false,
          true
        ],
        "gpu"
      ]
    },
    {
      "flags": {},
      "id": 177,
      "inputs": [
        {
          "link": 268,
          "name": "vae",
          "type": "WANVAE"
        },
        {
          "link": 273,
          "name": "image",
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "mask",
          "shape": 7,
          "type": "MASK"
        }
      ],
      "mode": 0,
      "order": 20,
      "outputs": [
        {
          "links": [],
          "name": "samples",
          "type": "LATENT"
        }
      ],
      "pos": [
        2500,
        1590
      ],
      "properties": {
        "Node name for S&R": "WanVideoEncode",
        "widget_ue_connectable": {}
      },
      "size": [
        270,
        283.33333333333337
      ],
      "type": "WanVideoEncode",
      "widgets_values": [
        false,
        272,
        272,
        144,
        128,
        0,
        1
      ]
    },
    {
      "flags": {},
      "id": 173,
      "inputs": [
        {
          "link": 259,
          "name": "model",
          "type": "WANVIDEOMODEL"
        },
        {
          "link": 260,
          "name": "image_embeds",
          "type": "WANVIDIMAGE_EMBEDS"
        },
        {
          "link": 261,
          "name": "text_embeds",
          "shape": 7,
          "type": "WANVIDEOTEXTEMBEDS"
        },
        {
          "link": null,
          "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": 263,
          "name": "slg_args",
          "shape": 7,
          "type": "SLGARGS"
        },
        {
          "link": null,
          "name": "loop_args",
          "shape": 7,
          "type": "LOOPARGS"
        },
        {
          "link": 264,
          "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,
          "name": "teacache_args",
          "shape": 7,
          "type": "TEACACHEARGS"
        }
      ],
      "mode": 0,
      "order": 22,
      "outputs": [
        {
          "links": [
            253
          ],
          "name": "samples",
          "type": "LATENT"
        },
        {
          "links": null,
          "name": "denoised_samples",
          "type": "LATENT"
        }
      ],
      "pos": [
        3430,
        1180
      ],
      "properties": {
        "Node name for S&R": "WanVideoSampler",
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "2d2a184723dae88388e130659f51c36fcadeaba8",
        "widget_ue_connectable": {}
      },
      "size": [
        312.890625,
        947.7604166666667
      ],
      "type": "WanVideoSampler",
      "widgets_values": [
        6,
        1.0000000000000002,
        3.0000000000000004,
        18,
        "fixed",
        true,
        "unipc",
        0,
        1,
        false,
        "comfy",
        0,
        -1,
        false
      ]
    },
    {
      "flags": {},
      "id": 175,
      "inputs": [],
      "mode": 0,
      "order": 11,
      "outputs": [
        {
          "links": [
            263
          ],
          "name": "slg_args",
          "type": "SLGARGS"
        }
      ],
      "pos": [
        3010,
        1560
      ],
      "properties": {
        "Node name for S&R": "WanVideoSLG",
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "2d2a184723dae88388e130659f51c36fcadeaba8",
        "widget_ue_connectable": {}
      },
      "size": [
        340,
        106
      ],
      "type": "WanVideoSLG",
      "widgets_values": [
        "8",
        0.30000000000000004,
        0.7000000000000002
      ]
    },
    {
      "flags": {},
      "id": 174,
      "inputs": [],
      "mode": 0,
      "order": 12,
      "outputs": [
        {
          "links": [
            264
          ],
          "name": "exp_args",
          "type": "EXPERIMENTALARGS"
        }
      ],
      "pos": [
        3010,
        1740
      ],
      "properties": {
        "Node name for S&R": "WanVideoExperimentalArgs",
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "2d2a184723dae88388e130659f51c36fcadeaba8",
        "widget_ue_connectable": {}
      },
      "size": [
        327.59114583333337,
        416.6666666666667
      ],
      "type": "WanVideoExperimentalArgs",
      "widgets_values": [
        "",
        true,
        false,
        0,
        false,
        1,
        1.25,
        20,
        false,
        0,
        false,
        false,
        0.95,
        1
      ]
    },
    {
      "bgcolor": "#533",
      "color": "#322",
      "flags": {},
      "id": 166,
      "inputs": [
        {
          "link": 252,
          "name": "vae",
          "type": "WANVAE"
        },
        {
          "link": 253,
          "name": "samples",
          "type": "LATENT"
        }
      ],
      "mode": 0,
      "order": 23,
      "outputs": [
        {
          "links": [
            271
          ],
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "pos": [
        3790,
        1190
      ],
      "properties": {
        "Node name for S&R": "WanVideoDecode",
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "d9b1f4d1a5aea91d101ae97a54714a5861af3f50",
        "widget_ue_connectable": {}
      },
      "size": [
        315,
        238.88020833333334
      ],
      "type": "WanVideoDecode",
      "widgets_values": [
        false,
        272,
        272,
        144,
        128,
        "default"
      ]
    },
    {
      "flags": {},
      "id": 164,
      "inputs": [
        {
          "link": 271,
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "audio",
          "shape": 7,
          "type": "AUDIO"
        },
        {
          "link": null,
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager"
        },
        {
          "link": null,
          "name": "vae",
          "shape": 7,
          "type": "VAE"
        }
      ],
      "mode": 0,
      "order": 24,
      "outputs": [
        {
          "links": null,
          "name": "Filenames",
          "type": "VHS_FILENAMES"
        }
      ],
      "pos": [
        4260,
        1190
      ],
      "properties": {
        "Node name for S&R": "VHS_VideoCombine",
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "a7ce59e381934733bfae03b1be029756d6ce936d",
        "widget_ue_connectable": {}
      },
      "size": [
        749.8958333333334,
        1077.8958333333335
      ],
      "type": "VHS_VideoCombine",
      "widgets_values": {
        "crf": 19,
        "filename_prefix": "VaceControl",
        "format": "video/h264-mp4",
        "frame_rate": 15,
        "loop_count": 0,
        "pingpong": false,
        "pix_fmt": "yuv420p",
        "save_metadata": true,
        "save_output": true,
        "trim_to_audio": false,
        "videopreview": {
          "hidden": false,
          "params": {
            "filename": "flower.mp4",
            "format": "video/h264-mp4",
            "frame_rate": 15,
            "fullpath": "",
            "subfolder": "",
            "type": "output",
            "workflow": "VaceControl_00001.png"
          },
          "paused": false
        }
      }
    },
    {
      "flags": {},
      "id": 160,
      "inputs": [
        {
          "link": 245,
          "name": "image",
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "mask",
          "shape": 7,
          "type": "MASK"
        },
        {
          "link": 241,
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          }
        },
        {
          "link": 244,
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          }
        }
      ],
      "mode": 0,
      "order": 13,
      "outputs": [
        {
          "links": [
            274
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "width",
          "type": "INT"
        },
        {
          "links": null,
          "name": "height",
          "type": "INT"
        },
        {
          "links": null,
          "name": "mask",
          "type": "MASK"
        }
      ],
      "pos": [
        110,
        700
      ],
      "properties": {
        "Node name for S&R": "ImageResizeKJv2",
        "cnr_id": "comfyui-kjnodes",
        "ver": "a5e66ce5510c9b3bf984c43a22014cefae4bd044",
        "widget_ue_connectable": {
          "height": true,
          "width": true
        }
      },
      "size": [
        270,
        348
      ],
      "type": "ImageResizeKJv2",
      "widgets_values": [
        512,
        512,
        "nearest-exact",
        "stretch",
        "0, 0, 0",
        "center",
        2,
        "cpu"
      ]
    },
    {
      "flags": {},
      "id": 155,
      "inputs": [
        {
          "link": 232,
          "name": "image",
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "mask",
          "shape": 7,
          "type": "MASK"
        },
        {
          "link": 242,
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          }
        },
        {
          "link": 243,
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          }
        }
      ],
      "mode": 0,
      "order": 16,
      "outputs": [
        {
          "links": [
            230,
            231,
            273
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "width",
          "type": "INT"
        },
        {
          "links": null,
          "name": "height",
          "type": "INT"
        },
        {
          "links": null,
          "name": "mask",
          "type": "MASK"
        }
      ],
      "pos": [
        120,
        1240
      ],
      "properties": {
        "Node name for S&R": "ImageResizeKJv2",
        "cnr_id": "comfyui-kjnodes",
        "ver": "a5e66ce5510c9b3bf984c43a22014cefae4bd044",
        "widget_ue_connectable": {
          "height": true,
          "width": true
        }
      },
      "size": [
        270,
        348
      ],
      "type": "ImageResizeKJv2",
      "widgets_values": [
        512,
        512,
        "nearest-exact",
        "stretch",
        "0, 0, 0",
        "center",
        2,
        "cpu"
      ]
    }
  ],
  "revision": 0,
  "version": 0.4
}