{
  "id": "91424937-e700-4041-902e-f4dc95d06c7a",
  "revision": 0,
  "last_node_id": 13,
  "last_link_id": 14,
  "nodes": [
    {
      "id": 1,
      "type": "VeedRemoveVideoBackgroundNode",
      "pos": [
        2310.798828125,
        750
      ],
      "size": [
        319.1216796875,
        126
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
        {
          "name": "model.video",
          "type": "VIDEO",
          "link": 1
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            4
          ]
        },
        {
          "name": "mask",
          "type": "MASK",
          "links": [
            5
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VeedRemoveVideoBackgroundNode"
      },
      "widgets_values": [
        "standard",
        true,
        true
      ],
      "widgets_values_named": {
        "model": "standard",
        "model.refine_foreground_edges": true,
        "model.subject_is_person": true
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 3,
      "type": "LoadVideo",
      "pos": [
        1770,
        750
      ],
      "size": [
        460,
        660
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            1
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "LoadVideo"
      },
      "widgets_values": [
        "swimcap_glass_pop_video.mp4",
        "image"
      ],
      "widgets_values_named": {
        "file": "swimcap_glass_pop_video.mp4",
        "upload": "image"
      }
    },
    {
      "id": 7,
      "type": "JoinImageWithAlpha",
      "pos": [
        2677.9205078125,
        750
      ],
      "size": [
        185.8609375,
        46
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 4
        },
        {
          "name": "alpha",
          "type": "MASK",
          "link": 5
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            6
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "JoinImageWithAlpha"
      }
    },
    {
      "id": 8,
      "type": "SaveImageAdvanced",
      "pos": [
        2950,
        750
      ],
      "size": [
        440,
        700
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "showAdvanced": true,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 6
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {},
      "widgets_values": [
        "VEED_RemoveBG",
        "png",
        "8-bit",
        "sRGB"
      ],
      "widgets_values_named": {
        "filename_prefix": "VEED_RemoveBG",
        "format": "png",
        "format.bit_depth": "8-bit",
        "format.input_color_space": "sRGB"
      }
    },
    {
      "id": 13,
      "type": "MarkdownNote",
      "pos": [
        1180,
        730
      ],
      "size": [
        520,
        620
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "## VEED Remove Video Background: Matte Export — Workflow Guide\n\n## Input Asset\n- [swimcap_glass_pop_video.mp4](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/swimcap_glass_pop_video.mp4)\n\n## How to Use\n1. Load a clip up to 60 seconds.\n2. Pick the mode: standard, fast (up to 1080p) or green screen.\n3. Run; Join Image with Alpha adds the mask as alpha for the PNG save.\n\n## Limits\n- Clips up to 60 seconds per run.\n- No resolution setting: 3840x2160 (standard, green screen), 1920x1080 (fast).\n- MP4 or WebM flattens the matte; save via Join Image with Alpha.\n- green screen uses spill_suppression_strength, not refine_foreground_edges or subject_is_person.\n"
      ],
      "widgets_values_named": {
        "text": "## VEED Remove Video Background: Matte Export — Workflow Guide\n\n## Input Asset\n- [swimcap_glass_pop_video.mp4](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/swimcap_glass_pop_video.mp4)\n\n## How to Use\n1. Load a clip up to 60 seconds.\n2. Pick the mode: standard, fast (up to 1080p) or green screen.\n3. Run; Join Image with Alpha adds the mask as alpha for the PNG save.\n\n## Limits\n- Clips up to 60 seconds per run.\n- No resolution setting: 3840x2160 (standard, green screen), 1920x1080 (fast).\n- MP4 or WebM flattens the matte; save via Join Image with Alpha.\n- green screen uses spill_suppression_strength, not refine_foreground_edges or subject_is_person.\n"
      },
      "color": "#222",
      "bgcolor": "#000",
      "title": "Note: Workflow Guide"
    }
  ],
  "links": [
    [
      1,
      3,
      0,
      1,
      0,
      "VIDEO"
    ],
    [
      4,
      1,
      0,
      7,
      0,
      "IMAGE"
    ],
    [
      5,
      1,
      1,
      7,
      1,
      "MASK"
    ],
    [
      6,
      7,
      0,
      8,
      0,
      "IMAGE"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.573085533011682,
      "offset": [
        -1015.0449123470044,
        78.25460360715736
      ]
    },
    "frontendVersion": "1.58.0"
  },
  "version": 0.4
}
