Tool roles, alternatives, selection tradeoffs, and compatibility caveats.
Image generation for design variations
John uses: Codex's built-in $imagegen skill (GPT image model, no API key beyond the Codex subscription) and agy — the Antigravity CLI (1.6k) with Gemini's generate_image — to produce 9 wildly different mockups per prompt, then hands the winner to a coding agent as a reference image (section 07).
| Alternative | What it is | How it differs | License |
|---|---|---|---|
| Gemini CLI | Google's terminal agent; image generation via Gemini/Imagen models on the free tier | Same Google image models as agy without the Antigravity harness | Apache-2.0 |
| ComfyUI | Node-graph GUI/API/backend for diffusion models, fully local | Local + free at inference; scriptable API makes 9x batch generation easy; needs a GPU and setup | GPL-3.0 |
| mflux | MLX-native FLUX and other image models on Apple Silicon | Runs the 9x pattern locally on the same Mac you present from; CLI-first | MIT |
| InvokeAI | Professional creative engine/WebUI for Stable Diffusion family models | Polished local UI aimed at designers rather than agent scripting | Apache-2.0 |
| AUTOMATIC1111 stable-diffusion-webui | The historically dominant SD web UI | Huge ecosystem but slowing maintenance (check repository activity before adoption); prefer ComfyUI/Invoke for new setups | AGPL-3.0 |
Pick this if…
- Gemini CLI — you want the agy pattern without Antigravity, free.
- ComfyUI — you want local, free-at-inference batch generation with a scriptable API (needs GPU).
- mflux — you present from a Mac and want the 9x loop fully local on Apple Silicon.
- InvokeAI — you want a designer-friendly local UI over raw pipelines.
- A1111 — only if you need its ecosystem; prefer ComfyUI/Invoke for new setups.