- api/block_models.json: the 15 models the ways recommend, each with its Hugging Face / Civitai / GitHub links, size, SHA256 (all checked against the sites), licence and folder. A block's "models" names its recommended ones; the Ways panel ticks those here (by name, or by size for a renamed copy) and downloads a missing one in a click with model_download.downloadFrom, its hash checked. - A block's "tested": the card (RTX 4050 laptop, 6 GB), sizes and a whole run's time, shown in the panel and told to the AI with the block (answer.tested). - color_lineart gets an Anima variant with Anima's lineart LLLite. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
64 lines
1.5 KiB
JSON
64 lines
1.5 KiB
JSON
{
|
||
"job": "process",
|
||
"rank": 1,
|
||
"short": "transparent 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
|
||
}
|
||
]
|
||
}
|
||
}
|