Quality-first image generation skill for OpenClaw. It runs a round-1 generator tournament, critiques candidates with three specialist reviewers, merges their scores into a weighted rubric, and either accepts, regenerates, or routes the image into targeted editing.
- Round-1 tournament generation across
fal.aibackends - Three parallel critics: structural, material/color, photography
- Weighted composite scoring and explicit pass/refine routing
- Targeted follow-up editing via Nano Banana edit when the failure is local
- Per-run artifacts in
outputs/
python3FAL_KEYOPENROUTER_API_KEY
Install dependencies:
python3 -m pip install -r requirements.txtBalanced quality-first run:
python3 scripts/generate.py \
--prompt "Luxury flatlay product mockup of a cropped flannel overshirt on a clean warm-white background" \
--reference-image ./refs/garment.png \
--reference-image ./refs/swatch.pngFast mode:
python3 scripts/generate.py --preset fast --prompt "..."Premium mode:
python3 scripts/generate.py --preset premium --prompt "..."Each run writes:
outputs/<timestamp>-<slug>/run.jsonfull manifestoutputs/<timestamp>-<slug>/summary.jsoncondensed statusoutputs/<timestamp>-<slug>/images/downloaded candidates/finals when enabled
- Default preset is
balanced fastskips the tournament and runs a single FLUX generationbalancedruns FLUX + Nano Banana tournament, then refines for up to 2 roundspremiumincreases depth and resolution- Critics run through OpenRouter; generation/editing runs through fal.ai