Files
DemonGatanjieu-Anomalous_Mo…/api/blocks/remove_background.json
T
DemonGatanjieuandClaude Opus 5.5 0ea99a10f1 Ways by use: the AI names a use, Anomalous picks the block
The 18 blocks are grouped into 7 uses (a block's "job": repaint,
new_background, upscale, refine, follow, detail, process); a block that is
not its use's default has a "want" word (best, 2x, pose, ...).
add_nodes(use=…, want=…) has reference_blocks.pick choose the first by rank
this ComfyUI can run (packs and models present, not turned off), the block
taking a second picture when one is given; block= by name still works.
begin_task's directory is a line a use with its wants, the rest by what it
needs ("LanPaint: repaint best"), so it no longer grows with the blocks and
the word budget tiers are gone. Tried live: use=new_background with two
pictures built place_in_scene.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 00:09:49 +08:00

65 lines
1.5 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.
{
"job": "process",
"want": "cut",
"rank": 1,
"short": "cut-out",
"title": {
"zh": "背景移除",
"en": "Remove the background"
},
"about": {
"zh": "把一张图的背景抠掉,存成透明背景的 PNG(文件名以 nobg 开头)。",
"en": "Cuts a picture's background away and saves it as a transparent PNG (prefix nobg)."
},
"source": {
"zh": "参考工作流的「背景移除」组,换成你装的 inspyrenet-rembg",
"en": "The reference workflow's background removal, with your inspyrenet-rembg"
},
"packs": {
"InspyrenetRembg": "comfyui-inspyrenet-rembg"
},
"takes": "picture",
"nodes": {
"picture": {
"class_type": "LoadImage",
"inputs": {
"image": "$image"
}
},
"cut": {
"class_type": "InspyrenetRembg",
"inputs": {
"image": [
"picture",
0
],
"torchscript_jit": "default"
}
},
"save": {
"class_type": "SaveImage",
"inputs": {
"images": [
"cut",
0
],
"filename_prefix": "nobg"
}
}
},
"after": "run_workflow saves it with the background cut away (transparent PNG, prefix nobg). On a canvas that makes pictures those are made too: to cut this one out alone, add the block on a blank tab (new_workflow).",
"models": [],
"tested": {
"gpu": "RTX 4050 Laptop",
"vram_gb": 6,
"date": "2026-10-27",
"runs": [
{
"model": "—",
"size": "1280×832",
"seconds": 8
}
]
}
}