Agent skill

image-gen

AI image generation via gpt-image-2, nano-banana, and MiniMax image-01. Use when the user wants to generate or create an image / picture / still.

sline582★ · +329/wk · 1 repos on radarProfile →
claude-codecodexAGPL-3.0
Install
npx skills add 0xsline/OpenChatCut --skill image-gen --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 4
SKILL.md size: 5 KB
Bundled scripts: none
Path: src/agent/skills/image-gen/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 805 · +210 this week
Language: TypeScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Image Gen Generate AI images via `submit_image` (configured provider keys only). Prefer one clear still per request unless the user asked for variants. ## Model Selection | Model | Reference | Strengths | Max refs | | --- | --- | --- | --- | | `gpt-image-2` | [references/gpt-image-2.md](references/gpt-image-2.md) | Best text rendering, strongest prompt adherence | 16 | | `nano-banana` | [references/nano-banana.md](references/nano-banana.md) | Strongest reference-image fidelity | 14 | | `image-01` | [references/image-01.md](references/image-01.md) | MiniMax stills / live style; one subject reference via R2 | 1 | - Default: `gpt-image-2` when that key is on. - Reference-heavy → `nano-banana`. - User named MiniMax / only MiniMax image key on → `image-01`. - Respect capabilities: do not call a model whose vendor is not configured. **IMPORTANT:** Before generating, READ the chosen model's reference. ## Tool Params | Param | Values | Default | | ------------------- | ----------------------------------------------------------------------- | ------- | | `aspectRatio` | `1:1`, `16:9`, `9:16`, `4:3`, `3:4`, `3:2`, `2:3`, `4:5`, `5:4`, `21:9` | `16:9` | | `imageSize` | `512px`, `1K`, `2K`,

What's inside
Steps it walks through
  1. Model Selection
  2. Tool Params
  3. Defaults
  4. Ask Before Submit
  5. Reference Images
  6. Run
  7. Rules
Ships with 3 files
  • references/gpt-image-2.md
  • references/image-01.md
  • references/nano-banana.md
More from OpenChatCut
All skills →
About this skill
What does the image-gen skill do?

AI image generation via gpt-image-2, nano-banana, and MiniMax image-01. Use when the user wants to generate or create an image / picture / still.

How do I install it?

Run `npx skills add 0xsline/OpenChatCut --skill image-gen --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From 0xsline/OpenChatCut, a repository with 805 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going