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>
21 lines
1.0 KiB
JSON
21 lines
1.0 KiB
JSON
{
|
|
"id": "sf3d",
|
|
"name": "SF3D (local, fast draft)",
|
|
"category": "mesh-gen",
|
|
"description": "Image → textured GLB locally via Stability Stable-Fast-3D on Apple Silicon MPS (seconds-fast draft geometry, UV-unwrapped). Weights need a one-time HuggingFace login for stabilityai/stable-fast-3d.",
|
|
"accepts": ["image"],
|
|
"produces": ["model"],
|
|
"resources": "gpu",
|
|
"entry": "run.py",
|
|
"python": "venvs/sf3d/bin/python",
|
|
"params_schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"device": {"type": "string", "enum": ["mps", "cpu"], "default": "mps", "description": "mps = Apple GPU (fast); cpu = fallback"},
|
|
"texture_resolution": {"type": "integer", "enum": [512, 1024, 2048], "default": 1024, "description": "Baked texture atlas size"},
|
|
"foreground_ratio": {"type": "number", "default": 0.85, "minimum": 0.5, "maximum": 1.0, "description": "How much of the frame the object fills"},
|
|
"remesh_option": {"type": "string", "enum": ["none", "triangle", "quad"], "default": "none", "description": "Topology remeshing"}
|
|
}
|
|
}
|
|
}
|