{
  "id": "d8034549-7e0a-40f1-8c2e-de3ffc6f1cae",
  "revision": 0,
  "last_node_id": 115,
  "last_link_id": 237,
  "nodes": [
    {
      "id": 57,
      "type": "CLIPVisionLoader",
      "pos": [
        237.9767303466797,
        660.8462524414062
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP_VISION",
          "type": "CLIP_VISION",
          "links": [
            106
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.33",
        "Node name for S&R": "CLIPVisionLoader"
      },
      "widgets_values": [
        "clip_vision_h.safetensors"
      ]
    },
    {
      "id": 7,
      "type": "CLIPTextEncode",
      "pos": [
        417.8738708496094,
        389
      ],
      "size": [
        419.3189392089844,
        138.8924560546875
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 75
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            126
          ]
        }
      ],
      "title": "CLIP Text Encode (Negative Prompt)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.33",
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "色调艳丽，过曝，静态，细节模糊不清，字幕，风格，作品，画作，画面，静止，整体发灰，最差质量，低质量，JPEG压缩残留，丑陋的，残缺的，多余的手指，画得不好的手部，画得不好的脸部，畸形的，毁容的，形态畸形的肢体，手指融合，静止不动的画面，杂乱的背景，三条腿，背景人很多，倒着走 "
      ]
    },
    {
      "id": 56,
      "type": "CLIPVisionEncode",
      "pos": [
        564.6074829101562,
        727.1204833984375
      ],
      "size": [
        271.6761474609375,
        78
      ],
      "flags": {},
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "name": "clip_vision",
          "type": "CLIP_VISION",
          "link": 106
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 163
        }
      ],
      "outputs": [
        {
          "name": "CLIP_VISION_OUTPUT",
          "type": "CLIP_VISION_OUTPUT",
          "links": [
            128
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.33",
        "Node name for S&R": "CLIPVisionEncode"
      },
      "widgets_values": [
        "none"
      ]
    },
    {
      "id": 38,
      "type": "CLIPLoader",
      "pos": [
        56.288665771484375,
        312.74468994140625
      ],
      "size": [
        301.3524169921875,
        106
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "slot_index": 0,
          "links": [
            74,
            75
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.33",
        "Node name for S&R": "CLIPLoader"
      },
      "widgets_values": [
        "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
        "wan",
        "default"
      ]
    },
    {
      "id": 39,
      "type": "VAELoader",
      "pos": [
        530.832763671875,
        587.7254638671875
      ],
      "size": [
        306.36004638671875,
        58
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "slot_index": 0,
          "links": [
            127,
            177
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.33",
        "Node name for S&R": "VAELoader"
      },
      "widgets_values": [
        "wan_2.1_vae.safetensors"
      ]
    },
    {
      "id": 68,
      "type": "TrimVideoLatent",
      "pos": [
        2573.418701171875,
        528.4247436523438
      ],
      "size": [
        210,
        58
      ],
      "flags": {},
      "order": 29,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 130
        },
        {
          "name": "trim_amount",
          "type": "INT",
          "widget": {
            "name": "trim_amount"
          },
          "link": 131
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            132
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.60",
        "Node name for S&R": "TrimVideoLatent"
      },
      "widgets_values": [
        0
      ]
    },
    {
      "id": 8,
      "type": "VAEDecode",
      "pos": [
        2807.18896484375,
        528.6017456054688
      ],
      "size": [
        157.56002807617188,
        46
      ],
      "flags": {},
      "order": 30,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 132
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 177
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            96
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.33",
        "Node name for S&R": "VAEDecode"
      },
      "widgets_values": []
    },
    {
      "id": 49,
      "type": "VHS_VideoCombine",
      "pos": [
        2996.9521484375,
        529.4281616210938
      ],
      "size": [
        372.2688903808594,
        988.4888916015625
      ],
      "flags": {},
      "order": 31,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 96
        },
        {
          "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
        },
        {
          "name": "frame_rate",
          "type": "FLOAT",
          "widget": {
            "name": "frame_rate"
          },
          "link": 236
        }
      ],
      "outputs": [
        {
          "name": "Filenames",
          "type": "VHS_FILENAMES",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "a7ce59e381934733bfae03b1be029756d6ce936d",
        "Node name for S&R": "VHS_VideoCombine"
      },
      "widgets_values": {
        "frame_rate": 16,
        "loop_count": 0,
        "filename_prefix": "Wan-Animate",
        "format": "video/h264-mp4",
        "pix_fmt": "yuv420p",
        "crf": 19,
        "save_metadata": true,
        "trim_to_audio": false,
        "pingpong": false,
        "save_output": true,
        "videopreview": {
          "hidden": false,
          "paused": false,
          "params": {
            "filename": "Wan-Animate_00022.mp4",
            "subfolder": "",
            "type": "output",
            "format": "video/h264-mp4",
            "frame_rate": 16,
            "workflow": "Wan-Animate_00022.png",
            "fullpath": "D:\\AI\\ComfyUI_windows_portable\\ComfyUI\\output\\Wan-Animate_00022.mp4"
          }
        }
      }
    },
    {
      "id": 48,
      "type": "ModelSamplingSD3",
      "pos": [
        619.463134765625,
        39.33478927612305
      ],
      "size": [
        210,
        58
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 183
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "slot_index": 0,
          "links": [
            120
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.33",
        "Node name for S&R": "ModelSamplingSD3"
      },
      "widgets_values": [
        8
      ]
    },
    {
      "id": 6,
      "type": "CLIPTextEncode",
      "pos": [
        417.9232177734375,
        186
      ],
      "size": [
        419.26959228515625,
        148.8194122314453
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 74
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            125
          ]
        }
      ],
      "title": "CLIP Text Encode (Positive Prompt)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.33",
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "A woman is blowing a kiss toward us."
      ]
    },
    {
      "id": 97,
      "type": "Sam2Segmentation",
      "pos": [
        912.9295043945312,
        1528.3876953125
      ],
      "size": [
        212.087890625,
        182
      ],
      "flags": {},
      "order": 21,
      "mode": 0,
      "inputs": [
        {
          "name": "sam2_model",
          "type": "SAM2MODEL",
          "link": 184
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 197
        },
        {
          "name": "coordinates_positive",
          "shape": 7,
          "type": "STRING",
          "link": 186
        },
        {
          "name": "coordinates_negative",
          "shape": 7,
          "type": "STRING",
          "link": null
        },
        {
          "name": "bboxes",
          "shape": 7,
          "type": "BBOX",
          "link": 187
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "mask",
          "type": "MASK",
          "links": [
            188
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-segment-anything-2",
        "ver": "ebdb9869596b14babdaa83505e6863aad4618501",
        "Node name for S&R": "Sam2Segmentation"
      },
      "widgets_values": [
        false,
        false
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 83,
      "type": "ImageScaleToTotalPixels",
      "pos": [
        -241.42568969726562,
        1452.59521484375
      ],
      "size": [
        210,
        82
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 161
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            169
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.60",
        "Node name for S&R": "ImageScaleToTotalPixels"
      },
      "widgets_values": [
        "nearest-exact",
        0.5
      ]
    },
    {
      "id": 96,
      "type": "LoraLoaderModelOnly",
      "pos": [
        317.4969177246094,
        39.33478927612305
      ],
      "size": [
        266.1000061035156,
        82
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 221
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            183
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.60",
        "Node name for S&R": "LoraLoaderModelOnly"
      },
      "widgets_values": [
        "Wan2.2\\WanAnimate_relight_lora_fp16.safetensors",
        1
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 100,
      "type": "GrowMask",
      "pos": [
        1156.6153564453125,
        1530.2908935546875
      ],
      "size": [
        210,
        82
      ],
      "flags": {},
      "order": 23,
      "mode": 0,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 188
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            216
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.60",
        "Node name for S&R": "GrowMask"
      },
      "widgets_values": [
        20,
        true
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 104,
      "type": "EmptyImage",
      "pos": [
        1401.2213134765625,
        1650.88720703125
      ],
      "size": [
        210,
        130
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            194
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.60",
        "Node name for S&R": "EmptyImage"
      },
      "widgets_values": [
        512,
        512,
        1,
        0
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 37,
      "type": "UNETLoader",
      "pos": [
        -23.747472763061523,
        39.33478927612305
      ],
      "size": [
        305.3782043457031,
        82
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "slot_index": 0,
          "links": [
            221
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.33",
        "Node name for S&R": "UNETLoader"
      },
      "widgets_values": [
        "Wan2.2\\Wan2_2-Animate-14B_fp8_e4m3fn_scaled_KJ.safetensors",
        "default"
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 81,
      "type": "PreviewImage",
      "pos": [
        1173.269287109375,
        1116.7857666015625
      ],
      "size": [
        214.26979064941406,
        262.065185546875
      ],
      "flags": {},
      "order": 22,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 157
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.60",
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": []
    },
    {
      "id": 74,
      "type": "PoseAndFaceDetection",
      "pos": [
        575.4507446289062,
        996.4915771484375
      ],
      "size": [
        253.125,
        142
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "POSEMODEL",
          "link": 141
        },
        {
          "name": "images",
          "type": "IMAGE",
          "link": 168
        },
        {
          "name": "retarget_image",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 229
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 231
        }
      ],
      "outputs": [
        {
          "name": "pose_data",
          "type": "POSEDATA",
          "links": [
            148
          ]
        },
        {
          "name": "face_images",
          "type": "IMAGE",
          "links": [
            153
          ]
        },
        {
          "name": "key_frame_body_points",
          "type": "STRING",
          "links": [
            186
          ]
        },
        {
          "name": "bboxes",
          "type": "BBOX",
          "links": [
            187
          ]
        }
      ],
      "properties": {
        "aux_id": "kijai/ComfyUI-WanAnimatePreprocess",
        "ver": "e63d6e71ae4c271f3f81211a7ca7f87607b7e50d",
        "Node name for S&R": "PoseAndFaceDetection"
      },
      "widgets_values": [
        832,
        480
      ],
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 84,
      "type": "ImageResizeKJv2",
      "pos": [
        -10.07369613647461,
        884.4930419921875
      ],
      "size": [
        210,
        348
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 207
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 205
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 209
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            163,
            164
          ]
        },
        {
          "name": "width",
          "type": "INT",
          "links": null
        },
        {
          "name": "height",
          "type": "INT",
          "links": null
        },
        {
          "name": "mask",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "9d7af919b91838fb22e31ad0107a6ddcf8bd7f3f",
        "Node name for S&R": "ImageResizeKJv2"
      },
      "widgets_values": [
        0,
        0,
        "nearest-exact",
        "pad_edge",
        "0, 0, 0",
        "center",
        16,
        "cpu"
      ]
    },
    {
      "id": 58,
      "type": "LoadImage",
      "pos": [
        -300.96990966796875,
        882.6923828125
      ],
      "size": [
        231.75477600097656,
        364.36724853515625
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            207
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.33",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "pexels-photo-28252721.jpg",
        "image"
      ]
    },
    {
      "id": 112,
      "type": "BlockifyMask",
      "pos": [
        1397.04443359375,
        1532.53857421875
      ],
      "size": [
        210,
        58
      ],
      "flags": {},
      "order": 24,
      "mode": 0,
      "inputs": [
        {
          "name": "masks",
          "type": "MASK",
          "link": 216
        }
      ],
      "outputs": [
        {
          "name": "mask",
          "type": "MASK",
          "links": [
            218,
            220
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "00da1910634fbf314d407608efb281ae6f7f1ba2",
        "Node name for S&R": "BlockifyMask"
      },
      "widgets_values": [
        32
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 98,
      "type": "DownloadAndLoadSAM2Model",
      "pos": [
        611.0189208984375,
        1584.510498046875
      ],
      "size": [
        245.5371856689453,
        130
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "sam2_model",
          "type": "SAM2MODEL",
          "links": [
            184
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-segment-anything-2",
        "ver": "ebdb9869596b14babdaa83505e6863aad4618501",
        "Node name for S&R": "DownloadAndLoadSAM2Model"
      },
      "widgets_values": [
        "sam2.1_hiera_base_plus.safetensors",
        "video",
        "cuda",
        "fp16"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 80,
      "type": "OnnxDetectionModelLoader",
      "pos": [
        256.80389404296875,
        994.999267578125
      ],
      "size": [
        272.7348327636719,
        106
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "model",
          "type": "POSEMODEL",
          "links": [
            141
          ]
        }
      ],
      "properties": {
        "aux_id": "kijai/ComfyUI-WanAnimatePreprocess",
        "ver": "e63d6e71ae4c271f3f81211a7ca7f87607b7e50d",
        "Node name for S&R": "OnnxDetectionModelLoader"
      },
      "widgets_values": [
        "vitpose_h_wholebody_model.onnx",
        "yolov10m.onnx",
        "CUDAExecutionProvider"
      ],
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 85,
      "type": "ImageResizeKJv2",
      "pos": [
        -10.07369613647461,
        1452.59521484375
      ],
      "size": [
        210,
        348
      ],
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 169
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            168,
            197,
            198
          ]
        },
        {
          "name": "width",
          "type": "INT",
          "links": [
            205,
            229,
            230,
            233
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            209,
            231,
            232,
            234
          ]
        },
        {
          "name": "mask",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "9d7af919b91838fb22e31ad0107a6ddcf8bd7f3f",
        "Node name for S&R": "ImageResizeKJv2"
      },
      "widgets_values": [
        0,
        0,
        "nearest-exact",
        "crop",
        "0, 0, 0",
        "center",
        16,
        "cpu"
      ]
    },
    {
      "id": 79,
      "type": "DrawViTPose",
      "pos": [
        920.8489990234375,
        1123.949462890625
      ],
      "size": [
        210,
        178
      ],
      "flags": {},
      "order": 20,
      "mode": 0,
      "inputs": [
        {
          "name": "pose_data",
          "type": "POSEDATA",
          "link": 148
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 230
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 232
        }
      ],
      "outputs": [
        {
          "name": "pose_images",
          "type": "IMAGE",
          "links": [
            154,
            157
          ]
        }
      ],
      "properties": {
        "aux_id": "kijai/ComfyUI-WanAnimatePreprocess",
        "ver": "e63d6e71ae4c271f3f81211a7ca7f87607b7e50d",
        "Node name for S&R": "DrawViTPose"
      },
      "widgets_values": [
        832,
        480,
        0,
        -1,
        -1,
        "True"
      ],
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 103,
      "type": "ImageCompositeMasked",
      "pos": [
        1638.0303955078125,
        1508.407470703125
      ],
      "size": [
        210,
        146
      ],
      "flags": {},
      "order": 25,
      "mode": 0,
      "inputs": [
        {
          "name": "destination",
          "type": "IMAGE",
          "link": 198
        },
        {
          "name": "source",
          "type": "IMAGE",
          "link": 194
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": 218
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            195,
            219
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.60",
        "Node name for S&R": "ImageCompositeMasked"
      },
      "widgets_values": [
        0,
        0,
        true
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 105,
      "type": "PreviewImage",
      "pos": [
        1914.812744140625,
        1585.598876953125
      ],
      "size": [
        236.73741149902344,
        349.26287841796875
      ],
      "flags": {},
      "order": 27,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 219
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.60",
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": []
    },
    {
      "id": 3,
      "type": "KSampler",
      "pos": [
        2222.796142578125,
        526.1226196289062
      ],
      "size": [
        315,
        262
      ],
      "flags": {},
      "order": 28,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 120
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 123
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 124
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 129
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "slot_index": 0,
          "links": [
            130
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.33",
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        1234,
        "fixed",
        20,
        6,
        "euler",
        "simple",
        1
      ]
    },
    {
      "id": 67,
      "type": "WanAnimateToVideo",
      "pos": [
        1909.69873046875,
        545.6215209960938
      ],
      "size": [
        264.751953125,
        358
      ],
      "flags": {},
      "order": 26,
      "mode": 0,
      "inputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 125
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 126
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 127
        },
        {
          "name": "clip_vision_output",
          "shape": 7,
          "type": "CLIP_VISION_OUTPUT",
          "link": 128
        },
        {
          "name": "reference_image",
          "shape": 7,
          "type": "IMAGE",
          "link": 164
        },
        {
          "name": "face_video",
          "shape": 7,
          "type": "IMAGE",
          "link": 153
        },
        {
          "name": "pose_video",
          "shape": 7,
          "type": "IMAGE",
          "link": 154
        },
        {
          "name": "background_video",
          "shape": 7,
          "type": "IMAGE",
          "link": 195
        },
        {
          "name": "character_mask",
          "shape": 7,
          "type": "MASK",
          "link": 220
        },
        {
          "name": "continue_motion",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 233
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 234
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            123
          ]
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "links": [
            124
          ]
        },
        {
          "name": "latent",
          "type": "LATENT",
          "links": [
            129
          ]
        },
        {
          "name": "trim_latent",
          "type": "INT",
          "links": [
            131
          ]
        },
        {
          "name": "trim_image",
          "type": "INT",
          "links": []
        },
        {
          "name": "video_frame_offset",
          "type": "INT",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.60",
        "Node name for S&R": "WanAnimateToVideo"
      },
      "widgets_values": [
        832,
        480,
        77,
        1,
        5,
        0
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 78,
      "type": "VHS_LoadVideo",
      "pos": [
        -516.0569458007812,
        1452.59521484375
      ],
      "size": [
        253.279296875,
        738.4962768554688
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager",
          "link": null
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            161
          ]
        },
        {
          "name": "frame_count",
          "type": "INT",
          "links": null
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "links": []
        },
        {
          "name": "video_info",
          "type": "VHS_VIDEOINFO",
          "links": [
            237
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "0edce8ef7ce173ac97a3ed3d6f4636029d1a4530",
        "Node name for S&R": "VHS_LoadVideo"
      },
      "widgets_values": {
        "video": "5767870-hd_1080_1920_25fps.mp4",
        "force_rate": 16,
        "custom_width": 0,
        "custom_height": 0,
        "frame_load_cap": 81,
        "skip_first_frames": 0,
        "select_every_nth": 1,
        "format": "Wan",
        "choose video to upload": "image",
        "videopreview": {
          "hidden": false,
          "paused": false,
          "params": {
            "filename": "5767870-hd_1080_1920_25fps.mp4",
            "type": "input",
            "format": "video/mp4",
            "force_rate": 16,
            "custom_width": 0,
            "custom_height": 0,
            "frame_load_cap": 81,
            "skip_first_frames": 0,
            "select_every_nth": 1
          }
        }
      }
    },
    {
      "id": 115,
      "type": "VHS_VideoInfoLoaded",
      "pos": [
        2593.45361328125,
        1962.70751953125
      ],
      "size": [
        247.837890625,
        106
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "video_info",
          "type": "VHS_VIDEOINFO",
          "link": 237
        }
      ],
      "outputs": [
        {
          "name": "fps🟦",
          "type": "FLOAT",
          "links": [
            236
          ]
        },
        {
          "name": "frame_count🟦",
          "type": "INT",
          "links": null
        },
        {
          "name": "duration🟦",
          "type": "FLOAT",
          "links": null
        },
        {
          "name": "width🟦",
          "type": "INT",
          "links": null
        },
        {
          "name": "height🟦",
          "type": "INT",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "0edce8ef7ce173ac97a3ed3d6f4636029d1a4530",
        "Node name for S&R": "VHS_VideoInfoLoaded"
      },
      "widgets_values": {}
    },
    {
      "id": 92,
      "type": "MarkdownNote",
      "pos": [
        -527.6723022460938,
        -35.93010330200195
      ],
      "size": [
        456.9991760253906,
        301.9324645996094
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "## models\n- [Wan2_2-Animate-14B_fp8_e4m3fn_scaled_KJ.safetensors](https://huggingface.co/Kijai/WanVideo_comfy_fp8_scaled/blob/main/Wan22Animate/Wan2_2-Animate-14B_fp8_e4m3fn_scaled_KJ.safetensors)\n- [WanAnimate_relight_lora_fp16.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/blob/main/LoRAs/Wan22_relight/WanAnimate_relight_lora_fp16.safetensors)\n- [clip_vision_h.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/blob/main/split_files/clip_vision/clip_vision_h.safetensors)\n- [umt5_xxl.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/tree/main/split_files/text_encoders)\n- [wan_2.1_vae.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/blob/main/split_files/vae/wan_2.1_vae.safetensors)\n\n\n```\n📂ComfyUI/\n└──📂models/\n    ├── 📂clip_vision/\n    │   └── clip_vision_h.safetensors\n    ├── 📂diffusion_models/\n    │   └── Wan2_2-Animate-14B_fp8_e4m3fn_scaled_KJ.safetensors\n    ├── 📂loras/\n    │   └── WanAnimate_relight_lora_fp16.safetensors\n    ├── 📂text_encoders/\n    │   └── umt5_xxl (fp16 or fp8).safetensors\n    └── 📂vae/\n         └── wan_2.1_vae.safetensors\n\n```"
      ],
      "color": "#323",
      "bgcolor": "#535"
    }
  ],
  "links": [
    [
      74,
      38,
      0,
      6,
      0,
      "CLIP"
    ],
    [
      75,
      38,
      0,
      7,
      0,
      "CLIP"
    ],
    [
      96,
      8,
      0,
      49,
      0,
      "IMAGE"
    ],
    [
      106,
      57,
      0,
      56,
      0,
      "CLIP_VISION"
    ],
    [
      120,
      48,
      0,
      3,
      0,
      "MODEL"
    ],
    [
      123,
      67,
      0,
      3,
      1,
      "CONDITIONING"
    ],
    [
      124,
      67,
      1,
      3,
      2,
      "CONDITIONING"
    ],
    [
      125,
      6,
      0,
      67,
      0,
      "CONDITIONING"
    ],
    [
      126,
      7,
      0,
      67,
      1,
      "CONDITIONING"
    ],
    [
      127,
      39,
      0,
      67,
      2,
      "VAE"
    ],
    [
      128,
      56,
      0,
      67,
      3,
      "CLIP_VISION_OUTPUT"
    ],
    [
      129,
      67,
      2,
      3,
      3,
      "LATENT"
    ],
    [
      130,
      3,
      0,
      68,
      0,
      "LATENT"
    ],
    [
      131,
      67,
      3,
      68,
      1,
      "INT"
    ],
    [
      132,
      68,
      0,
      8,
      0,
      "LATENT"
    ],
    [
      141,
      80,
      0,
      74,
      0,
      "POSEMODEL"
    ],
    [
      148,
      74,
      0,
      79,
      0,
      "POSEDATA"
    ],
    [
      153,
      74,
      1,
      67,
      5,
      "IMAGE"
    ],
    [
      154,
      79,
      0,
      67,
      6,
      "IMAGE"
    ],
    [
      157,
      79,
      0,
      81,
      0,
      "IMAGE"
    ],
    [
      161,
      78,
      0,
      83,
      0,
      "IMAGE"
    ],
    [
      163,
      84,
      0,
      56,
      1,
      "IMAGE"
    ],
    [
      164,
      84,
      0,
      67,
      4,
      "IMAGE"
    ],
    [
      168,
      85,
      0,
      74,
      1,
      "IMAGE"
    ],
    [
      169,
      83,
      0,
      85,
      0,
      "IMAGE"
    ],
    [
      177,
      39,
      0,
      8,
      1,
      "VAE"
    ],
    [
      183,
      96,
      0,
      48,
      0,
      "MODEL"
    ],
    [
      184,
      98,
      0,
      97,
      0,
      "SAM2MODEL"
    ],
    [
      186,
      74,
      2,
      97,
      2,
      "STRING"
    ],
    [
      187,
      74,
      3,
      97,
      4,
      "BBOX"
    ],
    [
      188,
      97,
      0,
      100,
      0,
      "MASK"
    ],
    [
      194,
      104,
      0,
      103,
      1,
      "IMAGE"
    ],
    [
      195,
      103,
      0,
      67,
      7,
      "IMAGE"
    ],
    [
      197,
      85,
      0,
      97,
      1,
      "IMAGE"
    ],
    [
      198,
      85,
      0,
      103,
      0,
      "IMAGE"
    ],
    [
      205,
      85,
      1,
      84,
      2,
      "INT"
    ],
    [
      207,
      58,
      0,
      84,
      0,
      "IMAGE"
    ],
    [
      209,
      85,
      2,
      84,
      3,
      "INT"
    ],
    [
      216,
      100,
      0,
      112,
      0,
      "MASK"
    ],
    [
      218,
      112,
      0,
      103,
      2,
      "MASK"
    ],
    [
      219,
      103,
      0,
      105,
      0,
      "IMAGE"
    ],
    [
      220,
      112,
      0,
      67,
      8,
      "MASK"
    ],
    [
      221,
      37,
      0,
      96,
      0,
      "MODEL"
    ],
    [
      229,
      85,
      1,
      74,
      3,
      "INT"
    ],
    [
      230,
      85,
      1,
      79,
      1,
      "INT"
    ],
    [
      231,
      85,
      2,
      74,
      4,
      "INT"
    ],
    [
      232,
      85,
      2,
      79,
      2,
      "INT"
    ],
    [
      233,
      85,
      1,
      67,
      10,
      "INT"
    ],
    [
      234,
      85,
      2,
      67,
      11,
      "INT"
    ],
    [
      236,
      115,
      0,
      49,
      4,
      "FLOAT"
    ],
    [
      237,
      78,
      3,
      115,
      0,
      "VHS_VIDEOINFO"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.5644739300537777,
      "offset": [
        627.6723022460938,
        135.93010330200195
      ]
    },
    "reroutes": [
      {
        "id": 1,
        "pos": [
          811.9414672851562,
          1459.76416015625
        ],
        "linkIds": [
          197,
          198
        ]
      },
      {
        "id": 2,
        "parentId": 1,
        "pos": [
          1591.083740234375,
          1459.740478515625
        ],
        "linkIds": [
          198
        ]
      },
      {
        "id": 3,
        "pos": [
          489.37225341796875,
          1170.8551025390625
        ],
        "linkIds": [
          229,
          230,
          233
        ]
      },
      {
        "id": 4,
        "pos": [
          490.08831787109375,
          1201.473388671875
        ],
        "linkIds": [
          231,
          232,
          234
        ]
      },
      {
        "id": 5,
        "pos": [
          -156.65130615234375,
          1979.879638671875
        ],
        "linkIds": [
          237
        ]
      }
    ],
    "frontendVersion": "1.28.2",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true,
    "linkExtensions": [
      {
        "id": 197,
        "parentId": 1
      },
      {
        "id": 198,
        "parentId": 2
      },
      {
        "id": 229,
        "parentId": 3
      },
      {
        "id": 230,
        "parentId": 3
      },
      {
        "id": 231,
        "parentId": 4
      },
      {
        "id": 232,
        "parentId": 4
      },
      {
        "id": 233,
        "parentId": 3
      },
      {
        "id": 234,
        "parentId": 4
      },
      {
        "id": 237,
        "parentId": 5
      }
    ]
  },
  "version": 0.4
}