modelbeast/server/operators/bg_remove_local/manifest.json
MODELBEAST 210d80484c runner: resolve relative operator python paths against repo root (multi-node portability)
Manifest "python" can now be a repo-relative path (venvs/mflux/bin/python) that
resolves against db.ROOT, so the same operator code runs on any machine/checkout
(M3 Ultra, M1 Ultra worker). All 6 venv operators switched to relative paths.
Prep for the M1 Ultra second node.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-14 11:47:39 +10:00

19 lines
898 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": "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)"}
}
}
}