Each block is now api/blocks/<name>.json (nodes, packs, models, the AI's words and the panel's in both languages), so a way collected later is one more file. The AI workbench's side column has a Ways view: blocks by job, what each does and where it came from, greyed with the pack (opens ComfyUI-Manager) or model it lacks, and a switch (user/anomalous/ai_blocks.json) that keeps it from the AI; begin_task lists only the blocks on and runnable here, the rest in one line. New blocks: upscale_iterative (Impact Pack), upscale_two_models ($loader role, a second loader "like" it), remove_background (inspyrenet-rembg). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
51 lines
1.3 KiB
JSON
51 lines
1.3 KiB
JSON
{
|
|
"job": "process",
|
|
"rank": 1,
|
|
"short": "cut the subject out, transparent",
|
|
"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)."
|
|
}
|