Skip to content
Python
1.2 KB
Raw Blame
{
  "17": {
    "class_type": "LoadImage",
    "inputs": {
      "image": "the_lily_veil.png"
    },
    "_meta": {
      "title": "Load Image"
    }
  },
  "18": {
    "class_type": "SaveImage",
    "inputs": {
      "images": [
        "19:16",
        0
      ],
      "filename_prefix": "freefield/remove-bg"
    },
    "_meta": {
      "title": "Save Image"
    }
  },
  "19:13": {
    "class_type": "RemoveBackground",
    "inputs": {
      "image": [
        "17",
        0
      ],
      "bg_removal_model": [
        "19:14",
        0
      ]
    },
    "_meta": {
      "title": "Remove Background"
    }
  },
  "19:14": {
    "class_type": "LoadBackgroundRemovalModel",
    "inputs": {
      "bg_removal_name": "birefnet.safetensors"
    },
    "_meta": {
      "title": "Load Background Removal Model"
    }
  },
  "19:15": {
    "class_type": "InvertMask",
    "inputs": {
      "mask": [
        "19:13",
        0
      ]
    },
    "_meta": {
      "title": "Invert Mask"
    }
  },
  "19:16": {
    "class_type": "JoinImageWithAlpha",
    "inputs": {
      "image": [
        "17",
        0
      ],
      "alpha": [
        "19:15",
        0
      ]
    },
    "_meta": {
      "title": "Join Image with Alpha"
    }
  }
}