{
  "id": "5e3b2cd8-2119-4be4-87d6-b524515abe69",
  "revision": 0,
  "last_node_id": 258,
  "last_link_id": 609,
  "nodes": [
    {
      "id": 85,
      "type": "SAM3_VideoTrack",
      "pos": [
        590,
        5290
      ],
      "size": [
        280,
        220
      ],
      "flags": {},
      "order": 95,
      "mode": 0,
      "inputs": [
        {
          "label": "images",
          "name": "images",
          "type": "IMAGE",
          "link": 233
        },
        {
          "label": "model",
          "name": "model",
          "type": "MODEL",
          "link": 220
        },
        {
          "label": "initial_mask",
          "name": "initial_mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        },
        {
          "label": "conditioning",
          "name": "conditioning",
          "shape": 7,
          "type": "CONDITIONING",
          "link": 221
        }
      ],
      "outputs": [
        {
          "name": "track_data",
          "type": "SAM3_TRACK_DATA",
          "links": [
            273
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "SAM3_VideoTrack"
      },
      "widgets_values": [
        0.5,
        2,
        2
      ]
    },
    {
      "id": 74,
      "type": "DiffusionModelLoaderKJ",
      "pos": [
        -370,
        4010
      ],
      "size": [
        480,
        190
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [
        {
          "name": "extra_state_dict",
          "shape": 7,
          "type": "STRING",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            195
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "DiffusionModelLoaderKJ"
      },
      "widgets_values": [
        "Wan\\Wan21-14B-SCAIL-2_comfy_fp16_mxfp8.safetensors",
        "default",
        "default",
        false,
        "auto",
        true
      ],
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 91,
      "type": "SAM3_VideoTrack",
      "pos": [
        590,
        5580
      ],
      "size": [
        280,
        220
      ],
      "flags": {},
      "order": 104,
      "mode": 0,
      "inputs": [
        {
          "label": "images",
          "name": "images",
          "type": "IMAGE",
          "link": 382
        },
        {
          "label": "model",
          "name": "model",
          "type": "MODEL",
          "link": 236
        },
        {
          "label": "initial_mask",
          "name": "initial_mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        },
        {
          "label": "conditioning",
          "name": "conditioning",
          "shape": 7,
          "type": "CONDITIONING",
          "link": 235
        }
      ],
      "outputs": [
        {
          "name": "track_data",
          "type": "SAM3_TRACK_DATA",
          "links": [
            274,
            380
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "SAM3_VideoTrack"
      },
      "widgets_values": [
        0.5,
        2,
        2
      ]
    },
    {
      "id": 87,
      "type": "CLIPTextEncode",
      "pos": [
        310,
        5580
      ],
      "size": [
        240,
        120
      ],
      "flags": {},
      "order": 75,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 222
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            221,
            235
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "person"
      ]
    },
    {
      "id": 86,
      "type": "CheckpointLoaderSimple",
      "pos": [
        -60,
        5560
      ],
      "size": [
        330,
        120
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            220,
            236
          ]
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            222
          ]
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "CheckpointLoaderSimple"
      },
      "widgets_values": [
        "sam3.1_multiplex_fp16.safetensors"
      ]
    },
    {
      "id": 119,
      "type": "ImageStitch",
      "pos": [
        -760,
        5390
      ],
      "size": [
        270,
        150
      ],
      "flags": {},
      "order": 76,
      "mode": 0,
      "inputs": [
        {
          "name": "image1",
          "type": "IMAGE",
          "link": 347
        },
        {
          "name": "image2",
          "shape": 7,
          "type": "IMAGE",
          "link": 348
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            387
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ImageStitch"
      },
      "widgets_values": [
        "right",
        true,
        0,
        "white"
      ]
    },
    {
      "id": 132,
      "type": "ImageResizeKJv2",
      "pos": [
        -420,
        5250
      ],
      "size": [
        240,
        350
      ],
      "flags": {},
      "order": 91,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 387
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 391
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 392
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            382,
            551
          ]
        },
        {
          "name": "width",
          "type": "INT",
          "links": []
        },
        {
          "name": "height",
          "type": "INT",
          "links": []
        },
        {
          "name": "mask",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "ImageResizeKJv2"
      },
      "widgets_values": [
        960,
        544,
        "lanczos",
        "crop",
        "0, 0, 0",
        "center",
        16,
        "cpu"
      ]
    },
    {
      "id": 130,
      "type": "SAM3_TrackToMask",
      "pos": [
        920,
        5580
      ],
      "size": [
        270,
        60
      ],
      "flags": {},
      "order": 110,
      "mode": 0,
      "inputs": [
        {
          "label": "track_data",
          "name": "track_data",
          "type": "SAM3_TRACK_DATA",
          "link": 380
        }
      ],
      "outputs": [
        {
          "name": "masks",
          "type": "MASK",
          "links": [
            381
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "SAM3_TrackToMask"
      },
      "widgets_values": [
        ""
      ]
    },
    {
      "id": 113,
      "type": "GetNode",
      "pos": [
        4900,
        4590
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            320
          ]
        }
      ],
      "title": "Get_VAE",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "VAE"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 30,
      "type": "LoadImage",
      "pos": [
        -1160,
        5190
      ],
      "size": [
        300,
        380
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            347
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "example.png",
        "image"
      ]
    },
    {
      "id": 118,
      "type": "LoadImage",
      "pos": [
        -1150,
        5630
      ],
      "size": [
        300,
        380
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            348
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "aj_hearteyes_full.jpg",
        "image"
      ]
    },
    {
      "id": 65,
      "type": "GetNode",
      "pos": [
        2750,
        4700
      ],
      "size": [
        230,
        50
      ],
      "flags": {
        "collapsed": true
      },
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            319
          ]
        }
      ],
      "title": "Get_VAE",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "VAE"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 151,
      "type": "GetNode",
      "pos": [
        3710,
        4560
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            513
          ]
        }
      ],
      "title": "Get_CONDITIONING",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "CONDITIONING"
      ],
      "color": "#332922",
      "bgcolor": "#593930"
    },
    {
      "id": 153,
      "type": "GetNode",
      "pos": [
        3710,
        4600
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 7,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            514
          ]
        }
      ],
      "title": "Get_CONDITIONING_0",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "CONDITIONING_0"
      ],
      "color": "#332922",
      "bgcolor": "#593930"
    },
    {
      "id": 154,
      "type": "SetNode",
      "pos": [
        1560,
        5700
      ],
      "size": [
        210,
        60
      ],
      "flags": {},
      "order": 123,
      "mode": 0,
      "inputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "link": 557
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": null
        }
      ],
      "title": "Set_reference_image",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "reference_image"
      },
      "widgets_values": [
        "reference_image"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 75,
      "type": "CLIPVisionLoader",
      "pos": [
        -40,
        4950
      ],
      "size": [
        270,
        90
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP_VISION",
          "type": "CLIP_VISION",
          "links": [
            196
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPVisionLoader"
      },
      "widgets_values": [
        "clip_vision_h.safetensors"
      ]
    },
    {
      "id": 160,
      "type": "SetNode",
      "pos": [
        -160,
        4720
      ],
      "size": [
        210,
        60
      ],
      "flags": {},
      "order": 97,
      "mode": 0,
      "inputs": [
        {
          "name": "INT",
          "type": "INT",
          "link": 427
        }
      ],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": null
        }
      ],
      "title": "Set_width",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "width"
      },
      "widgets_values": [
        "width"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 163,
      "type": "GetNode",
      "pos": [
        3720,
        4930
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 9,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            521
          ]
        }
      ],
      "title": "Get_height",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "height"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 165,
      "type": "GetNode",
      "pos": [
        3720,
        4690
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 10,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            516
          ]
        }
      ],
      "title": "Get_pose_video",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "pose_video"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 169,
      "type": "GetNode",
      "pos": [
        4340,
        4760
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 11,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "SAMPLER",
          "type": "SAMPLER",
          "links": [
            437
          ]
        }
      ],
      "title": "Get_SAMPLER",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "SAMPLER"
      ],
      "color": "#614a4a",
      "bgcolor": "#3b2c2c"
    },
    {
      "id": 171,
      "type": "GetNode",
      "pos": [
        4340,
        4800
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 12,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "SIGMAS",
          "type": "SIGMAS",
          "links": [
            439
          ]
        }
      ],
      "title": "Get_SIGMAS",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "SIGMAS"
      ],
      "color": "#485248",
      "bgcolor": "#272e27"
    },
    {
      "id": 63,
      "type": "SamplerCustom",
      "pos": [
        4520,
        4540
      ],
      "size": [
        330,
        420
      ],
      "flags": {},
      "order": 124,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 435
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 524
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 525
        },
        {
          "name": "sampler",
          "type": "SAMPLER",
          "link": 437
        },
        {
          "name": "sigmas",
          "type": "SIGMAS",
          "link": 439
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 526
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "LATENT",
          "links": [
            212
          ]
        },
        {
          "name": "denoised_output",
          "type": "LATENT",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "SamplerCustom"
      },
      "widgets_values": [
        true,
        0,
        "fixed",
        1
      ]
    },
    {
      "id": 167,
      "type": "GetNode",
      "pos": [
        4340,
        4720
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 13,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            435
          ]
        }
      ],
      "title": "Get_MODEL",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "MODEL"
      ],
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 66,
      "type": "VAEDecode",
      "pos": [
        5080,
        4540
      ],
      "size": [
        230,
        80
      ],
      "flags": {},
      "order": 127,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 212
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 320
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            318
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      },
      "widgets_values": [],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 177,
      "type": "GetNode",
      "pos": [
        5090,
        4690
      ],
      "size": [
        220,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 14,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            449
          ]
        }
      ],
      "title": "Get_previous_frame_count",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "previous_frame_count"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 73,
      "type": "GetImageRangeFromBatch",
      "pos": [
        5360,
        4540
      ],
      "size": [
        330,
        110
      ],
      "flags": {},
      "order": 128,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "shape": 7,
          "type": "IMAGE",
          "link": 318
        },
        {
          "name": "masks",
          "shape": 7,
          "type": "MASK",
          "link": null
        },
        {
          "name": "start_index",
          "type": "INT",
          "widget": {
            "name": "start_index"
          },
          "link": 449
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            204
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "GetImageRangeFromBatch"
      },
      "widgets_values": [
        5,
        4096
      ]
    },
    {
      "id": 79,
      "type": "GetImageRangeFromBatch",
      "pos": [
        5360,
        4380
      ],
      "size": [
        330,
        110
      ],
      "flags": {},
      "order": 120,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "shape": 7,
          "type": "IMAGE",
          "link": 442
        },
        {
          "name": "masks",
          "shape": 7,
          "type": "MASK",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            202
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "GetImageRangeFromBatch"
      },
      "widgets_values": [
        -1,
        1
      ]
    },
    {
      "id": 78,
      "type": "ColorTransfer",
      "pos": [
        5740,
        4540
      ],
      "size": [
        270,
        150
      ],
      "flags": {},
      "order": 129,
      "mode": 0,
      "inputs": [
        {
          "name": "image_target",
          "type": "IMAGE",
          "link": 204
        },
        {
          "name": "image_ref",
          "type": "IMAGE",
          "link": 202
        }
      ],
      "outputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "links": [
            205
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ColorTransfer"
      },
      "widgets_values": [
        "reinhard_lab",
        "target_frame",
        0,
        1
      ]
    },
    {
      "id": 179,
      "type": "GetNode",
      "pos": [
        8090,
        4590
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 15,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            459
          ]
        }
      ],
      "title": "Get_VAE",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "VAE"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 180,
      "type": "GetNode",
      "pos": [
        6900,
        4560
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 16,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            527
          ]
        }
      ],
      "title": "Get_CONDITIONING",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "CONDITIONING"
      ],
      "color": "#332922",
      "bgcolor": "#593930"
    },
    {
      "id": 183,
      "type": "GetNode",
      "pos": [
        6900,
        4600
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 17,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            528
          ]
        }
      ],
      "title": "Get_CONDITIONING_0",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "CONDITIONING_0"
      ],
      "color": "#332922",
      "bgcolor": "#593930"
    },
    {
      "id": 186,
      "type": "GetNode",
      "pos": [
        6910,
        4930
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 18,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            535
          ]
        }
      ],
      "title": "Get_height",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "height"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 188,
      "type": "GetNode",
      "pos": [
        6910,
        4690
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 19,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            530
          ]
        }
      ],
      "title": "Get_pose_video",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "pose_video"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 189,
      "type": "GetNode",
      "pos": [
        6920,
        4650
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 20,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            529
          ]
        }
      ],
      "title": "Get_VAE",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "VAE"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 190,
      "type": "GetNode",
      "pos": [
        7530,
        4760
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 21,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "SAMPLER",
          "type": "SAMPLER",
          "links": [
            455
          ]
        }
      ],
      "title": "Get_SAMPLER",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "SAMPLER"
      ],
      "color": "#614a4a",
      "bgcolor": "#3b2c2c"
    },
    {
      "id": 191,
      "type": "GetNode",
      "pos": [
        7530,
        4800
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 22,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "SIGMAS",
          "type": "SIGMAS",
          "links": [
            456
          ]
        }
      ],
      "title": "Get_SIGMAS",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "SIGMAS"
      ],
      "color": "#485248",
      "bgcolor": "#272e27"
    },
    {
      "id": 193,
      "type": "GetNode",
      "pos": [
        7530,
        4720
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 23,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            452
          ]
        }
      ],
      "title": "Get_MODEL",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "MODEL"
      ],
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 194,
      "type": "VAEDecode",
      "pos": [
        8270,
        4540
      ],
      "size": [
        230,
        80
      ],
      "flags": {},
      "order": 138,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 458
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 459
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            472
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      },
      "widgets_values": [],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 197,
      "type": "GetNode",
      "pos": [
        8280,
        4690
      ],
      "size": [
        220,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 24,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            473
          ]
        }
      ],
      "title": "Get_previous_frame_count",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "previous_frame_count"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 198,
      "type": "GetImageRangeFromBatch",
      "pos": [
        8550,
        4540
      ],
      "size": [
        330,
        110
      ],
      "flags": {},
      "order": 139,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "shape": 7,
          "type": "IMAGE",
          "link": 472
        },
        {
          "name": "masks",
          "shape": 7,
          "type": "MASK",
          "link": null
        },
        {
          "name": "start_index",
          "type": "INT",
          "widget": {
            "name": "start_index"
          },
          "link": 473
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            475
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "GetImageRangeFromBatch"
      },
      "widgets_values": [
        5,
        4096
      ]
    },
    {
      "id": 200,
      "type": "GetImageRangeFromBatch",
      "pos": [
        8550,
        4380
      ],
      "size": [
        330,
        110
      ],
      "flags": {},
      "order": 135,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "shape": 7,
          "type": "IMAGE",
          "link": 474
        },
        {
          "name": "masks",
          "shape": 7,
          "type": "MASK",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            476
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "GetImageRangeFromBatch"
      },
      "widgets_values": [
        -1,
        1
      ]
    },
    {
      "id": 201,
      "type": "ColorTransfer",
      "pos": [
        8930,
        4540
      ],
      "size": [
        270,
        150
      ],
      "flags": {},
      "order": 140,
      "mode": 0,
      "inputs": [
        {
          "name": "image_target",
          "type": "IMAGE",
          "link": 475
        },
        {
          "name": "image_ref",
          "type": "IMAGE",
          "link": 476
        }
      ],
      "outputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "links": [
            451
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ColorTransfer"
      },
      "widgets_values": [
        "reinhard_lab",
        "target_frame",
        0,
        1
      ]
    },
    {
      "id": 199,
      "type": "Reroute",
      "pos": [
        6900,
        4480
      ],
      "size": [
        82,
        26
      ],
      "flags": {},
      "order": 133,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 572
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            450,
            474,
            533
          ]
        }
      ],
      "properties": {
        "showOutputText": true,
        "horizontal": false
      }
    },
    {
      "id": 9,
      "type": "CLIPLoader",
      "pos": [
        -340,
        4390
      ],
      "size": [
        400,
        120
      ],
      "flags": {},
      "order": 25,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            7,
            8
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPLoader"
      },
      "widgets_values": [
        "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
        "wan",
        "default"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 4,
      "type": "CLIPTextEncode",
      "pos": [
        130,
        4700
      ],
      "size": [
        400,
        160
      ],
      "flags": {},
      "order": 78,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 8
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            419
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        ""
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 162,
      "type": "SetNode",
      "pos": [
        -160,
        4820
      ],
      "size": [
        210,
        60
      ],
      "flags": {},
      "order": 98,
      "mode": 0,
      "inputs": [
        {
          "name": "INT",
          "type": "INT",
          "link": 429
        }
      ],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": null
        }
      ],
      "title": "Set_height",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "height"
      },
      "widgets_values": [
        "height"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 164,
      "type": "SetNode",
      "pos": [
        -160,
        4610
      ],
      "size": [
        210,
        60
      ],
      "flags": {},
      "order": 96,
      "mode": 0,
      "inputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "link": 431
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": null
        }
      ],
      "title": "Set_pose_video",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "pose_video"
      },
      "widgets_values": [
        "pose_video"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 206,
      "type": "GetNode",
      "pos": [
        10290,
        4590
      ],
      "size": [
        210,
        60
      ],
      "flags": {},
      "order": 26,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            483
          ]
        }
      ],
      "title": "Get_grid_video",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "grid_video"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 128,
      "type": "GetImageSize",
      "pos": [
        10370,
        4710
      ],
      "size": [
        140,
        130
      ],
      "flags": {},
      "order": 146,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 487
        }
      ],
      "outputs": [
        {
          "name": "width",
          "type": "INT",
          "links": null
        },
        {
          "name": "height",
          "type": "INT",
          "links": null
        },
        {
          "name": "batch_size",
          "type": "INT",
          "links": [
            378
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "GetImageSize"
      },
      "widgets_values": []
    },
    {
      "id": 89,
      "type": "ImageResizeKJv2",
      "pos": [
        -430,
        4720
      ],
      "size": [
        240,
        350
      ],
      "flags": {},
      "order": 84,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 228
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 390
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 389
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            233,
            431
          ]
        },
        {
          "name": "width",
          "type": "INT",
          "links": [
            427
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            429
          ]
        },
        {
          "name": "mask",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "ImageResizeKJv2"
      },
      "widgets_values": [
        960,
        544,
        "lanczos",
        "crop",
        "0, 0, 0",
        "center",
        16,
        "cpu"
      ]
    },
    {
      "id": 139,
      "type": "PreviewImage",
      "pos": [
        1580,
        5840
      ],
      "size": [
        140,
        250
      ],
      "flags": {},
      "order": 122,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 556
        }
      ],
      "outputs": [],
      "properties": {
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": []
    },
    {
      "id": 203,
      "type": "SetNode",
      "pos": [
        3340,
        5390
      ],
      "size": [
        210,
        60
      ],
      "flags": {},
      "order": 119,
      "mode": 0,
      "inputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "link": 479
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": null
        }
      ],
      "title": "Set_grid_video",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "grid_video"
      },
      "widgets_values": [
        "grid_video"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 124,
      "type": "ImageConcatMulti",
      "pos": [
        2350,
        5370
      ],
      "size": [
        270,
        220
      ],
      "flags": {},
      "order": 94,
      "mode": 0,
      "inputs": [
        {
          "name": "image_1",
          "type": "IMAGE,MASK",
          "link": 496
        },
        {
          "name": "image_2",
          "shape": 7,
          "type": "IMAGE,MASK",
          "link": 497
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "IMAGE",
          "links": [
            368
          ]
        }
      ],
      "properties": {},
      "widgets_values": [
        2,
        "down",
        true,
        null
      ]
    },
    {
      "id": 213,
      "type": "GetNode",
      "pos": [
        2740,
        5300
      ],
      "size": [
        230,
        50
      ],
      "flags": {
        "collapsed": true
      },
      "order": 27,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            498
          ]
        }
      ],
      "title": "Get_reference_image_mask",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "reference_image_mask"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 212,
      "type": "GetNode",
      "pos": [
        2090,
        5300
      ],
      "size": [
        210,
        50
      ],
      "flags": {
        "collapsed": true
      },
      "order": 28,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            497
          ]
        }
      ],
      "title": "Get_pose_video_mask",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "pose_video_mask"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 125,
      "type": "ImageConcatMulti",
      "pos": [
        2670,
        5380
      ],
      "size": [
        270,
        220
      ],
      "flags": {},
      "order": 106,
      "mode": 0,
      "inputs": [
        {
          "name": "image_1",
          "type": "IMAGE,MASK",
          "link": 368
        },
        {
          "name": "image_2",
          "shape": 7,
          "type": "IMAGE,MASK",
          "link": 499
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "IMAGE",
          "links": [
            371
          ]
        }
      ],
      "properties": {},
      "widgets_values": [
        2,
        "down",
        true,
        null
      ]
    },
    {
      "id": 214,
      "type": "GetNode",
      "pos": [
        2420,
        5290
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 29,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            499
          ]
        }
      ],
      "title": "Get_reference_image",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "reference_image"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 176,
      "type": "GetNode",
      "pos": [
        1780,
        4900
      ],
      "size": [
        220,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 30,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            550
          ]
        }
      ],
      "title": "Get_previous_frame_count",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "previous_frame_count"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 223,
      "type": "GetNode",
      "pos": [
        2390,
        4720
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 31,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "SIGMAS",
          "type": "SIGMAS",
          "links": [
            555
          ]
        }
      ],
      "title": "Get_SIGMAS",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "SIGMAS"
      ],
      "color": "#485248",
      "bgcolor": "#272e27"
    },
    {
      "id": 76,
      "type": "CLIPVisionEncode",
      "pos": [
        290,
        4950
      ],
      "size": [
        290,
        110
      ],
      "flags": {},
      "order": 89,
      "mode": 0,
      "inputs": [
        {
          "name": "clip_vision",
          "type": "CLIP_VISION",
          "link": 196
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 545
        }
      ],
      "outputs": [
        {
          "name": "CLIP_VISION_OUTPUT",
          "type": "CLIP_VISION_OUTPUT",
          "links": [
            423
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPVisionEncode"
      },
      "widgets_values": [
        "none"
      ]
    },
    {
      "id": 148,
      "type": "SetNode",
      "pos": [
        1320,
        5420
      ],
      "size": [
        230,
        60
      ],
      "flags": {},
      "order": 116,
      "mode": 0,
      "inputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "link": 415
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": null
        }
      ],
      "title": "Set_reference_image_mask",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "reference_image_mask"
      },
      "widgets_values": [
        "reference_image_mask"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 220,
      "type": "GetNode",
      "pos": [
        1760,
        4630
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 32,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            542
          ]
        }
      ],
      "title": "Get_pose_video_mask",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "pose_video_mask"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 225,
      "type": "GetNode",
      "pos": [
        1760,
        4670
      ],
      "size": [
        210,
        50
      ],
      "flags": {
        "collapsed": true
      },
      "order": 33,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            546
          ]
        }
      ],
      "title": "Get_reference_image",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "reference_image"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 218,
      "type": "GetNode",
      "pos": [
        1760,
        4590
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 34,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            541
          ]
        }
      ],
      "title": "Get_pose_video",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "pose_video"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 227,
      "type": "GetNode",
      "pos": [
        1770,
        4450
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 35,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            548
          ]
        }
      ],
      "title": "Get_CONDITIONING",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "CONDITIONING"
      ],
      "color": "#332922",
      "bgcolor": "#593930"
    },
    {
      "id": 24,
      "type": "GetNode",
      "pos": [
        1760,
        4540
      ],
      "size": [
        230,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 36,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            502
          ]
        }
      ],
      "title": "Get_VAE",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "VAE"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 228,
      "type": "GetNode",
      "pos": [
        1770,
        4490
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 37,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            549
          ]
        }
      ],
      "title": "Get_CONDITIONING_0",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "CONDITIONING_0"
      ],
      "color": "#332922",
      "bgcolor": "#593930"
    },
    {
      "id": 159,
      "type": "GetNode",
      "pos": [
        1760,
        4760
      ],
      "size": [
        220,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 38,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP_VISION_OUTPUT",
          "type": "CLIP_VISION_OUTPUT",
          "links": [
            505
          ]
        }
      ],
      "title": "Get_CLIP_VISION_OUTPUT",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "CLIP_VISION_OUTPUT"
      ]
    },
    {
      "id": 204,
      "type": "GetNode",
      "pos": [
        1780,
        4860
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 39,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            507
          ]
        }
      ],
      "title": "Get_height",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "height"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 205,
      "type": "GetNode",
      "pos": [
        1780,
        4820
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 40,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            506
          ]
        }
      ],
      "title": "Get_width",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "width"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 150,
      "type": "SetNode",
      "pos": [
        590,
        4450
      ],
      "size": [
        230,
        60
      ],
      "flags": {},
      "order": 92,
      "mode": 0,
      "inputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "link": 417
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": null
        }
      ],
      "title": "Set_CONDITIONING",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "CONDITIONING"
      },
      "widgets_values": [
        "CONDITIONING"
      ],
      "color": "#332922",
      "bgcolor": "#593930"
    },
    {
      "id": 226,
      "type": "GetNode",
      "pos": [
        1760,
        4710
      ],
      "size": [
        230,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 41,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            547
          ]
        }
      ],
      "title": "Get_reference_image_mask",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "reference_image_mask"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 210,
      "type": "GetNode",
      "pos": [
        1850,
        5390
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 42,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            495
          ]
        }
      ],
      "title": "Get_pose_video",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "pose_video"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 222,
      "type": "GetNode",
      "pos": [
        2390,
        4680
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 43,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "SAMPLER",
          "type": "SAMPLER",
          "links": [
            554
          ]
        }
      ],
      "title": "Get_SAMPLER",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "SAMPLER"
      ],
      "color": "#614a4a",
      "bgcolor": "#3b2c2c"
    },
    {
      "id": 19,
      "type": "SamplerCustom",
      "pos": [
        2570,
        4600
      ],
      "size": [
        330,
        420
      ],
      "flags": {},
      "order": 99,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 597
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 509
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 510
        },
        {
          "name": "sampler",
          "type": "SAMPLER",
          "link": 554
        },
        {
          "name": "sigmas",
          "type": "SIGMAS",
          "link": 555
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 511
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "LATENT",
          "links": []
        },
        {
          "name": "denoised_output",
          "type": "LATENT",
          "links": [
            124
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "SamplerCustom"
      },
      "widgets_values": [
        true,
        1,
        "fixed",
        1
      ]
    },
    {
      "id": 131,
      "type": "ImageCompositeMasked",
      "pos": [
        1250,
        5700
      ],
      "size": [
        280,
        150
      ],
      "flags": {},
      "order": 117,
      "mode": 0,
      "inputs": [
        {
          "name": "destination",
          "type": "IMAGE",
          "link": 411
        },
        {
          "name": "source",
          "type": "IMAGE",
          "link": 558
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": 381
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            556,
            557
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ImageCompositeMasked"
      },
      "widgets_values": [
        0,
        0,
        false
      ]
    },
    {
      "id": 149,
      "type": "GetNode",
      "pos": [
        3720,
        4810
      ],
      "size": [
        230,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 44,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            564
          ]
        }
      ],
      "title": "Get_reference_image_mask",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "reference_image_mask"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 181,
      "type": "GetNode",
      "pos": [
        6910,
        4730
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 45,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            565
          ]
        }
      ],
      "title": "Get_pose_video_mask",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "pose_video_mask"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 182,
      "type": "GetNode",
      "pos": [
        6910,
        4810
      ],
      "size": [
        230,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 46,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            566
          ]
        }
      ],
      "title": "Get_reference_image_mask",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "reference_image_mask"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 185,
      "type": "GetNode",
      "pos": [
        6910,
        4850
      ],
      "size": [
        220,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 47,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP_VISION_OUTPUT",
          "type": "CLIP_VISION_OUTPUT",
          "links": [
            532
          ]
        }
      ],
      "title": "Get_CLIP_VISION_OUTPUT",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "CLIP_VISION_OUTPUT"
      ]
    },
    {
      "id": 187,
      "type": "GetNode",
      "pos": [
        6910,
        4890
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 48,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            534
          ]
        }
      ],
      "title": "Get_width",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "width"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 196,
      "type": "GetNode",
      "pos": [
        6910,
        4970
      ],
      "size": [
        220,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 49,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            536
          ]
        }
      ],
      "title": "Get_previous_frame_count",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "previous_frame_count"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 147,
      "type": "GetNode",
      "pos": [
        3720,
        4730
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 50,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            563
          ]
        }
      ],
      "title": "Get_pose_video_mask",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "pose_video_mask"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 145,
      "type": "GetNode",
      "pos": [
        3720,
        4650
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 51,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            515
          ]
        }
      ],
      "title": "Get_VAE",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "VAE"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 155,
      "type": "GetNode",
      "pos": [
        3720,
        4770
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 52,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            517
          ]
        }
      ],
      "title": "Get_reference_image",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "reference_image"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 157,
      "type": "GetNode",
      "pos": [
        3720,
        4850
      ],
      "size": [
        220,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 53,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP_VISION_OUTPUT",
          "type": "CLIP_VISION_OUTPUT",
          "links": [
            518
          ]
        }
      ],
      "title": "Get_CLIP_VISION_OUTPUT",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "CLIP_VISION_OUTPUT"
      ]
    },
    {
      "id": 161,
      "type": "GetNode",
      "pos": [
        3720,
        4890
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 54,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            520
          ]
        }
      ],
      "title": "Get_width",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "width"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 175,
      "type": "GetNode",
      "pos": [
        3720,
        4970
      ],
      "size": [
        220,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 55,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            523
          ]
        }
      ],
      "title": "Get_previous_frame_count",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "previous_frame_count"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 184,
      "type": "GetNode",
      "pos": [
        6910,
        4770
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 56,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            531
          ]
        }
      ],
      "title": "Get_reference_image",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "reference_image"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 242,
      "type": "GetNode",
      "pos": [
        6380,
        4990
      ],
      "size": [
        220,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 57,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            581
          ]
        }
      ],
      "title": "Get_previous_frame_count",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "previous_frame_count"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 246,
      "type": "GetNode",
      "pos": [
        9050,
        4840
      ],
      "size": [
        210,
        60
      ],
      "flags": {},
      "order": 58,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            588
          ]
        }
      ],
      "title": "Get_pose_video",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "pose_video"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 178,
      "type": "BatchImagesNode",
      "pos": [
        9230,
        4520
      ],
      "size": [
        180,
        90
      ],
      "flags": {},
      "order": 141,
      "mode": 0,
      "inputs": [
        {
          "label": "image0",
          "name": "images.image0",
          "type": "IMAGE",
          "link": 450
        },
        {
          "label": "image1",
          "name": "images.image1",
          "shape": 7,
          "type": "IMAGE",
          "link": 451
        },
        {
          "label": "image2",
          "name": "images.image2",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            578,
            585
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "BatchImagesNode"
      },
      "widgets_values": []
    },
    {
      "id": 245,
      "type": "ComfyMathExpression",
      "pos": [
        9620,
        4770
      ],
      "size": [
        210,
        150
      ],
      "flags": {},
      "order": 143,
      "mode": 0,
      "inputs": [
        {
          "label": "a",
          "name": "values.a",
          "type": "FLOAT,INT,BOOLEAN",
          "link": 586
        },
        {
          "label": "b",
          "name": "values.b",
          "shape": 7,
          "type": "FLOAT,INT,BOOLEAN",
          "link": 589
        },
        {
          "label": "c",
          "name": "values.c",
          "shape": 7,
          "type": "FLOAT,INT,BOOLEAN",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": null
        },
        {
          "name": "INT",
          "type": "INT",
          "links": null
        },
        {
          "name": "BOOL",
          "type": "BOOLEAN",
          "links": [
            590
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
        "(a + 73) > b"
      ]
    },
    {
      "id": 192,
      "type": "SamplerCustom",
      "pos": [
        7710,
        4540
      ],
      "size": [
        330,
        420
      ],
      "flags": {},
      "order": 137,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 452
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 537
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 538
        },
        {
          "name": "sampler",
          "type": "SAMPLER",
          "link": 455
        },
        {
          "name": "sigmas",
          "type": "SIGMAS",
          "link": 456
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 539
        },
        {
          "name": "noise_seed",
          "type": "INT",
          "widget": {
            "name": "noise_seed"
          },
          "link": 591
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "LATENT",
          "links": [
            458
          ]
        },
        {
          "name": "denoised_output",
          "type": "LATENT",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "SamplerCustom"
      },
      "widgets_values": [
        true,
        0,
        "fixed",
        1
      ]
    },
    {
      "id": 207,
      "type": "Reroute",
      "pos": [
        10230,
        4490
      ],
      "size": [
        82,
        26
      ],
      "flags": {},
      "order": 145,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 583
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            487,
            603
          ]
        }
      ],
      "properties": {
        "showOutputText": true,
        "horizontal": false
      }
    },
    {
      "id": 127,
      "type": "GetImageRangeFromBatch",
      "pos": [
        10560,
        4690
      ],
      "size": [
        290,
        110
      ],
      "flags": {},
      "order": 147,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "shape": 7,
          "type": "IMAGE",
          "link": 483
        },
        {
          "name": "masks",
          "shape": 7,
          "type": "MASK",
          "link": null
        },
        {
          "name": "num_frames",
          "type": "INT",
          "widget": {
            "name": "num_frames"
          },
          "link": 378
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            602
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "GetImageRangeFromBatch"
      },
      "widgets_values": [
        0,
        1
      ]
    },
    {
      "id": 72,
      "type": "ImageConcatMulti",
      "pos": [
        10900,
        4520
      ],
      "size": [
        270,
        220
      ],
      "flags": {},
      "order": 148,
      "mode": 0,
      "inputs": [
        {
          "name": "image_1",
          "type": "IMAGE,MASK",
          "link": 603
        },
        {
          "name": "image_2",
          "shape": 7,
          "type": "IMAGE,MASK",
          "link": 602
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "IMAGE",
          "links": [
            190
          ]
        }
      ],
      "properties": {},
      "widgets_values": [
        2,
        "left",
        true,
        null
      ]
    },
    {
      "id": 244,
      "type": "GetImageSize",
      "pos": [
        9350,
        4710
      ],
      "size": [
        220,
        140
      ],
      "flags": {},
      "order": 142,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 585
        }
      ],
      "outputs": [
        {
          "name": "width",
          "type": "INT",
          "links": null
        },
        {
          "name": "height",
          "type": "INT",
          "links": null
        },
        {
          "name": "batch_size",
          "type": "INT",
          "links": [
            586
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "GetImageSize"
      },
      "widgets_values": []
    },
    {
      "id": 221,
      "type": "GetNode",
      "pos": [
        2200,
        4450
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 59,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            597
          ]
        }
      ],
      "title": "Get_MODEL",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "MODEL"
      ],
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 170,
      "type": "SetNode",
      "pos": [
        1360,
        4270
      ],
      "size": [
        210,
        60
      ],
      "flags": {},
      "order": 108,
      "mode": 0,
      "inputs": [
        {
          "name": "SIGMAS",
          "type": "SIGMAS",
          "link": 438
        }
      ],
      "outputs": [
        {
          "name": "SIGMAS",
          "type": "SIGMAS",
          "links": null
        }
      ],
      "title": "Set_SIGMAS",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "SIGMAS"
      },
      "widgets_values": [
        "SIGMAS"
      ],
      "color": "#485248",
      "bgcolor": "#272e27"
    },
    {
      "id": 211,
      "type": "ResizeImageMaskNode",
      "pos": [
        2040,
        5370
      ],
      "size": [
        270,
        110
      ],
      "flags": {},
      "order": 79,
      "mode": 0,
      "inputs": [
        {
          "name": "input",
          "type": "IMAGE,MASK",
          "link": 495
        }
      ],
      "outputs": [
        {
          "name": "resized",
          "type": "IMAGE",
          "links": [
            496
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ResizeImageMaskNode"
      },
      "widgets_values": [
        "scale by multiplier",
        0.5,
        "bicubic"
      ]
    },
    {
      "id": 88,
      "type": "VHS_VideoCombine",
      "pos": [
        3330,
        5510
      ],
      "size": [
        230,
        334
      ],
      "flags": {},
      "order": 118,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 372
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager",
          "link": null
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "Filenames",
          "type": "VHS_FILENAMES",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "VHS_VideoCombine"
      },
      "widgets_values": {
        "frame_rate": 16,
        "loop_count": 0,
        "filename_prefix": "Wan21_SCAIL2",
        "format": "video/h264-mp4",
        "pix_fmt": "yuv420p",
        "crf": 19,
        "save_metadata": true,
        "trim_to_audio": false,
        "pingpong": false,
        "save_output": false,
        "videopreview": {
          "hidden": false,
          "paused": false,
          "params": {
            "filename": "Wan21_SCAIL2_00002.mp4",
            "subfolder": "",
            "type": "temp",
            "format": "video/h264-mp4",
            "frame_rate": 16,
            "workflow": "Wan21_SCAIL2_00002.png",
            "fullpath": "H:\\AppsDir\\git\\ComfyDev\\ComfyUI\\temp\\Wan21_SCAIL2_00002.mp4"
          }
        }
      }
    },
    {
      "id": 251,
      "type": "GetNode",
      "pos": [
        750,
        5890
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 60,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            599
          ]
        }
      ],
      "title": "Get_height",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "height"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 144,
      "type": "EmptyImage",
      "pos": [
        940,
        5700
      ],
      "size": [
        270,
        130
      ],
      "flags": {},
      "order": 81,
      "mode": 0,
      "inputs": [
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 598
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 599
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            411
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "EmptyImage"
      },
      "widgets_values": [
        512,
        512,
        1,
        0
      ]
    },
    {
      "id": 252,
      "type": "GetNode",
      "pos": [
        750,
        5850
      ],
      "size": [
        210,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 61,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            598
          ]
        }
      ],
      "title": "Get_width",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "width"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 229,
      "type": "Reroute",
      "pos": [
        650,
        5930
      ],
      "size": [
        82,
        26
      ],
      "flags": {},
      "order": 105,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 551
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            558,
            559
          ]
        }
      ],
      "properties": {
        "showOutputText": true,
        "horizontal": false
      }
    },
    {
      "id": 230,
      "type": "Reroute",
      "pos": [
        1430,
        5930
      ],
      "size": [
        82,
        26
      ],
      "flags": {},
      "order": 111,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 559
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "showOutputText": true,
        "horizontal": false
      }
    },
    {
      "id": 70,
      "type": "BatchImagesNode",
      "pos": [
        6060,
        4520
      ],
      "size": [
        180,
        90
      ],
      "flags": {},
      "order": 130,
      "mode": 0,
      "inputs": [
        {
          "label": "image0",
          "name": "images.image0",
          "type": "IMAGE",
          "link": 441
        },
        {
          "label": "image1",
          "name": "images.image1",
          "shape": 7,
          "type": "IMAGE",
          "link": 205
        },
        {
          "label": "image2",
          "name": "images.image2",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            561,
            571
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "BatchImagesNode"
      },
      "widgets_values": []
    },
    {
      "id": 209,
      "type": "GetNode",
      "pos": [
        11020,
        4400
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 62,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "AUDIO",
          "type": "AUDIO",
          "links": [
            490
          ]
        }
      ],
      "title": "Get_audio",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "audio"
      ]
    },
    {
      "id": 6,
      "type": "VAEDecode",
      "pos": [
        2920,
        4630
      ],
      "size": [
        230,
        80
      ],
      "flags": {},
      "order": 107,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 124
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 319
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            440,
            560
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      },
      "widgets_values": [],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 253,
      "type": "Reroute",
      "pos": [
        3730,
        4990
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 100,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          },
          "link": 600
        }
      ],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            601
          ]
        }
      ],
      "properties": {
        "showOutputText": true,
        "horizontal": false
      }
    },
    {
      "id": 172,
      "type": "Reroute",
      "pos": [
        3720,
        4490
      ],
      "size": [
        82,
        26
      ],
      "flags": {},
      "order": 113,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 440
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            441,
            442,
            519
          ]
        }
      ],
      "properties": {
        "showOutputText": true,
        "horizontal": false
      }
    },
    {
      "id": 234,
      "type": "Reroute",
      "pos": [
        6160,
        4710
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 125,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 568
        }
      ],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            579
          ]
        }
      ],
      "properties": {
        "showOutputText": true,
        "horizontal": false
      }
    },
    {
      "id": 126,
      "type": "ImageConcatMulti",
      "pos": [
        2980,
        5380
      ],
      "size": [
        270,
        220
      ],
      "flags": {},
      "order": 112,
      "mode": 0,
      "inputs": [
        {
          "name": "image_1",
          "type": "IMAGE,MASK",
          "link": 371
        },
        {
          "name": "image_2",
          "shape": 7,
          "type": "IMAGE,MASK",
          "link": 498
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "IMAGE",
          "links": [
            372,
            479
          ]
        }
      ],
      "properties": {},
      "widgets_values": [
        2,
        "down",
        true,
        null
      ]
    },
    {
      "id": 231,
      "type": "PreviewAnimation",
      "pos": [
        3180,
        4630
      ],
      "size": [
        480,
        480
      ],
      "flags": {},
      "order": 114,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "shape": 7,
          "type": "IMAGE",
          "link": 560
        },
        {
          "name": "masks",
          "shape": 7,
          "type": "MASK",
          "link": null
        }
      ],
      "outputs": [],
      "title": "Preview Animation 81x960x544",
      "properties": {
        "Node name for S&R": "PreviewAnimation"
      },
      "widgets_values": [
        16
      ]
    },
    {
      "id": 232,
      "type": "PreviewAnimation",
      "pos": [
        5780,
        4810
      ],
      "size": [
        480,
        480
      ],
      "flags": {},
      "order": 131,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "shape": 7,
          "type": "IMAGE",
          "link": 561
        },
        {
          "name": "masks",
          "shape": 7,
          "type": "MASK",
          "link": null
        }
      ],
      "outputs": [],
      "title": "Preview Animation 149x960x544",
      "properties": {
        "Node name for S&R": "PreviewAnimation"
      },
      "widgets_values": [
        16
      ]
    },
    {
      "id": 237,
      "type": "PreviewAny",
      "pos": [
        4490,
        4320
      ],
      "size": [
        210,
        170
      ],
      "flags": {},
      "order": 126,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 573
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "PreviewAny"
      },
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "id": 236,
      "type": "TensorLoopOpen",
      "pos": [
        6360,
        4540
      ],
      "size": [
        280,
        150
      ],
      "flags": {},
      "order": 132,
      "mode": 0,
      "inputs": [
        {
          "name": "initial_value",
          "shape": 7,
          "type": "IMAGE,MASK,LATENT",
          "link": 571
        }
      ],
      "outputs": [
        {
          "name": "flow_control",
          "type": "FLOW_CONTROL",
          "links": [
            577
          ]
        },
        {
          "name": "previous_value",
          "type": "IMAGE",
          "links": [
            572
          ]
        },
        {
          "name": "accumulated_count",
          "type": "INT",
          "links": null
        },
        {
          "name": "current_iteration",
          "type": "INT",
          "links": [
            580
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "TensorLoopOpen"
      },
      "widgets_values": [
        "iterations",
        15
      ],
      "color": "#332922",
      "bgcolor": "#593930"
    },
    {
      "id": 240,
      "type": "TensorLoopClose",
      "pos": [
        9870,
        4520
      ],
      "size": [
        270,
        130
      ],
      "flags": {},
      "order": 144,
      "mode": 0,
      "inputs": [
        {
          "name": "flow_control",
          "type": "FLOW_CONTROL",
          "link": 577
        },
        {
          "name": "processed",
          "type": "IMAGE,MASK,LATENT",
          "link": 578
        },
        {
          "name": "stop",
          "shape": 7,
          "type": "BOOLEAN",
          "link": 590
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "IMAGE",
          "links": [
            583
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "TensorLoopClose"
      },
      "widgets_values": [
        false,
        "disabled"
      ],
      "color": "#332922",
      "bgcolor": "#593930"
    },
    {
      "id": 247,
      "type": "GetImageSize",
      "pos": [
        9360,
        4910
      ],
      "size": [
        210,
        140
      ],
      "flags": {},
      "order": 80,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 588
        }
      ],
      "outputs": [
        {
          "name": "width",
          "type": "INT",
          "links": null
        },
        {
          "name": "height",
          "type": "INT",
          "links": null
        },
        {
          "name": "batch_size",
          "type": "INT",
          "links": [
            589
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "GetImageSize"
      },
      "widgets_values": []
    },
    {
      "id": 146,
      "type": "SetNode",
      "pos": [
        1320,
        5310
      ],
      "size": [
        210,
        60
      ],
      "flags": {},
      "order": 115,
      "mode": 0,
      "inputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "link": 413
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": null
        }
      ],
      "title": "Set_pose_video_mask",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "pose_video_mask"
      },
      "widgets_values": [
        "pose_video_mask"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 11,
      "type": "LoraLoaderModelOnly",
      "pos": [
        190,
        4010
      ],
      "size": [
        510,
        90
      ],
      "flags": {},
      "order": 74,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 195
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            270
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "LoraLoaderModelOnly"
      },
      "widgets_values": [
        "lightx2v_I2V_14B_480p_cfg_step_distill_rank128_bf16.safetensors",
        0.8
      ],
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 18,
      "type": "BasicScheduler",
      "pos": [
        1060,
        4270
      ],
      "size": [
        270,
        150
      ],
      "flags": {},
      "order": 102,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 258
        }
      ],
      "outputs": [
        {
          "name": "SIGMAS",
          "type": "SIGMAS",
          "links": [
            438
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "BasicScheduler"
      },
      "widgets_values": [
        "beta",
        6,
        1
      ]
    },
    {
      "id": 27,
      "type": "KSamplerSelect",
      "pos": [
        1060,
        4470
      ],
      "size": [
        270,
        90
      ],
      "flags": {},
      "order": 63,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "SAMPLER",
          "type": "SAMPLER",
          "links": [
            436
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "KSamplerSelect"
      },
      "widgets_values": [
        "euler_ancestral"
      ]
    },
    {
      "id": 168,
      "type": "SetNode",
      "pos": [
        1360,
        4470
      ],
      "size": [
        210,
        60
      ],
      "flags": {},
      "order": 82,
      "mode": 0,
      "inputs": [
        {
          "name": "SAMPLER",
          "type": "SAMPLER",
          "link": 436
        }
      ],
      "outputs": [
        {
          "name": "SAMPLER",
          "type": "SAMPLER",
          "links": null
        }
      ],
      "title": "Set_SAMPLER",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "SAMPLER"
      },
      "widgets_values": [
        "SAMPLER"
      ],
      "color": "#614a4a",
      "bgcolor": "#3b2c2c"
    },
    {
      "id": 22,
      "type": "SetNode",
      "pos": [
        -20,
        4290
      ],
      "size": [
        230,
        40
      ],
      "flags": {
        "collapsed": true
      },
      "order": 86,
      "mode": 0,
      "inputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "link": 46
        }
      ],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": null
        }
      ],
      "title": "Set_VAE",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "VAE"
      },
      "widgets_values": [
        "VAE"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 95,
      "type": "ModelSamplingSD3",
      "pos": [
        770,
        4010
      ],
      "size": [
        270,
        90
      ],
      "flags": {},
      "order": 90,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 270
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            258,
            434
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ModelSamplingSD3"
      },
      "widgets_values": [
        5
      ]
    },
    {
      "id": 156,
      "type": "SetNode",
      "pos": [
        620,
        4950
      ],
      "size": [
        300,
        60
      ],
      "flags": {},
      "order": 101,
      "mode": 0,
      "inputs": [
        {
          "name": "CLIP_VISION_OUTPUT",
          "type": "CLIP_VISION_OUTPUT",
          "link": 423
        }
      ],
      "outputs": [
        {
          "name": "CLIP_VISION_OUTPUT",
          "type": "CLIP_VISION_OUTPUT",
          "links": null
        }
      ],
      "title": "Set_CLIP_VISION_OUTPUT",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "CLIP_VISION_OUTPUT"
      },
      "widgets_values": [
        "CLIP_VISION_OUTPUT"
      ]
    },
    {
      "id": 152,
      "type": "SetNode",
      "pos": [
        580,
        4700
      ],
      "size": [
        230,
        60
      ],
      "flags": {},
      "order": 93,
      "mode": 0,
      "inputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "link": 419
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": null
        }
      ],
      "title": "Set_CONDITIONING_0",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "CONDITIONING_0"
      },
      "widgets_values": [
        "CONDITIONING_0"
      ],
      "color": "#332922",
      "bgcolor": "#593930"
    },
    {
      "id": 208,
      "type": "SetNode",
      "pos": [
        -810,
        4700
      ],
      "size": [
        210,
        60
      ],
      "flags": {},
      "order": 85,
      "mode": 0,
      "inputs": [
        {
          "name": "AUDIO",
          "type": "AUDIO",
          "link": 489
        }
      ],
      "outputs": [
        {
          "name": "AUDIO",
          "type": "AUDIO",
          "links": null
        }
      ],
      "title": "Set_audio",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "audio"
      },
      "widgets_values": [
        "audio"
      ]
    },
    {
      "id": 134,
      "type": "PrimitiveInt",
      "pos": [
        -1130,
        4380
      ],
      "size": [
        270,
        90
      ],
      "flags": {},
      "order": 64,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            390,
            391
          ]
        }
      ],
      "title": "Width",
      "properties": {
        "Node name for S&R": "PrimitiveInt"
      },
      "widgets_values": [
        960,
        "fixed"
      ]
    },
    {
      "id": 135,
      "type": "PrimitiveInt",
      "pos": [
        -1130,
        4510
      ],
      "size": [
        270,
        90
      ],
      "flags": {},
      "order": 65,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            389,
            392
          ]
        }
      ],
      "title": "Height",
      "properties": {
        "Node name for S&R": "PrimitiveInt"
      },
      "widgets_values": [
        544,
        "fixed"
      ]
    },
    {
      "id": 173,
      "type": "PrimitiveInt",
      "pos": [
        -1130,
        4250
      ],
      "size": [
        270,
        90
      ],
      "flags": {},
      "order": 66,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            445
          ]
        }
      ],
      "title": "previous_frame_count",
      "properties": {
        "Node name for S&R": "PrimitiveInt"
      },
      "widgets_values": [
        5,
        "fixed"
      ]
    },
    {
      "id": 174,
      "type": "SetNode",
      "pos": [
        -830,
        4250
      ],
      "size": [
        220,
        60
      ],
      "flags": {},
      "order": 83,
      "mode": 0,
      "inputs": [
        {
          "name": "INT",
          "type": "INT",
          "link": 445
        }
      ],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": null
        }
      ],
      "title": "Set_previous_frame_count",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "previous_frame_count"
      },
      "widgets_values": [
        "previous_frame_count"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 71,
      "type": "VHS_VideoCombine",
      "pos": [
        11240,
        4350
      ],
      "size": [
        820,
        710.6666666666666
      ],
      "flags": {},
      "order": 149,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 190
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": 490
        },
        {
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager",
          "link": null
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "Filenames",
          "type": "VHS_FILENAMES",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "VHS_VideoCombine"
      },
      "widgets_values": {
        "frame_rate": 16,
        "loop_count": 0,
        "filename_prefix": "Wan21_SCAIL2",
        "format": "video/h264-mp4",
        "pix_fmt": "yuv420p",
        "crf": 19,
        "save_metadata": true,
        "trim_to_audio": false,
        "pingpong": false,
        "save_output": true,
        "videopreview": {
          "hidden": false,
          "paused": false,
          "params": {
            "filename": "Wan21_SCAIL2_00024-audio.mp4",
            "subfolder": "",
            "type": "output",
            "format": "video/h264-mp4",
            "frame_rate": 32,
            "workflow": "Wan21_SCAIL2_00024.png",
            "fullpath": "H:\\AppsDir\\git\\ComfyDev\\ComfyUI\\output\\Wan21_SCAIL2_00024-audio.mp4"
          }
        }
      }
    },
    {
      "id": 33,
      "type": "VHS_LoadVideo",
      "pos": [
        -1110,
        4660
      ],
      "size": [
        260,
        459
      ],
      "flags": {},
      "order": 67,
      "mode": 0,
      "inputs": [
        {
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager",
          "link": null
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            228
          ]
        },
        {
          "name": "frame_count",
          "type": "INT",
          "links": []
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "links": [
            489
          ]
        },
        {
          "name": "video_info",
          "type": "VHS_VIDEOINFO",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "VHS_LoadVideo"
      },
      "widgets_values": {
        "video": "duo_dance_clip3.mp4",
        "force_rate": 16,
        "custom_width": 0,
        "custom_height": 0,
        "frame_load_cap": 281,
        "skip_first_frames": 0,
        "select_every_nth": 1,
        "format": "AnimateDiff",
        "videopreview": {
          "hidden": false,
          "paused": false,
          "params": {
            "filename": "duo_dance_clip3.mp4",
            "type": "input",
            "format": "video/mp4",
            "force_rate": 16,
            "custom_width": 0,
            "custom_height": 0,
            "frame_load_cap": 281,
            "skip_first_frames": 0,
            "select_every_nth": 1
          }
        }
      }
    },
    {
      "id": 166,
      "type": "SetNode",
      "pos": [
        1080,
        4010
      ],
      "size": [
        210,
        60
      ],
      "flags": {},
      "order": 103,
      "mode": 0,
      "inputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "link": 434
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": null
        }
      ],
      "title": "Set_MODEL",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "MODEL"
      },
      "widgets_values": [
        "MODEL"
      ],
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 7,
      "type": "VAELoader",
      "pos": [
        -330,
        4260
      ],
      "size": [
        270,
        60
      ],
      "flags": {},
      "order": 68,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            46
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader"
      },
      "widgets_values": [
        "Wan2_1_VAE_bf16.safetensors"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 3,
      "type": "CLIPTextEncode",
      "pos": [
        130,
        4450
      ],
      "size": [
        400,
        200
      ],
      "flags": {},
      "order": 77,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 7
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            417
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "A cartoon girl with yellow hair and a pink dress and a robot are dancing together"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 104,
      "type": "SCAIL2ColoredMask",
      "pos": [
        940,
        5310
      ],
      "size": [
        340,
        140
      ],
      "flags": {},
      "order": 109,
      "mode": 0,
      "inputs": [
        {
          "name": "driving_track_data",
          "type": "SAM3_TRACK_DATA",
          "link": 273
        },
        {
          "name": "ref_track_data",
          "shape": 7,
          "type": "SAM3_TRACK_DATA",
          "link": 274
        },
        {
          "name": "replacement_mode",
          "type": "BOOLEAN",
          "widget": {
            "name": "replacement_mode"
          },
          "link": 604
        }
      ],
      "outputs": [
        {
          "name": "pose_video_mask",
          "type": "IMAGE",
          "links": [
            413
          ]
        },
        {
          "name": "reference_image_mask",
          "type": "IMAGE",
          "links": [
            415
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "SCAIL2ColoredMask"
      },
      "widgets_values": [
        "",
        "left_to_right",
        true
      ]
    },
    {
      "id": 255,
      "type": "SetNode",
      "pos": [
        270,
        5310
      ],
      "size": [
        210,
        60
      ],
      "flags": {},
      "order": 88,
      "mode": 0,
      "inputs": [
        {
          "name": "BOOLEAN",
          "type": "BOOLEAN",
          "link": 605
        }
      ],
      "outputs": [
        {
          "name": "BOOLEAN",
          "type": "BOOLEAN",
          "links": null
        }
      ],
      "title": "Set_is_replacement",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "is_replacement"
      },
      "widgets_values": [
        "is_replacement"
      ]
    },
    {
      "id": 215,
      "type": "WanSCAILToVideo",
      "pos": [
        2030,
        4520
      ],
      "size": [
        320,
        500
      ],
      "flags": {},
      "order": 87,
      "mode": 0,
      "inputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 548
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 549
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 502
        },
        {
          "name": "pose_video",
          "shape": 7,
          "type": "IMAGE",
          "link": 541
        },
        {
          "name": "pose_video_mask",
          "shape": 7,
          "type": "IMAGE",
          "link": 542
        },
        {
          "name": "reference_image",
          "shape": 7,
          "type": "IMAGE",
          "link": 546
        },
        {
          "name": "reference_image_mask",
          "shape": 7,
          "type": "IMAGE",
          "link": 547
        },
        {
          "name": "clip_vision_output",
          "shape": 7,
          "type": "CLIP_VISION_OUTPUT",
          "link": 505
        },
        {
          "name": "previous_frames",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 506
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 507
        },
        {
          "name": "previous_frame_count",
          "type": "INT",
          "widget": {
            "name": "previous_frame_count"
          },
          "link": 550
        },
        {
          "name": "replacement_mode",
          "shape": 7,
          "type": "BOOLEAN",
          "widget": {
            "name": "replacement_mode"
          },
          "link": 607
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            509
          ]
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "links": [
            510
          ]
        },
        {
          "name": "latent",
          "type": "LATENT",
          "links": [
            511
          ]
        },
        {
          "name": "video_frame_offset",
          "type": "INT",
          "links": [
            600
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "WanSCAILToVideo"
      },
      "widgets_values": [
        512,
        896,
        81,
        1,
        1,
        0,
        1,
        0,
        5,
        5
      ]
    },
    {
      "id": 256,
      "type": "GetNode",
      "pos": [
        1790,
        4980
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 69,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "BOOLEAN",
          "type": "BOOLEAN",
          "links": [
            607
          ]
        }
      ],
      "title": "Get_is_replacement",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "is_replacement"
      ]
    },
    {
      "id": 257,
      "type": "GetNode",
      "pos": [
        3720,
        5090
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 70,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "BOOLEAN",
          "type": "BOOLEAN",
          "links": [
            608
          ]
        }
      ],
      "title": "Get_is_replacement",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "is_replacement"
      ]
    },
    {
      "id": 216,
      "type": "WanSCAILToVideo",
      "pos": [
        3980,
        4560
      ],
      "size": [
        320,
        570
      ],
      "flags": {},
      "order": 121,
      "mode": 0,
      "inputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 513
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 514
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 515
        },
        {
          "name": "pose_video",
          "shape": 7,
          "type": "IMAGE",
          "link": 516
        },
        {
          "name": "pose_video_mask",
          "shape": 7,
          "type": "IMAGE",
          "link": 563
        },
        {
          "name": "reference_image",
          "shape": 7,
          "type": "IMAGE",
          "link": 517
        },
        {
          "name": "reference_image_mask",
          "shape": 7,
          "type": "IMAGE",
          "link": 564
        },
        {
          "name": "clip_vision_output",
          "shape": 7,
          "type": "CLIP_VISION_OUTPUT",
          "link": 518
        },
        {
          "name": "previous_frames",
          "shape": 7,
          "type": "IMAGE",
          "link": 519
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 520
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 521
        },
        {
          "name": "video_frame_offset",
          "type": "INT",
          "widget": {
            "name": "video_frame_offset"
          },
          "link": 601
        },
        {
          "name": "previous_frame_count",
          "type": "INT",
          "widget": {
            "name": "previous_frame_count"
          },
          "link": 523
        },
        {
          "name": "replacement_mode",
          "shape": 7,
          "type": "BOOLEAN",
          "widget": {
            "name": "replacement_mode"
          },
          "link": 608
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            524
          ]
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "links": [
            525
          ]
        },
        {
          "name": "latent",
          "type": "LATENT",
          "links": [
            526
          ]
        },
        {
          "name": "video_frame_offset",
          "type": "INT",
          "links": [
            568,
            573
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "WanSCAILToVideo"
      },
      "widgets_values": [
        512,
        896,
        73,
        1,
        1,
        0,
        1,
        1,
        5,
        5
      ]
    },
    {
      "id": 217,
      "type": "WanSCAILToVideo",
      "pos": [
        7180,
        4460
      ],
      "size": [
        320,
        570
      ],
      "flags": {},
      "order": 136,
      "mode": 0,
      "inputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 527
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 528
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 529
        },
        {
          "name": "pose_video",
          "shape": 7,
          "type": "IMAGE",
          "link": 530
        },
        {
          "name": "pose_video_mask",
          "shape": 7,
          "type": "IMAGE",
          "link": 565
        },
        {
          "name": "reference_image",
          "shape": 7,
          "type": "IMAGE",
          "link": 531
        },
        {
          "name": "reference_image_mask",
          "shape": 7,
          "type": "IMAGE",
          "link": 566
        },
        {
          "name": "clip_vision_output",
          "shape": 7,
          "type": "CLIP_VISION_OUTPUT",
          "link": 532
        },
        {
          "name": "previous_frames",
          "shape": 7,
          "type": "IMAGE",
          "link": 533
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 534
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 535
        },
        {
          "name": "video_frame_offset",
          "type": "INT",
          "widget": {
            "name": "video_frame_offset"
          },
          "link": 584
        },
        {
          "name": "previous_frame_count",
          "type": "INT",
          "widget": {
            "name": "previous_frame_count"
          },
          "link": 536
        },
        {
          "name": "replacement_mode",
          "shape": 7,
          "type": "BOOLEAN",
          "widget": {
            "name": "replacement_mode"
          },
          "link": 609
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            537
          ]
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "links": [
            538
          ]
        },
        {
          "name": "latent",
          "type": "LATENT",
          "links": [
            539
          ]
        },
        {
          "name": "video_frame_offset",
          "type": "INT",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "WanSCAILToVideo"
      },
      "widgets_values": [
        512,
        896,
        73,
        1,
        1,
        0,
        1,
        1,
        5,
        5
      ]
    },
    {
      "id": 241,
      "type": "ComfyMathExpression",
      "pos": [
        6640,
        4920
      ],
      "size": [
        210,
        170
      ],
      "flags": {},
      "order": 134,
      "mode": 0,
      "inputs": [
        {
          "label": "a",
          "name": "values.a",
          "type": "FLOAT,INT,BOOLEAN",
          "link": 579
        },
        {
          "label": "b",
          "name": "values.b",
          "shape": 7,
          "type": "FLOAT,INT,BOOLEAN",
          "link": 580
        },
        {
          "label": "c",
          "name": "values.c",
          "shape": 7,
          "type": "FLOAT,INT,BOOLEAN",
          "link": 581
        },
        {
          "label": "d",
          "name": "values.d",
          "shape": 7,
          "type": "FLOAT,INT,BOOLEAN",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": null
        },
        {
          "name": "INT",
          "type": "INT",
          "links": [
            584,
            591
          ]
        },
        {
          "name": "BOOL",
          "type": "BOOLEAN",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
        "a + (b - 1) * 73 - (b - 1) * c"
      ]
    },
    {
      "id": 258,
      "type": "GetNode",
      "pos": [
        6910,
        5020
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 71,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "BOOLEAN",
          "type": "BOOLEAN",
          "links": [
            609
          ]
        }
      ],
      "title": "Get_is_replacement",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "is_replacement"
      ]
    },
    {
      "id": 254,
      "type": "PrimitiveBoolean",
      "pos": [
        -20,
        5310
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 72,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "BOOLEAN",
          "type": "BOOLEAN",
          "links": [
            604,
            605
          ]
        }
      ],
      "title": "Replacement mode?",
      "properties": {
        "Node name for S&R": "PrimitiveBoolean"
      },
      "widgets_values": [
        true
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 224,
      "type": "GetNode",
      "pos": [
        40,
        5100
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 73,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            545
          ]
        }
      ],
      "title": "Get_reference_image",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "reference_image"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    }
  ],
  "links": [
    [
      7,
      9,
      0,
      3,
      0,
      "CLIP"
    ],
    [
      8,
      9,
      0,
      4,
      0,
      "CLIP"
    ],
    [
      46,
      7,
      0,
      22,
      0,
      "VAE"
    ],
    [
      124,
      19,
      1,
      6,
      0,
      "LATENT"
    ],
    [
      190,
      72,
      0,
      71,
      0,
      "IMAGE"
    ],
    [
      195,
      74,
      0,
      11,
      0,
      "MODEL"
    ],
    [
      196,
      75,
      0,
      76,
      0,
      "CLIP_VISION"
    ],
    [
      202,
      79,
      0,
      78,
      1,
      "IMAGE"
    ],
    [
      204,
      73,
      0,
      78,
      0,
      "IMAGE"
    ],
    [
      205,
      78,
      0,
      70,
      1,
      "IMAGE"
    ],
    [
      212,
      63,
      0,
      66,
      0,
      "LATENT"
    ],
    [
      220,
      86,
      0,
      85,
      1,
      "MODEL"
    ],
    [
      221,
      87,
      0,
      85,
      3,
      "CONDITIONING"
    ],
    [
      222,
      86,
      1,
      87,
      0,
      "CLIP"
    ],
    [
      228,
      33,
      0,
      89,
      0,
      "IMAGE"
    ],
    [
      233,
      89,
      0,
      85,
      0,
      "IMAGE"
    ],
    [
      235,
      87,
      0,
      91,
      3,
      "CONDITIONING"
    ],
    [
      236,
      86,
      0,
      91,
      1,
      "MODEL"
    ],
    [
      258,
      95,
      0,
      18,
      0,
      "MODEL"
    ],
    [
      270,
      11,
      0,
      95,
      0,
      "MODEL"
    ],
    [
      273,
      85,
      0,
      104,
      0,
      "SAM3_TRACK_DATA"
    ],
    [
      274,
      91,
      0,
      104,
      1,
      "SAM3_TRACK_DATA"
    ],
    [
      318,
      66,
      0,
      73,
      0,
      "IMAGE"
    ],
    [
      319,
      65,
      0,
      6,
      1,
      "VAE"
    ],
    [
      320,
      113,
      0,
      66,
      1,
      "VAE"
    ],
    [
      347,
      30,
      0,
      119,
      0,
      "IMAGE"
    ],
    [
      348,
      118,
      0,
      119,
      1,
      "IMAGE"
    ],
    [
      368,
      124,
      0,
      125,
      0,
      "IMAGE"
    ],
    [
      371,
      125,
      0,
      126,
      0,
      "IMAGE"
    ],
    [
      372,
      126,
      0,
      88,
      0,
      "IMAGE"
    ],
    [
      378,
      128,
      2,
      127,
      2,
      "INT"
    ],
    [
      380,
      91,
      0,
      130,
      0,
      "SAM3_TRACK_DATA"
    ],
    [
      381,
      130,
      0,
      131,
      2,
      "MASK"
    ],
    [
      382,
      132,
      0,
      91,
      0,
      "IMAGE"
    ],
    [
      387,
      119,
      0,
      132,
      0,
      "IMAGE"
    ],
    [
      389,
      135,
      0,
      89,
      3,
      "INT"
    ],
    [
      390,
      134,
      0,
      89,
      2,
      "INT"
    ],
    [
      391,
      134,
      0,
      132,
      2,
      "INT"
    ],
    [
      392,
      135,
      0,
      132,
      3,
      "INT"
    ],
    [
      411,
      144,
      0,
      131,
      0,
      "IMAGE"
    ],
    [
      413,
      104,
      0,
      146,
      0,
      "IMAGE"
    ],
    [
      415,
      104,
      1,
      148,
      0,
      "IMAGE"
    ],
    [
      417,
      3,
      0,
      150,
      0,
      "CONDITIONING"
    ],
    [
      419,
      4,
      0,
      152,
      0,
      "CONDITIONING"
    ],
    [
      423,
      76,
      0,
      156,
      0,
      "CLIP_VISION_OUTPUT"
    ],
    [
      427,
      89,
      1,
      160,
      0,
      "INT"
    ],
    [
      429,
      89,
      2,
      162,
      0,
      "INT"
    ],
    [
      431,
      89,
      0,
      164,
      0,
      "IMAGE"
    ],
    [
      434,
      95,
      0,
      166,
      0,
      "MODEL"
    ],
    [
      435,
      167,
      0,
      63,
      0,
      "MODEL"
    ],
    [
      436,
      27,
      0,
      168,
      0,
      "SAMPLER"
    ],
    [
      437,
      169,
      0,
      63,
      3,
      "SAMPLER"
    ],
    [
      438,
      18,
      0,
      170,
      0,
      "SIGMAS"
    ],
    [
      439,
      171,
      0,
      63,
      4,
      "SIGMAS"
    ],
    [
      440,
      6,
      0,
      172,
      0,
      "IMAGE"
    ],
    [
      441,
      172,
      0,
      70,
      0,
      "IMAGE"
    ],
    [
      442,
      172,
      0,
      79,
      0,
      "IMAGE"
    ],
    [
      445,
      173,
      0,
      174,
      0,
      "INT"
    ],
    [
      449,
      177,
      0,
      73,
      2,
      "INT"
    ],
    [
      450,
      199,
      0,
      178,
      0,
      "IMAGE"
    ],
    [
      451,
      201,
      0,
      178,
      1,
      "IMAGE"
    ],
    [
      452,
      193,
      0,
      192,
      0,
      "MODEL"
    ],
    [
      455,
      190,
      0,
      192,
      3,
      "SAMPLER"
    ],
    [
      456,
      191,
      0,
      192,
      4,
      "SIGMAS"
    ],
    [
      458,
      192,
      0,
      194,
      0,
      "LATENT"
    ],
    [
      459,
      179,
      0,
      194,
      1,
      "VAE"
    ],
    [
      472,
      194,
      0,
      198,
      0,
      "IMAGE"
    ],
    [
      473,
      197,
      0,
      198,
      2,
      "INT"
    ],
    [
      474,
      199,
      0,
      200,
      0,
      "IMAGE"
    ],
    [
      475,
      198,
      0,
      201,
      0,
      "IMAGE"
    ],
    [
      476,
      200,
      0,
      201,
      1,
      "IMAGE"
    ],
    [
      479,
      126,
      0,
      203,
      0,
      "IMAGE"
    ],
    [
      483,
      206,
      0,
      127,
      0,
      "IMAGE"
    ],
    [
      487,
      207,
      0,
      128,
      0,
      "IMAGE"
    ],
    [
      489,
      33,
      2,
      208,
      0,
      "AUDIO"
    ],
    [
      490,
      209,
      0,
      71,
      1,
      "AUDIO"
    ],
    [
      495,
      210,
      0,
      211,
      0,
      "IMAGE"
    ],
    [
      496,
      211,
      0,
      124,
      0,
      "IMAGE"
    ],
    [
      497,
      212,
      0,
      124,
      1,
      "IMAGE"
    ],
    [
      498,
      213,
      0,
      126,
      1,
      "IMAGE"
    ],
    [
      499,
      214,
      0,
      125,
      1,
      "IMAGE,MASK"
    ],
    [
      502,
      24,
      0,
      215,
      2,
      "VAE"
    ],
    [
      505,
      159,
      0,
      215,
      7,
      "CLIP_VISION_OUTPUT"
    ],
    [
      506,
      205,
      0,
      215,
      9,
      "INT"
    ],
    [
      507,
      204,
      0,
      215,
      10,
      "INT"
    ],
    [
      509,
      215,
      0,
      19,
      1,
      "CONDITIONING"
    ],
    [
      510,
      215,
      1,
      19,
      2,
      "CONDITIONING"
    ],
    [
      511,
      215,
      2,
      19,
      5,
      "LATENT"
    ],
    [
      513,
      151,
      0,
      216,
      0,
      "CONDITIONING"
    ],
    [
      514,
      153,
      0,
      216,
      1,
      "CONDITIONING"
    ],
    [
      515,
      145,
      0,
      216,
      2,
      "VAE"
    ],
    [
      516,
      165,
      0,
      216,
      3,
      "IMAGE"
    ],
    [
      517,
      155,
      0,
      216,
      5,
      "IMAGE"
    ],
    [
      518,
      157,
      0,
      216,
      7,
      "CLIP_VISION_OUTPUT"
    ],
    [
      519,
      172,
      0,
      216,
      8,
      "IMAGE"
    ],
    [
      520,
      161,
      0,
      216,
      9,
      "INT"
    ],
    [
      521,
      163,
      0,
      216,
      10,
      "INT"
    ],
    [
      523,
      175,
      0,
      216,
      12,
      "INT"
    ],
    [
      524,
      216,
      0,
      63,
      1,
      "CONDITIONING"
    ],
    [
      525,
      216,
      1,
      63,
      2,
      "CONDITIONING"
    ],
    [
      526,
      216,
      2,
      63,
      5,
      "LATENT"
    ],
    [
      527,
      180,
      0,
      217,
      0,
      "CONDITIONING"
    ],
    [
      528,
      183,
      0,
      217,
      1,
      "CONDITIONING"
    ],
    [
      529,
      189,
      0,
      217,
      2,
      "VAE"
    ],
    [
      530,
      188,
      0,
      217,
      3,
      "IMAGE"
    ],
    [
      531,
      184,
      0,
      217,
      5,
      "IMAGE"
    ],
    [
      532,
      185,
      0,
      217,
      7,
      "CLIP_VISION_OUTPUT"
    ],
    [
      533,
      199,
      0,
      217,
      8,
      "IMAGE"
    ],
    [
      534,
      187,
      0,
      217,
      9,
      "INT"
    ],
    [
      535,
      186,
      0,
      217,
      10,
      "INT"
    ],
    [
      536,
      196,
      0,
      217,
      12,
      "INT"
    ],
    [
      537,
      217,
      0,
      192,
      1,
      "CONDITIONING"
    ],
    [
      538,
      217,
      1,
      192,
      2,
      "CONDITIONING"
    ],
    [
      539,
      217,
      2,
      192,
      5,
      "LATENT"
    ],
    [
      541,
      218,
      0,
      215,
      3,
      "IMAGE"
    ],
    [
      542,
      220,
      0,
      215,
      4,
      "IMAGE"
    ],
    [
      545,
      224,
      0,
      76,
      1,
      "IMAGE"
    ],
    [
      546,
      225,
      0,
      215,
      5,
      "IMAGE"
    ],
    [
      547,
      226,
      0,
      215,
      6,
      "IMAGE"
    ],
    [
      548,
      227,
      0,
      215,
      0,
      "CONDITIONING"
    ],
    [
      549,
      228,
      0,
      215,
      1,
      "CONDITIONING"
    ],
    [
      550,
      176,
      0,
      215,
      11,
      "INT"
    ],
    [
      551,
      132,
      0,
      229,
      0,
      "IMAGE"
    ],
    [
      554,
      222,
      0,
      19,
      3,
      "SAMPLER"
    ],
    [
      555,
      223,
      0,
      19,
      4,
      "SIGMAS"
    ],
    [
      556,
      131,
      0,
      139,
      0,
      "IMAGE"
    ],
    [
      557,
      131,
      0,
      154,
      0,
      "IMAGE"
    ],
    [
      558,
      229,
      0,
      131,
      1,
      "IMAGE"
    ],
    [
      559,
      229,
      0,
      230,
      0,
      "IMAGE"
    ],
    [
      560,
      6,
      0,
      231,
      0,
      "IMAGE"
    ],
    [
      561,
      70,
      0,
      232,
      0,
      "IMAGE"
    ],
    [
      563,
      147,
      0,
      216,
      4,
      "IMAGE"
    ],
    [
      564,
      149,
      0,
      216,
      6,
      "IMAGE"
    ],
    [
      565,
      181,
      0,
      217,
      4,
      "IMAGE"
    ],
    [
      566,
      182,
      0,
      217,
      6,
      "IMAGE"
    ],
    [
      568,
      216,
      3,
      234,
      0,
      "INT"
    ],
    [
      571,
      70,
      0,
      236,
      0,
      "IMAGE"
    ],
    [
      572,
      236,
      1,
      199,
      0,
      "IMAGE"
    ],
    [
      573,
      216,
      3,
      237,
      0,
      "INT"
    ],
    [
      577,
      236,
      0,
      240,
      0,
      "FLOW_CONTROL"
    ],
    [
      578,
      178,
      0,
      240,
      1,
      "IMAGE"
    ],
    [
      579,
      234,
      0,
      241,
      0,
      "INT"
    ],
    [
      580,
      236,
      3,
      241,
      1,
      "INT"
    ],
    [
      581,
      242,
      0,
      241,
      2,
      "INT"
    ],
    [
      583,
      240,
      0,
      207,
      0,
      "IMAGE"
    ],
    [
      584,
      241,
      1,
      217,
      11,
      "INT"
    ],
    [
      585,
      178,
      0,
      244,
      0,
      "IMAGE"
    ],
    [
      586,
      244,
      2,
      245,
      0,
      "INT"
    ],
    [
      588,
      246,
      0,
      247,
      0,
      "IMAGE"
    ],
    [
      589,
      247,
      2,
      245,
      1,
      "INT"
    ],
    [
      590,
      245,
      2,
      240,
      2,
      "BOOLEAN"
    ],
    [
      591,
      241,
      1,
      192,
      6,
      "INT"
    ],
    [
      597,
      221,
      0,
      19,
      0,
      "MODEL"
    ],
    [
      598,
      252,
      0,
      144,
      0,
      "INT"
    ],
    [
      599,
      251,
      0,
      144,
      1,
      "INT"
    ],
    [
      600,
      215,
      3,
      253,
      0,
      "INT"
    ],
    [
      601,
      253,
      0,
      216,
      11,
      "INT"
    ],
    [
      602,
      127,
      0,
      72,
      1,
      "IMAGE"
    ],
    [
      603,
      207,
      0,
      72,
      0,
      "IMAGE"
    ],
    [
      604,
      254,
      0,
      104,
      2,
      "BOOLEAN"
    ],
    [
      605,
      254,
      0,
      255,
      0,
      "BOOLEAN"
    ],
    [
      607,
      256,
      0,
      215,
      12,
      "BOOLEAN"
    ],
    [
      608,
      257,
      0,
      216,
      13,
      "BOOLEAN"
    ],
    [
      609,
      258,
      0,
      217,
      13,
      "BOOLEAN"
    ]
  ],
  "groups": [
    {
      "id": 1,
      "title": "ExtensionLoop",
      "bounding": [
        6310,
        4260,
        3890,
        880
      ],
      "color": "#8AA",
      "flags": {}
    },
    {
      "id": 2,
      "title": "Output",
      "bounding": [
        10220,
        4270,
        1870,
        830
      ],
      "color": "#444",
      "flags": {}
    },
    {
      "id": 4,
      "title": "Sampler 1",
      "bounding": [
        1740,
        4260,
        1940,
        880
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 5,
      "title": "Extension 1",
      "bounding": [
        3700,
        4260,
        2590,
        880
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 6,
      "title": "Grid Construction for Output",
      "bounding": [
        1840,
        5220,
        1710,
        880
      ],
      "color": "#A88",
      "flags": {}
    },
    {
      "id": 7,
      "title": "Control Prep",
      "bounding": [
        -70,
        5220,
        1850,
        880
      ],
      "color": "#3f789e",
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.611590904484147,
      "offset": [
        1177.6756728438058,
        -4323.564284601146
      ]
    },
    "frontendVersion": "1.45.15",
    "reroutes": [
      {
        "id": 1,
        "pos": [
          6730,
          4314
        ],
        "linkIds": [
          577
        ]
      },
      {
        "id": 2,
        "parentId": 1,
        "pos": [
          9770,
          4314
        ],
        "linkIds": [
          577
        ]
      }
    ],
    "VHS_latentpreview": true,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true,
    "linkExtensions": [
      {
        "id": 577,
        "parentId": 2
      }
    ]
  },
  "version": 0.4
}