{
  "id": "29adc3ab-7379-4f0a-9177-187953c2f197",
  "revision": 0,
  "last_node_id": 11,
  "last_link_id": 13,
  "nodes": [
    {
      "id": 1,
      "type": "VHS_LoadVideo",
      "pos": [
        1158.4756981031355,
        911.2240763142202
      ],
      "size": [
        255.86666870117188,
        448.1930654732285
      ],
      "flags": {},
      "order": 0,
      "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": [
            1,
            4,
            9
          ]
        },
        {
          "name": "frame_count",
          "type": "INT",
          "links": null
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "links": null
        },
        {
          "name": "video_info",
          "type": "VHS_VIDEOINFO",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "1.7.9",
        "Node name for S&R": "VHS_LoadVideo"
      },
      "widgets_values": {
        "video": "9488549-hd_1366_720_25fps.mp4",
        "force_rate": 0,
        "custom_width": 0,
        "custom_height": 0,
        "frame_load_cap": 125,
        "skip_first_frames": 500,
        "select_every_nth": 1,
        "format": "AnimateDiff",
        "videopreview": {
          "hidden": false,
          "paused": false,
          "params": {
            "filename": "9488549-hd_1366_720_25fps.mp4",
            "type": "input",
            "format": "video/mp4",
            "force_rate": 0,
            "custom_width": 0,
            "custom_height": 0,
            "frame_load_cap": 125,
            "skip_first_frames": 500,
            "select_every_nth": 1
          }
        }
      }
    },
    {
      "id": 3,
      "type": "VHS_VideoCombine",
      "pos": [
        1715.4553793385364,
        1245.9353259707639
      ],
      "size": [
        328.15575265228244,
        799.8324491596132
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 2
        },
        {
          "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.9",
        "Node name for S&R": "VHS_VideoCombine"
      },
      "widgets_values": {
        "frame_rate": 24,
        "loop_count": 0,
        "filename_prefix": "AnimateDiff",
        "format": "image/gif",
        "pingpong": false,
        "save_output": false,
        "videopreview": {
          "hidden": false,
          "paused": false,
          "params": {
            "filename": "AnimateDiff_00001.gif",
            "subfolder": "",
            "type": "temp",
            "format": "image/gif",
            "frame_rate": 24,
            "workflow": "AnimateDiff_00001.png",
            "fullpath": "C:\\Users\\Erba\\Documents\\01_ComfyUI\\temp\\AnimateDiff_00001.gif"
          }
        }
      }
    },
    {
      "id": 9,
      "type": "Mask To Image (mtb)",
      "pos": [
        2200.66795742634,
        1293.7883170260238
      ],
      "size": [
        210,
        130
      ],
      "flags": {
        "collapsed": true
      },
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 7
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            8
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-mtb",
        "ver": "b705a177d3ae93a969068f3ba156f3bc6fbc8a1d",
        "Node name for S&R": "Mask To Image (mtb)"
      },
      "widgets_values": [
        "#ff0000",
        "#000000",
        false
      ]
    },
    {
      "id": 8,
      "type": "ImageConcanate",
      "pos": [
        2641.1475661150803,
        1059.5692841058835
      ],
      "size": [
        270,
        102
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "image1",
          "type": "IMAGE",
          "link": 9
        },
        {
          "name": "image2",
          "type": "IMAGE",
          "link": 8
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            10
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1.3.6",
        "Node name for S&R": "ImageConcanate"
      },
      "widgets_values": [
        "right",
        true
      ]
    },
    {
      "id": 4,
      "type": "CorridorKeyNode",
      "pos": [
        2204.2751001104143,
        909.4252832870031
      ],
      "size": [
        270,
        246
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 4
        },
        {
          "name": "alpha_hint",
          "shape": 7,
          "type": "MASK",
          "link": 5
        }
      ],
      "outputs": [
        {
          "name": "mask",
          "type": "MASK",
          "links": null
        },
        {
          "name": "composite",
          "type": "IMAGE",
          "links": [
            11
          ]
        }
      ],
      "properties": {
        "aux_id": "KoLt-Real/Comfy_CorridorKey",
        "ver": "75f400c85ce3820e66f7656ad26b0b612ed90a8a",
        "Node name for S&R": "CorridorKeyNode"
      },
      "widgets_values": [
        "None",
        "cuda",
        true,
        false,
        1,
        true,
        400,
        true
      ]
    },
    {
      "id": 2,
      "type": "SAM3Segmentation",
      "pos": [
        1427.3812883785029,
        1096.4552164597044
      ],
      "size": [
        270,
        262
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 1
        }
      ],
      "outputs": [
        {
          "name": "segmented_image",
          "type": "IMAGE",
          "links": [
            2
          ]
        },
        {
          "name": "masks",
          "type": "MASK",
          "links": [
            5,
            7
          ]
        },
        {
          "name": "mask_combined",
          "type": "MASK",
          "links": null
        },
        {
          "name": "segs",
          "type": "SEGS",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui_sam3",
        "ver": "0.2.1",
        "Node name for S&R": "SAM3Segmentation"
      },
      "widgets_values": [
        "person",
        0.5,
        0,
        0,
        false,
        false,
        ""
      ]
    },
    {
      "id": 7,
      "type": "VHS_VideoCombine",
      "pos": [
        3025.583336265629,
        833.7246959773647
      ],
      "size": [
        1248.441358757836,
        334
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 13
        },
        {
          "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.9",
        "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": "C:\\Users\\Erba\\Documents\\01_ComfyUI\\temp\\AnimateDiff_00002.mp4"
          }
        }
      }
    },
    {
      "id": 11,
      "type": "ImageConcanate",
      "pos": [
        2641.9274021995,
        1215.4401279892481
      ],
      "size": [
        270,
        102
      ],
      "flags": {
        "collapsed": false
      },
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "image1",
          "type": "IMAGE",
          "link": 10
        },
        {
          "name": "image2",
          "type": "IMAGE",
          "link": 11
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            13
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1.3.6",
        "Node name for S&R": "ImageConcanate"
      },
      "widgets_values": [
        "right",
        true
      ]
    }
  ],
  "links": [
    [
      1,
      1,
      0,
      2,
      0,
      "IMAGE"
    ],
    [
      2,
      2,
      0,
      3,
      0,
      "IMAGE"
    ],
    [
      4,
      1,
      0,
      4,
      0,
      "IMAGE"
    ],
    [
      5,
      2,
      1,
      4,
      1,
      "MASK"
    ],
    [
      7,
      2,
      1,
      9,
      0,
      "MASK"
    ],
    [
      8,
      9,
      0,
      8,
      1,
      "IMAGE"
    ],
    [
      9,
      1,
      0,
      8,
      0,
      "IMAGE"
    ],
    [
      10,
      8,
      0,
      11,
      0,
      "IMAGE"
    ],
    [
      11,
      4,
      1,
      11,
      1,
      "IMAGE"
    ],
    [
      13,
      11,
      0,
      7,
      0,
      "IMAGE"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.9478304824208598,
      "offset": [
        -1785.035020885611,
        -783.4062550791633
      ]
    },
    "frontendVersion": "1.41.21",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}