workflows

去掉背景(抠图)comfyui工作流

去掉背景(抠图)comfyui工作流

{
  "last_node_id": 69,
  "last_link_id": 139,
  "nodes": [
    {
      "id": 53,
      "type": "Anything Everywhere3",
      "pos": [
        120,
        86
      ],
      "size": {
        "0": 219.54293823242188,
        "1": 95.08979034423828
      },
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "MODEL",
          "type": "*",
          "link": 134,
          "label": "MODEL",
          "color_on": "#B39DDB"
        },
        {
          "name": "CLIP",
          "type": "*",
          "link": 124,
          "label": "CLIP",
          "color_on": "#FFD500"
        },
        {
          "name": "VAE",
          "type": "*",
          "link": 125,
          "label": "VAE",
          "color_on": "#FF6E6E"
        }
      ],
      "properties": {
        "Node name for S&R": "Anything Everywhere3",
        "group_restricted": 0,
        "color_restricted": 0
      },
      "widgets_values": [],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 55,
      "type": "CLIPTextEncodeSDXL",
      "pos": [
        422,
        423
      ],
      "size": {
        "0": 417.7479248046875,
        "1": 296.6515808105469
      },
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": null,
          "label": "clip"
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            131
          ],
          "shape": 3,
          "label": "CONDITIONING",
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncodeSDXL"
      },
      "widgets_values": [
        4096,
        4096,
        0,
        0,
        1024,
        1024,
        "",
        "embedding:negative\\negativeXL_D"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 4,
      "type": "CheckpointLoaderSimple",
      "pos": [
        -313,
        86
      ],
      "size": {
        "0": 315,
        "1": 98
      },
      "flags": {},
      "order": 1,
      "mode": 0,
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            135
          ],
          "slot_index": 0,
          "label": "MODEL"
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            124,
            136
          ],
          "slot_index": 1,
          "label": "CLIP"
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            125
          ],
          "slot_index": 2,
          "label": "VAE"
        }
      ],
      "properties": {
        "Node name for S&R": "CheckpointLoaderSimple"
      },
      "widgets_values": [
        "juggernautXL.safetensors"
      ]
    },
    {
      "id": 61,
      "type": "LoraLoader",
      "pos": [
        -313,
        271
      ],
      "size": {
        "0": 315,
        "1": 126
      },
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 135,
          "label": "model",
          "slot_index": 0
        },
        {
          "name": "clip",
          "type": "CLIP",
          "link": 136,
          "label": "clip",
          "slot_index": 1
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            134
          ],
          "shape": 3,
          "label": "MODEL",
          "slot_index": 0
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": null,
          "shape": 3,
          "label": "CLIP"
        }
      ],
      "properties": {
        "Node name for S&R": "LoraLoader"
      },
      "widgets_values": [
        "MJ52.safetensors",
        0.75,
        1
      ]
    },
    {
      "id": 58,
      "type": "PrimitiveNode",
      "pos": [
        55,
        271
      ],
      "size": {
        "0": 290,
        "1": 140
      },
      "flags": {},
      "order": 2,
      "mode": 0,
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            127
          ],
          "widget": {
            "name": "text_g"
          },
          "label": "STRING"
        }
      ],
      "properties": {
        "Run widget replace on values": false
      },
      "widgets_values": [
        "a origami lion newspaper, standing on a real stone, reminds me the Lion Kind, from below, "
      ]
    },
    {
      "id": 60,
      "type": "KSampler",
      "pos": [
        888,
        86
      ],
      "size": {
        "0": 311.0707702636719,
        "1": 291.30120849609375
      },
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": null,
          "label": "model"
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 130,
          "label": "positive"
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 131,
          "label": "negative"
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 133,
          "label": "latent_image"
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            132
          ],
          "shape": 3,
          "label": "LATENT",
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        19,
        "fixed",
        6,
        1,
        "dpmpp_sde",
        "normal",
        1
      ]
    },
    {
      "id": 54,
      "type": "CLIPTextEncodeSDXL",
      "pos": [
        423,
        86
      ],
      "size": {
        "0": 417.7479248046875,
        "1": 296.6515808105469
      },
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": null,
          "label": "clip"
        },
        {
          "name": "text_g",
          "type": "STRING",
          "link": 127,
          "widget": {
            "name": "text_g"
          },
          "slot_index": 1,
          "label": "text_g"
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            130
          ],
          "shape": 3,
          "label": "CONDITIONING",
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncodeSDXL"
      },
      "widgets_values": [
        4096,
        4096,
        0,
        0,
        1024,
        1024,
        "a origami lion newspaper, standing on a real stone, reminds me the Lion Kind, from below, ",
        "trave,very inspirational, inspired, epic composition, vivid, imposing, versurreal, power pose,"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 59,
      "type": "EmptyLatentImage",
      "pos": [
        885,
        423
      ],
      "size": {
        "0": 315,
        "1": 106
      },
      "flags": {},
      "order": 3,
      "mode": 0,
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            133
          ],
          "shape": 3,
          "label": "LATENT",
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "EmptyLatentImage"
      },
      "widgets_values": [
        832,
        1216,
        1
      ]
    },
    {
      "id": 8,
      "type": "VAEDecode",
      "pos": [
        1244,
        86
      ],
      "size": {
        "0": 313.0660095214844,
        "1": 46
      },
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 132,
          "label": "samples"
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": null,
          "label": "vae"
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            9,
            137
          ],
          "slot_index": 0,
          "label": "IMAGE"
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      }
    },
    {
      "id": 69,
      "type": "SaveImage",
      "pos": [
        1950,
        90
      ],
      "size": {
        "0": 298.6609191894531,
        "1": 411.7038269042969
      },
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 139,
          "label": "images"
        }
      ],
      "properties": {},
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "id": 9,
      "type": "SaveImage",
      "pos": [
        1610,
        90
      ],
      "size": {
        "0": 298.6609191894531,
        "1": 411.7038269042969
      },
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 9,
          "label": "images"
        }
      ],
      "properties": {},
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "id": 67,
      "type": "Image Remove Background (rembg)",
      "pos": [
        1244,
        172
      ],
      "size": {
        "0": 315,
        "1": 58
      },
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 137,
          "label": "image"
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            139
          ],
          "shape": 3,
          "label": "IMAGE",
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "Image Remove Background (rembg)"
      },
      "widgets_values": [
        "u2netp"
      ]
    }
  ],
  "links": [
    [
      9,
      8,
      0,
      9,
      0,
      "IMAGE"
    ],
    [
      124,
      4,
      1,
      53,
      1,
      "CLIP"
    ],
    [
      125,
      4,
      2,
      53,
      2,
      "VAE"
    ],
    [
      127,
      58,
      0,
      54,
      1,
      "STRING"
    ],
    [
      130,
      54,
      0,
      60,
      1,
      "CONDITIONING"
    ],
    [
      131,
      55,
      0,
      60,
      2,
      "CONDITIONING"
    ],
    [
      132,
      60,
      0,
      8,
      0,
      "LATENT"
    ],
    [
      133,
      59,
      0,
      60,
      3,
      "LATENT"
    ],
    [
      134,
      61,
      0,
      53,
      0,
      "MODEL"
    ],
    [
      135,
      4,
      0,
      61,
      0,
      "MODEL"
    ],
    [
      136,
      4,
      1,
      61,
      1,
      "CLIP"
    ],
    [
      137,
      8,
      0,
      67,
      0,
      "IMAGE"
    ],
    [
      139,
      67,
      0,
      69,
      0,
      "IMAGE"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "workspace_info": {
      "id": "xUfRbM4Itvd1Cqlne-VQG"
    },
    "ds": {
      "scale": 0.6115909044841522,
      "offset": [
        568.5324358190825,
        360.44841438465664
      ]
    }
  },
  "version": 0.4
}