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
1012 B
JSON
21 lines
1012 B
JSON
{
|
|
"id": "mflux_image_edit",
|
|
"name": "Edit Image (local, Qwen)",
|
|
"category": "image-prep",
|
|
"description": "Image + instruction → edited image entirely on this Mac via mflux Qwen-Image-Edit (ungated/Apache-2.0). Free local alternative to fal_image_edit / nano-banana edit — 'remove the sticker', 'make it studio-lit on white', material/lighting changes. First run downloads weights.",
|
|
"accepts": ["image"],
|
|
"produces": ["image"],
|
|
"resources": "gpu",
|
|
"entry": "run.py",
|
|
"python": "venvs/mflux/bin/python",
|
|
"params_schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"prompt": {"type": "string", "default": "", "description": "Edit instruction (what to change)"},
|
|
"steps": {"type": "integer", "default": 25, "minimum": 1, "maximum": 50, "description": "Inference steps"},
|
|
"seed": {"type": "integer", "default": 42, "description": "Random seed"},
|
|
"guidance": {"type": "number", "default": 4.0, "minimum": 0, "maximum": 10, "description": "Guidance scale"}
|
|
}
|
|
}
|
|
}
|