$npx -y skills add prime-skills/runcomfy-agent-skills --skill ai-image-generationGenerate and edit images on RunComfy via the runcomfy CLI — a smart router across the full image-model catalog: FLUX 2 (Klein 9B/4B, Pro, Dev, Flash, Turbo, Max), Google Nano Banana 2 / Pro, OpenAI GPT Image 2, ByteDance Seedream 5 / 4-5 / 4-0 and Dreamina 4-0, Alibaba Qwen Ima
| 1 | # AI Image Generation |
| 2 | |
| 3 | Generate and edit images with 11+ AI models via the [RunComfy](https://www.runcomfy.com/?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation) CLI — text-to-image and image-to-image, one auth, one command. This skill picks the right model for the user's intent and ships the documented prompt patterns + the exact `runcomfy run` invoke for each. |
| 4 | |
| 5 | [runcomfy.com](https://www.runcomfy.com/?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation) · [Browse all models](https://www.runcomfy.com/models?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation) · [CLI docs](https://docs.runcomfy.com/cli/introduction?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation) |
| 6 | |
| 7 | ## Powered by the RunComfy CLI |
| 8 | |
| 9 | ```bash |
| 10 | # 1. Install (one of — see runcomfy-cli skill for details) |
| 11 | npm i -g @runcomfy/cli # global install |
| 12 | npx -y @runcomfy/cli --version # zero-install |
| 13 | |
| 14 | # 2. Sign in (interactive — opens browser) |
| 15 | runcomfy login |
| 16 | # or in CI / containers: |
| 17 | export RUNCOMFY_TOKEN=<token-from-runcomfy.com/profile> |
| 18 | |
| 19 | # 3. Generate |
| 20 | runcomfy run <vendor>/<model>/<endpoint> \ |
| 21 | --input '{"prompt": "..."}' \ |
| 22 | --output-dir ./out |
| 23 | ``` |
| 24 | |
| 25 | CLI docs: [Install](https://docs.runcomfy.com/cli/install?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation) · [Quickstart](https://docs.runcomfy.com/cli/quickstart?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation) · [Commands](https://docs.runcomfy.com/cli/commands?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation) · [Auth](https://docs.runcomfy.com/cli/auth?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation) · [Troubleshooting](https://docs.runcomfy.com/cli/troubleshooting?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation) |
| 26 | |
| 27 | ## Install this skill |
| 28 | |
| 29 | ```bash |
| 30 | npx skills add agentspace-so/runcomfy-agent-skills --skill ai-image-generation -g |
| 31 | ``` |
| 32 | |
| 33 | --- |
| 34 | |
| 35 | ## Pick the right model for the user's intent |
| 36 | |
| 37 | ### Text-to-image (t2i) — newest first |
| 38 | |
| 39 | **FLUX 2 Klein 9B** — `blackforestlabs/flux-2-klein/9b/text-to-image` *(default)* |
| 40 | > Step-distilled, 4–25 steps, native multi-reference conditioning, strong photoreal + illustration all-rounder. |
| 41 | > Pick for: intent unclear, fast iteration, multi-ref styling, general-purpose. |
| 42 | > Avoid for: in-image text — use **GPT Image 2**. |
| 43 | |
| 44 | **FLUX 2 Klein 4B** — `blackforestlabs/flux-2-klein/4b/text-to-image` |
| 45 | > Sub-second variant of Klein 9B, same field set. |
| 46 | > Pick for: storyboard, moodboard, batch concepting at speed. |
| 47 | > Avoid for: final delivery — slight quality drop vs 9B. |
| 48 | |
| 49 | **FLUX 2 Pro / Dev / Flash / Turbo / Max** — `blackforestlabs/flux-2/max`, [`flux-2-dev`](https://www.runcomfy.com/models/blackforestlabs/flux-2-dev/text-to-image?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation), [`flux-2-flash`](https://www.runcomfy.com/models/blackforestlabs/flux-2-flash?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation), [`flux-2-turbo`](https://www.runcomfy.com/models/blackforestlabs/flux-2-turbo?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation) |
| 50 | > Higher-fidelity tiers of the FLUX 2 base. Cinematic + brand work, hero shots. |
| 51 | > Pick for: production polish, brand campaigns. |
| 52 | > Avoid for: sub-second speed — use **Klein 4B**. |
| 53 | |
| 54 | **Nano Banana Pro** — [`google/nano-banana-pro/text-to-image`](https://www.runcomfy.com/models/google/nano-banana-pro/text-to-image?utm_source=skills.sh&utm_medium=skill&utm_campaign=ai-image-generation) |
| 55 | > Highest-quality Nano Banana tier. Gemini-grounded, optional web search for real-world references (products, landmarks). |
| 56 | > Pick for: NB-style instruction-following at higher fidelity. |
| 57 | > Avoid for: cost-sensitive iteration — drop to **Nano Banana 2**. |
| 58 | |
| 59 | **Nano Banana 2** — `google/nano-banana-2/text-to-image` |
| 60 | > Flash-tier latency, predictable framing, `enable_web_search` flag for real-product |