AI Image Generation Skill: Text-to-Image and Edit Across Many Models
Generate and edit images through the runcomfy CLI, routing to FLUX 2, GPT Image 2, Nano Banana, Seedream and more.
Needs a RunComfy account and the CLI.
Sign in with Google to download your first skill free; after that, from $7.
Unzip into .agents/skills/ in your project. The ZIP has SKILL.md, with its references and scripts, checked against the upstream source. Changes we made are listed further down this page.
image
text-to-image
image-edit
runcomfy
cli
Quick Start
1 Unzip the downloaded folder into .agents/skills/ (see /docs/install-skills).
2 Install the RunComfy CLI with npm i -g @runcomfy/cli (or use npx -y @runcomfy/cli) and sign in with runcomfy login; in CI set RUNCOMFY_TOKEN.
3 Describe the image you want, or paste a source image URL for an edit; the skill picks a model and runs runcomfy run with a JSON --input.
4 Find the generated image in the --output-dir folder (./out in the examples).
Example Command
Make a poster with the exact headline 'Open Studio Night' in bold type on a dark blue background.
Core Capabilities
Typography routing
GPT Image 2 is the listed pick for in-image text and logos, including multilingual text.
Fast draft models
FLUX 2 Klein 4B and Nano Banana 2 are listed for quick iteration, storyboards and moodboards.
Photoreal and flagship tiers
Seedream 5 / 4-5, FLUX 2 Pro, Dev, Flash, Turbo and Max, and Nano Banana Pro are listed for higher-fidelity work.
Image-to-image edits
Edit routes for Nano Banana 2 Edit, GPT Image 2 Edit and FLUX Kontext Pro, with advice to lead the prompt with what must stay unchanged.
Same-brand generate then edit
A table pairs text-to-image and edit endpoints per brand (Seedream, Dreamina, Nano Banana Pro, Qwen, Wan) so you can generate and refine in one family.
Declared tool scope
Declares allowed-tools: Bash(runcomfy *); reference image URLs are flagged as untrusted input.
Usage Examples
Input
Make a logo with locked brand colors and the text 'Harbor Coffee'.
Output
The skill routes to GPT Image 2 for exact text, builds the JSON --input from its schema, and runs runcomfy run openai/gpt-image-2/text-to-image.
Input
Keep this portrait the same but change the background to a rainy neon street.
Output
It uses an edit route (Nano Banana 2 Edit by default), passes the image URL in image_urls, and leads the prompt with what to preserve.
Input
Give me ten quick concept variants for a storyboard.
Output
It picks a fast model such as FLUX 2 Klein 4B and runs several runcomfy run calls into ./out.
About This Skill
AI Image Generation is a router skill for the runcomfy CLI. It handles text-to-image and image-to-image edits, chooses a model from the RunComfy catalog based on what you need (in-image text, photoreal portraits, fast drafts, multi-reference styling), and runs the matching runcomfy run command. It suits anyone who wants image creation or restyling inside an agent session.
Source and license
Original repo https://github.com/gencraft-labs/skills at commit 5d625f5, license MIT, owner gencraft-labs (copyright RunComfy / agentspace-so). The download is the author's files unchanged, with their LICENSE.
For Nano Banana prompting inside Claude, see Banana Claude.
SKILL.md
---
name: ai-image-generation
displayName: "AI Image Generation"
allowed-tools: Bash(runcomfy *)
description: >
Generate 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 Image
and Z-Image Turbo, Wan 2-7. Covers both text-to-image (t2i) and
image-to-image / edit (i2i) endpoints — the skill picks the right
model for the user's actual intent (typography precision, photoreal
portraits, sub-second iteration, multi-reference brand styling,
open-weights workflow) and ships each model's documented prompting
patterns plus the minimal `runcomfy run` invoke. Triggers on
"generate image", "make a picture", "text to image", "AI image",
"make an image of …", "image to image", "i2i", or any explicit ask
to create or restyle an image.
homepage: https://www.runcomfy.com
license: MIT
---
# AI Image Generation
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.
…
The full SKILL.md and 2 more files are in the download.
LICENSE (1.1 KB)
SOURCE.txt (268 B)
SKILL.md (29 KB)
Frequently Asked Questions
FAQ
What is the AI Image Generation skill?
A router skill for the RunComfy CLI covering text-to-image and image-to-image. It picks a model for your intent and runs the matching runcomfy run command.
What does it need?
It needs the RunComfy CLI (npm i -g @runcomfy/cli, or npx -y @runcomfy/cli) and a RunComfy account: run runcomfy login, or set RUNCOMFY_TOKEN in CI or containers. The skill only runs runcomfy subcommands. No MCP server or other API key is mentioned in the source.
How do I install it?
Unzip the downloaded folder into .agents/skills/. See [How to install skills](/docs/install-skills). The CLI is installed separately with npm i -g @runcomfy/cli.
Which models does it route to?
Per the SKILL.md: FLUX 2 (Klein 9B and 4B, Pro, Dev, Flash, Turbo, Max), Nano Banana 2 and Pro, GPT Image 2, Seedream 5 and 4-5, Dreamina 4-0, Qwen Image, Wan 2-7, Z-Image Turbo, plus FLUX Kontext Pro for edits.
What license is it under, and who wrote it?
MIT. It comes from the gencraft-labs/skills repository; the LICENSE line reads 'Copyright (c) 2026 RunComfy / agentspace-so'. The download keeps the author's files and LICENSE unchanged.
Is this the official Antigravity skill?
No. It is a community skill published by gencraft-labs, not made by Antigravity or Google.