Files
aigc-home/docs/hel-892/birefnet-document-evidence/editorial.json
T

509 lines
30 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/birefnet_图像移除背景.json",
"notice": "固定版本仅作参考;背景移除实现/遮罩极性、模型安装、UE恢复与目标环境未知,未实跑,转换保持关闭。",
"user_overview": "这张图把输入图片送入背景移除节点,同时预览原始遮罩和合成透明通道后的图片。保存了一个模型引用和两个图片控件位置;模型推理实现及前景/背景极性尚未确认,不能保证抠图效果。图中没有正式保存节点,预览不等于永久导出;未实跑,转换保持关闭。",
"versions": [
"源声明frontendVersion1.43.17,官方v1.43.17→f754141537fecaae53d635d94615f588b0e39f95,仅静态参考;UE全节点7.8,空绑定表不证明无钩子,真实恢复/回调次序未知。",
"只有LoadImage17明确cnr_id=comfy-core/ver0.19.3;官方v0.19.3→3086026401180c9216bcb6ace442a4e3587d2c66。额外enableTabs/tabWidth/tabXOffset/hasSecondTab/secondTabText/secondTabOffset/secondTabWidth原文保留,不据cnr就断言未受UE影响。",
"其它六运行实体22/23/24/25/18/20均缺提供方和版本;InvertMask/JoinImageWithAlpha/PreviewImage/MaskPreview在固定core0.19.3确有定义,但本图这些实体只能作明确固定参考假设,不能继承LoadImage身份或当目标安装事实。",
"LoadBackgroundRemovalModel和RemoveBackground在该完整core树nodes.py及comfy_extras的有界静态检索未发现定义/注册;不扩查其它历史或最新版,默认/动态列表/推理算法/预处理/范围/输出极性未知。",
"许可分别保留固定core GPL-3.0与frontend GPL-3.0原文;未知背景节点提供方和模型权重许可另属未知。HuggingFace URL仅纯文本,不访问、下载或执行。"
],
"counts": {
"saved_fields": 3,
"scalar_saved_positions": 3,
"history_objects": 0,
"source_nodes": 8,
"physical_edges": 7,
"source_notes": 1,
"linked_saved_fields": 0,
"frontend_only": 1,
"final_scalars": 0,
"final_prompt_constructed": false
},
"fields": [
{
"field": "bg_removal_name",
"label": "背景移除模型引用",
"type": "源COMBO;定义未知",
"schema_default": "未知:core0.19.3有界树未找到该节点定义",
"unit": "模型文件引用",
"limits": "动态成员、默认/范围/加载条件未知,文件存在/架构/内存/设备/效果未知",
"effect": "保存birefnet.safetensors,仅为模型引用。23.bg_model按源槽0送22.bg_removal_model;两节点均缺提供方/版本,不能由名称或模型URL套用别版实现。本轮不加载权重或发网络下载。",
"evidence": [
3,
2
],
"role": "unconfirmed_model_reference",
"node_id": "23",
"definition_node_id": "23",
"class_type": "LoadBackgroundRemovalModel",
"scope": "root",
"pointer": "/nodes/3/widgets_values/0",
"execution_note": "源mode=0;frontend1.43.17为源声明,UE7.8及额外属性原样保留。空UE绑定表不证明无钩子;目标安装、宿主恢复与UE次序未知;不构造prompt。"
},
{
"field": "image",
"label": "输入图片引用",
"type": "COMBO",
"schema_default": "运行时input目录图片文件排序列表,无固定schema默认",
"unit": "图片文件引用",
"limits": "由目标input目录及image内容类型过滤决定;实际可选值、尺寸/格式/文件存在未知",
"effect": "保存20260425_192628_Z-Image_00001_.png,仅纯文本。core0.19.3 LoadImage参考按annotated filepath读取,经EXIF校正、RGB/255;IMAGE槽0分流至22.image与25.image。MASK槽1虽可从源alpha生成1-alpha或无alpha时零mask,但本图未接,不能当背景移除遮罩。未读取图片。",
"evidence": [
0,
1,
14,
15
],
"role": "scalar",
"node_id": "17",
"definition_node_id": "17",
"class_type": "LoadImage",
"scope": "root",
"pointer": "/nodes/7/widgets_values/0",
"execution_note": "源mode=0;frontend1.43.17为源声明,UE7.8及额外属性原样保留。空UE绑定表不证明无钩子;目标安装、宿主恢复与UE次序未知;不构造prompt。"
},
{
"field": "upload",
"label": "图片上传控件保存状态",
"type": "IMAGEUPLOAD(前端)",
"schema_default": "image(按钮占位value);不是后台默认",
"unit": "前端状态",
"limits": "保存字符串image;不是图片名、已上传证明或服务端参数;真实恢复/UE条件未知",
"effect": "源第二位置image只作前端上传控件状态保存。固定前端在image_upload媒体combo上增加upload按钮,占位value=image,options.serialize=false;它控制prompt排除,与widget.serialize工作流持久化开关不同,因此保存位置仍原样保留。上传代码会POST /upload/image后更新引用,本轮不调用。即使恢复源码可定位,不能把这项作为LoadImage服务端upload参数或证明上传成功。",
"evidence": [
11,
12,
13,
14,
15,
16,
17,
18
],
"role": "frontend_control",
"node_id": "17",
"definition_node_id": "17",
"class_type": "LoadImage",
"scope": "root",
"pointer": "/nodes/7/widgets_values/1",
"execution_note": "源mode=0;frontend1.43.17为源声明,UE7.8及额外属性原样保留。空UE绑定表不证明无钩子;目标安装、宿主恢复与UE次序未知;不构造prompt。"
}
],
"sources": [
{
"id": "core",
"repository": "https://github.com/Comfy-Org/ComfyUI",
"commit": "3086026401180c9216bcb6ace442a4e3587d2c66",
"file": "nodes.py",
"local_file": "../birefnet-reference/core__nodes.py",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/3086026401180c9216bcb6ace442a4e3587d2c66/nodes.py",
"sha256": "b35b2cae768a5ee3b79b85ed154a6a167690f1dd56540ad644314c3c53559e1c",
"lines": [
1700,
1783
],
"claim": "LoadImage旧式INPUT_TYPES、动态图片列表、读取/归一化、EXIF与MASK输出"
},
{
"id": "core",
"repository": "https://github.com/Comfy-Org/ComfyUI",
"commit": "3086026401180c9216bcb6ace442a4e3587d2c66",
"file": "nodes.py",
"local_file": "../birefnet-reference/core__nodes.py",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/3086026401180c9216bcb6ace442a4e3587d2c66/nodes.py",
"sha256": "b35b2cae768a5ee3b79b85ed154a6a167690f1dd56540ad644314c3c53559e1c",
"lines": [
2041,
2065
],
"claim": "准确旧式LoadImage/PreviewImage注册映射"
},
{
"id": "core",
"repository": "https://github.com/Comfy-Org/ComfyUI",
"commit": "3086026401180c9216bcb6ace442a4e3587d2c66",
"file": "nodes.py",
"local_file": "../birefnet-reference/core__nodes.py",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/3086026401180c9216bcb6ace442a4e3587d2c66/nodes.py",
"sha256": "b35b2cae768a5ee3b79b85ed154a6a167690f1dd56540ad644314c3c53559e1c",
"lines": [
2250,
2296
],
"claim": "旧映射和新comfy_entrypoint→get_node_list→GET_SCHEMA→node_id的注册分支"
},
{
"id": "core",
"repository": "https://github.com/Comfy-Org/ComfyUI",
"commit": "3086026401180c9216bcb6ace442a4e3587d2c66",
"file": "nodes.py",
"local_file": "../birefnet-reference/core__nodes.py",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/3086026401180c9216bcb6ace442a4e3587d2c66/nodes.py",
"sha256": "b35b2cae768a5ee3b79b85ed154a6a167690f1dd56540ad644314c3c53559e1c",
"lines": [
2350,
2468
],
"claim": "有界core0.19.3内置扩展清单;没有另取历史或新版定义"
},
{
"id": "core",
"repository": "https://github.com/Comfy-Org/ComfyUI",
"commit": "3086026401180c9216bcb6ace442a4e3587d2c66",
"file": "nodes.py",
"local_file": "../birefnet-reference/core__nodes.py",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/3086026401180c9216bcb6ace442a4e3587d2c66/nodes.py",
"sha256": "b35b2cae768a5ee3b79b85ed154a6a167690f1dd56540ad644314c3c53559e1c",
"lines": [
1627,
1698
],
"claim": "PreviewImage继承SaveImage写PNG/UI,但覆盖为temp目录,不是正式output导出"
},
{
"id": "core",
"repository": "https://github.com/Comfy-Org/ComfyUI",
"commit": "3086026401180c9216bcb6ace442a4e3587d2c66",
"file": "comfy_extras/nodes_mask.py",
"local_file": "../birefnet-reference/core__comfy_extras__nodes_mask.py",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/3086026401180c9216bcb6ace442a4e3587d2c66/comfy_extras/nodes_mask.py",
"sha256": "504946dc000194a6cd827cc355693195ec9c59f53b46563547aa2bfcf5aac9b5",
"lines": [
197,
216
],
"claim": "InvertMask新schema,mask→MASK,execute=1.0-mask,无显式限幅"
},
{
"id": "core",
"repository": "https://github.com/Comfy-Org/ComfyUI",
"commit": "3086026401180c9216bcb6ace442a4e3587d2c66",
"file": "comfy_extras/nodes_mask.py",
"local_file": "../birefnet-reference/core__comfy_extras__nodes_mask.py",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/3086026401180c9216bcb6ace442a4e3587d2c66/comfy_extras/nodes_mask.py",
"sha256": "504946dc000194a6cd827cc355693195ec9c59f53b46563547aa2bfcf5aac9b5",
"lines": [
403,
445
],
"claim": "MaskPreview新schema/输出节点/UI.PreviewMask及扩展注册;描述字符串不能代替实现"
},
{
"id": "core",
"repository": "https://github.com/Comfy-Org/ComfyUI",
"commit": "3086026401180c9216bcb6ace442a4e3587d2c66",
"file": "comfy_extras/nodes_compositing.py",
"local_file": "../birefnet-reference/core__comfy_extras__nodes_compositing.py",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/3086026401180c9216bcb6ace442a4e3587d2c66/comfy_extras/nodes_compositing.py",
"sha256": "3ef9f03b3a8aedb173f9bd96c063d5a1c1ce95be1b06984b226738892db36aeb",
"lines": [
188,
226
],
"claim": "JoinImageWithAlpha新schema/注册;最小批次数,内部再次反转,RGB三通道接alpha"
},
{
"id": "core",
"repository": "https://github.com/Comfy-Org/ComfyUI",
"commit": "3086026401180c9216bcb6ace442a4e3587d2c66",
"file": "comfy_extras/nodes_compositing.py",
"local_file": "../birefnet-reference/core__comfy_extras__nodes_compositing.py",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/3086026401180c9216bcb6ace442a4e3587d2c66/comfy_extras/nodes_compositing.py",
"sha256": "3ef9f03b3a8aedb173f9bd96c063d5a1c1ce95be1b06984b226738892db36aeb",
"lines": [
1,
9
],
"claim": "resize_mask为bilinear插值至image高宽,不是Join分支显式clamp"
},
{
"id": "core",
"repository": "https://github.com/Comfy-Org/ComfyUI",
"commit": "3086026401180c9216bcb6ace442a4e3587d2c66",
"file": "comfy_api/latest/_ui.py",
"local_file": "../birefnet-reference/core__comfy_api__latest___ui.py",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/3086026401180c9216bcb6ace442a4e3587d2c66/comfy_api/latest/_ui.py",
"sha256": "c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f",
"lines": [
389,
411
],
"claim": "PreviewMask扩展灰度至三通道并委托PreviewImage,明确temp类型"
},
{
"id": "core",
"repository": "https://github.com/Comfy-Org/ComfyUI",
"commit": "3086026401180c9216bcb6ace442a4e3587d2c66",
"file": "comfy_api/latest/_ui.py",
"local_file": "../birefnet-reference/core__comfy_api__latest___ui.py",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/3086026401180c9216bcb6ace442a4e3587d2c66/comfy_api/latest/_ui.py",
"sha256": "c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f",
"lines": [
76,
155
],
"claim": "临时预览PNG的CPU量化/clip、元数据与文件描述符,仅行为参考不实际写图"
},
{
"id": "frontend",
"repository": "https://github.com/Comfy-Org/ComfyUI_frontend",
"commit": "f754141537fecaae53d635d94615f588b0e39f95",
"file": "src/extensions/core/uploadImage.ts",
"local_file": "../birefnet-reference/frontend__src__extensions__core__uploadImage.ts",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/extensions/core/uploadImage.ts",
"sha256": "48d062c2ee95bd77c537c539e6c8f8bc03bd71dcec94c5b82487c014ea3e9c06",
"lines": [
1,
40
],
"claim": "按媒体combo schema添加IMAGEUPLOAD输入;不是后台image参数"
},
{
"id": "frontend",
"repository": "https://github.com/Comfy-Org/ComfyUI_frontend",
"commit": "f754141537fecaae53d635d94615f588b0e39f95",
"file": "src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts",
"local_file": "../birefnet-reference/frontend__src__renderer__extensions__vueNodes__widgets__composables__useImageUploadWidget.ts",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts",
"sha256": "c3c06c7bcdc56b2787368dc107fbd522d983466d244c0fdf724bae9ddd356f29",
"lines": [
1,
129
],
"claim": "准确IMAGEUPLOAD控件、占位value及serialize策略;不能忽略UE回调"
},
{
"id": "frontend",
"repository": "https://github.com/Comfy-Org/ComfyUI_frontend",
"commit": "f754141537fecaae53d635d94615f588b0e39f95",
"file": "src/scripts/widgets.ts",
"local_file": "../birefnet-reference/frontend__src__scripts__widgets.ts",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts",
"sha256": "43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d",
"lines": [
296,
309
],
"claim": "IMAGEUPLOAD控件工厂注册"
},
{
"id": "frontend",
"repository": "https://github.com/Comfy-Org/ComfyUI_frontend",
"commit": "f754141537fecaae53d635d94615f588b0e39f95",
"file": "src/lib/litegraph/src/LGraphNode.ts",
"local_file": "../birefnet-reference/frontend__src__lib__litegraph__src__LGraphNode.ts",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts",
"sha256": "a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b",
"lines": [
899,
938
],
"claim": "按控件序列恢复widgets_values,跳过serialize=false,之后onConfigure"
},
{
"id": "frontend",
"repository": "https://github.com/Comfy-Org/ComfyUI_frontend",
"commit": "f754141537fecaae53d635d94615f588b0e39f95",
"file": "src/lib/litegraph/src/LGraphNode.ts",
"local_file": "../birefnet-reference/frontend__src__lib__litegraph__src__LGraphNode.ts",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts",
"sha256": "a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b",
"lines": [
963,
996
],
"claim": "保存widgets_values及onSerialize,保存态不直接等于最终prompt"
},
{
"id": "frontend",
"repository": "https://github.com/Comfy-Org/ComfyUI_frontend",
"commit": "f754141537fecaae53d635d94615f588b0e39f95",
"file": "src/lib/litegraph/src/LGraphNode.ts",
"local_file": "../birefnet-reference/frontend__src__lib__litegraph__src__LGraphNode.ts",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts",
"sha256": "a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b",
"lines": [
1945,
1998
],
"claim": "addWidget将serialize:false留在options,区别于widget.serialize工作流持久化开关"
},
{
"id": "frontend",
"repository": "https://github.com/Comfy-Org/ComfyUI_frontend",
"commit": "f754141537fecaae53d635d94615f588b0e39f95",
"file": "src/utils/executionUtil.ts",
"local_file": "../birefnet-reference/frontend__src__utils__executionUtil.ts",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/utils/executionUtil.ts",
"sha256": "67bbc3d626a5092f0093e45d2df2308a2bf5cd69a85c26f81cb6fa143fda2d33",
"lines": [
83,
112
],
"claim": "graphToPrompt按options.serialize=false排除upload控件,仅静态读取不调用"
},
{
"id": "frontend",
"repository": "https://github.com/Comfy-Org/ComfyUI_frontend",
"commit": "f754141537fecaae53d635d94615f588b0e39f95",
"file": "src/composables/node/useNodeImageUpload.ts",
"local_file": "../birefnet-reference/frontend__src__composables__node__useNodeImageUpload.ts",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/composables/node/useNodeImageUpload.ts",
"sha256": "11b22d77758795262a2a10252c0ef57f1b2017c4125af3928b353292d53bb3e8",
"lines": [
20,
56
],
"claim": "上传POST与完成后路径更新仅源码说明;本轮不调用上传"
},
{
"id": "core",
"repository": "https://github.com/Comfy-Org/ComfyUI",
"commit": "3086026401180c9216bcb6ace442a4e3587d2c66",
"file": "LICENSE",
"local_file": "../birefnet-reference/core__LICENSE",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/3086026401180c9216bcb6ace442a4e3587d2c66/LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"lines": [
1,
674
],
"claim": "固定仓库许可原文,不为未确认节点提供方或权重许可背书"
},
{
"id": "frontend",
"repository": "https://github.com/Comfy-Org/ComfyUI_frontend",
"commit": "f754141537fecaae53d635d94615f588b0e39f95",
"file": "LICENSE",
"local_file": "../birefnet-reference/frontend__LICENSE",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"lines": [
1,
674
],
"claim": "固定仓库许可原文,不为未确认节点提供方或权重许可背书"
}
],
"comments": [
{
"node_id": "21",
"pointer": "/nodes/4/widgets_values/0",
"meaning": "原文模型链接、目录树和报错指引完整保留,只作源注释,不计执行参数;不是安装事实、更新/下载授权或目标可用性证明。"
}
],
"flow": [
"这张图把输入图片送入背景移除节点,同时预览原始遮罩和合成透明通道后的图片。保存了一个模型引用和两个图片控件位置;模型推理实现及前景/背景极性尚未确认,不能保证抠图效果。图中没有正式保存节点,预览不等于永久导出;未实跑,转换保持关闭。",
"8节点全mode0、7运行实体加MarkdownNote21、7物理边,无子图。3个非注释顶层保存位置,1完整注释单计;22/24/25/18/20原widgets_values=[]零位置,与缺键/null/{}不同。",
"23.bg_model槽0→22.bg_removal_model输入槽1;17.IMAGE槽0→22.image输入槽0及25.image输入槽0。源类型BACKGROUND_REMOVAL/IMAGE只反映源端点,缺定义不补造prompt。",
"22.mask槽0 MASK→24.mask→25.alpha;另22.mask槽0直接→20.mask。25.IMAGE槽0→18.images。源双向端点吻合,LoadImage17的MASK槽1 links=null,未接入任何支路。",
"若24/25采用所固定core0.19.3实现,设RemoveBackground输出M:InvertMask给1-M,JoinImageWithAlpha再做1-resize(1-M);同尺寸且正常数值条件下alpha回到M,异尺寸经bilinear重采样,不保证逐像素相同。合成处未显式clamp,不把其它函数的clamp套用;保存PNG量化阶段才clip至0~255。alpha=1为不透明、0为透明的RGBA语义不等于已证明M的前景/背景方向。",
"因为RemoveBackground22和模型加载23的准确实现未知,M是否前景白/背景黑、范围是否0~1及实际效果均未知;不能仅凭InvertMask或节点名就声称背景必透明。模型推理/预处理/设备/内存/批量条件也未知。",
"MaskPreview20直接预览M,按固定参考UI实现把单通道展开成三通道灰度,未经过24反转或25合成;PreviewImage18预览的是原RGB与合成alpha的结果,两支路不可混同。",
"固定PreviewImage18是旧SaveImage子类,OUTPUT_NODE、RETURN_TYPES=(),覆盖目录为temp并返回UI images;MaskPreview20是新schema输出节点,委托UI.PreviewMask→PreviewImage→temp PNG。源无SaveImage实体,不能说已永久导出,临时文件、真实目录权限与实际输出未知。",
"LoadImage17按旧式INPUT_TYPES动态枚举input目录,读取EXIF校正/RGB归一化并返回IMAGE和MASK;source image引用不验证存在。上传控件不是后台参数,固定前端恢复/保存和上传实现仅静态说明,UE钩子顺序未确认。",
"七实体接口分别按源原文保留;24/25/20固定参考是新schema,17/18旧式注册,22/23无准确schema。节点身份未知与源端点原文分开;未修改线、创建执行出口、转换候选或启用资格。",
"Note21完整目录树、HuggingFace模型链接、更新提示与三个问题链接纯文本保留;models元数据同样只是源引用,不当目录存在、模型安装、许可或更新/下载授权。",
"源物理边:[17, 23, 0, 22, 1, \"BACKGROUND_REMOVAL\"]",
"源物理边:[18, 22, 0, 24, 0, \"MASK\"]",
"源物理边:[19, 24, 0, 25, 1, \"MASK\"]",
"源物理边:[20, 17, 0, 22, 0, \"IMAGE\"]",
"源物理边:[21, 17, 0, 25, 0, \"IMAGE\"]",
"源物理边:[22, 25, 0, 18, 0, \"IMAGE\"]",
"源物理边:[23, 22, 0, 20, 0, \"MASK\"]",
"节点22 RemoveBackground mode=0;保存位置=0(Note另计);原inputs=[{\"localized_name\": \"image\", \"name\": \"image\", \"type\": \"IMAGE\", \"link\": 20}, {\"localized_name\": \"bg_removal_model\", \"name\": \"bg_removal_model\", \"type\": \"BACKGROUND_REMOVAL\", \"link\": 17}];原outputs=[{\"localized_name\": \"mask\", \"name\": \"mask\", \"type\": \"MASK\", \"links\": [18, 23]}];原properties={\"Node name for S&R\": \"RemoveBackground\", \"ue_properties\": {\"widget_ue_connectable\": {}, \"version\": \"7.8\", \"input_ue_unconnectable\": {}}}",
"节点24 InvertMask mode=0;保存位置=0(Note另计);原inputs=[{\"localized_name\": \"遮罩\", \"name\": \"mask\", \"type\": \"MASK\", \"link\": 18}];原outputs=[{\"localized_name\": \"遮罩\", \"name\": \"MASK\", \"type\": \"MASK\", \"links\": [19]}];原properties={\"Node name for S&R\": \"InvertMask\", \"ue_properties\": {\"widget_ue_connectable\": {}, \"version\": \"7.8\", \"input_ue_unconnectable\": {}}}",
"节点25 JoinImageWithAlpha mode=0;保存位置=0(Note另计);原inputs=[{\"localized_name\": \"图像\", \"name\": \"image\", \"type\": \"IMAGE\", \"link\": 21}, {\"localized_name\": \"阿尔法\", \"name\": \"alpha\", \"type\": \"MASK\", \"link\": 19}];原outputs=[{\"localized_name\": \"图像\", \"name\": \"IMAGE\", \"type\": \"IMAGE\", \"links\": [22]}];原properties={\"Node name for S&R\": \"JoinImageWithAlpha\", \"ue_properties\": {\"widget_ue_connectable\": {}, \"version\": \"7.8\", \"input_ue_unconnectable\": {}}}",
"节点23 LoadBackgroundRemovalModel mode=0;保存位置=1(Note另计);原inputs=[{\"localized_name\": \"bg_removal_name\", \"name\": \"bg_removal_name\", \"type\": \"COMBO\", \"widget\": {\"name\": \"bg_removal_name\"}, \"link\": null}];原outputs=[{\"localized_name\": \"bg_model\", \"name\": \"bg_model\", \"type\": \"BACKGROUND_REMOVAL\", \"links\": [17]}];原properties={\"Node name for S&R\": \"LoadBackgroundRemovalModel\", \"ue_properties\": {\"widget_ue_connectable\": {}, \"version\": \"7.8\", \"input_ue_unconnectable\": {}}, \"models\": [{\"name\": \"birefnet.safetensors\", \"url\": \"https://huggingface.co/Comfy-Org/BiRefNet/resolve/main/background_removal/birefnet.safetensors\", \"directory\": \"background_removal\"}]}",
"节点21 MarkdownNote mode=0;保存位置=1(Note另计);原inputs=[];原outputs=[];原properties={\"ue_properties\": {\"widget_ue_connectable\": {}, \"version\": \"7.8\", \"input_ue_unconnectable\": {}}}",
"节点18 PreviewImage mode=0;保存位置=0(Note另计);原inputs=[{\"localized_name\": \"图像\", \"name\": \"images\", \"type\": \"IMAGE\", \"link\": 22}];原outputs=[];原properties={\"Node name for S&R\": \"PreviewImage\", \"ue_properties\": {\"widget_ue_connectable\": {}, \"version\": \"7.8\", \"input_ue_unconnectable\": {}}}",
"节点20 MaskPreview mode=0;保存位置=0(Note另计);原inputs=[{\"label\": \"遮罩\", \"localized_name\": \"遮罩\", \"name\": \"mask\", \"type\": \"MASK\", \"link\": 23}];原outputs=[];原properties={\"Node name for S&R\": \"MaskPreview\", \"ue_properties\": {\"widget_ue_connectable\": {}, \"version\": \"7.8\", \"input_ue_unconnectable\": {}}}",
"节点17 LoadImage mode=0;保存位置=2(Note另计);原inputs=[{\"localized_name\": \"图像\", \"name\": \"image\", \"type\": \"COMBO\", \"widget\": {\"name\": \"image\"}, \"link\": null}, {\"localized_name\": \"选择文件上传\", \"name\": \"upload\", \"type\": \"IMAGEUPLOAD\", \"widget\": {\"name\": \"upload\"}, \"link\": null}];原outputs=[{\"localized_name\": \"图像\", \"name\": \"IMAGE\", \"type\": \"IMAGE\", \"links\": [20, 21]}, {\"localized_name\": \"遮罩\", \"name\": \"MASK\", \"type\": \"MASK\", \"links\": null}];原properties={\"Node name for S&R\": \"LoadImage\", \"enableTabs\": false, \"tabWidth\": 65, \"tabXOffset\": 10, \"hasSecondTab\": false, \"secondTabText\": \"Send Back\", \"secondTabOffset\": 80, \"secondTabWidth\": 65, \"cnr_id\": \"comfy-core\", \"ver\": \"0.19.3\", \"ue_properties\": {\"widget_ue_connectable\": {}, \"version\": \"7.8\", \"input_ue_unconnectable\": {}}}"
],
"flow_evidence": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20
],
"zero_saved_nodes": [
{
"node_id": "22",
"class_type": "RemoveBackground",
"effect": "RemoveBackground只有源image/ bg_removal_model输入与mask槽0 MASK输出;core0.19.3有界树无该定义,推理算法、输出极性/范围、预处理、设备及效果未知。",
"evidence": [
3,
2
]
},
{
"node_id": "24",
"class_type": "InvertMask",
"effect": "固定core0.19.3参考:新schema输入mask,输出槽0 MASK,1.0-mask,不显式clamp。该实体没有提供方/版本声明,仅作假设,原[]零位置。",
"evidence": [
5,
2,
3
]
},
{
"node_id": "25",
"class_type": "JoinImageWithAlpha",
"effect": "固定core0.19.3参考:新schema image/alpha→槽0 IMAGE;按min(image批次,alpha批次),bilinear缩放mask到图像高宽,再1.0-mask,拼接image前三RGB通道和alpha;此分支无显式clamp。实体身份未知,仅作假设;原[]零位置。",
"evidence": [
7,
8,
2
]
},
{
"node_id": "18",
"class_type": "PreviewImage",
"effect": "固定core0.19.3参考:旧式PreviewImage images输入、无执行返回槽,OUTPUT_NODE继承SaveImage;写temp PNG并返回UI images,不是永久output保存。源未声明身份,仅参考假设;原[]零位置。",
"evidence": [
4,
1
]
},
{
"node_id": "20",
"class_type": "MaskPreview",
"effect": "固定core0.19.3参考:新schema mask输入、无数据输出槽、is_output_node;UI.PreviewMask将原mask展开三通道,经PreviewImage保存temp PNG/UI。schema描述虽称output,实际委托temp;实体身份未知,仅参考假设;原[]零位置。",
"evidence": [
6,
9,
10,
2
]
}
],
"steps": [
"这张图把输入图片送入背景移除节点,同时预览原始遮罩和合成透明通道后的图片。保存了一个模型引用和两个图片控件位置;模型推理实现及前景/背景极性尚未确认,不能保证抠图效果。图中没有正式保存节点,预览不等于永久导出;未实跑,转换保持关闭。",
"素材要求:一张待处理图片和与准确背景移除节点实现相匹配的模型。这里只保存引用,不索取/读取图片或权重;不能凭birefnet.safetensors文件名判断架构或显存。",
"操作1:未来获准执行前,核对22/23真正提供方与版本、动态模型选项及安装;本轮固定core0.19.3没有它们的定义,不能借新版补齐。",
"操作2:核图片引用与17两条IMAGE分流;17.MASK未接。确认24/25真实实现后再评估1-M与1-resize(1-M)的两次反转,不能靠节点名猜透明区域。",
"操作3:分别检查20的原遮罩预览和18的透明合成预览。当前无正式保存节点,不把temp PNG/UI预览当永久导出;保持停用、未检查。",
"常见问题:背景没有透明时先核M极性、24/25准确实现与尺寸/批次数,不能直接断言反转节点接错。模型列表缺项/推理报错需要真正定义、目录和运行环境,当前未知,不下载模型。",
"常见问题:看不到永久文件不代表预览等于正式保存;Note里的目录树与链接仅是源文说明。目标权限/实际效果、模型设备和内存、宿主恢复/UE次序均未核对,未定稿、未实跑。"
]
}