{
  "id": "f2bc51a0-abe9-4b89-ad00-e801f3406e56",
  "revision": 0,
  "last_node_id": 362,
  "last_link_id": 625,
  "nodes": [
    {
      "id": 127,
      "type": "DownloadAndLoadSAM2Model",
      "pos": [
        -3269.976667114082,
        1469.605077638602
      ],
      "size": [
        270,
        130
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "sam2_model",
          "type": "SAM2MODEL",
          "links": [
            163
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-segment-anything-2",
        "ver": "1.0.2",
        "Node name for S&R": "DownloadAndLoadSAM2Model"
      },
      "widgets_values": [
        "sam2_hiera_base_plus.safetensors",
        "video",
        "cuda",
        "fp16"
      ]
    },
    {
      "id": 131,
      "type": "Sam2VideoSegmentation",
      "pos": [
        -2391.6335018135505,
        1671.2673279206401
      ],
      "size": [
        277.015625,
        78
      ],
      "flags": {},
      "order": 54,
      "mode": 0,
      "inputs": [
        {
          "name": "sam2_model",
          "type": "SAM2MODEL",
          "link": 166
        },
        {
          "name": "inference_state",
          "type": "SAM2INFERENCESTATE",
          "link": 167
        }
      ],
      "outputs": [
        {
          "name": "mask",
          "type": "MASK",
          "links": [
            173
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-segment-anything-2",
        "ver": "1.0.2",
        "Node name for S&R": "Sam2VideoSegmentation"
      },
      "widgets_values": [
        true
      ]
    },
    {
      "id": 67,
      "type": "GetNode",
      "pos": [
        -3083.007148891985,
        2154.385321361419
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": false
      },
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": [
            85
          ]
        }
      ],
      "title": "Get_fps_0",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "GetNode"
      },
      "widgets_values": [
        "fps_0"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 153,
      "type": "SetNode",
      "pos": [
        -4542.570365241824,
        809.192980558058
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 52,
      "mode": 0,
      "inputs": [
        {
          "name": "INT",
          "type": "INT",
          "link": 206
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_VideoHeight",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "SetNode",
        "previousName": ""
      },
      "widgets_values": [
        "VideoHeight_0"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 152,
      "type": "SetNode",
      "pos": [
        -4541.616894186276,
        703.4034777252335
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 51,
      "mode": 0,
      "inputs": [
        {
          "name": "INT",
          "type": "INT",
          "link": 205
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_VideoWidth",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "SetNode",
        "previousName": ""
      },
      "widgets_values": [
        "VideoWidth_0"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 147,
      "type": "SetNode",
      "pos": [
        -4810.923460691329,
        495.10027847323664
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 36,
      "mode": 0,
      "inputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "link": 201
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_InputVideo",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "SetNode",
        "previousName": ""
      },
      "widgets_values": [
        "InputVideo_0"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 134,
      "type": "AILab_MaskOverlay",
      "pos": [
        -2012.8620334173581,
        1573.6502965665686
      ],
      "size": [
        300,
        316
      ],
      "flags": {},
      "order": 61,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "shape": 7,
          "type": "IMAGE",
          "link": 174
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": 173
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": []
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            176
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-rmbg",
        "ver": "a1ca256ce5ef3d2d990935415bad76c4269aa80d",
        "Node name for S&R": "AILab_MaskOverlay"
      },
      "widgets_values": [
        0.5,
        "#00ff11"
      ],
      "color": "#2e3e57",
      "bgcolor": "#4b5b73"
    },
    {
      "id": 157,
      "type": "SetNode",
      "pos": [
        -4540.3773818140635,
        596.6719499201163
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 50,
      "mode": 0,
      "inputs": [
        {
          "name": "INT",
          "type": "INT",
          "link": 207
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_NumbOfFrames",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "SetNode",
        "previousName": ""
      },
      "widgets_values": [
        "NumbOfFrames_0"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 120,
      "type": "LoadImage",
      "pos": [
        -4345.291486211526,
        4688.411977497063
      ],
      "size": [
        420,
        340
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            139
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.75",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "mask2.jpg",
        "image"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 121,
      "type": "Image To Mask",
      "pos": [
        -3855.3314214809725,
        4702.182249923241
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 27,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 139
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            350
          ]
        }
      ],
      "properties": {
        "cnr_id": "masquerade-nodes-comfyui",
        "ver": "432cb4d146a391b387a0cd25ace824328b5b61cf",
        "Node name for S&R": "Image To Mask"
      },
      "widgets_values": [
        "intensity"
      ]
    },
    {
      "id": 46,
      "type": "GetNode",
      "pos": [
        -5337.128881970262,
        1420.9271412706141
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            96,
            170,
            174
          ]
        }
      ],
      "title": "Get_InputVideo_0",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "GetNode"
      },
      "widgets_values": [
        "InputVideo_0"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 151,
      "type": "SetNode",
      "pos": [
        -4547.337720519564,
        498.0334800039033
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 48,
      "mode": 0,
      "inputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "link": 204
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_fps",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "SetNode",
        "previousName": ""
      },
      "widgets_values": [
        "fps_0"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 125,
      "type": "ComfySwitchNode",
      "pos": [
        -1373.3064306735766,
        3380.1699342669895
      ],
      "size": [
        270,
        78
      ],
      "flags": {},
      "order": 66,
      "mode": 0,
      "inputs": [
        {
          "name": "on_false",
          "type": "MASK",
          "link": 176
        },
        {
          "name": "on_true",
          "type": "MASK",
          "link": 177
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "MASK",
          "links": [
            524
          ]
        }
      ],
      "title": "SAM3",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.10.0",
        "Node name for S&R": "ComfySwitchNode"
      },
      "widgets_values": [
        true
      ]
    },
    {
      "id": 47,
      "type": "GetNode",
      "pos": [
        -2237.9404688700506,
        3380.1828617059946
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            99
          ]
        }
      ],
      "title": "Get_InputVideo_0",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "GetNode"
      },
      "widgets_values": [
        "InputVideo_0"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 122,
      "type": "AILab_MaskCombiner",
      "pos": [
        -2874.6355248011896,
        4678.638487339872
      ],
      "size": [
        300,
        118
      ],
      "flags": {},
      "order": 67,
      "mode": 4,
      "inputs": [
        {
          "name": "mask_1",
          "type": "MASK",
          "link": 140
        },
        {
          "name": "mask_2",
          "shape": 7,
          "type": "MASK",
          "link": 145
        },
        {
          "name": "mask_3",
          "shape": 7,
          "type": "MASK",
          "link": null
        },
        {
          "name": "mask_4",
          "shape": 7,
          "type": "MASK",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            526
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-rmbg",
        "ver": "a1ca256ce5ef3d2d990935415bad76c4269aa80d",
        "Node name for S&R": "AILab_MaskCombiner"
      },
      "widgets_values": [
        "combine"
      ],
      "color": "#2e3e57",
      "bgcolor": "#4b5b73"
    },
    {
      "id": 295,
      "type": "GetNode",
      "pos": [
        -5183.358200899306,
        3918.9664037711846
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            525
          ]
        }
      ],
      "title": "Get_BaseMask",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "GetNode"
      },
      "widgets_values": [
        "BaseMask"
      ],
      "color": "#1c5715",
      "bgcolor": "#1f401b"
    },
    {
      "id": 296,
      "type": "SetNode",
      "pos": [
        -2477.31478177022,
        4682.41826402365
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 71,
      "mode": 0,
      "inputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "link": 526
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            529
          ]
        }
      ],
      "title": "Set_Optimised_BaseMask",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "SetNode",
        "previousName": "Optimised_BaseMask"
      },
      "widgets_values": [
        "Optimised_BaseMask"
      ],
      "color": "#1c5715",
      "bgcolor": "#1f401b"
    },
    {
      "id": 48,
      "type": "GetNode",
      "pos": [
        -2470.0324694373517,
        4533.5217770953195
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            181
          ]
        }
      ],
      "title": "Get_InputVideo_0",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "GetNode"
      },
      "widgets_values": [
        "InputVideo_0"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 300,
      "type": "AILab_MaskOverlay",
      "pos": [
        -675.7804139146122,
        3311.2798468548203
      ],
      "size": [
        300,
        316
      ],
      "flags": {},
      "order": 74,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "shape": 7,
          "type": "IMAGE",
          "link": 531
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": 532
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            530
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfyui-rmbg",
        "ver": "a1ca256ce5ef3d2d990935415bad76c4269aa80d",
        "Node name for S&R": "AILab_MaskOverlay"
      },
      "widgets_values": [
        0.5,
        "#00ff11"
      ],
      "color": "#2e3e57",
      "bgcolor": "#4b5b73"
    },
    {
      "id": 66,
      "type": "VHS_VideoCombine",
      "pos": [
        -2805.2809590670327,
        2055.6592147300894
      ],
      "size": [
        225.3349609375,
        334
      ],
      "flags": {},
      "order": 40,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 84
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager",
          "link": null
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": null
        },
        {
          "name": "frame_rate",
          "type": "FLOAT",
          "widget": {
            "name": "frame_rate"
          },
          "link": 85
        }
      ],
      "outputs": [
        {
          "name": "Filenames",
          "type": "VHS_FILENAMES",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "1.7.7",
        "Node name for S&R": "VHS_VideoCombine"
      },
      "widgets_values": {
        "frame_rate": 24,
        "loop_count": 0,
        "filename_prefix": "AnimateDiff",
        "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": "AnimateDiff_00001.mp4",
            "subfolder": "",
            "type": "temp",
            "format": "video/h264-mp4",
            "frame_rate": 24,
            "workflow": "AnimateDiff_00001.png",
            "fullpath": "/workspace/ComfyUI/temp/AnimateDiff_00001.mp4"
          }
        }
      }
    },
    {
      "id": 25,
      "type": "PointsEditor",
      "pos": [
        -5114.726720807344,
        1751.8023821238573
      ],
      "size": [
        1965,
        1396
      ],
      "flags": {},
      "order": 28,
      "mode": 0,
      "inputs": [
        {
          "name": "bg_image",
          "shape": 7,
          "type": "IMAGE",
          "link": 96
        }
      ],
      "outputs": [
        {
          "name": "positive_coords",
          "type": "STRING",
          "links": [
            164
          ]
        },
        {
          "name": "negative_coords",
          "type": "STRING",
          "links": [
            165
          ]
        },
        {
          "name": "bbox",
          "type": "BBOX",
          "links": []
        },
        {
          "name": "bbox_mask",
          "type": "MASK",
          "links": []
        },
        {
          "name": "cropped_image",
          "type": "IMAGE",
          "links": [
            84
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1.1.9",
        "Node name for S&R": "PointsEditor",
        "points": "PointsEditor",
        "neg_points": "PointsEditor",
        "imgData": null
      },
      "widgets_values": [
        "{\"positive\":[{\"x\":960,\"y\":540}],\"negative\":[{\"x\":0,\"y\":0}]}",
        "[{\"x\":960,\"y\":540}]",
        "[{\"x\":0,\"y\":0}]",
        "[{}]",
        "[{}]",
        "xyxy",
        1920,
        1080,
        false,
        "",
        null
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 135,
      "type": "AILab_MaskOverlay",
      "pos": [
        -2154.4864829377834,
        4594.006765556186
      ],
      "size": [
        300,
        316
      ],
      "flags": {},
      "order": 75,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "shape": 7,
          "type": "IMAGE",
          "link": 181
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": 529
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            179
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfyui-rmbg",
        "ver": "a1ca256ce5ef3d2d990935415bad76c4269aa80d",
        "Node name for S&R": "AILab_MaskOverlay"
      },
      "widgets_values": [
        0.5,
        "#00ff11"
      ],
      "color": "#2e3e57",
      "bgcolor": "#4b5b73"
    },
    {
      "id": 102,
      "type": "TemporalMaskRemoveShortObjects",
      "pos": [
        -4792.174096593123,
        3912.566359486631
      ],
      "size": [
        352.58359375,
        82
      ],
      "flags": {},
      "order": 30,
      "mode": 4,
      "inputs": [
        {
          "label": "Mask Sequence",
          "name": "mask_batch",
          "type": "MASK",
          "link": 525
        }
      ],
      "outputs": [
        {
          "name": "Mask Batch",
          "type": "MASK",
          "links": [
            424
          ]
        }
      ],
      "properties": {
        "cnr_id": "temporal-mask-tools",
        "ver": "1.0.1",
        "Node name for S&R": "TemporalMaskRemoveShortObjects"
      },
      "widgets_values": [
        2,
        10
      ]
    },
    {
      "id": 265,
      "type": "TemporalMaskUnion",
      "pos": [
        -4271.601030450789,
        3903.9469460728515
      ],
      "size": [
        270,
        106
      ],
      "flags": {},
      "order": 41,
      "mode": 4,
      "inputs": [
        {
          "label": "Mask Sequence",
          "name": "mask_batch",
          "type": "MASK",
          "link": 424
        }
      ],
      "outputs": [
        {
          "name": "Mask Batch",
          "type": "MASK",
          "links": [
            426
          ]
        }
      ],
      "properties": {
        "cnr_id": "temporal-mask-tools",
        "ver": "1.0.1",
        "Node name for S&R": "TemporalMaskUnion"
      },
      "widgets_values": [
        3,
        "or",
        3
      ]
    },
    {
      "id": 266,
      "type": "TemporalMaskRemoveShortObjects",
      "pos": [
        -3838.9774550909783,
        3911.0565514885348
      ],
      "size": [
        352.58359375,
        82
      ],
      "flags": {},
      "order": 55,
      "mode": 4,
      "inputs": [
        {
          "label": "Mask Sequence",
          "name": "mask_batch",
          "type": "MASK",
          "link": 426
        }
      ],
      "outputs": [
        {
          "name": "Mask Batch",
          "type": "MASK",
          "links": [
            427
          ]
        }
      ],
      "properties": {
        "cnr_id": "temporal-mask-tools",
        "ver": "1.0.1",
        "Node name for S&R": "TemporalMaskRemoveShortObjects"
      },
      "widgets_values": [
        56,
        10
      ]
    },
    {
      "id": 304,
      "type": "VHS_VideoCombine",
      "pos": [
        -3483.980966619778,
        5932.783717481808
      ],
      "size": [
        225.3349609375,
        334
      ],
      "flags": {},
      "order": 63,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 539
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager",
          "link": null
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": null
        },
        {
          "name": "frame_rate",
          "type": "FLOAT",
          "widget": {
            "name": "frame_rate"
          },
          "link": 625
        }
      ],
      "outputs": [
        {
          "name": "Filenames",
          "type": "VHS_FILENAMES",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "1.7.7",
        "Node name for S&R": "VHS_VideoCombine"
      },
      "widgets_values": {
        "frame_rate": 24,
        "loop_count": 0,
        "filename_prefix": "AnimateDiff",
        "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": "AnimateDiff_00002.mp4",
            "subfolder": "",
            "type": "temp",
            "format": "video/h264-mp4",
            "frame_rate": 24,
            "workflow": "AnimateDiff_00002.png",
            "fullpath": "/workspace/ComfyUI/temp/AnimateDiff_00002.mp4"
          }
        }
      }
    },
    {
      "id": 294,
      "type": "SetNode",
      "pos": [
        -995.8902494828782,
        3381.8632979470535
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 70,
      "mode": 0,
      "inputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "link": 524
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            532
          ]
        }
      ],
      "title": "Set_BaseMask",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "SetNode",
        "previousName": "BaseMask"
      },
      "widgets_values": [
        "BaseMask"
      ],
      "color": "#1c5715",
      "bgcolor": "#1f401b"
    },
    {
      "id": 278,
      "type": "AILab_ImageCrop",
      "pos": [
        -4581.360776369962,
        5892.583792723306
      ],
      "size": [
        300,
        198
      ],
      "flags": {},
      "order": 44,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 510
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 463
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 464
        },
        {
          "name": "x_offset",
          "type": "INT",
          "widget": {
            "name": "x_offset"
          },
          "link": 461
        },
        {
          "name": "y_offset",
          "type": "INT",
          "widget": {
            "name": "y_offset"
          },
          "link": 462
        }
      ],
      "outputs": [
        {
          "name": "CROP",
          "type": "IMAGE",
          "links": [
            546,
            569
          ]
        },
        {
          "name": "REST",
          "type": "IMAGE",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfyui-rmbg",
        "ver": "3.0.0",
        "Node name for S&R": "AILab_ImageCrop"
      },
      "widgets_values": [
        256,
        256,
        0,
        0,
        false,
        "top-left"
      ],
      "color": "#2e3e57",
      "bgcolor": "#4b5b73"
    },
    {
      "id": 305,
      "type": "CropMask",
      "pos": [
        -4575.079202229369,
        6149.824721881558
      ],
      "size": [
        287.3051923327803,
        163.16828530449493
      ],
      "flags": {},
      "order": 45,
      "mode": 0,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 544
        },
        {
          "name": "x",
          "type": "INT",
          "widget": {
            "name": "x"
          },
          "link": 540
        },
        {
          "name": "y",
          "type": "INT",
          "widget": {
            "name": "y"
          },
          "link": 541
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 542
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 543
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            545,
            570
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.2",
        "Node name for S&R": "CropMask"
      },
      "widgets_values": [
        0,
        0,
        512,
        512
      ]
    },
    {
      "id": 297,
      "type": "GetNode",
      "pos": [
        -5196.146631880339,
        5895.209943623005
      ],
      "size": [
        210.9556640625,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 7,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            527,
            544
          ]
        }
      ],
      "title": "Get_Optimised_BaseMask",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "GetNode"
      },
      "widgets_values": [
        "Optimised_BaseMask"
      ],
      "color": "#1c5715",
      "bgcolor": "#1f401b"
    },
    {
      "id": 321,
      "type": "GetNode",
      "pos": [
        -5184.590391175494,
        7006.261868777216
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 8,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            571
          ]
        }
      ],
      "title": "Get_CroppedMask",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "GetNode"
      },
      "widgets_values": [
        "CroppedMask"
      ],
      "color": "#1c5715",
      "bgcolor": "#1f401b"
    },
    {
      "id": 319,
      "type": "SetNode",
      "pos": [
        -3456.472020836873,
        5629.596900721495
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 58,
      "mode": 0,
      "inputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "link": 570
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": []
        }
      ],
      "title": "Set_CroppedMask",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "SetNode",
        "previousName": "CroppedMask"
      },
      "widgets_values": [
        "CroppedMask"
      ],
      "color": "#1c5715",
      "bgcolor": "#1f401b"
    },
    {
      "id": 318,
      "type": "SetNode",
      "pos": [
        -3455.269358755587,
        5753.349477580137
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 56,
      "mode": 0,
      "inputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "link": 569
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": []
        }
      ],
      "title": "Set_CroppedImage",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "SetNode",
        "previousName": "CroppedImage"
      },
      "widgets_values": [
        "CroppedImage"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 316,
      "type": "EmptyImage",
      "pos": [
        -4918.12196915763,
        8036.927214829618
      ],
      "size": [
        270,
        130
      ],
      "flags": {},
      "order": 35,
      "mode": 0,
      "inputs": [
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 576
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 577
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            588
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.2",
        "Node name for S&R": "EmptyImage"
      },
      "widgets_values": [
        512,
        512,
        1,
        0
      ]
    },
    {
      "id": 335,
      "type": "ImageComposite+",
      "pos": [
        -4496.329137521246,
        8035.009224493157
      ],
      "size": [
        270,
        170
      ],
      "flags": {},
      "order": 47,
      "mode": 0,
      "inputs": [
        {
          "name": "destination",
          "type": "IMAGE",
          "link": 588
        },
        {
          "name": "source",
          "type": "IMAGE",
          "link": 590
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        },
        {
          "name": "offset_x",
          "type": "INT",
          "widget": {
            "name": "offset_x"
          },
          "link": 591
        },
        {
          "name": "offset_y",
          "type": "INT",
          "widget": {
            "name": "offset_y"
          },
          "link": 592
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            589
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui_essentials",
        "ver": "9d9f4bedfc9f0321c19faf71855e228c93bd0dc9",
        "Node name for S&R": "ImageComposite+"
      },
      "widgets_values": [
        0,
        0,
        0,
        0
      ]
    },
    {
      "id": 328,
      "type": "GetNode",
      "pos": [
        -5184.408356344759,
        8473.234580835224
      ],
      "size": [
        212.5826171875,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 9,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            587
          ]
        }
      ],
      "title": "Get_CroppedMaskRefined",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "GetNode"
      },
      "widgets_values": [
        "CroppedMaskRefined"
      ],
      "color": "#1c5715",
      "bgcolor": "#1f401b"
    },
    {
      "id": 325,
      "type": "GetNode",
      "pos": [
        -5188.224781537998,
        8033.10954489642
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 10,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            577
          ]
        }
      ],
      "title": "Get_VideoHeight_0",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "GetNode"
      },
      "widgets_values": [
        "VideoHeight_0"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 323,
      "type": "SetNode",
      "pos": [
        -4228.805147005282,
        6280.45118857651
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 43,
      "mode": 0,
      "inputs": [
        {
          "name": "INT",
          "type": "INT",
          "link": 575
        }
      ],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": []
        }
      ],
      "title": "Set_CropY",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "SetNode",
        "previousName": "CropY"
      },
      "widgets_values": [
        "CropY"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 322,
      "type": "SetNode",
      "pos": [
        -4225.291752161076,
        6161.130894444398
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 42,
      "mode": 0,
      "inputs": [
        {
          "name": "INT",
          "type": "INT",
          "link": 574
        }
      ],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": []
        }
      ],
      "title": "Set_CropX",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "SetNode",
        "previousName": "CropX"
      },
      "widgets_values": [
        "CropX"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 273,
      "type": "MaskBoundingBox+",
      "pos": [
        -4939.233713437751,
        5894.922897052504
      ],
      "size": [
        270,
        182
      ],
      "flags": {},
      "order": 31,
      "mode": 0,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 527
        },
        {
          "name": "image_optional",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": []
        },
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": []
        },
        {
          "name": "x",
          "type": "INT",
          "links": [
            461,
            540,
            574
          ]
        },
        {
          "name": "y",
          "type": "INT",
          "links": [
            462,
            541,
            575
          ]
        },
        {
          "name": "width",
          "type": "INT",
          "links": [
            463,
            542
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            464,
            543
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui_essentials",
        "ver": "9d9f4bedfc9f0321c19faf71855e228c93bd0dc9",
        "Node name for S&R": "MaskBoundingBox+"
      },
      "widgets_values": [
        0,
        0
      ]
    },
    {
      "id": 330,
      "type": "GetNode",
      "pos": [
        -4902.752245330297,
        8342.454320862898
      ],
      "size": [
        212.5826171875,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 11,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            592
          ]
        }
      ],
      "title": "Get_CropY",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "GetNode"
      },
      "widgets_values": [
        "CropY"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 329,
      "type": "GetNode",
      "pos": [
        -4908.15746816754,
        8231.64725269945
      ],
      "size": [
        212.5826171875,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 12,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            591
          ]
        }
      ],
      "title": "Get_CropX",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "GetNode"
      },
      "widgets_values": [
        "CropX"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 334,
      "type": "MaskToImage",
      "pos": [
        -4888.748315504982,
        8474.845719816578
      ],
      "size": [
        193.2779296875,
        26
      ],
      "flags": {},
      "order": 32,
      "mode": 0,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 587
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            590
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.2",
        "Node name for S&R": "MaskToImage"
      },
      "widgets_values": []
    },
    {
      "id": 333,
      "type": "GetNode",
      "pos": [
        -3404.652042430807,
        7886.04279848985
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 13,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            585
          ]
        }
      ],
      "title": "Get_InputVideo_0",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "GetNode"
      },
      "widgets_values": [
        "InputVideo_0"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 311,
      "type": "AILab_MaskOverlay",
      "pos": [
        -2554.694421649973,
        6885.765974826421
      ],
      "size": [
        300,
        316
      ],
      "flags": {},
      "order": 76,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "shape": 7,
          "type": "IMAGE",
          "link": 573
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": 610
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            556
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            579
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-rmbg",
        "ver": "a1ca256ce5ef3d2d990935415bad76c4269aa80d",
        "Node name for S&R": "AILab_MaskOverlay"
      },
      "widgets_values": [
        1,
        "#00ff11"
      ],
      "color": "#2e3e57",
      "bgcolor": "#4b5b73"
    },
    {
      "id": 327,
      "type": "SetNode",
      "pos": [
        -2215.911549204647,
        7336.083440847394
      ],
      "size": [
        211.1197265625,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 81,
      "mode": 0,
      "inputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "link": 579
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": []
        }
      ],
      "title": "Set_CroppedMaskRefined",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "SetNode",
        "previousName": "CroppedMaskRefined"
      },
      "widgets_values": [
        "CroppedMaskRefined"
      ],
      "color": "#1c5715",
      "bgcolor": "#1f401b"
    },
    {
      "id": 310,
      "type": "TemporalMaskRemoveShortObjects",
      "pos": [
        -3374.619113014466,
        6935.564827090681
      ],
      "size": [
        352.58359375,
        82
      ],
      "flags": {},
      "order": 68,
      "mode": 4,
      "inputs": [
        {
          "label": "Mask Sequence",
          "name": "mask_batch",
          "type": "MASK",
          "link": 552
        }
      ],
      "outputs": [
        {
          "name": "Mask Batch",
          "type": "MASK",
          "links": [
            609
          ]
        }
      ],
      "properties": {
        "cnr_id": "temporal-mask-tools",
        "ver": "1.0.1",
        "Node name for S&R": "TemporalMaskRemoveShortObjects"
      },
      "widgets_values": [
        4,
        10
      ]
    },
    {
      "id": 351,
      "type": "GrowMaskWithBlur",
      "pos": [
        -2933.021969112167,
        6963.59345238751
      ],
      "size": [
        289.8514030776332,
        246
      ],
      "flags": {},
      "order": 72,
      "mode": 4,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 609
        }
      ],
      "outputs": [
        {
          "name": "mask",
          "type": "MASK",
          "links": [
            610
          ]
        },
        {
          "name": "mask_inverted",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1.1.9",
        "Node name for S&R": "GrowMaskWithBlur"
      },
      "widgets_values": [
        25,
        0,
        false,
        false,
        0,
        1,
        1,
        false
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 332,
      "type": "AILab_MaskOverlay",
      "pos": [
        -3109.3227932213667,
        8008.830356725759
      ],
      "size": [
        300,
        316
      ],
      "flags": {},
      "order": 73,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "shape": 7,
          "type": "IMAGE",
          "link": 585
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": 605
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": []
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            606
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-rmbg",
        "ver": "a1ca256ce5ef3d2d990935415bad76c4269aa80d",
        "Node name for S&R": "AILab_MaskOverlay"
      },
      "widgets_values": [
        1,
        "#00ff11"
      ],
      "color": "#2e3e57",
      "bgcolor": "#4b5b73"
    },
    {
      "id": 317,
      "type": "ImageToMask",
      "pos": [
        -4120.8793470246255,
        8028.908500536588
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 60,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 589
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            613
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.2",
        "Node name for S&R": "ImageToMask"
      },
      "widgets_values": [
        "red"
      ]
    },
    {
      "id": 353,
      "type": "ComfySwitchNode",
      "pos": [
        -3768.0815125257845,
        8008.403982046019
      ],
      "size": [
        270,
        78
      ],
      "flags": {},
      "order": 65,
      "mode": 0,
      "inputs": [
        {
          "name": "on_false",
          "type": "MASK",
          "link": 615
        },
        {
          "name": "on_true",
          "type": "MASK",
          "link": 613
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "MASK",
          "links": [
            614
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.2",
        "Node name for S&R": "ComfySwitchNode"
      },
      "widgets_values": [
        true
      ]
    },
    {
      "id": 349,
      "type": "GetNode",
      "pos": [
        -2731.322084981063,
        8119.475668720972
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 14,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": [
            608
          ]
        }
      ],
      "title": "Get_fps_0",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "GetNode"
      },
      "widgets_values": [
        "fps_0"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 354,
      "type": "GetNode",
      "pos": [
        -4084.714101167733,
        7855.2293480456065
      ],
      "size": [
        210.9556640625,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 15,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            615
          ]
        }
      ],
      "title": "Get_Optimised_BaseMask",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "GetNode"
      },
      "widgets_values": [
        "Optimised_BaseMask"
      ],
      "color": "#1c5715",
      "bgcolor": "#1f401b"
    },
    {
      "id": 352,
      "type": "VHS_VideoCombine",
      "pos": [
        -4268.16718762672,
        481.8711646417727
      ],
      "size": [
        225.3349609375,
        334
      ],
      "flags": {},
      "order": 49,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 612
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager",
          "link": null
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": null
        },
        {
          "name": "frame_rate",
          "type": "FLOAT",
          "widget": {
            "name": "frame_rate"
          },
          "link": 623
        }
      ],
      "outputs": [
        {
          "name": "Filenames",
          "type": "VHS_FILENAMES",
          "links": null
        }
      ],
      "title": "OUTPUT",
      "properties": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "1.7.7",
        "Node name for S&R": "VHS_VideoCombine"
      },
      "widgets_values": {
        "frame_rate": 24,
        "loop_count": 0,
        "filename_prefix": "AnimateDiff",
        "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": "AnimateDiff_00012.mp4",
            "subfolder": "",
            "type": "temp",
            "format": "video/h264-mp4",
            "frame_rate": 24,
            "workflow": "AnimateDiff_00012.png",
            "fullpath": "/workspace/ComfyUI/temp/AnimateDiff_00012.mp4"
          }
        }
      }
    },
    {
      "id": 299,
      "type": "VHS_VideoCombine",
      "pos": [
        -332.3644460161319,
        3302.949769000001
      ],
      "size": [
        225.3349609375,
        334
      ],
      "flags": {},
      "order": 78,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 530
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager",
          "link": null
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": null
        },
        {
          "name": "frame_rate",
          "type": "FLOAT",
          "widget": {
            "name": "frame_rate"
          },
          "link": 624
        }
      ],
      "outputs": [
        {
          "name": "Filenames",
          "type": "VHS_FILENAMES",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "1.7.7",
        "Node name for S&R": "VHS_VideoCombine"
      },
      "widgets_values": {
        "frame_rate": 24,
        "loop_count": 0,
        "filename_prefix": "AnimateDiff",
        "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": "AnimateDiff_00013.mp4",
            "subfolder": "",
            "type": "temp",
            "format": "video/h264-mp4",
            "frame_rate": 24,
            "workflow": "AnimateDiff_00013.png",
            "fullpath": "/workspace/ComfyUI/temp/AnimateDiff_00013.mp4"
          }
        }
      }
    },
    {
      "id": 136,
      "type": "VHS_VideoCombine",
      "pos": [
        -1811.0705150393032,
        4585.676687701367
      ],
      "size": [
        225.3349609375,
        334
      ],
      "flags": {},
      "order": 79,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 179
        },
        {
          "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": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "1.7.7",
        "Node name for S&R": "VHS_VideoCombine"
      },
      "widgets_values": {
        "frame_rate": 24,
        "loop_count": 0,
        "filename_prefix": "AnimateDiff",
        "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": "AnimateDiff_00014.mp4",
            "subfolder": "",
            "type": "temp",
            "format": "video/h264-mp4",
            "frame_rate": 24,
            "workflow": "AnimateDiff_00014.png",
            "fullpath": "/workspace/ComfyUI/temp/AnimateDiff_00014.mp4"
          }
        }
      }
    },
    {
      "id": 303,
      "type": "AILab_MaskOverlay",
      "pos": [
        -3827.396934518258,
        5941.113795336627
      ],
      "size": [
        300,
        316
      ],
      "flags": {},
      "order": 57,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "shape": 7,
          "type": "IMAGE",
          "link": 546
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": 545
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            539
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfyui-rmbg",
        "ver": "a1ca256ce5ef3d2d990935415bad76c4269aa80d",
        "Node name for S&R": "AILab_MaskOverlay"
      },
      "widgets_values": [
        0.5,
        "#00ff11"
      ],
      "color": "#2e3e57",
      "bgcolor": "#4b5b73"
    },
    {
      "id": 307,
      "type": "VHS_VideoCombine",
      "pos": [
        -2200.3452936126064,
        6886.6199566590285
      ],
      "size": [
        225.3349609375,
        334
      ],
      "flags": {},
      "order": 80,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 556
        },
        {
          "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": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "1.7.7",
        "Node name for S&R": "VHS_VideoCombine"
      },
      "widgets_values": {
        "frame_rate": 24,
        "loop_count": 0,
        "filename_prefix": "AnimateDiff",
        "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": "AnimateDiff_00017.mp4",
            "subfolder": "",
            "type": "temp",
            "format": "video/h264-mp4",
            "frame_rate": 24,
            "workflow": "AnimateDiff_00017.png",
            "fullpath": "/workspace/ComfyUI/temp/AnimateDiff_00017.mp4"
          }
        }
      }
    },
    {
      "id": 320,
      "type": "GetNode",
      "pos": [
        -5185.336926156901,
        6879.730515996333
      ],
      "size": [
        210.9556640625,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 16,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            572,
            573,
            616
          ]
        }
      ],
      "title": "Get_CroppedImage",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "GetNode"
      },
      "widgets_values": [
        "CroppedImage"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 306,
      "type": "AILab_SDMatte",
      "pos": [
        -4875.404463359649,
        6930.217486276977
      ],
      "size": [
        300,
        340
      ],
      "flags": {},
      "order": 33,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 572
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": 571
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": []
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            619
          ]
        },
        {
          "name": "MASK_IMAGE",
          "type": "IMAGE",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfyui-rmbg",
        "ver": "3.0.0",
        "Node name for S&R": "AILab_SDMatte"
      },
      "widgets_values": [
        "SDMatte_plus",
        "GPU",
        1024,
        false,
        true,
        1,
        0,
        0,
        false,
        "Alpha",
        "#222222"
      ],
      "color": "#2e3e57",
      "bgcolor": "#4b5b73"
    },
    {
      "id": 355,
      "type": "BiRefNetRMBG",
      "pos": [
        -4878.249870021837,
        7338.699188097851
      ],
      "size": [
        340,
        244
      ],
      "flags": {},
      "order": 34,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 616
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": null
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            620
          ]
        },
        {
          "name": "MASK_IMAGE",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-rmbg",
        "ver": "3.0.0",
        "Node name for S&R": "BiRefNetRMBG"
      },
      "widgets_values": [
        "BiRefNet-HR-matting",
        0,
        0,
        false,
        false,
        "Alpha",
        "#222222"
      ],
      "color": "#222e40",
      "bgcolor": "#364254"
    },
    {
      "id": 309,
      "type": "TemporalMaskUnion",
      "pos": [
        -3676.8036981684218,
        6935.04542759606
      ],
      "size": [
        270,
        106
      ],
      "flags": {},
      "order": 64,
      "mode": 4,
      "inputs": [
        {
          "label": "Mask Sequence",
          "name": "mask_batch",
          "type": "MASK",
          "link": 551
        }
      ],
      "outputs": [
        {
          "name": "Mask Batch",
          "type": "MASK",
          "links": [
            552
          ]
        }
      ],
      "properties": {
        "cnr_id": "temporal-mask-tools",
        "ver": "1.0.1",
        "Node name for S&R": "TemporalMaskUnion"
      },
      "widgets_values": [
        3,
        "or",
        3
      ]
    },
    {
      "id": 308,
      "type": "TemporalMaskRemoveShortObjects",
      "pos": [
        -4065.936979419249,
        6956.324101306607
      ],
      "size": [
        352.58359375,
        82
      ],
      "flags": {},
      "order": 59,
      "mode": 4,
      "inputs": [
        {
          "label": "Mask Sequence",
          "name": "mask_batch",
          "type": "MASK",
          "link": 621
        }
      ],
      "outputs": [
        {
          "name": "Mask Batch",
          "type": "MASK",
          "links": [
            551
          ]
        }
      ],
      "properties": {
        "cnr_id": "temporal-mask-tools",
        "ver": "1.0.1",
        "Node name for S&R": "TemporalMaskRemoveShortObjects"
      },
      "widgets_values": [
        2,
        10
      ]
    },
    {
      "id": 324,
      "type": "GetNode",
      "pos": [
        -5197.684207291015,
        7905.968086370614
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 17,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            576
          ]
        }
      ],
      "title": "Get_VideoWidth_0",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "GetNode"
      },
      "widgets_values": [
        "VideoWidth_0"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 357,
      "type": "easy anythingIndexSwitch",
      "pos": [
        -4443.2616383673285,
        6961.688325764137
      ],
      "size": [
        270,
        98
      ],
      "flags": {},
      "order": 46,
      "mode": 0,
      "inputs": [
        {
          "name": "value0",
          "shape": 7,
          "type": "*",
          "link": 619
        },
        {
          "name": "value1",
          "shape": 7,
          "type": "*",
          "link": 620
        },
        {
          "name": "value2",
          "type": "*",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "value",
          "type": "*",
          "links": [
            621
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-easy-use",
        "ver": "337a03bb19273ee084e56b16a59ad35cb07a1a04",
        "Node name for S&R": "easy anythingIndexSwitch"
      },
      "widgets_values": [
        1
      ]
    },
    {
      "id": 347,
      "type": "InvertMask",
      "pos": [
        -3425.097939992792,
        8031.9392300423915
      ],
      "size": [
        140,
        26
      ],
      "flags": {},
      "order": 69,
      "mode": 4,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 614
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            605
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.2",
        "Node name for S&R": "InvertMask"
      },
      "widgets_values": []
    },
    {
      "id": 348,
      "type": "MaskToImage",
      "pos": [
        -2728.0756009339857,
        7941.710844270394
      ],
      "size": [
        193.2779296875,
        26
      ],
      "flags": {},
      "order": 77,
      "mode": 0,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 606
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            622
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.2",
        "Node name for S&R": "MaskToImage"
      },
      "widgets_values": []
    },
    {
      "id": 358,
      "type": "Note",
      "pos": [
        -4433.074349601138,
        6639.970830483309
      ],
      "size": [
        233.91117814516224,
        122.18442877179677
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "0 - SDMatte - Good general purpose mask refiner, less ideal for humans and fine detail\n\n1 - BiRefNet - Great at humans and fine detail"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 172,
      "type": "VHS_LoadVideo",
      "pos": [
        -5293.523836297366,
        506.7062881698846
      ],
      "size": [
        420,
        535
      ],
      "flags": {},
      "order": 19,
      "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": [
            201,
            612
          ]
        },
        {
          "name": "frame_count",
          "type": "INT",
          "links": null
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "links": null
        },
        {
          "name": "video_info",
          "type": "VHS_VIDEOINFO",
          "links": [
            208
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "1.7.7",
        "Node name for S&R": "VHS_LoadVideo"
      },
      "widgets_values": {
        "video": "PF0028-05_Clip-5_REC709_2K.webm",
        "force_rate": 0,
        "custom_width": 0,
        "custom_height": 0,
        "frame_load_cap": 50,
        "skip_first_frames": 0,
        "select_every_nth": 1,
        "format": "AnimateDiff",
        "videopreview": {
          "hidden": false,
          "paused": false,
          "params": {
            "filename": "PF0028-05_Clip-5_REC709_2K.webm",
            "type": "input",
            "format": "video/webm",
            "force_rate": 0,
            "custom_width": 1080,
            "custom_height": 0,
            "frame_load_cap": 50,
            "skip_first_frames": 0,
            "select_every_nth": 1
          }
        }
      },
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 359,
      "type": "Note",
      "pos": [
        -5575.865075646624,
        698.5670104563143
      ],
      "size": [
        233.91117814516224,
        122.18442877179677
      ],
      "flags": {},
      "order": 20,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "Frames cap set to 50 here by default, set to the length of your shot, or an appropriate length for the size of machine "
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 158,
      "type": "VHS_VideoInfoLoaded",
      "pos": [
        -4839.586441494821,
        602.4712675259849
      ],
      "size": [
        255.0166015625,
        106
      ],
      "flags": {
        "collapsed": false
      },
      "order": 37,
      "mode": 0,
      "inputs": [
        {
          "name": "video_info",
          "type": "VHS_VIDEOINFO",
          "link": 208
        }
      ],
      "outputs": [
        {
          "name": "fps🟦",
          "type": "FLOAT",
          "links": [
            204,
            623
          ]
        },
        {
          "name": "frame_count🟦",
          "type": "INT",
          "links": [
            207
          ]
        },
        {
          "name": "duration🟦",
          "type": "FLOAT",
          "links": []
        },
        {
          "name": "width🟦",
          "type": "INT",
          "links": [
            205
          ]
        },
        {
          "name": "height🟦",
          "type": "INT",
          "links": [
            206
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "1.7.7",
        "Node name for S&R": "VHS_VideoInfoLoaded"
      },
      "widgets_values": {}
    },
    {
      "id": 132,
      "type": "Sam2VideoSegmentationAddPoints",
      "pos": [
        -2806.266126200879,
        1698.8388067801552
      ],
      "size": [
        334.8580078125,
        162
      ],
      "flags": {},
      "order": 39,
      "mode": 0,
      "inputs": [
        {
          "name": "sam2_model",
          "type": "SAM2MODEL",
          "link": 163
        },
        {
          "name": "coordinates_positive",
          "type": "STRING",
          "link": 164
        },
        {
          "name": "image",
          "shape": 7,
          "type": "IMAGE",
          "link": 170
        },
        {
          "name": "coordinates_negative",
          "shape": 7,
          "type": "STRING",
          "link": 165
        },
        {
          "name": "prev_inference_state",
          "shape": 7,
          "type": "SAM2INFERENCESTATE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "sam2_model",
          "type": "SAM2MODEL",
          "links": [
            166
          ]
        },
        {
          "name": "inference_state",
          "type": "SAM2INFERENCESTATE",
          "links": [
            167
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-segment-anything-2",
        "ver": "1.0.2",
        "Node name for S&R": "Sam2VideoSegmentationAddPoints"
      },
      "widgets_values": [
        0,
        0
      ]
    },
    {
      "id": 301,
      "type": "GetNode",
      "pos": [
        -991.3264004141804,
        3250.7948583939537
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 21,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            531
          ]
        }
      ],
      "title": "Get_InputVideo_0",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "GetNode"
      },
      "widgets_values": [
        "InputVideo_0"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 360,
      "type": "GetNode",
      "pos": [
        -590.0077713114619,
        3136.184269463408
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 22,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": [
            624
          ]
        }
      ],
      "title": "Get_fps_0",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "GetNode"
      },
      "widgets_values": [
        "fps_0"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 28,
      "type": "GrowMaskWithBlur",
      "pos": [
        -3371.307307289743,
        3903.1757704928186
      ],
      "size": [
        289.8514030776332,
        246
      ],
      "flags": {},
      "order": 62,
      "mode": 0,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 427
        }
      ],
      "outputs": [
        {
          "name": "mask",
          "type": "MASK",
          "links": [
            140
          ]
        },
        {
          "name": "mask_inverted",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1.1.9",
        "Node name for S&R": "GrowMaskWithBlur"
      },
      "widgets_values": [
        25,
        0,
        false,
        false,
        0,
        1,
        1,
        false
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 123,
      "type": "GrowMaskWithBlur",
      "pos": [
        -3330.393134779718,
        4696.165220990058
      ],
      "size": [
        299.84375,
        246
      ],
      "flags": {},
      "order": 53,
      "mode": 0,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 351
        }
      ],
      "outputs": [
        {
          "name": "mask",
          "type": "MASK",
          "links": [
            145
          ]
        },
        {
          "name": "mask_inverted",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "bb1d9d5d2259497a1d26e051f32af866043de77a",
        "Node name for S&R": "GrowMaskWithBlur"
      },
      "widgets_values": [
        0,
        0,
        true,
        false,
        0,
        1,
        1,
        false
      ]
    },
    {
      "id": 272,
      "type": "Note",
      "pos": [
        -1371.2602511315176,
        3178.6246689315285
      ],
      "size": [
        233.91117814516224,
        122.18442877179677
      ],
      "flags": {},
      "order": 23,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "false = Click points\ntrue - Prompt"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 361,
      "type": "Note",
      "pos": [
        -2858.674984850647,
        4467.708934797217
      ],
      "size": [
        233.91117814516224,
        122.18442877179677
      ],
      "flags": {},
      "order": 24,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "Enable this to merge in the static mask"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 236,
      "type": "InvertMask",
      "pos": [
        -3526.3669013842828,
        4701.457832030688
      ],
      "size": [
        140,
        26
      ],
      "flags": {},
      "order": 38,
      "mode": 4,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 350
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            351
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.10.0",
        "Node name for S&R": "InvertMask"
      },
      "widgets_values": []
    },
    {
      "id": 277,
      "type": "GetNode",
      "pos": [
        -5184.258310213131,
        5730.767487670198
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 25,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            510
          ]
        }
      ],
      "title": "Get_InputVideo_0",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "GetNode"
      },
      "widgets_values": [
        "InputVideo_0"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 362,
      "type": "GetNode",
      "pos": [
        -3782.1970704650134,
        6334.6481076107275
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": false
      },
      "order": 26,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": [
            625
          ]
        }
      ],
      "title": "Get_fps_0",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "GetNode"
      },
      "widgets_values": [
        "fps_0"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 101,
      "type": "SAM3Segment",
      "pos": [
        -1923.640974584511,
        3380.616001489504
      ],
      "size": [
        400,
        394
      ],
      "flags": {},
      "order": 29,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 99
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": []
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            177
          ]
        },
        {
          "name": "MASK_IMAGE",
          "type": "IMAGE",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfyui-rmbg",
        "ver": "a1ca256ce5ef3d2d990935415bad76c4269aa80d",
        "Node name for S&R": "SAM3Segment"
      },
      "widgets_values": [
        "",
        "Merged",
        0.2,
        128,
        0,
        0,
        0,
        "GPU",
        false,
        false,
        "Alpha",
        "#222222"
      ],
      "color": "#222e40",
      "bgcolor": "#364254"
    },
    {
      "id": 331,
      "type": "VHS_VideoCombine",
      "pos": [
        -2448.4483986921578,
        8028.3651472009615
      ],
      "size": [
        225.3349609375,
        334
      ],
      "flags": {},
      "order": 82,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 622
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager",
          "link": null
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": null
        },
        {
          "name": "frame_rate",
          "type": "FLOAT",
          "widget": {
            "name": "frame_rate"
          },
          "link": 608
        }
      ],
      "outputs": [
        {
          "name": "Filenames",
          "type": "VHS_FILENAMES",
          "links": null
        }
      ],
      "title": "OUTPUT",
      "properties": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "1.7.7",
        "Node name for S&R": "VHS_VideoCombine"
      },
      "widgets_values": {
        "frame_rate": 24,
        "loop_count": 0,
        "filename_prefix": "AnimateDiff",
        "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": "AnimateDiff_00010.mp4",
            "subfolder": "",
            "type": "temp",
            "format": "video/h264-mp4",
            "frame_rate": 24,
            "workflow": "AnimateDiff_00010.png",
            "fullpath": "/workspace/ComfyUI/temp/AnimateDiff_00010.mp4"
          }
        }
      }
    }
  ],
  "links": [
    [
      84,
      25,
      4,
      66,
      0,
      "IMAGE"
    ],
    [
      85,
      67,
      0,
      66,
      4,
      "FLOAT"
    ],
    [
      96,
      46,
      0,
      25,
      0,
      "IMAGE"
    ],
    [
      99,
      47,
      0,
      101,
      0,
      "IMAGE"
    ],
    [
      139,
      120,
      0,
      121,
      0,
      "IMAGE"
    ],
    [
      140,
      28,
      0,
      122,
      0,
      "MASK"
    ],
    [
      145,
      123,
      0,
      122,
      1,
      "MASK"
    ],
    [
      163,
      127,
      0,
      132,
      0,
      "SAM2MODEL"
    ],
    [
      164,
      25,
      0,
      132,
      1,
      "STRING"
    ],
    [
      165,
      25,
      1,
      132,
      3,
      "STRING"
    ],
    [
      166,
      132,
      0,
      131,
      0,
      "SAM2MODEL"
    ],
    [
      167,
      132,
      1,
      131,
      1,
      "SAM2INFERENCESTATE"
    ],
    [
      170,
      46,
      0,
      132,
      2,
      "IMAGE"
    ],
    [
      173,
      131,
      0,
      134,
      1,
      "MASK"
    ],
    [
      174,
      46,
      0,
      134,
      0,
      "IMAGE"
    ],
    [
      176,
      134,
      1,
      125,
      0,
      "MASK"
    ],
    [
      177,
      101,
      1,
      125,
      1,
      "MASK"
    ],
    [
      179,
      135,
      0,
      136,
      0,
      "IMAGE"
    ],
    [
      181,
      48,
      0,
      135,
      0,
      "IMAGE"
    ],
    [
      201,
      172,
      0,
      147,
      0,
      "IMAGE"
    ],
    [
      204,
      158,
      0,
      151,
      0,
      "FLOAT"
    ],
    [
      205,
      158,
      3,
      152,
      0,
      "INT"
    ],
    [
      206,
      158,
      4,
      153,
      0,
      "INT"
    ],
    [
      207,
      158,
      1,
      157,
      0,
      "INT"
    ],
    [
      208,
      172,
      3,
      158,
      0,
      "VHS_VIDEOINFO"
    ],
    [
      350,
      121,
      0,
      236,
      0,
      "MASK"
    ],
    [
      351,
      236,
      0,
      123,
      0,
      "MASK"
    ],
    [
      424,
      102,
      0,
      265,
      0,
      "MASK"
    ],
    [
      426,
      265,
      0,
      266,
      0,
      "MASK"
    ],
    [
      427,
      266,
      0,
      28,
      0,
      "MASK"
    ],
    [
      461,
      273,
      2,
      278,
      3,
      "INT"
    ],
    [
      462,
      273,
      3,
      278,
      4,
      "INT"
    ],
    [
      463,
      273,
      4,
      278,
      1,
      "INT"
    ],
    [
      464,
      273,
      5,
      278,
      2,
      "INT"
    ],
    [
      510,
      277,
      0,
      278,
      0,
      "IMAGE"
    ],
    [
      524,
      125,
      0,
      294,
      0,
      "MASK"
    ],
    [
      525,
      295,
      0,
      102,
      0,
      "MASK"
    ],
    [
      526,
      122,
      0,
      296,
      0,
      "MASK"
    ],
    [
      527,
      297,
      0,
      273,
      0,
      "MASK"
    ],
    [
      529,
      296,
      0,
      135,
      1,
      "MASK"
    ],
    [
      530,
      300,
      0,
      299,
      0,
      "IMAGE"
    ],
    [
      531,
      301,
      0,
      300,
      0,
      "IMAGE"
    ],
    [
      532,
      294,
      0,
      300,
      1,
      "MASK"
    ],
    [
      539,
      303,
      0,
      304,
      0,
      "IMAGE"
    ],
    [
      540,
      273,
      2,
      305,
      1,
      "INT"
    ],
    [
      541,
      273,
      3,
      305,
      2,
      "INT"
    ],
    [
      542,
      273,
      4,
      305,
      3,
      "INT"
    ],
    [
      543,
      273,
      5,
      305,
      4,
      "INT"
    ],
    [
      544,
      297,
      0,
      305,
      0,
      "MASK"
    ],
    [
      545,
      305,
      0,
      303,
      1,
      "MASK"
    ],
    [
      546,
      278,
      0,
      303,
      0,
      "IMAGE"
    ],
    [
      551,
      308,
      0,
      309,
      0,
      "MASK"
    ],
    [
      552,
      309,
      0,
      310,
      0,
      "MASK"
    ],
    [
      556,
      311,
      0,
      307,
      0,
      "IMAGE"
    ],
    [
      569,
      278,
      0,
      318,
      0,
      "IMAGE"
    ],
    [
      570,
      305,
      0,
      319,
      0,
      "MASK"
    ],
    [
      571,
      321,
      0,
      306,
      1,
      "MASK"
    ],
    [
      572,
      320,
      0,
      306,
      0,
      "IMAGE"
    ],
    [
      573,
      320,
      0,
      311,
      0,
      "IMAGE"
    ],
    [
      574,
      273,
      2,
      322,
      0,
      "INT"
    ],
    [
      575,
      273,
      3,
      323,
      0,
      "INT"
    ],
    [
      576,
      324,
      0,
      316,
      0,
      "INT"
    ],
    [
      577,
      325,
      0,
      316,
      1,
      "INT"
    ],
    [
      579,
      311,
      1,
      327,
      0,
      "MASK"
    ],
    [
      585,
      333,
      0,
      332,
      0,
      "IMAGE"
    ],
    [
      587,
      328,
      0,
      334,
      0,
      "MASK"
    ],
    [
      588,
      316,
      0,
      335,
      0,
      "IMAGE"
    ],
    [
      589,
      335,
      0,
      317,
      0,
      "IMAGE"
    ],
    [
      590,
      334,
      0,
      335,
      1,
      "IMAGE"
    ],
    [
      591,
      329,
      0,
      335,
      3,
      "INT"
    ],
    [
      592,
      330,
      0,
      335,
      4,
      "INT"
    ],
    [
      605,
      347,
      0,
      332,
      1,
      "MASK"
    ],
    [
      606,
      332,
      1,
      348,
      0,
      "MASK"
    ],
    [
      608,
      349,
      0,
      331,
      4,
      "FLOAT"
    ],
    [
      609,
      310,
      0,
      351,
      0,
      "MASK"
    ],
    [
      610,
      351,
      0,
      311,
      1,
      "MASK"
    ],
    [
      612,
      172,
      0,
      352,
      0,
      "IMAGE"
    ],
    [
      613,
      317,
      0,
      353,
      1,
      "MASK"
    ],
    [
      614,
      353,
      0,
      347,
      0,
      "MASK"
    ],
    [
      615,
      354,
      0,
      353,
      0,
      "MASK"
    ],
    [
      616,
      320,
      0,
      355,
      0,
      "IMAGE"
    ],
    [
      619,
      306,
      1,
      357,
      0,
      "MASK"
    ],
    [
      620,
      355,
      1,
      357,
      1,
      "MASK"
    ],
    [
      621,
      357,
      0,
      308,
      0,
      "MASK"
    ],
    [
      622,
      348,
      0,
      331,
      0,
      "IMAGE"
    ],
    [
      623,
      158,
      0,
      352,
      4,
      "FLOAT"
    ],
    [
      624,
      360,
      0,
      299,
      4,
      "FLOAT"
    ],
    [
      625,
      362,
      0,
      304,
      4,
      "FLOAT"
    ]
  ],
  "groups": [
    {
      "id": 1,
      "title": "SAM2 Points",
      "bounding": [
        -5323.341617495866,
        1272.9558468355801,
        3914.3743343379233,
        1912.3936998255672
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 2,
      "title": "SAM3 Prompting",
      "bounding": [
        -2173.120506887164,
        3307.016001489504,
        659.4795323026535,
        477.6
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 12,
      "title": "Check Mask",
      "bounding": [
        -2164.4864829377834,
        4512.076687701367,
        584.1493663359824,
        417.6
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 15,
      "title": "Plate",
      "bounding": [
        -5303.523836297366,
        421.5002784732366,
        981.9069421110944,
        644.2060096966478
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 17,
      "title": "Mask optimisation",
      "bounding": [
        -5277.163429170313,
        3750.8629202824877,
        2281.393238456768,
        602.9907258808271
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 21,
      "title": "Static Mask",
      "bounding": [
        -4355.291486211526,
        4614.811977497063,
        1334.742101431808,
        423.6
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 22,
      "title": "Check Mask",
      "bounding": [
        -685.7804139146122,
        3229.349769000001,
        584.1493663359824,
        417.6
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 23,
      "title": "Crop",
      "bounding": [
        -5206.146631880339,
        5515.3439183875425,
        1980.712465122686,
        898.4984518181291
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 24,
      "title": "Check Mask",
      "bounding": [
        -3837.396934518258,
        5859.183717481807,
        584.1493663359824,
        417.6
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 25,
      "title": "Mask Refinement",
      "bounding": [
        -5200.732689854178,
        6806.130515996333,
        3272.2546338744623,
        798.7217568754932
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 26,
      "title": "OUTPUT",
      "bounding": [
        -5207.684207291015,
        7781.629348045606,
        2994.570769536356,
        759.6052327896183
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.1,
      "offset": [
        9415.218979285732,
        -2293.0955637535044
      ]
    },
    "workflowRendererVersion": "LG",
    "frontendVersion": "1.41.21",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}