New operator: briaai/RMBG-2.0 image->transparent cutout, fully local on Apple Silicon (weights unlocked by owner HF license). Free local alternative to the cloud fal_bg_remove; the recommended pre-pass before SF3D / image->3D. Verified: clean 1024px cutout of the FLUX astrolabe (alpha 0-255, 86.6% removed, thin rings preserved). Same OpenMP guardrails as sf3d. scripts/install_rmbg.sh; venvs/rmbg. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
19 lines
934 B
JSON
19 lines
934 B
JSON
{
|
|
"id": "bg_remove_local",
|
|
"name": "Remove Background (local)",
|
|
"category": "image-prep",
|
|
"description": "Image → clean subject cutout (transparent PNG) entirely on this Mac via briaai/RMBG-2.0 (MPS). Free local alternative to fal_bg_remove — run before SF3D / image→3D for a big quality jump. Weights unlocked by the owner's HF license.",
|
|
"accepts": ["image"],
|
|
"produces": ["image"],
|
|
"resources": "gpu",
|
|
"entry": "run.py",
|
|
"python": "/Users/m3ultra/Documents/MODELBEAST/venvs/rmbg/bin/python",
|
|
"params_schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"resolution": {"type": "integer", "enum": [1024, 2048], "default": 1024, "description": "Processing resolution (2048 = finer edges, slower)"},
|
|
"background": {"type": "string", "enum": ["transparent", "white", "black"], "default": "transparent", "description": "Fill for removed background (transparent RGBA, or a solid matte)"}
|
|
}
|
|
}
|
|
}
|