{
  "config": {},
  "definitions": {
    "subgraphs": [
      {
        "config": {},
        "extra": {},
        "groups": [
          {
            "bounding": [
              20,
              2570,
              820,
              1300
            ],
            "color": "#3f789e",
            "flags": {},
            "id": 3,
            "title": "Models"
          },
          {
            "bounding": [
              870,
              2570,
              660,
              1300
            ],
            "color": "#3f789e",
            "flags": {},
            "id": 6,
            "title": "Prompt"
          },
          {
            "bounding": [
              1560,
              3150,
              1000,
              720
            ],
            "color": "#3f789e",
            "flags": {},
            "id": 7,
            "title": "Conditioning"
          },
          {
            "bounding": [
              1560,
              2570,
              1000,
              550
            ],
            "color": "#3f789e",
            "flags": {},
            "id": 11,
            "title": "Context Windows & Cache"
          },
          {
            "bounding": [
              20,
              3900,
              1510,
              390
            ],
            "color": "#3f789e",
            "flags": {},
            "id": 5,
            "title": "Reference Image"
          },
          {
            "bounding": [
              2590,
              2570,
              1120,
              1300
            ],
            "color": "#3f789e",
            "flags": {},
            "id": 8,
            "title": "Sampling"
          },
          {
            "bounding": [
              20,
              4320,
              1500,
              560
            ],
            "color": "#3f789e",
            "flags": {},
            "id": 10,
            "title": "Pose Reference Video"
          },
          {
            "bounding": [
              3870,
              3410,
              300,
              462
            ],
            "color": "#3f789e",
            "flags": {},
            "id": 12,
            "title": "Trim the duplicated first frame"
          }
        ],
        "id": "11706f8a-428d-4ef9-b24f-863f651c1b0b",
        "inputNode": {
          "bounding": [
            -720,
            3220,
            195.5625,
            508
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "5652276e-beac-4092-a828-9baa0150355b",
            "label": "reference Image",
            "linkIds": [
              657
            ],
            "localized_name": "input",
            "name": "input",
            "pos": [
              -548.4375,
              3244
            ],
            "type": "IMAGE,MASK"
          },
          {
            "id": "d2f087f3-bdae-4de1-8fb6-0a9e5b186ab7",
            "label": "pose_video",
            "linkIds": [
              648
            ],
            "localized_name": "video",
            "name": "video",
            "pos": [
              -548.4375,
              3264
            ],
            "type": "VIDEO"
          },
          {
            "id": "6a3a407a-5ecf-4027-b7b5-178ddca1a1a5",
            "linkIds": [
              714
            ],
            "name": "continue_motion",
            "pos": [
              -548.4375,
              3284
            ],
            "type": "IMAGE"
          },
          {
            "id": "c704c479-c4e8-4202-8c8e-234b63efc420",
            "label": "video_frame_offset",
            "linkIds": [
              804
            ],
            "name": "video_frame_offset_1",
            "pos": [
              -548.4375,
              3304
            ],
            "type": "INT"
          },
          {
            "id": "57d8f22a-6abf-42ee-b29c-8375b541e18d",
            "label": "prompt",
            "linkIds": [
              805
            ],
            "name": "text",
            "pos": [
              -548.4375,
              3324
            ],
            "type": "STRING"
          },
          {
            "id": "2297d7f0-9c93-4c52-916d-67adb3268cee",
            "label": "reference_image_strength",
            "linkIds": [
              811
            ],
            "name": "reference_image_strength_1",
            "pos": [
              -548.4375,
              3344
            ],
            "type": "FLOAT"
          },
          {
            "id": "9daa1424-fa79-4968-8f04-6fd0eba78616",
            "label": "pose_prompt",
            "linkIds": [
              812
            ],
            "name": "text_4",
            "pos": [
              -548.4375,
              3364
            ],
            "type": "STRING"
          },
          {
            "id": "bb4d1069-34ae-40a8-b067-03560962f0df",
            "label": "pose_strength",
            "linkIds": [
              813
            ],
            "name": "pose_strength_1",
            "pos": [
              -548.4375,
              3384
            ],
            "type": "FLOAT"
          },
          {
            "id": "d1f8263c-7501-4214-a959-a25dd44fa8f7",
            "label": "pose_start_percent",
            "linkIds": [
              814
            ],
            "name": "pose_start_percent_1",
            "pos": [
              -548.4375,
              3404
            ],
            "type": "FLOAT"
          },
          {
            "id": "5735d8d5-b3aa-47f2-90bf-2d5a8bfcc0ed",
            "label": "pose_end_percent",
            "linkIds": [
              815
            ],
            "name": "pose_end_percent_1",
            "pos": [
              -548.4375,
              3424
            ],
            "type": "FLOAT"
          },
          {
            "id": "3ab8f3ee-2332-4f5e-85a5-0ae77f73e0cf",
            "label": "enable_context_window",
            "linkIds": [
              816
            ],
            "name": "switch_1",
            "pos": [
              -548.4375,
              3444
            ],
            "type": "BOOLEAN"
          },
          {
            "id": "b34d70bb-dab4-4a6d-a222-85c5627a4316",
            "label": "cache_device",
            "linkIds": [
              817
            ],
            "name": "device_1",
            "pos": [
              -548.4375,
              3464
            ],
            "type": "COMBO"
          },
          {
            "id": "201c6745-0a0d-4baf-9310-2a32af974fbd",
            "label": "cache_dtype",
            "linkIds": [
              818
            ],
            "name": "dtype_1",
            "pos": [
              -548.4375,
              3484
            ],
            "type": "COMBO"
          },
          {
            "id": "30c834c0-d8dd-429b-bfe5-d3c98e44fd05",
            "label": "trim_duplicated_frame",
            "linkIds": [
              819
            ],
            "name": "value_1",
            "pos": [
              -548.4375,
              3504
            ],
            "type": "BOOLEAN"
          },
          {
            "id": "0fcfc566-1d18-4dc9-8300-00d0de4ba446",
            "label": "width",
            "linkIds": [
              820
            ],
            "name": "resize_type.width",
            "pos": [
              -548.4375,
              3524
            ],
            "type": "INT"
          },
          {
            "id": "9e0fb084-d3a8-4811-8cef-092febab0046",
            "label": "height",
            "linkIds": [
              821
            ],
            "name": "resize_type.height_1",
            "pos": [
              -548.4375,
              3544
            ],
            "type": "INT"
          },
          {
            "id": "e910a55a-473e-43bf-b41c-878a090aa00c",
            "linkIds": [
              824
            ],
            "name": "noise_seed",
            "pos": [
              -548.4375,
              3564
            ],
            "type": "INT"
          },
          {
            "id": "70e7ec96-3d6c-4104-8f18-947601f5191c",
            "linkIds": [
              825
            ],
            "name": "length",
            "pos": [
              -548.4375,
              3584
            ],
            "type": "INT"
          },
          {
            "id": "eb68fa16-5d13-4f52-8030-7ed81727f807",
            "label": "unet",
            "linkIds": [
              826
            ],
            "name": "unet_name_1",
            "pos": [
              -548.4375,
              3604
            ],
            "type": "COMBO"
          },
          {
            "id": "afedf4bd-bea4-41e2-85b1-6882a699b48a",
            "label": "lora",
            "linkIds": [
              827
            ],
            "name": "lora_name_1",
            "pos": [
              -548.4375,
              3624
            ],
            "type": "COMBO"
          },
          {
            "id": "821fee03-f73d-4875-85de-744908b67891",
            "label": "clip",
            "linkIds": [
              828
            ],
            "name": "clip_name_2",
            "pos": [
              -548.4375,
              3644
            ],
            "type": "COMBO"
          },
          {
            "id": "ae0dfb45-e15d-4868-a9c8-ef14e693f65c",
            "label": "clip_vision",
            "linkIds": [
              829
            ],
            "name": "clip_name_3",
            "pos": [
              -548.4375,
              3664
            ],
            "type": "COMBO"
          },
          {
            "id": "d0b2c474-1dd7-474d-a77a-75b010ad8bea",
            "label": "vae",
            "linkIds": [
              830
            ],
            "name": "vae_name_1",
            "pos": [
              -548.4375,
              3684
            ],
            "type": "COMBO"
          }
        ],
        "links": [
          {
            "id": 646,
            "origin_id": 239,
            "origin_slot": 0,
            "target_id": 11,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 8,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": 4,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 7,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": 3,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 590,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": 222,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 696,
            "origin_id": 11,
            "origin_slot": 0,
            "target_id": 257,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 669,
            "origin_id": 3,
            "origin_slot": 0,
            "target_id": 247,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 670,
            "origin_id": 4,
            "origin_slot": 0,
            "target_id": 247,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 671,
            "origin_id": 7,
            "origin_slot": 0,
            "target_id": 247,
            "target_slot": 2,
            "type": "VAE"
          },
          {
            "id": 672,
            "origin_id": 244,
            "origin_slot": 0,
            "target_id": 247,
            "target_slot": 3,
            "type": "IMAGE"
          },
          {
            "id": 688,
            "origin_id": 243,
            "origin_slot": 0,
            "target_id": 247,
            "target_slot": 4,
            "type": "IMAGE"
          },
          {
            "id": 683,
            "origin_id": 76,
            "origin_slot": 0,
            "target_id": 247,
            "target_slot": 5,
            "type": "CLIP_VISION_OUTPUT"
          },
          {
            "id": 674,
            "origin_id": 222,
            "origin_slot": 0,
            "target_id": 247,
            "target_slot": 6,
            "type": "CONDITIONING"
          },
          {
            "id": 675,
            "origin_id": 220,
            "origin_slot": 0,
            "target_id": 247,
            "target_slot": 7,
            "type": "CLIP_VISION_OUTPUT"
          },
          {
            "id": 691,
            "origin_id": 256,
            "origin_slot": 0,
            "target_id": 247,
            "target_slot": 9,
            "type": "INT"
          },
          {
            "id": 692,
            "origin_id": 256,
            "origin_slot": 1,
            "target_id": 247,
            "target_slot": 10,
            "type": "INT"
          },
          {
            "id": 196,
            "origin_id": 75,
            "origin_slot": 0,
            "target_id": 76,
            "target_slot": 0,
            "type": "CLIP_VISION"
          },
          {
            "id": 658,
            "origin_id": 244,
            "origin_slot": 0,
            "target_id": 76,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 694,
            "origin_id": 256,
            "origin_slot": 0,
            "target_id": 244,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 695,
            "origin_id": 256,
            "origin_slot": 1,
            "target_id": 244,
            "target_slot": 3,
            "type": "INT"
          },
          {
            "id": 597,
            "origin_id": 224,
            "origin_slot": 0,
            "target_id": 18,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 596,
            "origin_id": 224,
            "origin_slot": 0,
            "target_id": 95,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 700,
            "origin_id": 258,
            "origin_slot": 0,
            "target_id": 224,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 693,
            "origin_id": 243,
            "origin_slot": 0,
            "target_id": 256,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 564,
            "origin_id": 95,
            "origin_slot": 0,
            "target_id": 19,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 679,
            "origin_id": 247,
            "origin_slot": 0,
            "target_id": 19,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 680,
            "origin_id": 247,
            "origin_slot": 1,
            "target_id": 19,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 487,
            "origin_id": 27,
            "origin_slot": 0,
            "target_id": 19,
            "target_slot": 3,
            "type": "SAMPLER"
          },
          {
            "id": 486,
            "origin_id": 18,
            "origin_slot": 0,
            "target_id": 19,
            "target_slot": 4,
            "type": "SIGMAS"
          },
          {
            "id": 681,
            "origin_id": 247,
            "origin_slot": 2,
            "target_id": 19,
            "target_slot": 5,
            "type": "LATENT"
          },
          {
            "id": 584,
            "origin_id": 75,
            "origin_slot": 0,
            "target_id": 220,
            "target_slot": 0,
            "type": "CLIP_VISION"
          },
          {
            "id": 641,
            "origin_id": 236,
            "origin_slot": 0,
            "target_id": 220,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 661,
            "origin_id": 243,
            "origin_slot": 0,
            "target_id": 236,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 655,
            "origin_id": 241,
            "origin_slot": 0,
            "target_id": 243,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 594,
            "origin_id": 223,
            "origin_slot": 0,
            "target_id": 6,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 664,
            "origin_id": 7,
            "origin_slot": 0,
            "target_id": 6,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 593,
            "origin_id": 19,
            "origin_slot": 0,
            "target_id": 223,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 682,
            "origin_id": 247,
            "origin_slot": 3,
            "target_id": 223,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 657,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 244,
            "target_slot": 0,
            "type": "IMAGE,MASK"
          },
          {
            "id": 648,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 241,
            "target_slot": 0,
            "type": "VIDEO"
          },
          {
            "id": 666,
            "origin_id": 6,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 714,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 247,
            "target_slot": 8,
            "type": "IMAGE"
          },
          {
            "id": 721,
            "origin_id": 247,
            "origin_slot": 5,
            "target_id": -20,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 739,
            "origin_id": 11,
            "origin_slot": 0,
            "target_id": 258,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 740,
            "origin_id": 257,
            "origin_slot": 0,
            "target_id": 258,
            "target_slot": 1,
            "type": "MODEL"
          },
          {
            "id": 749,
            "origin_id": 297,
            "origin_slot": 0,
            "target_id": 299,
            "target_slot": 2,
            "type": "BOOLEAN"
          },
          {
            "id": 751,
            "origin_id": 6,
            "origin_slot": 0,
            "target_id": 298,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 753,
            "origin_id": 298,
            "origin_slot": 0,
            "target_id": 299,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 754,
            "origin_id": 6,
            "origin_slot": 0,
            "target_id": 299,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 755,
            "origin_id": 299,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 2,
            "type": "IMAGE"
          },
          {
            "id": 804,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 247,
            "target_slot": 13,
            "type": "INT"
          },
          {
            "id": 805,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 3,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 811,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 247,
            "target_slot": 17,
            "type": "FLOAT"
          },
          {
            "id": 812,
            "origin_id": -10,
            "origin_slot": 6,
            "target_id": 222,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 813,
            "origin_id": -10,
            "origin_slot": 7,
            "target_id": 247,
            "target_slot": 14,
            "type": "FLOAT"
          },
          {
            "id": 814,
            "origin_id": -10,
            "origin_slot": 8,
            "target_id": 247,
            "target_slot": 15,
            "type": "FLOAT"
          },
          {
            "id": 815,
            "origin_id": -10,
            "origin_slot": 9,
            "target_id": 247,
            "target_slot": 16,
            "type": "FLOAT"
          },
          {
            "id": 816,
            "origin_id": -10,
            "origin_slot": 10,
            "target_id": 258,
            "target_slot": 2,
            "type": "BOOLEAN"
          },
          {
            "id": 817,
            "origin_id": -10,
            "origin_slot": 11,
            "target_id": 224,
            "target_slot": 1,
            "type": "COMBO"
          },
          {
            "id": 818,
            "origin_id": -10,
            "origin_slot": 12,
            "target_id": 224,
            "target_slot": 2,
            "type": "COMBO"
          },
          {
            "id": 819,
            "origin_id": -10,
            "origin_slot": 13,
            "target_id": 297,
            "target_slot": 0,
            "type": "BOOLEAN"
          },
          {
            "id": 820,
            "origin_id": -10,
            "origin_slot": 14,
            "target_id": 243,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 821,
            "origin_id": -10,
            "origin_slot": 15,
            "target_id": 243,
            "target_slot": 3,
            "type": "INT"
          },
          {
            "id": 824,
            "origin_id": -10,
            "origin_slot": 16,
            "target_id": 19,
            "target_slot": 7,
            "type": "INT"
          },
          {
            "id": 825,
            "origin_id": -10,
            "origin_slot": 17,
            "target_id": 247,
            "target_slot": 11,
            "type": "INT"
          },
          {
            "id": 826,
            "origin_id": -10,
            "origin_slot": 18,
            "target_id": 239,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 827,
            "origin_id": -10,
            "origin_slot": 19,
            "target_id": 11,
            "target_slot": 1,
            "type": "COMBO"
          },
          {
            "id": 828,
            "origin_id": -10,
            "origin_slot": 20,
            "target_id": 9,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 829,
            "origin_id": -10,
            "origin_slot": 21,
            "target_id": 75,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 830,
            "origin_id": -10,
            "origin_slot": 22,
            "target_id": 7,
            "target_slot": 0,
            "type": "COMBO"
          }
        ],
        "name": "Motion Transfer (Wan Animate 2)",
        "nodes": [
          {
            "flags": {},
            "id": 239,
            "inputs": [
              {
                "link": 826,
                "localized_name": "unet_name",
                "name": "unet_name",
                "type": "COMBO",
                "widget": {
                  "name": "unet_name"
                }
              },
              {
                "link": null,
                "localized_name": "weight_dtype",
                "name": "weight_dtype",
                "type": "COMBO",
                "widget": {
                  "name": "weight_dtype"
                }
              }
            ],
            "mode": 0,
            "order": 17,
            "outputs": [
              {
                "links": [
                  646
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL"
              }
            ],
            "pos": [
              100,
              2810
            ],
            "properties": {
              "Node name for S&R": "UNETLoader",
              "models": [
                {
                  "directory": "diffusion_models",
                  "name": "wan_animate_2_int8_convrot.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Wan-Animate-2/resolve/main/diffusion_models/wan_animate_2_int8_convrot.safetensors"
                }
              ]
            },
            "size": [
              660,
              130
            ],
            "type": "UNETLoader",
            "widgets_values": [
              "wan_animate_2_int8_convrot.safetensors",
              "default"
            ],
            "widgets_values_named": {
              "unet_name": "wan_animate_2_int8_convrot.safetensors",
              "weight_dtype": "default"
            }
          },
          {
            "flags": {},
            "id": 11,
            "inputs": [
              {
                "link": 646,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": 827,
                "localized_name": "lora_name",
                "name": "lora_name",
                "type": "COMBO",
                "widget": {
                  "name": "lora_name"
                }
              },
              {
                "link": null,
                "localized_name": "strength_model",
                "name": "strength_model",
                "type": "FLOAT",
                "widget": {
                  "name": "strength_model"
                }
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": [
                  696,
                  739
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL"
              }
            ],
            "pos": [
              100,
              3010
            ],
            "properties": {
              "Node name for S&R": "LoraLoaderModelOnly",
              "models": [
                {
                  "directory": "loras",
                  "name": "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Wan-Animate-2/resolve/main/loras/lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors"
                }
              ]
            },
            "size": [
              660,
              120
            ],
            "type": "LoraLoaderModelOnly",
            "widgets_values": [
              "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
              1
            ],
            "widgets_values_named": {
              "lora_name": "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
              "strength_model": 1
            }
          },
          {
            "flags": {},
            "id": 9,
            "inputs": [
              {
                "link": 828,
                "localized_name": "clip_name",
                "name": "clip_name",
                "type": "COMBO",
                "widget": {
                  "name": "clip_name"
                }
              },
              {
                "link": null,
                "localized_name": "type",
                "name": "type",
                "type": "COMBO",
                "widget": {
                  "name": "type"
                }
              },
              {
                "link": null,
                "localized_name": "device",
                "name": "device",
                "shape": 7,
                "type": "COMBO",
                "widget": {
                  "name": "device"
                }
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  7,
                  8,
                  590
                ],
                "localized_name": "CLIP",
                "name": "CLIP",
                "type": "CLIP"
              }
            ],
            "pos": [
              100,
              3210
            ],
            "properties": {
              "Node name for S&R": "CLIPLoader",
              "models": [
                {
                  "directory": "text_encoders",
                  "name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Wan-Animate-2/resolve/main/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors"
                }
              ]
            },
            "size": [
              660,
              140
            ],
            "type": "CLIPLoader",
            "widgets_values": [
              "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
              "wan",
              "default"
            ],
            "widgets_values_named": {
              "clip_name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
              "device": "default",
              "type": "wan"
            }
          },
          {
            "bgcolor": "#533",
            "color": "#322",
            "flags": {
              "collapsed": false
            },
            "id": 4,
            "inputs": [
              {
                "link": 8,
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP"
              },
              {
                "link": null,
                "localized_name": "text",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  670
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              960,
              3220
            ],
            "properties": {
              "Node name for S&R": "CLIPTextEncode"
            },
            "size": [
              490,
              120
            ],
            "title": "CLIP Text Encode (Negative Prompt)",
            "type": "CLIPTextEncode",
            "widgets_values": [
              "色调艳丽，过曝，静态，细节模糊不清，字幕，风格，作品，画作，画面，静止，整体发灰，最差质量，低质量，JPEG压缩残留，丑陋的，残缺的，多余的手指，画得不好的手部，画得不好的脸部，畸形的，毁容的，形态畸形的肢体，手指融合，静止不动的画面，杂乱的背景，三条腿，背景人很多，倒着走"
            ],
            "widgets_values_named": {
              "text": "色调艳丽，过曝，静态，细节模糊不清，字幕，风格，作品，画作，画面，静止，整体发灰，最差质量，低质量，JPEG压缩残留，丑陋的，残缺的，多余的手指，画得不好的手部，画得不好的脸部，畸形的，毁容的，形态畸形的肢体，手指融合，静止不动的画面，杂乱的背景，三条腿，背景人很多，倒着走"
            }
          },
          {
            "bgcolor": "#353",
            "color": "#232",
            "flags": {},
            "id": 3,
            "inputs": [
              {
                "link": 7,
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP"
              },
              {
                "link": 805,
                "localized_name": "text",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                }
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  669
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              960,
              2830
            ],
            "properties": {
              "Node name for S&R": "CLIPTextEncode"
            },
            "size": [
              480,
              310
            ],
            "title": "CLIP Text Encode (Positive Prompt)",
            "type": "CLIPTextEncode",
            "widgets_values": [
              "Character Description: Cartoon character lost\nBackground description: The background is an empty white room"
            ],
            "widgets_values_named": {
              "text": "Character Description: Cartoon character lost\nBackground description: The background is an empty white room"
            }
          },
          {
            "flags": {},
            "id": 75,
            "inputs": [
              {
                "link": 829,
                "localized_name": "clip_name",
                "name": "clip_name",
                "type": "COMBO",
                "widget": {
                  "name": "clip_name"
                }
              }
            ],
            "mode": 0,
            "order": 9,
            "outputs": [
              {
                "links": [
                  196,
                  584
                ],
                "localized_name": "CLIP_VISION",
                "name": "CLIP_VISION",
                "type": "CLIP_VISION"
              }
            ],
            "pos": [
              100,
              3430
            ],
            "properties": {
              "Node name for S&R": "CLIPVisionLoader",
              "models": [
                {
                  "directory": "clip_vision",
                  "name": "clip_vision_h.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Wan-Animate-2/resolve/main/clip_vision/clip_vision_h.safetensors"
                }
              ]
            },
            "size": [
              660,
              90
            ],
            "type": "CLIPVisionLoader",
            "widgets_values": [
              "clip_vision_h.safetensors"
            ],
            "widgets_values_named": {
              "clip_name": "clip_vision_h.safetensors"
            }
          },
          {
            "flags": {},
            "id": 7,
            "inputs": [
              {
                "link": 830,
                "localized_name": "vae_name",
                "name": "vae_name",
                "type": "COMBO",
                "widget": {
                  "name": "vae_name"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  664,
                  671
                ],
                "localized_name": "VAE",
                "name": "VAE",
                "type": "VAE"
              }
            ],
            "pos": [
              100,
              3600
            ],
            "properties": {
              "Node name for S&R": "VAELoader",
              "models": [
                {
                  "directory": "vae",
                  "name": "Wan2_1_VAE_bf16.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Wan-Animate-2/resolve/main/vae/Wan2_1_VAE_bf16.safetensors"
                }
              ]
            },
            "size": [
              660,
              90
            ],
            "type": "VAELoader",
            "widgets_values": [
              "Wan2_1_VAE_bf16.safetensors"
            ],
            "widgets_values_named": {
              "vae_name": "Wan2_1_VAE_bf16.safetensors"
            }
          },
          {
            "bgcolor": "#353",
            "color": "#232",
            "flags": {},
            "id": 222,
            "inputs": [
              {
                "link": 590,
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP"
              },
              {
                "link": 812,
                "localized_name": "text",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                }
              }
            ],
            "mode": 0,
            "order": 13,
            "outputs": [
              {
                "links": [
                  674
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              960,
              3420
            ],
            "properties": {
              "Node name for S&R": "CLIPTextEncode"
            },
            "size": [
              490,
              220
            ],
            "type": "CLIPTextEncode",
            "widgets_values": [
              "一只穿着制服的小猫做动作的参考视频"
            ],
            "widgets_values_named": {
              "text": "一只穿着制服的小猫做动作的参考视频"
            }
          },
          {
            "flags": {},
            "id": 257,
            "inputs": [
              {
                "link": 696,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": null,
                "localized_name": "context_length",
                "name": "context_length",
                "type": "INT",
                "widget": {
                  "name": "context_length"
                }
              },
              {
                "link": null,
                "localized_name": "context_overlap",
                "name": "context_overlap",
                "type": "INT",
                "widget": {
                  "name": "context_overlap"
                }
              },
              {
                "link": null,
                "localized_name": "context_schedule",
                "name": "context_schedule",
                "type": "COMBO",
                "widget": {
                  "name": "context_schedule"
                }
              },
              {
                "link": null,
                "localized_name": "context_stride",
                "name": "context_stride",
                "type": "INT",
                "widget": {
                  "name": "context_stride"
                }
              },
              {
                "link": null,
                "localized_name": "closed_loop",
                "name": "closed_loop",
                "type": "BOOLEAN",
                "widget": {
                  "name": "closed_loop"
                }
              },
              {
                "link": null,
                "localized_name": "fuse_method",
                "name": "fuse_method",
                "type": "COMBO",
                "widget": {
                  "name": "fuse_method"
                }
              },
              {
                "link": null,
                "localized_name": "dim",
                "name": "dim",
                "type": "INT",
                "widget": {
                  "name": "dim"
                }
              },
              {
                "link": null,
                "localized_name": "freenoise",
                "name": "freenoise",
                "type": "BOOLEAN",
                "widget": {
                  "name": "freenoise"
                }
              },
              {
                "link": null,
                "localized_name": "cond_retain_index_list",
                "name": "cond_retain_index_list",
                "type": "STRING",
                "widget": {
                  "name": "cond_retain_index_list"
                }
              },
              {
                "link": null,
                "localized_name": "split_conds_to_windows",
                "name": "split_conds_to_windows",
                "type": "BOOLEAN",
                "widget": {
                  "name": "split_conds_to_windows"
                }
              },
              {
                "link": null,
                "localized_name": "latent_retain_index_list",
                "name": "latent_retain_index_list",
                "type": "STRING",
                "widget": {
                  "name": "latent_retain_index_list"
                }
              },
              {
                "link": null,
                "localized_name": "causal_window_fix",
                "name": "causal_window_fix",
                "type": "BOOLEAN",
                "widget": {
                  "name": "causal_window_fix"
                }
              }
            ],
            "mode": 0,
            "order": 23,
            "outputs": [
              {
                "links": [
                  740
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL"
              }
            ],
            "pos": [
              1690,
              2670
            ],
            "properties": {
              "Node name for S&R": "ContextWindowsManual"
            },
            "size": [
              300,
              410
            ],
            "type": "ContextWindowsManual",
            "widgets_values": [
              21,
              8,
              "standard_static",
              1,
              false,
              "pyramid",
              2,
              true,
              "0",
              false,
              "",
              true
            ],
            "widgets_values_named": {
              "causal_window_fix": true,
              "closed_loop": false,
              "cond_retain_index_list": "0",
              "context_length": 21,
              "context_overlap": 8,
              "context_schedule": "standard_static",
              "context_stride": 1,
              "dim": 2,
              "freenoise": true,
              "fuse_method": "pyramid",
              "latent_retain_index_list": "",
              "split_conds_to_windows": false
            }
          },
          {
            "flags": {},
            "id": 247,
            "inputs": [
              {
                "link": 669,
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING"
              },
              {
                "link": 670,
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING"
              },
              {
                "link": 671,
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE"
              },
              {
                "link": 672,
                "localized_name": "reference_image",
                "name": "reference_image",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": 688,
                "localized_name": "pose_video",
                "name": "pose_video",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": 683,
                "localized_name": "clip_vision_output",
                "name": "clip_vision_output",
                "shape": 7,
                "type": "CLIP_VISION_OUTPUT"
              },
              {
                "link": 674,
                "localized_name": "positive_pose",
                "name": "positive_pose",
                "shape": 7,
                "type": "CONDITIONING"
              },
              {
                "link": 675,
                "localized_name": "clip_vision_output_pose",
                "name": "clip_vision_output_pose",
                "shape": 7,
                "type": "CLIP_VISION_OUTPUT"
              },
              {
                "link": 714,
                "localized_name": "continue_motion",
                "name": "continue_motion",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": 691,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 692,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              },
              {
                "link": 825,
                "localized_name": "length",
                "name": "length",
                "type": "INT",
                "widget": {
                  "name": "length"
                }
              },
              {
                "link": null,
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT",
                "widget": {
                  "name": "batch_size"
                }
              },
              {
                "link": 804,
                "localized_name": "video_frame_offset",
                "name": "video_frame_offset",
                "type": "INT",
                "widget": {
                  "name": "video_frame_offset"
                }
              },
              {
                "link": 813,
                "localized_name": "pose_strength",
                "name": "pose_strength",
                "type": "FLOAT",
                "widget": {
                  "name": "pose_strength"
                }
              },
              {
                "link": 814,
                "localized_name": "pose_start_percent",
                "name": "pose_start_percent",
                "type": "FLOAT",
                "widget": {
                  "name": "pose_start_percent"
                }
              },
              {
                "link": 815,
                "localized_name": "pose_end_percent",
                "name": "pose_end_percent",
                "type": "FLOAT",
                "widget": {
                  "name": "pose_end_percent"
                }
              },
              {
                "link": 811,
                "localized_name": "reference_image_strength",
                "name": "reference_image_strength",
                "type": "FLOAT",
                "widget": {
                  "name": "reference_image_strength"
                }
              }
            ],
            "mode": 0,
            "order": 21,
            "outputs": [
              {
                "links": [
                  679
                ],
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING"
              },
              {
                "links": [
                  680
                ],
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING"
              },
              {
                "links": [
                  681
                ],
                "localized_name": "latent",
                "name": "latent",
                "type": "LATENT"
              },
              {
                "links": [
                  682
                ],
                "localized_name": "trim_latent",
                "name": "trim_latent",
                "type": "INT"
              },
              {
                "links": [],
                "localized_name": "trim_image",
                "name": "trim_image",
                "type": "INT"
              },
              {
                "links": [
                  721
                ],
                "localized_name": "video_frame_offset",
                "name": "video_frame_offset",
                "type": "INT"
              }
            ],
            "pos": [
              1920,
              3300
            ],
            "properties": {
              "Node name for S&R": "WanAnimate2ToVideo"
            },
            "size": [
              350,
              470
            ],
            "type": "WanAnimate2ToVideo",
            "widgets_values": [
              832,
              480,
              81,
              1,
              0,
              1,
              0,
              1,
              1
            ],
            "widgets_values_named": {
              "batch_size": 1,
              "height": 480,
              "length": 81,
              "pose_end_percent": 1,
              "pose_start_percent": 0,
              "pose_strength": 1,
              "reference_image_strength": 1,
              "video_frame_offset": 0,
              "width": 832
            }
          },
          {
            "flags": {},
            "id": 258,
            "inputs": [
              {
                "link": 739,
                "localized_name": "on_false",
                "name": "on_false",
                "type": "MODEL"
              },
              {
                "link": 740,
                "localized_name": "on_true",
                "name": "on_true",
                "type": "MODEL"
              },
              {
                "link": 816,
                "localized_name": "switch",
                "name": "switch",
                "type": "BOOLEAN",
                "widget": {
                  "name": "switch"
                }
              }
            ],
            "mode": 0,
            "order": 24,
            "outputs": [
              {
                "links": [
                  700
                ],
                "localized_name": "output",
                "name": "output",
                "type": "MODEL"
              }
            ],
            "pos": [
              2130,
              2680
            ],
            "properties": {
              "Node name for S&R": "ComfySwitchNode"
            },
            "size": [
              270,
              110
            ],
            "type": "ComfySwitchNode",
            "widgets_values": [
              false
            ],
            "widgets_values_named": {
              "switch": false
            }
          },
          {
            "bgcolor": "#355",
            "color": "#233",
            "flags": {},
            "id": 76,
            "inputs": [
              {
                "link": 196,
                "localized_name": "clip_vision",
                "name": "clip_vision",
                "type": "CLIP_VISION"
              },
              {
                "link": 658,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "crop",
                "name": "crop",
                "type": "COMBO",
                "widget": {
                  "name": "crop"
                }
              }
            ],
            "mode": 0,
            "order": 10,
            "outputs": [
              {
                "links": [
                  683
                ],
                "localized_name": "CLIP_VISION_OUTPUT",
                "name": "CLIP_VISION_OUTPUT",
                "type": "CLIP_VISION_OUTPUT"
              }
            ],
            "pos": [
              1150,
              4050
            ],
            "properties": {
              "Node name for S&R": "CLIPVisionEncode"
            },
            "size": [
              290,
              110
            ],
            "type": "CLIPVisionEncode",
            "widgets_values": [
              "none"
            ],
            "widgets_values_named": {
              "crop": "none"
            }
          },
          {
            "flags": {},
            "id": 244,
            "inputs": [
              {
                "link": 657,
                "localized_name": "input",
                "name": "input",
                "type": "IMAGE,MASK"
              },
              {
                "link": null,
                "localized_name": "resize_type",
                "name": "resize_type",
                "type": "COMFY_DYNAMICCOMBO_V3",
                "widget": {
                  "name": "resize_type"
                }
              },
              {
                "link": 694,
                "localized_name": "width",
                "name": "resize_type.width",
                "type": "INT",
                "widget": {
                  "name": "resize_type.width"
                }
              },
              {
                "link": 695,
                "localized_name": "height",
                "name": "resize_type.height",
                "type": "INT",
                "widget": {
                  "name": "resize_type.height"
                }
              },
              {
                "link": null,
                "localized_name": "crop",
                "name": "resize_type.crop",
                "type": "COMBO",
                "widget": {
                  "name": "resize_type.crop"
                }
              },
              {
                "link": null,
                "localized_name": "scale_method",
                "name": "scale_method",
                "type": "COMBO",
                "widget": {
                  "name": "scale_method"
                }
              }
            ],
            "mode": 0,
            "order": 20,
            "outputs": [
              {
                "links": [
                  658,
                  672
                ],
                "localized_name": "resized",
                "name": "resized",
                "type": "IMAGE,MASK"
              }
            ],
            "pos": [
              780,
              4050
            ],
            "properties": {
              "Node name for S&R": "ResizeImageMaskNode"
            },
            "size": [
              270,
              154
            ],
            "type": "ResizeImageMaskNode",
            "widgets_values": [
              "scale dimensions",
              481,
              854,
              "center",
              "area"
            ],
            "widgets_values_named": {
              "resize_type": "scale dimensions",
              "resize_type.crop": "center",
              "resize_type.height": 854,
              "resize_type.width": 481,
              "scale_method": "area"
            }
          },
          {
            "flags": {},
            "id": 18,
            "inputs": [
              {
                "link": 597,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": null,
                "localized_name": "scheduler",
                "name": "scheduler",
                "type": "COMBO",
                "widget": {
                  "name": "scheduler"
                }
              },
              {
                "link": null,
                "localized_name": "steps",
                "name": "steps",
                "type": "INT",
                "widget": {
                  "name": "steps"
                }
              },
              {
                "link": null,
                "localized_name": "denoise",
                "name": "denoise",
                "type": "FLOAT",
                "widget": {
                  "name": "denoise"
                }
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [
                  486
                ],
                "localized_name": "SIGMAS",
                "name": "SIGMAS",
                "type": "SIGMAS"
              }
            ],
            "pos": [
              2740,
              3210
            ],
            "properties": {
              "Node name for S&R": "BasicScheduler"
            },
            "size": [
              310,
              120
            ],
            "type": "BasicScheduler",
            "widgets_values": [
              "simple",
              6,
              1
            ],
            "widgets_values_named": {
              "denoise": 1,
              "scheduler": "simple",
              "steps": 6
            }
          },
          {
            "flags": {},
            "id": 95,
            "inputs": [
              {
                "link": 596,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": null,
                "localized_name": "shift",
                "name": "shift",
                "type": "FLOAT",
                "widget": {
                  "name": "shift"
                }
              }
            ],
            "mode": 0,
            "order": 11,
            "outputs": [
              {
                "links": [
                  564
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL"
              }
            ],
            "pos": [
              2740,
              2910
            ],
            "properties": {
              "Node name for S&R": "ModelSamplingSD3"
            },
            "size": [
              310,
              80
            ],
            "type": "ModelSamplingSD3",
            "widgets_values": [
              5
            ],
            "widgets_values_named": {
              "shift": 5
            }
          },
          {
            "flags": {},
            "id": 27,
            "inputs": [
              {
                "link": null,
                "localized_name": "sampler_name",
                "name": "sampler_name",
                "type": "COMBO",
                "widget": {
                  "name": "sampler_name"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  487
                ],
                "localized_name": "SAMPLER",
                "name": "SAMPLER",
                "type": "SAMPLER"
              }
            ],
            "pos": [
              2740,
              3050
            ],
            "properties": {
              "Node name for S&R": "KSamplerSelect"
            },
            "size": [
              310,
              90
            ],
            "type": "KSamplerSelect",
            "widgets_values": [
              "lcm"
            ],
            "widgets_values_named": {
              "sampler_name": "lcm"
            }
          },
          {
            "flags": {},
            "id": 224,
            "inputs": [
              {
                "link": 700,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": 817,
                "localized_name": "device",
                "name": "device",
                "type": "COMBO",
                "widget": {
                  "name": "device"
                }
              },
              {
                "link": 818,
                "localized_name": "dtype",
                "name": "dtype",
                "type": "COMBO",
                "widget": {
                  "name": "dtype"
                }
              }
            ],
            "mode": 0,
            "order": 15,
            "outputs": [
              {
                "links": [
                  596,
                  597
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL"
              }
            ],
            "pos": [
              2120,
              2920
            ],
            "properties": {
              "Node name for S&R": "WanAnimate2Cache"
            },
            "size": [
              310,
              120
            ],
            "type": "WanAnimate2Cache",
            "widgets_values": [
              "gpu",
              "int8"
            ],
            "widgets_values_named": {
              "device": "gpu",
              "dtype": "int8"
            }
          },
          {
            "flags": {},
            "id": 241,
            "inputs": [
              {
                "link": 648,
                "localized_name": "video",
                "name": "video",
                "type": "VIDEO"
              }
            ],
            "mode": 0,
            "order": 18,
            "outputs": [
              {
                "links": [
                  655
                ],
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              },
              {
                "links": [],
                "localized_name": "audio",
                "name": "audio",
                "type": "AUDIO"
              },
              {
                "links": [],
                "localized_name": "fps",
                "name": "fps",
                "type": "FLOAT"
              },
              {
                "links": null,
                "localized_name": "bit_depth",
                "name": "bit_depth",
                "type": "INT"
              }
            ],
            "pos": [
              420,
              4430
            ],
            "properties": {
              "Node name for S&R": "GetVideoComponents"
            },
            "size": [
              270,
              100
            ],
            "type": "GetVideoComponents"
          },
          {
            "flags": {},
            "id": 256,
            "inputs": [
              {
                "link": 693,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 22,
            "outputs": [
              {
                "links": [
                  691,
                  694
                ],
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": [
                  692,
                  695
                ],
                "localized_name": "height",
                "name": "height",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT"
              }
            ],
            "pos": [
              790,
              4430
            ],
            "properties": {
              "Node name for S&R": "GetImageSize"
            },
            "size": [
              260,
              140
            ],
            "type": "GetImageSize"
          },
          {
            "flags": {},
            "id": 19,
            "inputs": [
              {
                "link": 564,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": 679,
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING"
              },
              {
                "link": 680,
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING"
              },
              {
                "link": 487,
                "localized_name": "sampler",
                "name": "sampler",
                "type": "SAMPLER"
              },
              {
                "link": 486,
                "localized_name": "sigmas",
                "name": "sigmas",
                "type": "SIGMAS"
              },
              {
                "link": 681,
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT"
              },
              {
                "link": null,
                "localized_name": "add_noise",
                "name": "add_noise",
                "type": "BOOLEAN",
                "widget": {
                  "name": "add_noise"
                }
              },
              {
                "link": 824,
                "localized_name": "noise_seed",
                "name": "noise_seed",
                "type": "INT",
                "widget": {
                  "name": "noise_seed"
                }
              },
              {
                "link": null,
                "localized_name": "cfg",
                "name": "cfg",
                "type": "FLOAT",
                "widget": {
                  "name": "cfg"
                }
              }
            ],
            "mode": 0,
            "order": 8,
            "outputs": [
              {
                "links": [
                  593
                ],
                "localized_name": "output",
                "name": "output",
                "type": "LATENT"
              },
              {
                "links": [],
                "localized_name": "denoised_output",
                "name": "denoised_output",
                "type": "LATENT"
              }
            ],
            "pos": [
              3250,
              2900
            ],
            "properties": {
              "Node name for S&R": "SamplerCustom"
            },
            "showAdvanced": true,
            "size": [
              310,
              670
            ],
            "type": "SamplerCustom",
            "widgets_values": [
              true,
              2,
              "randomize",
              1
            ],
            "widgets_values_named": {
              "add_noise": true,
              "cfg": 1,
              "control_after_generate": "randomize",
              "noise_seed": 2
            }
          },
          {
            "bgcolor": "#355",
            "color": "#233",
            "flags": {},
            "id": 220,
            "inputs": [
              {
                "link": 584,
                "localized_name": "clip_vision",
                "name": "clip_vision",
                "type": "CLIP_VISION"
              },
              {
                "link": 641,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "crop",
                "name": "crop",
                "type": "COMBO",
                "widget": {
                  "name": "crop"
                }
              }
            ],
            "mode": 0,
            "order": 12,
            "outputs": [
              {
                "links": [
                  675
                ],
                "localized_name": "CLIP_VISION_OUTPUT",
                "name": "CLIP_VISION_OUTPUT",
                "type": "CLIP_VISION_OUTPUT"
              }
            ],
            "pos": [
              1150,
              4680
            ],
            "properties": {
              "Node name for S&R": "CLIPVisionEncode"
            },
            "size": [
              290,
              110
            ],
            "type": "CLIPVisionEncode",
            "widgets_values": [
              "none"
            ],
            "widgets_values_named": {
              "crop": "none"
            }
          },
          {
            "flags": {},
            "id": 236,
            "inputs": [
              {
                "link": 661,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "batch_index",
                "name": "batch_index",
                "type": "INT",
                "widget": {
                  "name": "batch_index"
                }
              },
              {
                "link": null,
                "localized_name": "length",
                "name": "length",
                "type": "INT",
                "widget": {
                  "name": "length"
                }
              }
            ],
            "mode": 0,
            "order": 16,
            "outputs": [
              {
                "links": [
                  641
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              780,
              4680
            ],
            "properties": {
              "Node name for S&R": "ImageFromBatch"
            },
            "size": [
              270,
              90
            ],
            "type": "ImageFromBatch",
            "widgets_values": [
              0,
              1
            ],
            "widgets_values_named": {
              "batch_index": 0,
              "length": 1
            }
          },
          {
            "flags": {},
            "id": 243,
            "inputs": [
              {
                "link": 655,
                "localized_name": "input",
                "name": "input",
                "type": "IMAGE,MASK"
              },
              {
                "link": null,
                "localized_name": "resize_type",
                "name": "resize_type",
                "type": "COMFY_DYNAMICCOMBO_V3",
                "widget": {
                  "name": "resize_type"
                }
              },
              {
                "link": 820,
                "localized_name": "width",
                "name": "resize_type.width",
                "type": "INT",
                "widget": {
                  "name": "resize_type.width"
                }
              },
              {
                "link": 821,
                "localized_name": "height",
                "name": "resize_type.height",
                "type": "INT",
                "widget": {
                  "name": "resize_type.height"
                }
              },
              {
                "link": null,
                "localized_name": "crop",
                "name": "resize_type.crop",
                "type": "COMBO",
                "widget": {
                  "name": "resize_type.crop"
                }
              },
              {
                "link": null,
                "localized_name": "scale_method",
                "name": "scale_method",
                "type": "COMBO",
                "widget": {
                  "name": "scale_method"
                }
              }
            ],
            "mode": 0,
            "order": 19,
            "outputs": [
              {
                "links": [
                  661,
                  688,
                  693
                ],
                "localized_name": "resized",
                "name": "resized",
                "type": "IMAGE"
              }
            ],
            "pos": [
              420,
              4680
            ],
            "properties": {
              "Node name for S&R": "ResizeImageMaskNode"
            },
            "size": [
              270,
              154
            ],
            "type": "ResizeImageMaskNode",
            "widgets_values": [
              "scale dimensions",
              482,
              854,
              "center",
              "area"
            ],
            "widgets_values_named": {
              "resize_type": "scale dimensions",
              "resize_type.crop": "center",
              "resize_type.height": 854,
              "resize_type.width": 482,
              "scale_method": "area"
            }
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 6,
            "inputs": [
              {
                "link": 594,
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT"
              },
              {
                "link": 664,
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE"
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  666,
                  751,
                  754
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              3890,
              3080
            ],
            "properties": {
              "Node name for S&R": "VAEDecode"
            },
            "size": [
              270,
              60
            ],
            "type": "VAEDecode"
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 223,
            "inputs": [
              {
                "link": 593,
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT"
              },
              {
                "link": 682,
                "localized_name": "trim_amount",
                "name": "trim_amount",
                "type": "INT",
                "widget": {
                  "name": "trim_amount"
                }
              }
            ],
            "mode": 0,
            "order": 14,
            "outputs": [
              {
                "links": [
                  594
                ],
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT"
              }
            ],
            "pos": [
              3890,
              2960
            ],
            "properties": {
              "Node name for S&R": "TrimVideoLatent"
            },
            "size": [
              270,
              70
            ],
            "type": "TrimVideoLatent",
            "widgets_values": [
              0
            ],
            "widgets_values_named": {
              "trim_amount": 0
            }
          },
          {
            "flags": {},
            "id": 297,
            "inputs": [
              {
                "link": 819,
                "localized_name": "value",
                "name": "value",
                "type": "BOOLEAN",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 25,
            "outputs": [
              {
                "links": [
                  749
                ],
                "localized_name": "BOOLEAN",
                "name": "BOOLEAN",
                "type": "BOOLEAN"
              }
            ],
            "pos": [
              3880,
              3800
            ],
            "properties": {
              "Node name for S&R": "PrimitiveBoolean"
            },
            "size": [
              270,
              70
            ],
            "type": "PrimitiveBoolean",
            "widgets_values": [
              false
            ],
            "widgets_values_named": {
              "value": false
            }
          },
          {
            "flags": {},
            "id": 298,
            "inputs": [
              {
                "link": 751,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "batch_index",
                "name": "batch_index",
                "type": "INT",
                "widget": {
                  "name": "batch_index"
                }
              },
              {
                "link": null,
                "localized_name": "length",
                "name": "length",
                "type": "INT",
                "widget": {
                  "name": "length"
                }
              }
            ],
            "mode": 0,
            "order": 26,
            "outputs": [
              {
                "links": [
                  753
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              3890,
              3480
            ],
            "properties": {
              "Node name for S&R": "ImageFromBatch"
            },
            "size": [
              270,
              90
            ],
            "type": "ImageFromBatch",
            "widgets_values": [
              1,
              4096
            ],
            "widgets_values_named": {
              "batch_index": 1,
              "length": 4096
            }
          },
          {
            "flags": {},
            "id": 299,
            "inputs": [
              {
                "link": 754,
                "localized_name": "on_false",
                "name": "on_false",
                "type": "IMAGE"
              },
              {
                "link": 753,
                "localized_name": "on_true",
                "name": "on_true",
                "type": "IMAGE"
              },
              {
                "link": 749,
                "localized_name": "switch",
                "name": "switch",
                "type": "BOOLEAN",
                "widget": {
                  "name": "switch"
                }
              }
            ],
            "mode": 0,
            "order": 27,
            "outputs": [
              {
                "links": [
                  755
                ],
                "localized_name": "output",
                "name": "output",
                "type": "IMAGE"
              }
            ],
            "pos": [
              3890,
              3630
            ],
            "properties": {
              "Node name for S&R": "ComfySwitchNode"
            },
            "size": [
              270,
              110
            ],
            "type": "ComfySwitchNode",
            "widgets_values": [
              false
            ],
            "widgets_values_named": {
              "switch": false
            }
          }
        ],
        "outputNode": {
          "bounding": [
            4390,
            3310,
            155.935546875,
            108
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "1fef655d-ce8e-4789-a018-da1a2b97ac75",
            "label": "continue_motion",
            "linkIds": [
              666
            ],
            "localized_name": "IMAGE",
            "name": "IMAGE",
            "pos": [
              4414,
              3334
            ],
            "type": "IMAGE"
          },
          {
            "id": "f0f1eeeb-1773-4eaf-ab45-791f6c2324ba",
            "linkIds": [
              721
            ],
            "name": "video_frame_offset",
            "pos": [
              4414,
              3354
            ],
            "type": "INT"
          },
          {
            "id": "60baa156-368c-4cab-92fd-3f9880894072",
            "label": "image",
            "linkIds": [
              755
            ],
            "name": "output",
            "pos": [
              4414,
              3374
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 12,
          "lastLinkId": 863,
          "lastNodeId": 575,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "description": "Stitches multiple video clips into a single sequential video file.",
        "extra": {
          "workflowRendererVersion": "LG"
        },
        "groups": [],
        "id": "79280513-53b2-4417-93f8-f3e116bb6736",
        "inputNode": {
          "bounding": [
            -7570,
            3310,
            151.55859375,
            168
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "85555afe-c7a1-4f6e-b073-7c37f7bace7f",
            "label": "Before Video",
            "linkIds": [
              253
            ],
            "localized_name": "video",
            "name": "video",
            "pos": [
              -7442.44140625,
              3334
            ],
            "type": "VIDEO"
          },
          {
            "id": "022773ee-6b4f-4e3d-bead-68b3e75e2d20",
            "label": "After Video",
            "linkIds": [
              254
            ],
            "localized_name": "video_1",
            "name": "video_1",
            "pos": [
              -7442.44140625,
              3354
            ],
            "type": "VIDEO"
          },
          {
            "id": "7bcd7cbc-e918-472a-a0cf-2e0900545372",
            "linkIds": [
              259
            ],
            "name": "direction",
            "pos": [
              -7442.44140625,
              3374
            ],
            "type": "COMBO"
          },
          {
            "id": "9a00389d-c1c8-40d5-87fe-f41019b61fbc",
            "linkIds": [
              260
            ],
            "name": "match_image_size",
            "pos": [
              -7442.44140625,
              3394
            ],
            "type": "BOOLEAN"
          },
          {
            "id": "b95e0440-3ea8-4ae0-887e-12e75701042a",
            "linkIds": [
              261
            ],
            "name": "spacing_width",
            "pos": [
              -7442.44140625,
              3414
            ],
            "type": "INT"
          },
          {
            "id": "83ab9382-0a70-4169-b26a-66ab026b43c4",
            "linkIds": [
              262
            ],
            "name": "spacing_color",
            "pos": [
              -7442.44140625,
              3434
            ],
            "type": "COMBO"
          }
        ],
        "links": [
          {
            "id": 251,
            "origin_id": 77,
            "origin_slot": 1,
            "target_id": 80,
            "target_slot": 1,
            "type": "AUDIO"
          },
          {
            "id": 252,
            "origin_id": 77,
            "origin_slot": 2,
            "target_id": 80,
            "target_slot": 2,
            "type": "FLOAT"
          },
          {
            "id": 253,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 77,
            "target_slot": 0,
            "type": "VIDEO"
          },
          {
            "id": 254,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 78,
            "target_slot": 0,
            "type": "VIDEO"
          },
          {
            "id": 255,
            "origin_id": 80,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "VIDEO"
          },
          {
            "id": 259,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 79,
            "target_slot": 2,
            "type": "COMBO"
          },
          {
            "id": 260,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 79,
            "target_slot": 3,
            "type": "BOOLEAN"
          },
          {
            "id": 261,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 79,
            "target_slot": 4,
            "type": "INT"
          },
          {
            "id": 262,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 79,
            "target_slot": 5,
            "type": "COMBO"
          },
          {
            "id": 266,
            "origin_id": 79,
            "origin_slot": 0,
            "target_id": 90,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 274,
            "origin_id": 90,
            "origin_slot": 0,
            "target_id": 290,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 276,
            "origin_id": 90,
            "origin_slot": 1,
            "target_id": 96,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 279,
            "origin_id": 290,
            "origin_slot": 1,
            "target_id": 97,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 280,
            "origin_id": 96,
            "origin_slot": 1,
            "target_id": 97,
            "target_slot": 3,
            "type": "INT"
          },
          {
            "id": 281,
            "origin_id": 79,
            "origin_slot": 0,
            "target_id": 97,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 282,
            "origin_id": 97,
            "origin_slot": 0,
            "target_id": 80,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 796,
            "origin_id": 77,
            "origin_slot": 0,
            "target_id": 416,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 855,
            "origin_id": 78,
            "origin_slot": 0,
            "target_id": 571,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 856,
            "origin_id": 416,
            "origin_slot": 2,
            "target_id": 572,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 857,
            "origin_id": 571,
            "origin_slot": 2,
            "target_id": 572,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 858,
            "origin_id": 77,
            "origin_slot": 0,
            "target_id": 417,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 859,
            "origin_id": 572,
            "origin_slot": 1,
            "target_id": 417,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 860,
            "origin_id": 78,
            "origin_slot": 0,
            "target_id": 573,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 861,
            "origin_id": 572,
            "origin_slot": 1,
            "target_id": 573,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 862,
            "origin_id": 417,
            "origin_slot": 0,
            "target_id": 79,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 863,
            "origin_id": 573,
            "origin_slot": 0,
            "target_id": 79,
            "target_slot": 1,
            "type": "IMAGE"
          }
        ],
        "name": "Video Stitch",
        "nodes": [
          {
            "flags": {},
            "id": 78,
            "inputs": [
              {
                "link": 254,
                "localized_name": "video",
                "name": "video",
                "type": "VIDEO"
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  855,
                  860
                ],
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              },
              {
                "links": null,
                "localized_name": "audio",
                "name": "audio",
                "type": "AUDIO"
              },
              {
                "links": null,
                "localized_name": "fps",
                "name": "fps",
                "type": "FLOAT"
              },
              {
                "links": null,
                "localized_name": "bit_depth",
                "name": "bit_depth",
                "type": "INT"
              }
            ],
            "pos": [
              -6800,
              3000
            ],
            "properties": {
              "Node name for S&R": "GetVideoComponents",
              "cnr_id": "comfy-core",
              "ver": "0.13.0"
            },
            "size": [
              230,
              120
            ],
            "type": "GetVideoComponents"
          },
          {
            "flags": {},
            "id": 77,
            "inputs": [
              {
                "link": 253,
                "localized_name": "video",
                "name": "video",
                "type": "VIDEO"
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  796,
                  858
                ],
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              },
              {
                "links": [
                  251
                ],
                "localized_name": "audio",
                "name": "audio",
                "type": "AUDIO"
              },
              {
                "links": [
                  252
                ],
                "localized_name": "fps",
                "name": "fps",
                "type": "FLOAT"
              },
              {
                "links": null,
                "localized_name": "bit_depth",
                "name": "bit_depth",
                "type": "INT"
              }
            ],
            "pos": [
              -6800,
              2790
            ],
            "properties": {
              "Node name for S&R": "GetVideoComponents",
              "cnr_id": "comfy-core",
              "ver": "0.13.0"
            },
            "size": [
              230,
              120
            ],
            "type": "GetVideoComponents"
          },
          {
            "flags": {},
            "id": 90,
            "inputs": [
              {
                "link": 266,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  274
                ],
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": [
                  276
                ],
                "localized_name": "height",
                "name": "height",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT"
              }
            ],
            "pos": [
              -6340,
              3760
            ],
            "properties": {
              "Node name for S&R": "GetImageSize"
            },
            "size": [
              230,
              120
            ],
            "type": "GetImageSize"
          },
          {
            "flags": {},
            "id": 80,
            "inputs": [
              {
                "link": 282,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              },
              {
                "link": 251,
                "localized_name": "audio",
                "name": "audio",
                "shape": 7,
                "type": "AUDIO"
              },
              {
                "link": 252,
                "localized_name": "fps",
                "name": "fps",
                "type": "FLOAT",
                "widget": {
                  "name": "fps"
                }
              },
              {
                "link": null,
                "localized_name": "bit_depth",
                "name": "bit_depth",
                "shape": 7,
                "type": "INT",
                "widget": {
                  "name": "bit_depth"
                }
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  255
                ],
                "localized_name": "VIDEO",
                "name": "VIDEO",
                "type": "VIDEO"
              }
            ],
            "pos": [
              -5170,
              3210
            ],
            "properties": {
              "Node name for S&R": "CreateVideo",
              "cnr_id": "comfy-core",
              "ver": "0.13.0"
            },
            "size": [
              270,
              130
            ],
            "type": "CreateVideo",
            "widgets_values": [
              30,
              8
            ],
            "widgets_values_named": {
              "bit_depth": 8,
              "fps": 30
            }
          },
          {
            "flags": {},
            "id": 290,
            "inputs": [
              {
                "label": "a",
                "link": 274,
                "localized_name": "values.a",
                "name": "values.a",
                "type": "FLOAT,INT,BOOLEAN"
              },
              {
                "label": "b",
                "link": null,
                "localized_name": "values.b",
                "name": "values.b",
                "shape": 7,
                "type": "FLOAT,INT,BOOLEAN"
              },
              {
                "link": null,
                "localized_name": "expression",
                "name": "expression",
                "type": "STRING",
                "widget": {
                  "name": "expression"
                }
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              },
              {
                "links": [
                  279
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "BOOL",
                "name": "BOOL",
                "type": "BOOLEAN"
              }
            ],
            "pos": [
              -6000,
              3600
            ],
            "properties": {
              "Node name for S&R": "ComfyMathExpression"
            },
            "size": [
              400,
              200
            ],
            "type": "ComfyMathExpression",
            "widgets_values": [
              "a & ~1"
            ],
            "widgets_values_named": {
              "expression": "a & ~1"
            }
          },
          {
            "flags": {},
            "id": 96,
            "inputs": [
              {
                "label": "a",
                "link": 276,
                "localized_name": "values.a",
                "name": "values.a",
                "type": "FLOAT,INT,BOOLEAN"
              },
              {
                "label": "b",
                "link": null,
                "localized_name": "values.b",
                "name": "values.b",
                "shape": 7,
                "type": "FLOAT,INT,BOOLEAN"
              },
              {
                "link": null,
                "localized_name": "expression",
                "name": "expression",
                "type": "STRING",
                "widget": {
                  "name": "expression"
                }
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              },
              {
                "links": [
                  280
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "BOOL",
                "name": "BOOL",
                "type": "BOOLEAN"
              }
            ],
            "pos": [
              -6000,
              3870
            ],
            "properties": {
              "Node name for S&R": "ComfyMathExpression"
            },
            "size": [
              400,
              200
            ],
            "type": "ComfyMathExpression",
            "widgets_values": [
              "a & ~1"
            ],
            "widgets_values_named": {
              "expression": "a & ~1"
            }
          },
          {
            "flags": {},
            "id": 79,
            "inputs": [
              {
                "link": 862,
                "localized_name": "image1",
                "name": "image1",
                "type": "IMAGE"
              },
              {
                "link": 863,
                "localized_name": "image2",
                "name": "image2",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": 259,
                "localized_name": "direction",
                "name": "direction",
                "type": "COMBO",
                "widget": {
                  "name": "direction"
                }
              },
              {
                "link": 260,
                "localized_name": "match_image_size",
                "name": "match_image_size",
                "type": "BOOLEAN",
                "widget": {
                  "name": "match_image_size"
                }
              },
              {
                "link": 261,
                "localized_name": "spacing_width",
                "name": "spacing_width",
                "type": "INT",
                "widget": {
                  "name": "spacing_width"
                }
              },
              {
                "link": 262,
                "localized_name": "spacing_color",
                "name": "spacing_color",
                "type": "COMBO",
                "widget": {
                  "name": "spacing_color"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  266,
                  281
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -6350,
              3360
            ],
            "properties": {
              "Node name for S&R": "ImageStitch",
              "cnr_id": "comfy-core",
              "ver": "0.13.0"
            },
            "size": [
              270,
              190
            ],
            "type": "ImageStitch",
            "widgets_values": [
              "right",
              true,
              0,
              "white"
            ],
            "widgets_values_named": {
              "direction": "right",
              "match_image_size": true,
              "spacing_color": "white",
              "spacing_width": 0
            }
          },
          {
            "flags": {},
            "id": 97,
            "inputs": [
              {
                "link": 281,
                "localized_name": "input",
                "name": "input",
                "type": "IMAGE,MASK"
              },
              {
                "link": null,
                "localized_name": "resize_type",
                "name": "resize_type",
                "type": "COMFY_DYNAMICCOMBO_V3",
                "widget": {
                  "name": "resize_type"
                }
              },
              {
                "link": 279,
                "localized_name": "width",
                "name": "resize_type.width",
                "type": "INT",
                "widget": {
                  "name": "resize_type.width"
                }
              },
              {
                "link": 280,
                "localized_name": "height",
                "name": "resize_type.height",
                "type": "INT",
                "widget": {
                  "name": "resize_type.height"
                }
              },
              {
                "link": null,
                "localized_name": "crop",
                "name": "resize_type.crop",
                "type": "COMBO",
                "widget": {
                  "name": "resize_type.crop"
                }
              },
              {
                "link": null,
                "localized_name": "scale_method",
                "name": "scale_method",
                "type": "COMBO",
                "widget": {
                  "name": "scale_method"
                }
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": [
                  282
                ],
                "localized_name": "resized",
                "name": "resized",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -5520,
              3370
            ],
            "properties": {
              "Node name for S&R": "ResizeImageMaskNode"
            },
            "size": [
              270,
              154
            ],
            "type": "ResizeImageMaskNode",
            "widgets_values": [
              "scale dimensions",
              512,
              512,
              "center",
              "area"
            ],
            "widgets_values_named": {
              "resize_type": "scale dimensions",
              "resize_type.crop": "center",
              "resize_type.height": 512,
              "resize_type.width": 512,
              "scale_method": "area"
            }
          },
          {
            "flags": {},
            "id": 416,
            "inputs": [
              {
                "link": 796,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 8,
            "outputs": [
              {
                "links": [],
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": [],
                "localized_name": "height",
                "name": "height",
                "type": "INT"
              },
              {
                "links": [
                  856
                ],
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT"
              }
            ],
            "pos": [
              -6430,
              2790
            ],
            "properties": {
              "Node name for S&R": "GetImageSize"
            },
            "size": [
              230,
              120
            ],
            "type": "GetImageSize"
          },
          {
            "flags": {},
            "id": 417,
            "inputs": [
              {
                "link": 858,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "batch_index",
                "name": "batch_index",
                "type": "INT",
                "widget": {
                  "name": "batch_index"
                }
              },
              {
                "link": 859,
                "localized_name": "length",
                "name": "length",
                "type": "INT",
                "widget": {
                  "name": "length"
                }
              }
            ],
            "mode": 0,
            "order": 9,
            "outputs": [
              {
                "links": [
                  862
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -5530,
              2790
            ],
            "properties": {
              "Node name for S&R": "ImageFromBatch"
            },
            "size": [
              270,
              90
            ],
            "type": "ImageFromBatch",
            "widgets_values": [
              0,
              1
            ],
            "widgets_values_named": {
              "batch_index": 0,
              "length": 1
            }
          },
          {
            "flags": {},
            "id": 571,
            "inputs": [
              {
                "link": 855,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 10,
            "outputs": [
              {
                "links": [],
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": [],
                "localized_name": "height",
                "name": "height",
                "type": "INT"
              },
              {
                "links": [
                  857
                ],
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT"
              }
            ],
            "pos": [
              -6420,
              3000
            ],
            "properties": {
              "Node name for S&R": "GetImageSize"
            },
            "size": [
              230,
              120
            ],
            "type": "GetImageSize"
          },
          {
            "flags": {},
            "id": 572,
            "inputs": [
              {
                "label": "a",
                "link": 856,
                "localized_name": "values.a",
                "name": "values.a",
                "type": "FLOAT,INT,BOOLEAN"
              },
              {
                "label": "b",
                "link": 857,
                "localized_name": "values.b",
                "name": "values.b",
                "shape": 7,
                "type": "FLOAT,INT,BOOLEAN"
              },
              {
                "label": "c",
                "link": null,
                "localized_name": "values.c",
                "name": "values.c",
                "shape": 7,
                "type": "FLOAT,INT,BOOLEAN"
              },
              {
                "link": null,
                "localized_name": "expression",
                "name": "expression",
                "type": "STRING",
                "widget": {
                  "name": "expression"
                }
              }
            ],
            "mode": 0,
            "order": 11,
            "outputs": [
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              },
              {
                "links": [
                  859,
                  861
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "BOOL",
                "name": "BOOL",
                "type": "BOOLEAN"
              }
            ],
            "pos": [
              -6050,
              2880
            ],
            "properties": {
              "Node name for S&R": "ComfyMathExpression"
            },
            "size": [
              400,
              200
            ],
            "type": "ComfyMathExpression",
            "widgets_values": [
              "min(a,b)"
            ],
            "widgets_values_named": {
              "expression": "min(a,b)"
            }
          },
          {
            "flags": {},
            "id": 573,
            "inputs": [
              {
                "link": 860,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "batch_index",
                "name": "batch_index",
                "type": "INT",
                "widget": {
                  "name": "batch_index"
                }
              },
              {
                "link": 861,
                "localized_name": "length",
                "name": "length",
                "type": "INT",
                "widget": {
                  "name": "length"
                }
              }
            ],
            "mode": 0,
            "order": 12,
            "outputs": [
              {
                "links": [
                  863
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -5540,
              3000
            ],
            "properties": {
              "Node name for S&R": "ImageFromBatch"
            },
            "size": [
              270,
              90
            ],
            "type": "ImageFromBatch",
            "widgets_values": [
              0,
              1
            ],
            "widgets_values_named": {
              "batch_index": 0,
              "length": 1
            }
          }
        ],
        "outputNode": {
          "bounding": [
            -4590,
            3200,
            128,
            68
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "09707f43-7552-4a6e-bd23-d962d31801c2",
            "linkIds": [
              255
            ],
            "localized_name": "VIDEO",
            "name": "VIDEO",
            "pos": [
              -4566,
              3224
            ],
            "type": "VIDEO"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 12,
          "lastLinkId": 863,
          "lastNodeId": 575,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {},
        "groups": [
          {
            "bounding": [
              20,
              2570,
              820,
              1300
            ],
            "color": "#3f789e",
            "flags": {},
            "id": 3,
            "title": "Models"
          },
          {
            "bounding": [
              870,
              2570,
              660,
              1300
            ],
            "color": "#3f789e",
            "flags": {},
            "id": 6,
            "title": "Prompt"
          },
          {
            "bounding": [
              1560,
              3150,
              1000,
              720
            ],
            "color": "#3f789e",
            "flags": {},
            "id": 7,
            "title": "Conditioning"
          },
          {
            "bounding": [
              1560,
              2570,
              1000,
              550
            ],
            "color": "#3f789e",
            "flags": {},
            "id": 11,
            "title": "Context Windows & Cache"
          },
          {
            "bounding": [
              20,
              3900,
              1510,
              390
            ],
            "color": "#3f789e",
            "flags": {},
            "id": 5,
            "title": "Reference Image"
          },
          {
            "bounding": [
              2590,
              2570,
              1120,
              1300
            ],
            "color": "#3f789e",
            "flags": {},
            "id": 8,
            "title": "Sampling"
          },
          {
            "bounding": [
              20,
              4320,
              1500,
              560
            ],
            "color": "#3f789e",
            "flags": {},
            "id": 10,
            "title": "Pose Reference Video"
          },
          {
            "bounding": [
              3870,
              3410,
              300,
              462
            ],
            "color": "#3f789e",
            "flags": {},
            "id": 12,
            "title": "Trim the duplicated first frame"
          }
        ],
        "id": "b798a87e-23ec-483d-ab9b-6af5b298d0ad",
        "inputNode": {
          "bounding": [
            -720,
            3220,
            195.5625,
            508
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "5652276e-beac-4092-a828-9baa0150355b",
            "label": "reference Image",
            "linkIds": [
              657
            ],
            "localized_name": "input",
            "name": "input",
            "pos": [
              -548.4375,
              3244
            ],
            "type": "IMAGE,MASK"
          },
          {
            "id": "d2f087f3-bdae-4de1-8fb6-0a9e5b186ab7",
            "label": "pose_video",
            "linkIds": [
              648
            ],
            "localized_name": "video",
            "name": "video",
            "pos": [
              -548.4375,
              3264
            ],
            "type": "VIDEO"
          },
          {
            "id": "6a3a407a-5ecf-4027-b7b5-178ddca1a1a5",
            "linkIds": [
              714
            ],
            "name": "continue_motion",
            "pos": [
              -548.4375,
              3284
            ],
            "type": "IMAGE"
          },
          {
            "id": "c704c479-c4e8-4202-8c8e-234b63efc420",
            "label": "video_frame_offset",
            "linkIds": [
              804
            ],
            "name": "video_frame_offset_1",
            "pos": [
              -548.4375,
              3304
            ],
            "type": "INT"
          },
          {
            "id": "57d8f22a-6abf-42ee-b29c-8375b541e18d",
            "label": "prompt",
            "linkIds": [
              805
            ],
            "name": "text",
            "pos": [
              -548.4375,
              3324
            ],
            "type": "STRING"
          },
          {
            "id": "2297d7f0-9c93-4c52-916d-67adb3268cee",
            "label": "reference_image_strength",
            "linkIds": [
              811
            ],
            "name": "reference_image_strength_1",
            "pos": [
              -548.4375,
              3344
            ],
            "type": "FLOAT"
          },
          {
            "id": "9daa1424-fa79-4968-8f04-6fd0eba78616",
            "label": "pose_prompt",
            "linkIds": [
              812
            ],
            "name": "text_4",
            "pos": [
              -548.4375,
              3364
            ],
            "type": "STRING"
          },
          {
            "id": "bb4d1069-34ae-40a8-b067-03560962f0df",
            "label": "pose_strength",
            "linkIds": [
              813
            ],
            "name": "pose_strength_1",
            "pos": [
              -548.4375,
              3384
            ],
            "type": "FLOAT"
          },
          {
            "id": "d1f8263c-7501-4214-a959-a25dd44fa8f7",
            "label": "pose_start_percent",
            "linkIds": [
              814
            ],
            "name": "pose_start_percent_1",
            "pos": [
              -548.4375,
              3404
            ],
            "type": "FLOAT"
          },
          {
            "id": "5735d8d5-b3aa-47f2-90bf-2d5a8bfcc0ed",
            "label": "pose_end_percent",
            "linkIds": [
              815
            ],
            "name": "pose_end_percent_1",
            "pos": [
              -548.4375,
              3424
            ],
            "type": "FLOAT"
          },
          {
            "id": "3ab8f3ee-2332-4f5e-85a5-0ae77f73e0cf",
            "label": "enable_context_window",
            "linkIds": [
              816
            ],
            "name": "switch_1",
            "pos": [
              -548.4375,
              3444
            ],
            "type": "BOOLEAN"
          },
          {
            "id": "b34d70bb-dab4-4a6d-a222-85c5627a4316",
            "label": "cache_device",
            "linkIds": [
              817
            ],
            "name": "device_1",
            "pos": [
              -548.4375,
              3464
            ],
            "type": "COMBO"
          },
          {
            "id": "201c6745-0a0d-4baf-9310-2a32af974fbd",
            "label": "cache_dtype",
            "linkIds": [
              818
            ],
            "name": "dtype_1",
            "pos": [
              -548.4375,
              3484
            ],
            "type": "COMBO"
          },
          {
            "id": "30c834c0-d8dd-429b-bfe5-d3c98e44fd05",
            "label": "trim_duplicated_frame",
            "linkIds": [
              819
            ],
            "name": "value_1",
            "pos": [
              -548.4375,
              3504
            ],
            "type": "BOOLEAN"
          },
          {
            "id": "0fcfc566-1d18-4dc9-8300-00d0de4ba446",
            "label": "width",
            "linkIds": [
              820
            ],
            "name": "resize_type.width",
            "pos": [
              -548.4375,
              3524
            ],
            "type": "INT"
          },
          {
            "id": "9e0fb084-d3a8-4811-8cef-092febab0046",
            "label": "height",
            "linkIds": [
              821
            ],
            "name": "resize_type.height_1",
            "pos": [
              -548.4375,
              3544
            ],
            "type": "INT"
          },
          {
            "id": "e910a55a-473e-43bf-b41c-878a090aa00c",
            "linkIds": [
              824
            ],
            "name": "noise_seed",
            "pos": [
              -548.4375,
              3564
            ],
            "type": "INT"
          },
          {
            "id": "70e7ec96-3d6c-4104-8f18-947601f5191c",
            "linkIds": [
              825
            ],
            "name": "length",
            "pos": [
              -548.4375,
              3584
            ],
            "type": "INT"
          },
          {
            "id": "eb68fa16-5d13-4f52-8030-7ed81727f807",
            "label": "unet",
            "linkIds": [
              826
            ],
            "name": "unet_name_1",
            "pos": [
              -548.4375,
              3604
            ],
            "type": "COMBO"
          },
          {
            "id": "afedf4bd-bea4-41e2-85b1-6882a699b48a",
            "label": "lora",
            "linkIds": [
              827
            ],
            "name": "lora_name_1",
            "pos": [
              -548.4375,
              3624
            ],
            "type": "COMBO"
          },
          {
            "id": "821fee03-f73d-4875-85de-744908b67891",
            "label": "clip",
            "linkIds": [
              828
            ],
            "name": "clip_name_2",
            "pos": [
              -548.4375,
              3644
            ],
            "type": "COMBO"
          },
          {
            "id": "ae0dfb45-e15d-4868-a9c8-ef14e693f65c",
            "label": "clip_vision",
            "linkIds": [
              829
            ],
            "name": "clip_name_3",
            "pos": [
              -548.4375,
              3664
            ],
            "type": "COMBO"
          },
          {
            "id": "d0b2c474-1dd7-474d-a77a-75b010ad8bea",
            "label": "vae",
            "linkIds": [
              830
            ],
            "name": "vae_name_1",
            "pos": [
              -548.4375,
              3684
            ],
            "type": "COMBO"
          }
        ],
        "links": [
          {
            "id": 646,
            "origin_id": 449,
            "origin_slot": 0,
            "target_id": 450,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 8,
            "origin_id": 451,
            "origin_slot": 0,
            "target_id": 452,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 7,
            "origin_id": 451,
            "origin_slot": 0,
            "target_id": 453,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 590,
            "origin_id": 451,
            "origin_slot": 0,
            "target_id": 456,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 696,
            "origin_id": 450,
            "origin_slot": 0,
            "target_id": 457,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 669,
            "origin_id": 453,
            "origin_slot": 0,
            "target_id": 458,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 670,
            "origin_id": 452,
            "origin_slot": 0,
            "target_id": 458,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 671,
            "origin_id": 455,
            "origin_slot": 0,
            "target_id": 458,
            "target_slot": 2,
            "type": "VAE"
          },
          {
            "id": 672,
            "origin_id": 461,
            "origin_slot": 0,
            "target_id": 458,
            "target_slot": 3,
            "type": "IMAGE"
          },
          {
            "id": 688,
            "origin_id": 471,
            "origin_slot": 0,
            "target_id": 458,
            "target_slot": 4,
            "type": "IMAGE"
          },
          {
            "id": 683,
            "origin_id": 460,
            "origin_slot": 0,
            "target_id": 458,
            "target_slot": 5,
            "type": "CLIP_VISION_OUTPUT"
          },
          {
            "id": 674,
            "origin_id": 456,
            "origin_slot": 0,
            "target_id": 458,
            "target_slot": 6,
            "type": "CONDITIONING"
          },
          {
            "id": 675,
            "origin_id": 469,
            "origin_slot": 0,
            "target_id": 458,
            "target_slot": 7,
            "type": "CLIP_VISION_OUTPUT"
          },
          {
            "id": 691,
            "origin_id": 467,
            "origin_slot": 0,
            "target_id": 458,
            "target_slot": 9,
            "type": "INT"
          },
          {
            "id": 692,
            "origin_id": 467,
            "origin_slot": 1,
            "target_id": 458,
            "target_slot": 10,
            "type": "INT"
          },
          {
            "id": 196,
            "origin_id": 454,
            "origin_slot": 0,
            "target_id": 460,
            "target_slot": 0,
            "type": "CLIP_VISION"
          },
          {
            "id": 658,
            "origin_id": 461,
            "origin_slot": 0,
            "target_id": 460,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 694,
            "origin_id": 467,
            "origin_slot": 0,
            "target_id": 461,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 695,
            "origin_id": 467,
            "origin_slot": 1,
            "target_id": 461,
            "target_slot": 3,
            "type": "INT"
          },
          {
            "id": 597,
            "origin_id": 465,
            "origin_slot": 0,
            "target_id": 462,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 596,
            "origin_id": 465,
            "origin_slot": 0,
            "target_id": 463,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 700,
            "origin_id": 459,
            "origin_slot": 0,
            "target_id": 465,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 693,
            "origin_id": 471,
            "origin_slot": 0,
            "target_id": 467,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 564,
            "origin_id": 463,
            "origin_slot": 0,
            "target_id": 468,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 679,
            "origin_id": 458,
            "origin_slot": 0,
            "target_id": 468,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 680,
            "origin_id": 458,
            "origin_slot": 1,
            "target_id": 468,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 487,
            "origin_id": 464,
            "origin_slot": 0,
            "target_id": 468,
            "target_slot": 3,
            "type": "SAMPLER"
          },
          {
            "id": 486,
            "origin_id": 462,
            "origin_slot": 0,
            "target_id": 468,
            "target_slot": 4,
            "type": "SIGMAS"
          },
          {
            "id": 681,
            "origin_id": 458,
            "origin_slot": 2,
            "target_id": 468,
            "target_slot": 5,
            "type": "LATENT"
          },
          {
            "id": 584,
            "origin_id": 454,
            "origin_slot": 0,
            "target_id": 469,
            "target_slot": 0,
            "type": "CLIP_VISION"
          },
          {
            "id": 641,
            "origin_id": 470,
            "origin_slot": 0,
            "target_id": 469,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 661,
            "origin_id": 471,
            "origin_slot": 0,
            "target_id": 470,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 655,
            "origin_id": 466,
            "origin_slot": 0,
            "target_id": 471,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 594,
            "origin_id": 473,
            "origin_slot": 0,
            "target_id": 472,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 664,
            "origin_id": 455,
            "origin_slot": 0,
            "target_id": 472,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 593,
            "origin_id": 468,
            "origin_slot": 0,
            "target_id": 473,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 682,
            "origin_id": 458,
            "origin_slot": 3,
            "target_id": 473,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 657,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 461,
            "target_slot": 0,
            "type": "IMAGE,MASK"
          },
          {
            "id": 648,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 466,
            "target_slot": 0,
            "type": "VIDEO"
          },
          {
            "id": 666,
            "origin_id": 472,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 714,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 458,
            "target_slot": 8,
            "type": "IMAGE"
          },
          {
            "id": 721,
            "origin_id": 458,
            "origin_slot": 5,
            "target_id": -20,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 739,
            "origin_id": 450,
            "origin_slot": 0,
            "target_id": 459,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 740,
            "origin_id": 457,
            "origin_slot": 0,
            "target_id": 459,
            "target_slot": 1,
            "type": "MODEL"
          },
          {
            "id": 749,
            "origin_id": 474,
            "origin_slot": 0,
            "target_id": 476,
            "target_slot": 2,
            "type": "BOOLEAN"
          },
          {
            "id": 751,
            "origin_id": 472,
            "origin_slot": 0,
            "target_id": 475,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 753,
            "origin_id": 475,
            "origin_slot": 0,
            "target_id": 476,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 754,
            "origin_id": 472,
            "origin_slot": 0,
            "target_id": 476,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 755,
            "origin_id": 476,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 2,
            "type": "IMAGE"
          },
          {
            "id": 804,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 458,
            "target_slot": 13,
            "type": "INT"
          },
          {
            "id": 805,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 453,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 811,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 458,
            "target_slot": 17,
            "type": "FLOAT"
          },
          {
            "id": 812,
            "origin_id": -10,
            "origin_slot": 6,
            "target_id": 456,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 813,
            "origin_id": -10,
            "origin_slot": 7,
            "target_id": 458,
            "target_slot": 14,
            "type": "FLOAT"
          },
          {
            "id": 814,
            "origin_id": -10,
            "origin_slot": 8,
            "target_id": 458,
            "target_slot": 15,
            "type": "FLOAT"
          },
          {
            "id": 815,
            "origin_id": -10,
            "origin_slot": 9,
            "target_id": 458,
            "target_slot": 16,
            "type": "FLOAT"
          },
          {
            "id": 816,
            "origin_id": -10,
            "origin_slot": 10,
            "target_id": 459,
            "target_slot": 2,
            "type": "BOOLEAN"
          },
          {
            "id": 817,
            "origin_id": -10,
            "origin_slot": 11,
            "target_id": 465,
            "target_slot": 1,
            "type": "COMBO"
          },
          {
            "id": 818,
            "origin_id": -10,
            "origin_slot": 12,
            "target_id": 465,
            "target_slot": 2,
            "type": "COMBO"
          },
          {
            "id": 819,
            "origin_id": -10,
            "origin_slot": 13,
            "target_id": 474,
            "target_slot": 0,
            "type": "BOOLEAN"
          },
          {
            "id": 820,
            "origin_id": -10,
            "origin_slot": 14,
            "target_id": 471,
            "target_slot": 2,
            "type": "INT"
          },
          {
            "id": 821,
            "origin_id": -10,
            "origin_slot": 15,
            "target_id": 471,
            "target_slot": 3,
            "type": "INT"
          },
          {
            "id": 824,
            "origin_id": -10,
            "origin_slot": 16,
            "target_id": 468,
            "target_slot": 7,
            "type": "INT"
          },
          {
            "id": 825,
            "origin_id": -10,
            "origin_slot": 17,
            "target_id": 458,
            "target_slot": 11,
            "type": "INT"
          },
          {
            "id": 826,
            "origin_id": -10,
            "origin_slot": 18,
            "target_id": 449,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 827,
            "origin_id": -10,
            "origin_slot": 19,
            "target_id": 450,
            "target_slot": 1,
            "type": "COMBO"
          },
          {
            "id": 828,
            "origin_id": -10,
            "origin_slot": 20,
            "target_id": 451,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 829,
            "origin_id": -10,
            "origin_slot": 21,
            "target_id": 454,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 830,
            "origin_id": -10,
            "origin_slot": 22,
            "target_id": 455,
            "target_slot": 0,
            "type": "COMBO"
          }
        ],
        "name": "Motion Transfer (Wan Animate 2)",
        "nodes": [
          {
            "flags": {},
            "id": 449,
            "inputs": [
              {
                "link": 826,
                "localized_name": "unet_name",
                "name": "unet_name",
                "type": "COMBO",
                "widget": {
                  "name": "unet_name"
                }
              },
              {
                "link": null,
                "localized_name": "weight_dtype",
                "name": "weight_dtype",
                "type": "COMBO",
                "widget": {
                  "name": "weight_dtype"
                }
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  646
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL"
              }
            ],
            "pos": [
              100,
              2810
            ],
            "properties": {
              "Node name for S&R": "UNETLoader",
              "models": [
                {
                  "directory": "diffusion_models",
                  "name": "wan_animate_2_int8_convrot.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Wan-Animate-2/resolve/main/diffusion_models/wan_animate_2_int8_convrot.safetensors"
                }
              ]
            },
            "size": [
              660,
              130
            ],
            "type": "UNETLoader",
            "widgets_values": [
              "wan_animate_2_int8_convrot.safetensors",
              "default"
            ],
            "widgets_values_named": {
              "unet_name": "wan_animate_2_int8_convrot.safetensors",
              "weight_dtype": "default"
            }
          },
          {
            "flags": {},
            "id": 450,
            "inputs": [
              {
                "link": 646,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": 827,
                "localized_name": "lora_name",
                "name": "lora_name",
                "type": "COMBO",
                "widget": {
                  "name": "lora_name"
                }
              },
              {
                "link": null,
                "localized_name": "strength_model",
                "name": "strength_model",
                "type": "FLOAT",
                "widget": {
                  "name": "strength_model"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  696,
                  739
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL"
              }
            ],
            "pos": [
              100,
              3010
            ],
            "properties": {
              "Node name for S&R": "LoraLoaderModelOnly",
              "models": [
                {
                  "directory": "loras",
                  "name": "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Wan-Animate-2/resolve/main/loras/lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors"
                }
              ]
            },
            "size": [
              660,
              120
            ],
            "type": "LoraLoaderModelOnly",
            "widgets_values": [
              "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
              1
            ],
            "widgets_values_named": {
              "lora_name": "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
              "strength_model": 1
            }
          },
          {
            "flags": {},
            "id": 451,
            "inputs": [
              {
                "link": 828,
                "localized_name": "clip_name",
                "name": "clip_name",
                "type": "COMBO",
                "widget": {
                  "name": "clip_name"
                }
              },
              {
                "link": null,
                "localized_name": "type",
                "name": "type",
                "type": "COMBO",
                "widget": {
                  "name": "type"
                }
              },
              {
                "link": null,
                "localized_name": "device",
                "name": "device",
                "shape": 7,
                "type": "COMBO",
                "widget": {
                  "name": "device"
                }
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  7,
                  8,
                  590
                ],
                "localized_name": "CLIP",
                "name": "CLIP",
                "type": "CLIP"
              }
            ],
            "pos": [
              100,
              3210
            ],
            "properties": {
              "Node name for S&R": "CLIPLoader",
              "models": [
                {
                  "directory": "text_encoders",
                  "name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Wan-Animate-2/resolve/main/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors"
                }
              ]
            },
            "size": [
              660,
              140
            ],
            "type": "CLIPLoader",
            "widgets_values": [
              "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
              "wan",
              "default"
            ],
            "widgets_values_named": {
              "clip_name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
              "device": "default",
              "type": "wan"
            }
          },
          {
            "bgcolor": "#533",
            "color": "#322",
            "flags": {
              "collapsed": false
            },
            "id": 452,
            "inputs": [
              {
                "link": 8,
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP"
              },
              {
                "link": null,
                "localized_name": "text",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  670
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              960,
              3220
            ],
            "properties": {
              "Node name for S&R": "CLIPTextEncode"
            },
            "size": [
              490,
              120
            ],
            "title": "CLIP Text Encode (Negative Prompt)",
            "type": "CLIPTextEncode",
            "widgets_values": [
              "色调艳丽，过曝，静态，细节模糊不清，字幕，风格，作品，画作，画面，静止，整体发灰，最差质量，低质量，JPEG压缩残留，丑陋的，残缺的，多余的手指，画得不好的手部，画得不好的脸部，畸形的，毁容的，形态畸形的肢体，手指融合，静止不动的画面，杂乱的背景，三条腿，背景人很多，倒着走"
            ],
            "widgets_values_named": {
              "text": "色调艳丽，过曝，静态，细节模糊不清，字幕，风格，作品，画作，画面，静止，整体发灰，最差质量，低质量，JPEG压缩残留，丑陋的，残缺的，多余的手指，画得不好的手部，画得不好的脸部，畸形的，毁容的，形态畸形的肢体，手指融合，静止不动的画面，杂乱的背景，三条腿，背景人很多，倒着走"
            }
          },
          {
            "bgcolor": "#353",
            "color": "#232",
            "flags": {},
            "id": 453,
            "inputs": [
              {
                "link": 7,
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP"
              },
              {
                "link": 805,
                "localized_name": "text",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                }
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  669
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              960,
              2830
            ],
            "properties": {
              "Node name for S&R": "CLIPTextEncode"
            },
            "size": [
              480,
              310
            ],
            "title": "CLIP Text Encode (Positive Prompt)",
            "type": "CLIPTextEncode",
            "widgets_values": [
              "Character Description: Cartoon character lost\nBackground description: The background is an empty white room"
            ],
            "widgets_values_named": {
              "text": "Character Description: Cartoon character lost\nBackground description: The background is an empty white room"
            }
          },
          {
            "flags": {},
            "id": 454,
            "inputs": [
              {
                "link": 829,
                "localized_name": "clip_name",
                "name": "clip_name",
                "type": "COMBO",
                "widget": {
                  "name": "clip_name"
                }
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": [
                  196,
                  584
                ],
                "localized_name": "CLIP_VISION",
                "name": "CLIP_VISION",
                "type": "CLIP_VISION"
              }
            ],
            "pos": [
              100,
              3430
            ],
            "properties": {
              "Node name for S&R": "CLIPVisionLoader",
              "models": [
                {
                  "directory": "clip_vision",
                  "name": "clip_vision_h.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Wan-Animate-2/resolve/main/clip_vision/clip_vision_h.safetensors"
                }
              ]
            },
            "size": [
              660,
              90
            ],
            "type": "CLIPVisionLoader",
            "widgets_values": [
              "clip_vision_h.safetensors"
            ],
            "widgets_values_named": {
              "clip_name": "clip_vision_h.safetensors"
            }
          },
          {
            "flags": {},
            "id": 455,
            "inputs": [
              {
                "link": 830,
                "localized_name": "vae_name",
                "name": "vae_name",
                "type": "COMBO",
                "widget": {
                  "name": "vae_name"
                }
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [
                  664,
                  671
                ],
                "localized_name": "VAE",
                "name": "VAE",
                "type": "VAE"
              }
            ],
            "pos": [
              100,
              3600
            ],
            "properties": {
              "Node name for S&R": "VAELoader",
              "models": [
                {
                  "directory": "vae",
                  "name": "Wan2_1_VAE_bf16.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/Wan-Animate-2/resolve/main/vae/Wan2_1_VAE_bf16.safetensors"
                }
              ]
            },
            "size": [
              660,
              90
            ],
            "type": "VAELoader",
            "widgets_values": [
              "Wan2_1_VAE_bf16.safetensors"
            ],
            "widgets_values_named": {
              "vae_name": "Wan2_1_VAE_bf16.safetensors"
            }
          },
          {
            "bgcolor": "#353",
            "color": "#232",
            "flags": {},
            "id": 456,
            "inputs": [
              {
                "link": 590,
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP"
              },
              {
                "link": 812,
                "localized_name": "text",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                }
              }
            ],
            "mode": 0,
            "order": 8,
            "outputs": [
              {
                "links": [
                  674
                ],
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING"
              }
            ],
            "pos": [
              960,
              3420
            ],
            "properties": {
              "Node name for S&R": "CLIPTextEncode"
            },
            "size": [
              490,
              220
            ],
            "type": "CLIPTextEncode",
            "widgets_values": [
              "一只穿着制服的小猫做动作的参考视频"
            ],
            "widgets_values_named": {
              "text": "一只穿着制服的小猫做动作的参考视频"
            }
          },
          {
            "flags": {},
            "id": 457,
            "inputs": [
              {
                "link": 696,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": null,
                "localized_name": "context_length",
                "name": "context_length",
                "type": "INT",
                "widget": {
                  "name": "context_length"
                }
              },
              {
                "link": null,
                "localized_name": "context_overlap",
                "name": "context_overlap",
                "type": "INT",
                "widget": {
                  "name": "context_overlap"
                }
              },
              {
                "link": null,
                "localized_name": "context_schedule",
                "name": "context_schedule",
                "type": "COMBO",
                "widget": {
                  "name": "context_schedule"
                }
              },
              {
                "link": null,
                "localized_name": "context_stride",
                "name": "context_stride",
                "type": "INT",
                "widget": {
                  "name": "context_stride"
                }
              },
              {
                "link": null,
                "localized_name": "closed_loop",
                "name": "closed_loop",
                "type": "BOOLEAN",
                "widget": {
                  "name": "closed_loop"
                }
              },
              {
                "link": null,
                "localized_name": "fuse_method",
                "name": "fuse_method",
                "type": "COMBO",
                "widget": {
                  "name": "fuse_method"
                }
              },
              {
                "link": null,
                "localized_name": "dim",
                "name": "dim",
                "type": "INT",
                "widget": {
                  "name": "dim"
                }
              },
              {
                "link": null,
                "localized_name": "freenoise",
                "name": "freenoise",
                "type": "BOOLEAN",
                "widget": {
                  "name": "freenoise"
                }
              },
              {
                "link": null,
                "localized_name": "cond_retain_index_list",
                "name": "cond_retain_index_list",
                "type": "STRING",
                "widget": {
                  "name": "cond_retain_index_list"
                }
              },
              {
                "link": null,
                "localized_name": "split_conds_to_windows",
                "name": "split_conds_to_windows",
                "type": "BOOLEAN",
                "widget": {
                  "name": "split_conds_to_windows"
                }
              },
              {
                "link": null,
                "localized_name": "latent_retain_index_list",
                "name": "latent_retain_index_list",
                "type": "STRING",
                "widget": {
                  "name": "latent_retain_index_list"
                }
              },
              {
                "link": null,
                "localized_name": "causal_window_fix",
                "name": "causal_window_fix",
                "type": "BOOLEAN",
                "widget": {
                  "name": "causal_window_fix"
                }
              }
            ],
            "mode": 0,
            "order": 9,
            "outputs": [
              {
                "links": [
                  740
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL"
              }
            ],
            "pos": [
              1690,
              2670
            ],
            "properties": {
              "Node name for S&R": "ContextWindowsManual"
            },
            "size": [
              300,
              410
            ],
            "type": "ContextWindowsManual",
            "widgets_values": [
              21,
              8,
              "standard_static",
              1,
              false,
              "pyramid",
              2,
              true,
              "0",
              false,
              "",
              true
            ],
            "widgets_values_named": {
              "causal_window_fix": true,
              "closed_loop": false,
              "cond_retain_index_list": "0",
              "context_length": 21,
              "context_overlap": 8,
              "context_schedule": "standard_static",
              "context_stride": 1,
              "dim": 2,
              "freenoise": true,
              "fuse_method": "pyramid",
              "latent_retain_index_list": "",
              "split_conds_to_windows": false
            }
          },
          {
            "flags": {},
            "id": 458,
            "inputs": [
              {
                "link": 669,
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING"
              },
              {
                "link": 670,
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING"
              },
              {
                "link": 671,
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE"
              },
              {
                "link": 672,
                "localized_name": "reference_image",
                "name": "reference_image",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": 688,
                "localized_name": "pose_video",
                "name": "pose_video",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": 683,
                "localized_name": "clip_vision_output",
                "name": "clip_vision_output",
                "shape": 7,
                "type": "CLIP_VISION_OUTPUT"
              },
              {
                "link": 674,
                "localized_name": "positive_pose",
                "name": "positive_pose",
                "shape": 7,
                "type": "CONDITIONING"
              },
              {
                "link": 675,
                "localized_name": "clip_vision_output_pose",
                "name": "clip_vision_output_pose",
                "shape": 7,
                "type": "CLIP_VISION_OUTPUT"
              },
              {
                "link": 714,
                "localized_name": "continue_motion",
                "name": "continue_motion",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": 691,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 692,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              },
              {
                "link": 825,
                "localized_name": "length",
                "name": "length",
                "type": "INT",
                "widget": {
                  "name": "length"
                }
              },
              {
                "link": null,
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT",
                "widget": {
                  "name": "batch_size"
                }
              },
              {
                "link": 804,
                "localized_name": "video_frame_offset",
                "name": "video_frame_offset",
                "type": "INT",
                "widget": {
                  "name": "video_frame_offset"
                }
              },
              {
                "link": 813,
                "localized_name": "pose_strength",
                "name": "pose_strength",
                "type": "FLOAT",
                "widget": {
                  "name": "pose_strength"
                }
              },
              {
                "link": 814,
                "localized_name": "pose_start_percent",
                "name": "pose_start_percent",
                "type": "FLOAT",
                "widget": {
                  "name": "pose_start_percent"
                }
              },
              {
                "link": 815,
                "localized_name": "pose_end_percent",
                "name": "pose_end_percent",
                "type": "FLOAT",
                "widget": {
                  "name": "pose_end_percent"
                }
              },
              {
                "link": 811,
                "localized_name": "reference_image_strength",
                "name": "reference_image_strength",
                "type": "FLOAT",
                "widget": {
                  "name": "reference_image_strength"
                }
              }
            ],
            "mode": 0,
            "order": 10,
            "outputs": [
              {
                "links": [
                  679
                ],
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING"
              },
              {
                "links": [
                  680
                ],
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING"
              },
              {
                "links": [
                  681
                ],
                "localized_name": "latent",
                "name": "latent",
                "type": "LATENT"
              },
              {
                "links": [
                  682
                ],
                "localized_name": "trim_latent",
                "name": "trim_latent",
                "type": "INT"
              },
              {
                "links": [],
                "localized_name": "trim_image",
                "name": "trim_image",
                "type": "INT"
              },
              {
                "links": [
                  721
                ],
                "localized_name": "video_frame_offset",
                "name": "video_frame_offset",
                "type": "INT"
              }
            ],
            "pos": [
              1920,
              3300
            ],
            "properties": {
              "Node name for S&R": "WanAnimate2ToVideo"
            },
            "size": [
              350,
              470
            ],
            "type": "WanAnimate2ToVideo",
            "widgets_values": [
              832,
              480,
              81,
              1,
              0,
              1,
              0,
              1,
              1
            ],
            "widgets_values_named": {
              "batch_size": 1,
              "height": 480,
              "length": 81,
              "pose_end_percent": 1,
              "pose_start_percent": 0,
              "pose_strength": 1,
              "reference_image_strength": 1,
              "video_frame_offset": 0,
              "width": 832
            }
          },
          {
            "flags": {},
            "id": 459,
            "inputs": [
              {
                "link": 739,
                "localized_name": "on_false",
                "name": "on_false",
                "type": "MODEL"
              },
              {
                "link": 740,
                "localized_name": "on_true",
                "name": "on_true",
                "type": "MODEL"
              },
              {
                "link": 816,
                "localized_name": "switch",
                "name": "switch",
                "type": "BOOLEAN",
                "widget": {
                  "name": "switch"
                }
              }
            ],
            "mode": 0,
            "order": 11,
            "outputs": [
              {
                "links": [
                  700
                ],
                "localized_name": "output",
                "name": "output",
                "type": "MODEL"
              }
            ],
            "pos": [
              2130,
              2680
            ],
            "properties": {
              "Node name for S&R": "ComfySwitchNode"
            },
            "size": [
              270,
              110
            ],
            "type": "ComfySwitchNode",
            "widgets_values": [
              false
            ],
            "widgets_values_named": {
              "switch": false
            }
          },
          {
            "bgcolor": "#355",
            "color": "#233",
            "flags": {},
            "id": 460,
            "inputs": [
              {
                "link": 196,
                "localized_name": "clip_vision",
                "name": "clip_vision",
                "type": "CLIP_VISION"
              },
              {
                "link": 658,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "crop",
                "name": "crop",
                "type": "COMBO",
                "widget": {
                  "name": "crop"
                }
              }
            ],
            "mode": 0,
            "order": 12,
            "outputs": [
              {
                "links": [
                  683
                ],
                "localized_name": "CLIP_VISION_OUTPUT",
                "name": "CLIP_VISION_OUTPUT",
                "type": "CLIP_VISION_OUTPUT"
              }
            ],
            "pos": [
              1150,
              4050
            ],
            "properties": {
              "Node name for S&R": "CLIPVisionEncode"
            },
            "size": [
              290,
              110
            ],
            "type": "CLIPVisionEncode",
            "widgets_values": [
              "none"
            ],
            "widgets_values_named": {
              "crop": "none"
            }
          },
          {
            "flags": {},
            "id": 461,
            "inputs": [
              {
                "link": 657,
                "localized_name": "input",
                "name": "input",
                "type": "IMAGE,MASK"
              },
              {
                "link": null,
                "localized_name": "resize_type",
                "name": "resize_type",
                "type": "COMFY_DYNAMICCOMBO_V3",
                "widget": {
                  "name": "resize_type"
                }
              },
              {
                "link": 694,
                "localized_name": "width",
                "name": "resize_type.width",
                "type": "INT",
                "widget": {
                  "name": "resize_type.width"
                }
              },
              {
                "link": 695,
                "localized_name": "height",
                "name": "resize_type.height",
                "type": "INT",
                "widget": {
                  "name": "resize_type.height"
                }
              },
              {
                "link": null,
                "localized_name": "crop",
                "name": "resize_type.crop",
                "type": "COMBO",
                "widget": {
                  "name": "resize_type.crop"
                }
              },
              {
                "link": null,
                "localized_name": "scale_method",
                "name": "scale_method",
                "type": "COMBO",
                "widget": {
                  "name": "scale_method"
                }
              }
            ],
            "mode": 0,
            "order": 13,
            "outputs": [
              {
                "links": [
                  658,
                  672
                ],
                "localized_name": "resized",
                "name": "resized",
                "type": "IMAGE,MASK"
              }
            ],
            "pos": [
              780,
              4050
            ],
            "properties": {
              "Node name for S&R": "ResizeImageMaskNode"
            },
            "size": [
              270,
              154
            ],
            "type": "ResizeImageMaskNode",
            "widgets_values": [
              "scale dimensions",
              481,
              854,
              "center",
              "area"
            ],
            "widgets_values_named": {
              "resize_type": "scale dimensions",
              "resize_type.crop": "center",
              "resize_type.height": 854,
              "resize_type.width": 481,
              "scale_method": "area"
            }
          },
          {
            "flags": {},
            "id": 462,
            "inputs": [
              {
                "link": 597,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": null,
                "localized_name": "scheduler",
                "name": "scheduler",
                "type": "COMBO",
                "widget": {
                  "name": "scheduler"
                }
              },
              {
                "link": null,
                "localized_name": "steps",
                "name": "steps",
                "type": "INT",
                "widget": {
                  "name": "steps"
                }
              },
              {
                "link": null,
                "localized_name": "denoise",
                "name": "denoise",
                "type": "FLOAT",
                "widget": {
                  "name": "denoise"
                }
              }
            ],
            "mode": 0,
            "order": 14,
            "outputs": [
              {
                "links": [
                  486
                ],
                "localized_name": "SIGMAS",
                "name": "SIGMAS",
                "type": "SIGMAS"
              }
            ],
            "pos": [
              2740,
              3210
            ],
            "properties": {
              "Node name for S&R": "BasicScheduler"
            },
            "size": [
              310,
              120
            ],
            "type": "BasicScheduler",
            "widgets_values": [
              "simple",
              6,
              1
            ],
            "widgets_values_named": {
              "denoise": 1,
              "scheduler": "simple",
              "steps": 6
            }
          },
          {
            "flags": {},
            "id": 463,
            "inputs": [
              {
                "link": 596,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": null,
                "localized_name": "shift",
                "name": "shift",
                "type": "FLOAT",
                "widget": {
                  "name": "shift"
                }
              }
            ],
            "mode": 0,
            "order": 15,
            "outputs": [
              {
                "links": [
                  564
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL"
              }
            ],
            "pos": [
              2740,
              2910
            ],
            "properties": {
              "Node name for S&R": "ModelSamplingSD3"
            },
            "size": [
              310,
              80
            ],
            "type": "ModelSamplingSD3",
            "widgets_values": [
              5
            ],
            "widgets_values_named": {
              "shift": 5
            }
          },
          {
            "flags": {},
            "id": 464,
            "inputs": [
              {
                "link": null,
                "localized_name": "sampler_name",
                "name": "sampler_name",
                "type": "COMBO",
                "widget": {
                  "name": "sampler_name"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  487
                ],
                "localized_name": "SAMPLER",
                "name": "SAMPLER",
                "type": "SAMPLER"
              }
            ],
            "pos": [
              2740,
              3050
            ],
            "properties": {
              "Node name for S&R": "KSamplerSelect"
            },
            "size": [
              310,
              90
            ],
            "type": "KSamplerSelect",
            "widgets_values": [
              "lcm"
            ],
            "widgets_values_named": {
              "sampler_name": "lcm"
            }
          },
          {
            "flags": {},
            "id": 465,
            "inputs": [
              {
                "link": 700,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": 817,
                "localized_name": "device",
                "name": "device",
                "type": "COMBO",
                "widget": {
                  "name": "device"
                }
              },
              {
                "link": 818,
                "localized_name": "dtype",
                "name": "dtype",
                "type": "COMBO",
                "widget": {
                  "name": "dtype"
                }
              }
            ],
            "mode": 0,
            "order": 16,
            "outputs": [
              {
                "links": [
                  596,
                  597
                ],
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL"
              }
            ],
            "pos": [
              2120,
              2920
            ],
            "properties": {
              "Node name for S&R": "WanAnimate2Cache"
            },
            "size": [
              310,
              120
            ],
            "type": "WanAnimate2Cache",
            "widgets_values": [
              "gpu",
              "int8"
            ],
            "widgets_values_named": {
              "device": "gpu",
              "dtype": "int8"
            }
          },
          {
            "flags": {},
            "id": 466,
            "inputs": [
              {
                "link": 648,
                "localized_name": "video",
                "name": "video",
                "type": "VIDEO"
              }
            ],
            "mode": 0,
            "order": 17,
            "outputs": [
              {
                "links": [
                  655
                ],
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              },
              {
                "links": [],
                "localized_name": "audio",
                "name": "audio",
                "type": "AUDIO"
              },
              {
                "links": [],
                "localized_name": "fps",
                "name": "fps",
                "type": "FLOAT"
              },
              {
                "links": null,
                "localized_name": "bit_depth",
                "name": "bit_depth",
                "type": "INT"
              }
            ],
            "pos": [
              420,
              4430
            ],
            "properties": {
              "Node name for S&R": "GetVideoComponents"
            },
            "size": [
              270,
              100
            ],
            "type": "GetVideoComponents"
          },
          {
            "flags": {},
            "id": 467,
            "inputs": [
              {
                "link": 693,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 18,
            "outputs": [
              {
                "links": [
                  691,
                  694
                ],
                "localized_name": "width",
                "name": "width",
                "type": "INT"
              },
              {
                "links": [
                  692,
                  695
                ],
                "localized_name": "height",
                "name": "height",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "batch_size",
                "name": "batch_size",
                "type": "INT"
              }
            ],
            "pos": [
              790,
              4430
            ],
            "properties": {
              "Node name for S&R": "GetImageSize"
            },
            "size": [
              260,
              140
            ],
            "type": "GetImageSize"
          },
          {
            "flags": {},
            "id": 468,
            "inputs": [
              {
                "link": 564,
                "localized_name": "model",
                "name": "model",
                "type": "MODEL"
              },
              {
                "link": 679,
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING"
              },
              {
                "link": 680,
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING"
              },
              {
                "link": 487,
                "localized_name": "sampler",
                "name": "sampler",
                "type": "SAMPLER"
              },
              {
                "link": 486,
                "localized_name": "sigmas",
                "name": "sigmas",
                "type": "SIGMAS"
              },
              {
                "link": 681,
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT"
              },
              {
                "link": null,
                "localized_name": "add_noise",
                "name": "add_noise",
                "type": "BOOLEAN",
                "widget": {
                  "name": "add_noise"
                }
              },
              {
                "link": 824,
                "localized_name": "noise_seed",
                "name": "noise_seed",
                "type": "INT",
                "widget": {
                  "name": "noise_seed"
                }
              },
              {
                "link": null,
                "localized_name": "cfg",
                "name": "cfg",
                "type": "FLOAT",
                "widget": {
                  "name": "cfg"
                }
              }
            ],
            "mode": 0,
            "order": 19,
            "outputs": [
              {
                "links": [
                  593
                ],
                "localized_name": "output",
                "name": "output",
                "type": "LATENT"
              },
              {
                "links": [],
                "localized_name": "denoised_output",
                "name": "denoised_output",
                "type": "LATENT"
              }
            ],
            "pos": [
              3250,
              2900
            ],
            "properties": {
              "Node name for S&R": "SamplerCustom"
            },
            "showAdvanced": true,
            "size": [
              310,
              670
            ],
            "type": "SamplerCustom",
            "widgets_values": [
              true,
              2,
              "fixed",
              1
            ],
            "widgets_values_named": {
              "add_noise": true,
              "cfg": 1,
              "control_after_generate": "fixed",
              "noise_seed": 2
            }
          },
          {
            "bgcolor": "#355",
            "color": "#233",
            "flags": {},
            "id": 469,
            "inputs": [
              {
                "link": 584,
                "localized_name": "clip_vision",
                "name": "clip_vision",
                "type": "CLIP_VISION"
              },
              {
                "link": 641,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "crop",
                "name": "crop",
                "type": "COMBO",
                "widget": {
                  "name": "crop"
                }
              }
            ],
            "mode": 0,
            "order": 20,
            "outputs": [
              {
                "links": [
                  675
                ],
                "localized_name": "CLIP_VISION_OUTPUT",
                "name": "CLIP_VISION_OUTPUT",
                "type": "CLIP_VISION_OUTPUT"
              }
            ],
            "pos": [
              1150,
              4680
            ],
            "properties": {
              "Node name for S&R": "CLIPVisionEncode"
            },
            "size": [
              290,
              110
            ],
            "type": "CLIPVisionEncode",
            "widgets_values": [
              "none"
            ],
            "widgets_values_named": {
              "crop": "none"
            }
          },
          {
            "flags": {},
            "id": 470,
            "inputs": [
              {
                "link": 661,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "batch_index",
                "name": "batch_index",
                "type": "INT",
                "widget": {
                  "name": "batch_index"
                }
              },
              {
                "link": null,
                "localized_name": "length",
                "name": "length",
                "type": "INT",
                "widget": {
                  "name": "length"
                }
              }
            ],
            "mode": 0,
            "order": 21,
            "outputs": [
              {
                "links": [
                  641
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              780,
              4680
            ],
            "properties": {
              "Node name for S&R": "ImageFromBatch"
            },
            "size": [
              270,
              90
            ],
            "type": "ImageFromBatch",
            "widgets_values": [
              0,
              1
            ],
            "widgets_values_named": {
              "batch_index": 0,
              "length": 1
            }
          },
          {
            "flags": {},
            "id": 471,
            "inputs": [
              {
                "link": 655,
                "localized_name": "input",
                "name": "input",
                "type": "IMAGE,MASK"
              },
              {
                "link": null,
                "localized_name": "resize_type",
                "name": "resize_type",
                "type": "COMFY_DYNAMICCOMBO_V3",
                "widget": {
                  "name": "resize_type"
                }
              },
              {
                "link": 820,
                "localized_name": "width",
                "name": "resize_type.width",
                "type": "INT",
                "widget": {
                  "name": "resize_type.width"
                }
              },
              {
                "link": 821,
                "localized_name": "height",
                "name": "resize_type.height",
                "type": "INT",
                "widget": {
                  "name": "resize_type.height"
                }
              },
              {
                "link": null,
                "localized_name": "crop",
                "name": "resize_type.crop",
                "type": "COMBO",
                "widget": {
                  "name": "resize_type.crop"
                }
              },
              {
                "link": null,
                "localized_name": "scale_method",
                "name": "scale_method",
                "type": "COMBO",
                "widget": {
                  "name": "scale_method"
                }
              }
            ],
            "mode": 0,
            "order": 22,
            "outputs": [
              {
                "links": [
                  661,
                  688,
                  693
                ],
                "localized_name": "resized",
                "name": "resized",
                "type": "IMAGE"
              }
            ],
            "pos": [
              420,
              4680
            ],
            "properties": {
              "Node name for S&R": "ResizeImageMaskNode"
            },
            "size": [
              270,
              154
            ],
            "type": "ResizeImageMaskNode",
            "widgets_values": [
              "scale dimensions",
              482,
              854,
              "center",
              "area"
            ],
            "widgets_values_named": {
              "resize_type": "scale dimensions",
              "resize_type.crop": "center",
              "resize_type.height": 854,
              "resize_type.width": 482,
              "scale_method": "area"
            }
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 472,
            "inputs": [
              {
                "link": 594,
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT"
              },
              {
                "link": 664,
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE"
              }
            ],
            "mode": 0,
            "order": 23,
            "outputs": [
              {
                "links": [
                  666,
                  751,
                  754
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              3890,
              3080
            ],
            "properties": {
              "Node name for S&R": "VAEDecode"
            },
            "size": [
              270,
              60
            ],
            "type": "VAEDecode"
          },
          {
            "flags": {
              "collapsed": false
            },
            "id": 473,
            "inputs": [
              {
                "link": 593,
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT"
              },
              {
                "link": 682,
                "localized_name": "trim_amount",
                "name": "trim_amount",
                "type": "INT",
                "widget": {
                  "name": "trim_amount"
                }
              }
            ],
            "mode": 0,
            "order": 24,
            "outputs": [
              {
                "links": [
                  594
                ],
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT"
              }
            ],
            "pos": [
              3890,
              2960
            ],
            "properties": {
              "Node name for S&R": "TrimVideoLatent"
            },
            "size": [
              270,
              70
            ],
            "type": "TrimVideoLatent",
            "widgets_values": [
              0
            ],
            "widgets_values_named": {
              "trim_amount": 0
            }
          },
          {
            "flags": {},
            "id": 474,
            "inputs": [
              {
                "link": 819,
                "localized_name": "value",
                "name": "value",
                "type": "BOOLEAN",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 25,
            "outputs": [
              {
                "links": [
                  749
                ],
                "localized_name": "BOOLEAN",
                "name": "BOOLEAN",
                "type": "BOOLEAN"
              }
            ],
            "pos": [
              3880,
              3800
            ],
            "properties": {
              "Node name for S&R": "PrimitiveBoolean"
            },
            "size": [
              270,
              70
            ],
            "type": "PrimitiveBoolean",
            "widgets_values": [
              false
            ],
            "widgets_values_named": {
              "value": false
            }
          },
          {
            "flags": {},
            "id": 475,
            "inputs": [
              {
                "link": 751,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "batch_index",
                "name": "batch_index",
                "type": "INT",
                "widget": {
                  "name": "batch_index"
                }
              },
              {
                "link": null,
                "localized_name": "length",
                "name": "length",
                "type": "INT",
                "widget": {
                  "name": "length"
                }
              }
            ],
            "mode": 0,
            "order": 26,
            "outputs": [
              {
                "links": [
                  753
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              3890,
              3480
            ],
            "properties": {
              "Node name for S&R": "ImageFromBatch"
            },
            "size": [
              270,
              90
            ],
            "type": "ImageFromBatch",
            "widgets_values": [
              1,
              4096
            ],
            "widgets_values_named": {
              "batch_index": 1,
              "length": 4096
            }
          },
          {
            "flags": {},
            "id": 476,
            "inputs": [
              {
                "link": 754,
                "localized_name": "on_false",
                "name": "on_false",
                "type": "IMAGE"
              },
              {
                "link": 753,
                "localized_name": "on_true",
                "name": "on_true",
                "type": "IMAGE"
              },
              {
                "link": 749,
                "localized_name": "switch",
                "name": "switch",
                "type": "BOOLEAN",
                "widget": {
                  "name": "switch"
                }
              }
            ],
            "mode": 0,
            "order": 27,
            "outputs": [
              {
                "links": [
                  755
                ],
                "localized_name": "output",
                "name": "output",
                "type": "IMAGE"
              }
            ],
            "pos": [
              3890,
              3630
            ],
            "properties": {
              "Node name for S&R": "ComfySwitchNode"
            },
            "size": [
              270,
              110
            ],
            "type": "ComfySwitchNode",
            "widgets_values": [
              false
            ],
            "widgets_values_named": {
              "switch": false
            }
          }
        ],
        "outputNode": {
          "bounding": [
            4390,
            3310,
            155.935546875,
            108
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "1fef655d-ce8e-4789-a018-da1a2b97ac75",
            "label": "continue_motion",
            "linkIds": [
              666
            ],
            "localized_name": "IMAGE",
            "name": "IMAGE",
            "pos": [
              4414,
              3334
            ],
            "type": "IMAGE"
          },
          {
            "id": "f0f1eeeb-1773-4eaf-ab45-791f6c2324ba",
            "linkIds": [
              721
            ],
            "name": "video_frame_offset",
            "pos": [
              4414,
              3354
            ],
            "type": "INT"
          },
          {
            "id": "60baa156-368c-4cab-92fd-3f9880894072",
            "label": "image",
            "linkIds": [
              755
            ],
            "name": "output",
            "pos": [
              4414,
              3374
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 12,
          "lastLinkId": 863,
          "lastNodeId": 575,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      }
    ]
  },
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        3798.333333333334,
        -923.9621913580245
      ],
      "scale": 0.14320441988950275
    },
    "frontendVersion": "1.48.6"
  },
  "groups": [],
  "id": "d65b83fa-9f1b-438f-837d-e0f75faa3161",
  "last_link_id": 863,
  "last_node_id": 575,
  "links": [
    [
      667,
      245,
      0,
      246,
      0,
      "VIDEO"
    ],
    [
      703,
      189,
      0,
      261,
      0,
      "IMAGE"
    ],
    [
      704,
      240,
      0,
      261,
      1,
      "VIDEO"
    ],
    [
      728,
      240,
      0,
      288,
      0,
      "VIDEO"
    ],
    [
      729,
      288,
      1,
      245,
      1,
      "AUDIO"
    ],
    [
      730,
      288,
      2,
      245,
      2,
      "FLOAT"
    ],
    [
      733,
      289,
      0,
      245,
      0,
      "IMAGE"
    ],
    [
      738,
      291,
      0,
      292,
      0,
      "VIDEO"
    ],
    [
      831,
      189,
      0,
      477,
      0,
      "IMAGE"
    ],
    [
      832,
      240,
      0,
      477,
      1,
      "VIDEO"
    ],
    [
      833,
      261,
      0,
      477,
      2,
      "IMAGE"
    ],
    [
      834,
      261,
      1,
      477,
      3,
      "INT"
    ],
    [
      841,
      261,
      2,
      289,
      0,
      "IMAGE"
    ],
    [
      845,
      240,
      0,
      291,
      1,
      "VIDEO"
    ],
    [
      846,
      246,
      0,
      291,
      0,
      "VIDEO"
    ],
    [
      847,
      288,
      0,
      537,
      0,
      "IMAGE"
    ],
    [
      848,
      537,
      2,
      536,
      0,
      "INT"
    ],
    [
      852,
      536,
      0,
      538,
      0,
      "FLOAT"
    ]
  ],
  "nodes": [
    {
      "flags": {},
      "id": 261,
      "inputs": [
        {
          "label": "reference Image",
          "link": 703,
          "localized_name": "input",
          "name": "input",
          "type": "IMAGE,MASK"
        },
        {
          "label": "pose_video",
          "link": 704,
          "localized_name": "video",
          "name": "video",
          "type": "VIDEO"
        },
        {
          "link": null,
          "name": "continue_motion",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "label": "video_frame_offset",
          "link": null,
          "name": "video_frame_offset_1",
          "type": "INT",
          "widget": {
            "name": "video_frame_offset_1"
          }
        },
        {
          "label": "prompt",
          "link": null,
          "name": "text",
          "type": "STRING",
          "widget": {
            "name": "text"
          }
        },
        {
          "label": "reference_image_strength",
          "link": null,
          "name": "reference_image_strength_1",
          "type": "FLOAT",
          "widget": {
            "name": "reference_image_strength_1"
          }
        },
        {
          "label": "pose_prompt",
          "link": null,
          "name": "text_4",
          "type": "STRING",
          "widget": {
            "name": "text_4"
          }
        },
        {
          "label": "pose_strength",
          "link": null,
          "name": "pose_strength_1",
          "type": "FLOAT",
          "widget": {
            "name": "pose_strength_1"
          }
        },
        {
          "label": "pose_start_percent",
          "link": null,
          "name": "pose_start_percent_1",
          "type": "FLOAT",
          "widget": {
            "name": "pose_start_percent_1"
          }
        },
        {
          "label": "pose_end_percent",
          "link": null,
          "name": "pose_end_percent_1",
          "type": "FLOAT",
          "widget": {
            "name": "pose_end_percent_1"
          }
        },
        {
          "label": "enable_context_window",
          "link": null,
          "name": "switch_1",
          "type": "BOOLEAN",
          "widget": {
            "name": "switch_1"
          }
        },
        {
          "label": "cache_device",
          "link": null,
          "name": "device_1",
          "type": "COMBO",
          "widget": {
            "name": "device_1"
          }
        },
        {
          "label": "cache_dtype",
          "link": null,
          "name": "dtype_1",
          "type": "COMBO",
          "widget": {
            "name": "dtype_1"
          }
        },
        {
          "label": "trim_duplicated_frame",
          "link": null,
          "name": "value_1",
          "type": "BOOLEAN",
          "widget": {
            "name": "value_1"
          }
        },
        {
          "label": "width",
          "link": null,
          "name": "resize_type.width",
          "type": "INT",
          "widget": {
            "name": "resize_type.width"
          }
        },
        {
          "label": "height",
          "link": null,
          "name": "resize_type.height_1",
          "type": "INT",
          "widget": {
            "name": "resize_type.height_1"
          }
        },
        {
          "link": null,
          "name": "noise_seed",
          "type": "INT",
          "widget": {
            "name": "noise_seed"
          }
        },
        {
          "link": null,
          "name": "length",
          "type": "INT",
          "widget": {
            "name": "length"
          }
        },
        {
          "label": "unet",
          "link": null,
          "name": "unet_name_1",
          "type": "COMBO",
          "widget": {
            "name": "unet_name_1"
          }
        },
        {
          "label": "lora",
          "link": null,
          "name": "lora_name_1",
          "type": "COMBO",
          "widget": {
            "name": "lora_name_1"
          }
        },
        {
          "label": "clip",
          "link": null,
          "name": "clip_name_2",
          "type": "COMBO",
          "widget": {
            "name": "clip_name_2"
          }
        },
        {
          "label": "clip_vision",
          "link": null,
          "name": "clip_name_3",
          "type": "COMBO",
          "widget": {
            "name": "clip_name_3"
          }
        },
        {
          "label": "vae",
          "link": null,
          "name": "vae_name_1",
          "type": "COMBO",
          "widget": {
            "name": "vae_name_1"
          }
        }
      ],
      "mode": 0,
      "order": 6,
      "outputs": [
        {
          "label": "continue_motion",
          "links": [
            833
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [
            834
          ],
          "name": "video_frame_offset",
          "type": "INT"
        },
        {
          "label": "image",
          "links": [
            841
          ],
          "name": "output",
          "type": "IMAGE"
        }
      ],
      "pos": [
        1350,
        3660
      ],
      "properties": {
        "previewExposures": []
      },
      "size": [
        500,
        860
      ],
      "type": "11706f8a-428d-4ef9-b24f-863f651c1b0b",
      "widgets_values": [
        0,
        "Character appearance description: A young woman with fair skin, slender build, and messy shoulder-length bubblegum-pink hair. She wears a black cropped distressed leather jacket with gold buttons and buckles over a dark bandeau top. Both arms are gold and black mechanical prosthetics with visible gears and joints. She wears black leather shorts, a wide black belt with a large gold buckle, and black straps on her right thigh.\nBackground description: Plain light gray studio background, soft even lighting, no decorations.\n",
        1,
        "A girl doing energetic street dance with rhythmic steps and dynamic arm gestures, background stationary",
        1,
        0,
        1,
        false,
        "gpu",
        "int8",
        false,
        482,
        854,
        951677846216619,
        81,
        "wan_animate_2_int8_convrot.safetensors",
        "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
        "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
        "clip_vision_h.safetensors",
        "Wan2_1_VAE_bf16.safetensors"
      ],
      "widgets_values_named": {
        "clip_name_2": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
        "clip_name_3": "clip_vision_h.safetensors",
        "device_1": "gpu",
        "dtype_1": "int8",
        "length": 81,
        "lora_name_1": "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
        "noise_seed": 951677846216619,
        "pose_end_percent_1": 1,
        "pose_start_percent_1": 0,
        "pose_strength_1": 1,
        "reference_image_strength_1": 1,
        "resize_type.height_1": 854,
        "resize_type.width": 482,
        "switch_1": false,
        "text": "Character appearance description: A young woman with fair skin, slender build, and messy shoulder-length bubblegum-pink hair. She wears a black cropped distressed leather jacket with gold buttons and buckles over a dark bandeau top. Both arms are gold and black mechanical prosthetics with visible gears and joints. She wears black leather shorts, a wide black belt with a large gold buckle, and black straps on her right thigh.\nBackground description: Plain light gray studio background, soft even lighting, no decorations.\n",
        "text_4": "A girl doing energetic street dance with rhythmic steps and dynamic arm gestures, background stationary",
        "unet_name_1": "wan_animate_2_int8_convrot.safetensors",
        "vae_name_1": "Wan2_1_VAE_bf16.safetensors",
        "value_1": false,
        "video_frame_offset_1": 0
      }
    },
    {
      "flags": {},
      "id": 477,
      "inputs": [
        {
          "label": "reference Image",
          "link": 831,
          "localized_name": "input",
          "name": "input",
          "type": "IMAGE,MASK"
        },
        {
          "label": "pose_video",
          "link": 832,
          "localized_name": "video",
          "name": "video",
          "type": "VIDEO"
        },
        {
          "link": 833,
          "name": "continue_motion",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "label": "video_frame_offset",
          "link": 834,
          "name": "video_frame_offset_1",
          "type": "INT",
          "widget": {
            "name": "video_frame_offset_1"
          }
        },
        {
          "label": "prompt",
          "link": null,
          "name": "text",
          "type": "STRING",
          "widget": {
            "name": "text"
          }
        },
        {
          "label": "reference_image_strength",
          "link": null,
          "name": "reference_image_strength_1",
          "type": "FLOAT",
          "widget": {
            "name": "reference_image_strength_1"
          }
        },
        {
          "label": "pose_prompt",
          "link": null,
          "name": "text_4",
          "type": "STRING",
          "widget": {
            "name": "text_4"
          }
        },
        {
          "label": "pose_strength",
          "link": null,
          "name": "pose_strength_1",
          "type": "FLOAT",
          "widget": {
            "name": "pose_strength_1"
          }
        },
        {
          "label": "pose_start_percent",
          "link": null,
          "name": "pose_start_percent_1",
          "type": "FLOAT",
          "widget": {
            "name": "pose_start_percent_1"
          }
        },
        {
          "label": "pose_end_percent",
          "link": null,
          "name": "pose_end_percent_1",
          "type": "FLOAT",
          "widget": {
            "name": "pose_end_percent_1"
          }
        },
        {
          "label": "enable_context_window",
          "link": null,
          "name": "switch_1",
          "type": "BOOLEAN",
          "widget": {
            "name": "switch_1"
          }
        },
        {
          "label": "cache_device",
          "link": null,
          "name": "device_1",
          "type": "COMBO",
          "widget": {
            "name": "device_1"
          }
        },
        {
          "label": "cache_dtype",
          "link": null,
          "name": "dtype_1",
          "type": "COMBO",
          "widget": {
            "name": "dtype_1"
          }
        },
        {
          "label": "trim_duplicated_frame",
          "link": null,
          "name": "value_1",
          "type": "BOOLEAN",
          "widget": {
            "name": "value_1"
          }
        },
        {
          "label": "width",
          "link": null,
          "name": "resize_type.width",
          "type": "INT",
          "widget": {
            "name": "resize_type.width"
          }
        },
        {
          "label": "height",
          "link": null,
          "name": "resize_type.height_1",
          "type": "INT",
          "widget": {
            "name": "resize_type.height_1"
          }
        },
        {
          "link": null,
          "name": "noise_seed",
          "type": "INT",
          "widget": {
            "name": "noise_seed"
          }
        },
        {
          "link": null,
          "name": "length",
          "type": "INT",
          "widget": {
            "name": "length"
          }
        },
        {
          "label": "unet",
          "link": null,
          "name": "unet_name_1",
          "type": "COMBO",
          "widget": {
            "name": "unet_name_1"
          }
        },
        {
          "label": "lora",
          "link": null,
          "name": "lora_name_1",
          "type": "COMBO",
          "widget": {
            "name": "lora_name_1"
          }
        },
        {
          "label": "clip",
          "link": null,
          "name": "clip_name_2",
          "type": "COMBO",
          "widget": {
            "name": "clip_name_2"
          }
        },
        {
          "label": "clip_vision",
          "link": null,
          "name": "clip_name_3",
          "type": "COMBO",
          "widget": {
            "name": "clip_name_3"
          }
        },
        {
          "label": "vae",
          "link": null,
          "name": "vae_name_1",
          "type": "COMBO",
          "widget": {
            "name": "vae_name_1"
          }
        }
      ],
      "mode": 4,
      "order": 8,
      "outputs": [
        {
          "label": "continue_motion",
          "links": [],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [],
          "name": "video_frame_offset",
          "type": "INT"
        },
        {
          "label": "image",
          "links": [],
          "name": "output",
          "type": "IMAGE"
        }
      ],
      "pos": [
        1920,
        3660
      ],
      "properties": {
        "previewExposures": []
      },
      "size": [
        500,
        860
      ],
      "type": "b798a87e-23ec-483d-ab9b-6af5b298d0ad",
      "widgets_values": [
        0,
        "Character appearance description: A young woman with fair skin, slender build, and messy shoulder-length bubblegum-pink hair. She wears a black cropped distressed leather jacket with gold buttons and buckles over a dark bandeau top. Both arms are gold and black mechanical prosthetics with visible gears and joints. She wears black leather shorts, a wide black belt with a large gold buckle, and black straps on her right thigh.\nBackground description: Plain light gray studio background, soft even lighting, no decorations.",
        1,
        "A girl doing energetic street dance with rhythmic steps and dynamic arm gestures, background stationary\n",
        1,
        0,
        1,
        false,
        "gpu",
        "int8",
        true,
        482,
        854,
        2,
        81,
        "wan_animate_2_int8_convrot.safetensors",
        "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
        "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
        "clip_vision_h.safetensors",
        "Wan2_1_VAE_bf16.safetensors"
      ],
      "widgets_values_named": {
        "clip_name_2": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
        "clip_name_3": "clip_vision_h.safetensors",
        "device_1": "gpu",
        "dtype_1": "int8",
        "length": 81,
        "lora_name_1": "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
        "noise_seed": 2,
        "pose_end_percent_1": 1,
        "pose_start_percent_1": 0,
        "pose_strength_1": 1,
        "reference_image_strength_1": 1,
        "resize_type.height_1": 854,
        "resize_type.width": 482,
        "switch_1": false,
        "text": "Character appearance description: A young woman with fair skin, slender build, and messy shoulder-length bubblegum-pink hair. She wears a black cropped distressed leather jacket with gold buttons and buckles over a dark bandeau top. Both arms are gold and black mechanical prosthetics with visible gears and joints. She wears black leather shorts, a wide black belt with a large gold buckle, and black straps on her right thigh.\nBackground description: Plain light gray studio background, soft even lighting, no decorations.",
        "text_4": "A girl doing energetic street dance with rhythmic steps and dynamic arm gestures, background stationary\n",
        "unet_name_1": "wan_animate_2_int8_convrot.safetensors",
        "vae_name_1": "Wan2_1_VAE_bf16.safetensors",
        "value_1": true,
        "video_frame_offset_1": 0
      }
    },
    {
      "flags": {},
      "id": 289,
      "inputs": [
        {
          "label": "image0",
          "link": 841,
          "localized_name": "images.image0",
          "name": "images.image0",
          "type": "IMAGE"
        },
        {
          "label": "image1",
          "link": null,
          "localized_name": "images.image1",
          "name": "images.image1",
          "shape": 7,
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 9,
      "outputs": [
        {
          "links": [
            733
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        4150,
        3660
      ],
      "properties": {
        "Node name for S&R": "BatchImagesNode"
      },
      "size": [
        230,
        70
      ],
      "type": "BatchImagesNode"
    },
    {
      "flags": {},
      "id": 245,
      "inputs": [
        {
          "link": 733,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": 729,
          "localized_name": "audio",
          "name": "audio",
          "shape": 7,
          "type": "AUDIO"
        },
        {
          "link": 730,
          "localized_name": "fps",
          "name": "fps",
          "type": "FLOAT",
          "widget": {
            "name": "fps"
          }
        },
        {
          "link": null,
          "localized_name": "bit_depth",
          "name": "bit_depth",
          "shape": 7,
          "type": "INT",
          "widget": {
            "name": "bit_depth"
          }
        }
      ],
      "mode": 0,
      "order": 11,
      "outputs": [
        {
          "links": [
            667
          ],
          "localized_name": "VIDEO",
          "name": "VIDEO",
          "type": "VIDEO"
        }
      ],
      "pos": [
        4150,
        3840
      ],
      "properties": {
        "Node name for S&R": "CreateVideo"
      },
      "size": [
        270,
        110
      ],
      "type": "CreateVideo",
      "widgets_values": [
        30,
        8
      ],
      "widgets_values_named": {
        "bit_depth": 8,
        "fps": 30
      }
    },
    {
      "flags": {},
      "id": 189,
      "inputs": [
        {
          "link": null,
          "localized_name": "image",
          "name": "image",
          "type": "COMBO",
          "widget": {
            "name": "image"
          }
        },
        {
          "link": null,
          "localized_name": "choose file to upload",
          "name": "upload",
          "type": "IMAGEUPLOAD",
          "widget": {
            "name": "upload"
          }
        }
      ],
      "mode": 0,
      "order": 0,
      "outputs": [
        {
          "links": [
            703,
            831
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "localized_name": "MASK",
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        -680,
        3660
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "size": [
        500,
        860
      ],
      "title": "Load Image (Reference Image)",
      "type": "LoadImage",
      "widgets_values": [
        "pink_hair_mech_arms_ref.png",
        "image"
      ],
      "widgets_values_named": {
        "image": "pink_hair_mech_arms_ref.png",
        "upload": "image"
      }
    },
    {
      "flags": {},
      "id": 240,
      "inputs": [
        {
          "link": null,
          "localized_name": "file",
          "name": "file",
          "type": "COMBO",
          "widget": {
            "name": "file"
          }
        },
        {
          "link": null,
          "localized_name": "choose file to upload",
          "name": "upload",
          "type": "IMAGEUPLOAD",
          "widget": {
            "name": "upload"
          }
        }
      ],
      "mode": 0,
      "order": 1,
      "outputs": [
        {
          "links": [
            704,
            728,
            832,
            845
          ],
          "localized_name": "VIDEO",
          "name": "VIDEO",
          "type": "VIDEO"
        }
      ],
      "pos": [
        260,
        3660
      ],
      "properties": {
        "Node name for S&R": "LoadVideo"
      },
      "size": [
        500,
        860
      ],
      "title": "Load Video (Pose Video)",
      "type": "LoadVideo",
      "widgets_values": [
        "street_dance_drive.mp4",
        "image"
      ],
      "widgets_values_named": {
        "file": "street_dance_drive.mp4",
        "upload": "image"
      }
    },
    {
      "flags": {},
      "id": 288,
      "inputs": [
        {
          "link": 728,
          "localized_name": "video",
          "name": "video",
          "type": "VIDEO"
        }
      ],
      "mode": 0,
      "order": 7,
      "outputs": [
        {
          "links": [
            847
          ],
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        },
        {
          "links": [
            729
          ],
          "localized_name": "audio",
          "name": "audio",
          "type": "AUDIO"
        },
        {
          "links": [
            730
          ],
          "localized_name": "fps",
          "name": "fps",
          "type": "FLOAT"
        },
        {
          "links": null,
          "localized_name": "bit_depth",
          "name": "bit_depth",
          "type": "INT"
        }
      ],
      "pos": [
        260,
        4590
      ],
      "properties": {
        "Node name for S&R": "GetVideoComponents"
      },
      "size": [
        260,
        100
      ],
      "type": "GetVideoComponents"
    },
    {
      "flags": {},
      "id": 291,
      "inputs": [
        {
          "label": "Before Video",
          "link": 846,
          "localized_name": "video",
          "name": "video",
          "type": "VIDEO"
        },
        {
          "label": "After Video",
          "link": 845,
          "localized_name": "video_1",
          "name": "video_1",
          "type": "VIDEO"
        },
        {
          "link": null,
          "name": "direction",
          "type": "COMBO",
          "widget": {
            "name": "direction"
          }
        },
        {
          "link": null,
          "name": "match_image_size",
          "type": "BOOLEAN",
          "widget": {
            "name": "match_image_size"
          }
        },
        {
          "link": null,
          "name": "spacing_width",
          "type": "INT",
          "widget": {
            "name": "spacing_width"
          }
        },
        {
          "link": null,
          "name": "spacing_color",
          "type": "COMBO",
          "widget": {
            "name": "spacing_color"
          }
        }
      ],
      "mode": 0,
      "order": 15,
      "outputs": [
        {
          "links": [
            738
          ],
          "localized_name": "VIDEO",
          "name": "VIDEO",
          "type": "VIDEO"
        }
      ],
      "pos": [
        5360,
        3660
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "previewExposures": [],
        "ver": "0.13.0"
      },
      "size": [
        290,
        160
      ],
      "type": "79280513-53b2-4417-93f8-f3e116bb6736",
      "widgets_values": [
        "right",
        true,
        0,
        "white"
      ],
      "widgets_values_named": {
        "direction": "right",
        "match_image_size": true,
        "spacing_color": "white",
        "spacing_width": 0
      }
    },
    {
      "flags": {},
      "id": 292,
      "inputs": [
        {
          "link": 738,
          "localized_name": "video",
          "name": "video",
          "type": "VIDEO"
        },
        {
          "link": null,
          "localized_name": "filename_prefix",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          }
        },
        {
          "link": null,
          "localized_name": "format",
          "name": "format",
          "type": "COMBO",
          "widget": {
            "name": "format"
          }
        },
        {
          "link": null,
          "localized_name": "codec",
          "name": "codec",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "codec"
          }
        }
      ],
      "mode": 0,
      "order": 16,
      "outputs": [
        {
          "links": null,
          "localized_name": "video",
          "name": "video",
          "type": "VIDEO"
        }
      ],
      "pos": [
        5900,
        3660
      ],
      "properties": {},
      "size": [
        850,
        126
      ],
      "type": "SaveVideo",
      "widgets_values": [
        "video/ComfyUI",
        "auto",
        "auto"
      ],
      "widgets_values_named": {
        "codec": "auto",
        "filename_prefix": "video/ComfyUI",
        "format": "auto"
      }
    },
    {
      "flags": {},
      "id": 246,
      "inputs": [
        {
          "link": 667,
          "localized_name": "video",
          "name": "video",
          "type": "VIDEO"
        },
        {
          "link": null,
          "localized_name": "filename_prefix",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          }
        },
        {
          "link": null,
          "localized_name": "format",
          "name": "format",
          "type": "COMBO",
          "widget": {
            "name": "format"
          }
        },
        {
          "link": null,
          "localized_name": "codec",
          "name": "codec",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "codec"
          }
        }
      ],
      "mode": 0,
      "order": 13,
      "outputs": [
        {
          "links": [
            846
          ],
          "localized_name": "video",
          "name": "video",
          "type": "VIDEO"
        }
      ],
      "pos": [
        4500,
        3660
      ],
      "properties": {},
      "size": [
        650,
        126
      ],
      "type": "SaveVideo",
      "widgets_values": [
        "video/ComfyUI",
        "auto",
        "auto"
      ],
      "widgets_values_named": {
        "codec": "auto",
        "filename_prefix": "video/ComfyUI",
        "format": "auto"
      }
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 536,
      "inputs": [
        {
          "label": "a",
          "link": 848,
          "localized_name": "values.a",
          "name": "values.a",
          "type": "FLOAT,INT,BOOLEAN"
        },
        {
          "label": "b",
          "link": null,
          "localized_name": "values.b",
          "name": "values.b",
          "shape": 7,
          "type": "FLOAT,INT,BOOLEAN"
        },
        {
          "link": null,
          "localized_name": "expression",
          "name": "expression",
          "type": "STRING",
          "widget": {
            "name": "expression"
          }
        }
      ],
      "mode": 0,
      "order": 12,
      "outputs": [
        {
          "links": [
            852
          ],
          "localized_name": "FLOAT",
          "name": "FLOAT",
          "type": "FLOAT"
        },
        {
          "links": [],
          "localized_name": "INT",
          "name": "INT",
          "type": "INT"
        },
        {
          "links": null,
          "localized_name": "BOOL",
          "name": "BOOL",
          "type": "BOOLEAN"
        }
      ],
      "pos": [
        270,
        4810
      ],
      "properties": {
        "Node name for S&R": "ComfyMathExpression"
      },
      "size": [
        225,
        0
      ],
      "type": "ComfyMathExpression",
      "widgets_values": [
        "a / 81"
      ],
      "widgets_values_named": {
        "expression": "a / 81"
      }
    },
    {
      "flags": {
        "collapsed": true
      },
      "id": 537,
      "inputs": [
        {
          "link": 847,
          "localized_name": "image",
          "name": "image",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 10,
      "outputs": [
        {
          "links": null,
          "localized_name": "width",
          "name": "width",
          "type": "INT"
        },
        {
          "links": null,
          "localized_name": "height",
          "name": "height",
          "type": "INT"
        },
        {
          "links": [
            848
          ],
          "localized_name": "batch_size",
          "name": "batch_size",
          "type": "INT"
        }
      ],
      "pos": [
        270,
        4750
      ],
      "properties": {
        "Node name for S&R": "GetImageSize"
      },
      "size": [
        225,
        0
      ],
      "type": "GetImageSize"
    },
    {
      "flags": {},
      "id": 538,
      "inputs": [
        {
          "link": 852,
          "localized_name": "source",
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 14,
      "outputs": [
        {
          "links": null,
          "localized_name": "STRING",
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        270,
        4860
      ],
      "properties": {
        "Node name for S&R": "PreviewAny"
      },
      "size": [
        230,
        140
      ],
      "type": "PreviewAny",
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "bgcolor": "#000",
      "color": "#222",
      "flags": {},
      "id": 539,
      "inputs": [],
      "mode": 0,
      "order": 2,
      "outputs": [],
      "pos": [
        270,
        5050
      ],
      "properties": {},
      "size": [
        230,
        130
      ],
      "title": "Note",
      "type": "MarkdownNote",
      "widgets_values": [
        "[Native loop support PR](https://github.com/Comfy-Org/ComfyUI/pull/13180) is still under review, so you have to manually copy and paste the `Motion Transfer (Wan Animate 2)` subgraph in order to make a longer video, the number here indicates how many subgraphs you need to match the pose reference video length."
      ],
      "widgets_values_named": {
        "text": "[Native loop support PR](https://github.com/Comfy-Org/ComfyUI/pull/13180) is still under review, so you have to manually copy and paste the `Motion Transfer (Wan Animate 2)` subgraph in order to make a longer video, the number here indicates how many subgraphs you need to match the pose reference video length."
      }
    },
    {
      "bgcolor": "#000",
      "color": "#222",
      "flags": {},
      "id": 540,
      "inputs": [],
      "mode": 0,
      "order": 3,
      "outputs": [],
      "pos": [
        1920,
        4590
      ],
      "properties": {},
      "size": [
        480,
        260
      ],
      "title": "Note: How to duplicate the subgraph (manually)",
      "type": "MarkdownNote",
      "widgets_values": [
        "1. Select and press `Ctrl+B` to enable the bypassed subgraph above.\n2. Update it first, and make sure the prompt and size match the first one, linking the `image` output to the `Batch Images` node\n3. Select the `Motion Transfer (Wan Animate 2)` subgraph\n4. Use `Ctrl+C` and `Ctrl+Shift+V` to duplicate the subgraph\n5. Link `continue_motion` and `video_frame_offset` from the previous subgraph to the new subgraph.\n6. Link the `image` output to the `Batch Images` node to extend the total output images"
      ],
      "widgets_values_named": {
        "text": "1. Select and press `Ctrl+B` to enable the bypassed subgraph above.\n2. Update it first, and make sure the prompt and size match the first one, linking the `image` output to the `Batch Images` node\n3. Select the `Motion Transfer (Wan Animate 2)` subgraph\n4. Use `Ctrl+C` and `Ctrl+Shift+V` to duplicate the subgraph\n5. Link `continue_motion` and `video_frame_offset` from the previous subgraph to the new subgraph.\n6. Link the `image` output to the `Batch Images` node to extend the total output images"
      }
    },
    {
      "bgcolor": "#000",
      "color": "#222",
      "flags": {},
      "id": 574,
      "inputs": [],
      "mode": 0,
      "order": 4,
      "outputs": [],
      "pos": [
        -1380,
        3660
      ],
      "properties": {},
      "size": [
        610,
        1290
      ],
      "title": "Note: Wan Animate2",
      "type": "MarkdownNote",
      "widgets_values": [
        "# Wan Animate 2 — Character Animation\n\n## What is this model?\n**Wan-Animate-2** (by Wan-Video / Alibaba) is an **end-to-end character animation model**:\n\n> Reference image (who) + Driving video (what motion) → your character performing that motion\n\nKey properties:\n- **No pose/keypoint extraction** — unlike v1 (Wan 2.2 Animate), the raw driving video frames are used directly. No skeleton/pose preprocessing needed.\n- **Identity preservation** — the output character matches the reference image.\n- **Text-controlled background and camera** — the output background is generated from the prompt, fully decoupled from both the reference image and the driving video.\n\n## How it works (brief)\n\n    Reference image ──VAE──▶ ref latent ──┐\n                                          ├──▶ DiT (14B) ──▶ frames ──▶ video\n    Driving video  ──VAE──▶ pose latent ──┘   pose branch feeds K/V per frame\n           ▲\n    Text prompt ──▶ text conditioning (character + background)\n\nEach generated frame attends to the reference frame (identity) plus the pose video frame (motion).\n\n## How to use this workflow\n\n1. **LoadImage** — your character image (background doesn't matter; the output background follows the prompt).\n2. **LoadVideo** — the driving video (any resolution; keep the character framing similar to the reference image, e.g. full-body to full-body).\n3. **Set the prompts** on the `Motion Transfer` subgraph:\n   - `text_1` (main): `Character appearance description: ...` + `Background description: ...` — describe the LOOKS only, no motion words.\n   - `text_2` (pose): describe the motion in the video, e.g. `a person dancing`.\n4. **Queue it** — `SaveVideo` writes the result; the node on the right shows a side-by-side comparison with the driving video.\n\n## Making longer videos (extending)\n\nEach `Motion Transfer` subgraph generates **81 frames** (~3.4 s @ 24 fps). To extend beyond that, chain multiple subgraphs manually:\n\n1. **Duplicate** the `Motion Transfer (Wan Animate 2)` subgraph — select it, press `Ctrl-C` then `Ctrl-Shift-V`.\n2. **Wire the previous subgraph to the new one**:\n   - previous `IMAGE` → new `continue_motion` (uses the last frame as a temporal anchor)\n   - previous `video_frame_offset` → new `video_frame_offset` (continues reading the driving video where it left off)\n3. **Concatenate the outputs** — connect the new subgraph's `IMAGE` to the `Batch Images` node (its inputs auto-grow with the `+` button).\n4. Consecutive segments overlap by 1 frame by design (that frame keeps the motion continuous). If you see a 1-frame \"hiccup\" at the seam, drop the new segment's first frame (the `trim_image` output = how many frames to remove).\n\n> How many subgraphs do you need? Roughly `driving video frames / 81` — the math node in the bottom-left computes this for you.\n\n**Alternative (future):** the [Native loop support PR](https://github.com/Comfy-Org/ComfyUI/pull/13180) will allow looping/extension without manual duplication. It's still under review — until it lands, manual chaining above is the way. You can also try the community `ComfyUI-NativeLooping_testing` nodes for window-to-window seamless loops.\n\n## Tips\n- Framing mismatch (close-up vs full-body) is the #1 cause of bad results.\n- Frames are taken 1:1 from the video (no fps resampling) — resample to ~16-24 fps if the motion looks too slow.\n- Set `WanAnimate2Cache` device to **cpu** to avoid VRAM spikes."
      ],
      "widgets_values_named": {
        "text": "# Wan Animate 2 — Character Animation\n\n## What is this model?\n**Wan-Animate-2** (by Wan-Video / Alibaba) is an **end-to-end character animation model**:\n\n> Reference image (who) + Driving video (what motion) → your character performing that motion\n\nKey properties:\n- **No pose/keypoint extraction** — unlike v1 (Wan 2.2 Animate), the raw driving video frames are used directly. No skeleton/pose preprocessing needed.\n- **Identity preservation** — the output character matches the reference image.\n- **Text-controlled background and camera** — the output background is generated from the prompt, fully decoupled from both the reference image and the driving video.\n\n## How it works (brief)\n\n    Reference image ──VAE──▶ ref latent ──┐\n                                          ├──▶ DiT (14B) ──▶ frames ──▶ video\n    Driving video  ──VAE──▶ pose latent ──┘   pose branch feeds K/V per frame\n           ▲\n    Text prompt ──▶ text conditioning (character + background)\n\nEach generated frame attends to the reference frame (identity) plus the pose video frame (motion).\n\n## How to use this workflow\n\n1. **LoadImage** — your character image (background doesn't matter; the output background follows the prompt).\n2. **LoadVideo** — the driving video (any resolution; keep the character framing similar to the reference image, e.g. full-body to full-body).\n3. **Set the prompts** on the `Motion Transfer` subgraph:\n   - `text_1` (main): `Character appearance description: ...` + `Background description: ...` — describe the LOOKS only, no motion words.\n   - `text_2` (pose): describe the motion in the video, e.g. `a person dancing`.\n4. **Queue it** — `SaveVideo` writes the result; the node on the right shows a side-by-side comparison with the driving video.\n\n## Making longer videos (extending)\n\nEach `Motion Transfer` subgraph generates **81 frames** (~3.4 s @ 24 fps). To extend beyond that, chain multiple subgraphs manually:\n\n1. **Duplicate** the `Motion Transfer (Wan Animate 2)` subgraph — select it, press `Ctrl-C` then `Ctrl-Shift-V`.\n2. **Wire the previous subgraph to the new one**:\n   - previous `IMAGE` → new `continue_motion` (uses the last frame as a temporal anchor)\n   - previous `video_frame_offset` → new `video_frame_offset` (continues reading the driving video where it left off)\n3. **Concatenate the outputs** — connect the new subgraph's `IMAGE` to the `Batch Images` node (its inputs auto-grow with the `+` button).\n4. Consecutive segments overlap by 1 frame by design (that frame keeps the motion continuous). If you see a 1-frame \"hiccup\" at the seam, drop the new segment's first frame (the `trim_image` output = how many frames to remove).\n\n> How many subgraphs do you need? Roughly `driving video frames / 81` — the math node in the bottom-left computes this for you.\n\n**Alternative (future):** the [Native loop support PR](https://github.com/Comfy-Org/ComfyUI/pull/13180) will allow looping/extension without manual duplication. It's still under review — until it lands, manual chaining above is the way. You can also try the community `ComfyUI-NativeLooping_testing` nodes for window-to-window seamless loops.\n\n## Tips\n- Framing mismatch (close-up vs full-body) is the #1 cause of bad results.\n- Frames are taken 1:1 from the video (no fps resampling) — resample to ~16-24 fps if the motion looks too slow.\n- Set `WanAnimate2Cache` device to **cpu** to avoid VRAM spikes."
      }
    },
    {
      "bgcolor": "#000",
      "color": "#222",
      "flags": {},
      "id": 575,
      "inputs": [],
      "mode": 0,
      "order": 5,
      "outputs": [],
      "pos": [
        -2280,
        3680
      ],
      "properties": {},
      "size": [
        840,
        1290
      ],
      "title": "Model Links",
      "type": "MarkdownNote",
      "widgets_values": [
        "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model Links\n\n- [ModelScope:Comfy-Org/Wan-Animate-2](https://www.modelscope.cn/models/Comfy-Org/Wan-Animate-2)\n- [Hugging Face:Comfy-Org/Wan-Animate-2](https://huggingface.co/Comfy-Org/Wan-Animate-2)\n\n**Input Assets** (download these files and load them to the `load image` and `load video` nodes\n\n- [pink_hair_mech_arms_ref.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/pink_hair_mech_arms_ref.png) — required workflow input (`input/pink_hair_mech_arms_ref.png`)\n- [street_dance_drive.mp4](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/street_dance_drive.mp4) — required workflow input (`input/street_dance_drive.mp4`)\n\n**diffusion_models**\n\n- [wan_animate_2_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/Wan-Animate-2/resolve/main/diffusion_models/wan_animate_2_int8_convrot.safetensors)\n\n**loras**\n\n- [lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors](https://huggingface.co/Comfy-Org/Wan-Animate-2/resolve/main/loras/lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors)\n\n**text_encoders**\n\n- [umt5_xxl_fp8_e4m3fn_scaled.safetensors](https://huggingface.co/Comfy-Org/Wan-Animate-2/resolve/main/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors)\n\n**clip_vision**\n\n- [clip_vision_h.safetensors](https://huggingface.co/Comfy-Org/Wan-Animate-2/resolve/main/clip_vision/clip_vision_h.safetensors)\n\n**vae**\n\n- [Wan2_1_VAE_bf16.safetensors](https://huggingface.co/Comfy-Org/Wan-Animate-2/resolve/main/vae/Wan2_1_VAE_bf16.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│   ├── 📂 diffusion_models/\n│   │   └── wan_animate_2_int8_convrot.safetensors\n│   ├── 📂 loras/\n│   │   └── lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors\n│   ├── 📂 text_encoders/\n│   │   └── umt5_xxl_fp8_e4m3fn_scaled.safetensors\n│   ├── 📂 clip_vision/\n│   │   └── clip_vision_h.safetensors\n│   └── 📂 vae/\n│       └── Wan2_1_VAE_bf16.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
      ],
      "widgets_values_named": {
        "text": "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model Links\n\n- [ModelScope:Comfy-Org/Wan-Animate-2](https://www.modelscope.cn/models/Comfy-Org/Wan-Animate-2)\n- [Hugging Face:Comfy-Org/Wan-Animate-2](https://huggingface.co/Comfy-Org/Wan-Animate-2)\n\n**Input Assets** (download these files and load them to the `load image` and `load video` nodes\n\n- [pink_hair_mech_arms_ref.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/pink_hair_mech_arms_ref.png) — required workflow input (`input/pink_hair_mech_arms_ref.png`)\n- [street_dance_drive.mp4](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/street_dance_drive.mp4) — required workflow input (`input/street_dance_drive.mp4`)\n\n**diffusion_models**\n\n- [wan_animate_2_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/Wan-Animate-2/resolve/main/diffusion_models/wan_animate_2_int8_convrot.safetensors)\n\n**loras**\n\n- [lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors](https://huggingface.co/Comfy-Org/Wan-Animate-2/resolve/main/loras/lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors)\n\n**text_encoders**\n\n- [umt5_xxl_fp8_e4m3fn_scaled.safetensors](https://huggingface.co/Comfy-Org/Wan-Animate-2/resolve/main/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors)\n\n**clip_vision**\n\n- [clip_vision_h.safetensors](https://huggingface.co/Comfy-Org/Wan-Animate-2/resolve/main/clip_vision/clip_vision_h.safetensors)\n\n**vae**\n\n- [Wan2_1_VAE_bf16.safetensors](https://huggingface.co/Comfy-Org/Wan-Animate-2/resolve/main/vae/Wan2_1_VAE_bf16.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│   ├── 📂 diffusion_models/\n│   │   └── wan_animate_2_int8_convrot.safetensors\n│   ├── 📂 loras/\n│   │   └── lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors\n│   ├── 📂 text_encoders/\n│   │   └── umt5_xxl_fp8_e4m3fn_scaled.safetensors\n│   ├── 📂 clip_vision/\n│   │   └── clip_vision_h.safetensors\n│   └── 📂 vae/\n│       └── Wan2_1_VAE_bf16.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
      }
    }
  ],
  "revision": 0,
  "version": 0.4
}