- 版本 [version]
- 下载 138
- 文件大小 74037
- 文件计数 1
- 创建日期 2026年6月12日
- 最后更新 2026年9月20日
抠图合集 · 多种抠图方法整合
抠图合集 · 多种抠图方法整合 是一套面向抠图场景的 ComfyUI 工作流,全图共 63 个节点、61 条连线。链路以 PreviewImage ×6、JoinImageWithAlpha ×4、ResizeMask ×4 为主干,输出图像,适合需要稳定批量出图的同学。主模型 sam_vit_h_4b8939.pth、BiRefNet-general-epoch_244.pth、BiRefNet-DIS_ep580.pth。下载后直接导入即可使用,建议显存 8GB 起。
- 主模型:sam_vit_h_4b8939.pth、BiRefNet-general-epoch_244.pth、BiRefNet-DIS_ep580.pth
- 核心节点:PreviewImage ×6、JoinImageWithAlpha ×4、ResizeMask ×4
- 输出形式:输出图像
- 规模:63 节点 / 61 连线
- 建议显存:8GB 起
- 适用场景:发丝级抠图、前后景分离、图层拆分与智能擦除。
资源头图

工作流节点图
图较大可横向滚动;点击图片查看高清矢量原图(浏览器中可自由缩放)。
使用说明
下载工作流文件后在 ComfyUI 中直接拖入画布(或菜单 Load 导入)即可运行;缺失的自定义节点用 ComfyUI Manager 一键安装,模型按文件名放入对应的 models 目录。
源码预览
{
"id": "b69da258-197c-4555-b9bd-ac7980411dce",
"revision": 0,
"last_node_id": 108,
"last_link_id": 115,
"nodes": [
{
"id": 52,
"type": "SetNode",
"pos": [
-1082.226806640625,
1433.7974853515625
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 31,
"mode": 0,
"inputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"link": 46
}
],
"outputs": [
{
"label": "输出",
"name": "*",
"type": "*",
"links": null
}
],
"properties": {
"previousName": "用户输入图片"
},
"widgets_values": [
"用户输入图片"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 53,
"type": "GetNode",
"pos": [
1034.999755859375,
2234.791259765625
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
67
]
}
],
"properties": [],
"widgets_values": [
"用户输入图片"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 83,
"type": "GetNode",
"pos": [
683.2559814453125,
1054.97802734375
],
"size": [
210,
58
],
"flags": {
"collapsed": true
},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
79
]
}
],
"properties": [],
"widgets_values": [
"图片高度 "
],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 82,
"type": "GetNode",
"pos": [
683.2559814453125,
1010.4258422851562
],
"size": [
210,
60
],
"flags": {
"collapsed": true
},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
78
]
}
],
"properties": [],
"widgets_values": [
"图片宽度"
],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 85,
"type": "GetNode",
"pos": [
1652.640869140625,
1190.3243408203125
],
"size": [
210,
58
],
"flags": {
"colla
… (完整内容请下载文件查看)
代码较长,以上仅前 3800 字符 —— 点击下方按钮下载完整 JSON。



