image-generation

image-generation is a skill for Claude Code from somacoffeekyoto/imgx-mcp. It costs 25 tokens per session (8,617 once invoked), scanned A, original, MIT.

An image-making and editing tool that uses Gemini or OpenAI to create pictures from text and change existing images.

In plain words
What is it for?
Use it to create illustrations, cover images, diagrams, or revised versions of existing images, including through repeated refinements.
Why use it?
It helps when you need visual assets without making them manually in a graphics editor.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument; mentions Claude Code; mentions Gemini CLI.

Part of the imgx-mcp plugin — 1 skill, 1 MCP server shipped together

Good fit Use it to create illustrations, cover images, diagrams, or revised versions of existing images, including through repeated refinements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/somacoffeekyoto/imgx-mcp/image-generation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add somacoffeekyoto/imgx-mcp --skill image-generation
Clone the repo
git clone --depth 1 https://github.com/somacoffeekyoto/imgx-mcp

Made for: Claude Code.

Or install imgx-mcp, the plugin that ships this one along with the rest of its 1 skill, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for image-generation

README.md
[![agentmods](https://agentmods.dev/badge/skills/somacoffeekyoto/imgx-mcp/image-generation/github.svg)](https://agentmods.dev/skills/somacoffeekyoto/imgx-mcp/image-generation)
Your own site
<a href="https://agentmods.dev/skills/somacoffeekyoto/imgx-mcp/image-generation"><img src="https://agentmods.dev/badge/skills/somacoffeekyoto/imgx-mcp/image-generation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for image-generation

Your own site · 80×15
<a href="https://agentmods.dev/skills/somacoffeekyoto/imgx-mcp/image-generation"><img src="https://agentmods.dev/badge/skills/somacoffeekyoto/imgx-mcp/image-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,617 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00025 $0.08617
Opus 5 $0.00013 $0.04308
Sonnet 5 $0.00005 $0.01723
Haiku 4.5 $0.00003 $0.00862

Measured 10d ago against content hash 7e54313bc257, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

image-generation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/image-generation/SKILL.md · 743 lines

How it starts

The opening of the file, as written. The whole thing — 743 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Image Generation & Editing

Generate and edit images using the imgx MCP tools. Gemini and OpenAI providers supported.

Default model behavior

When the user does not specify a model, use Nano Banana (gemini-2.5-flash-image) — the free tier model. This lets users start immediately without paid API access (500 images/day, no credit card).

Suggest upgrading to a paid model when:

  • The user is unsatisfied with quality and wants improvement
  • The user needs 4K resolution or extended aspect ratios (1:4, 1:8, 4:1, 8:1, 21:9)
  • The user needs high text rendering accuracy (→ Nano Banana 2)
  • The user explicitly asks for higher quality or a specific paid model
  • The task clearly requires maximum quality (e.g. final production assets, print)

When suggesting an upgrade, briefly explain what the paid model adds. Example:

"This was generated with the free model (Nano Banana). For higher resolution (up to 4K) and more aspect ratio options, I can re-generate with Nano Banana 2 or Pro — these require paid API access."

When to use

  • User asks to create, generate, or make an image
  • User asks to edit, modify, or change an existing image
  • User needs a cover image, diagram, icon, or visual asset
  • User wants to refine an image iteratively ("make it darker", "change the background")
  • User mentions a model by alias (Nano Banana, NB2, etc.) — see Model aliases below

Model aliases

Users may refer to models by their alias. Map these to the correct model parameter value:

Alias (case-insensitive) Model ID Provider
Nano Banana Pro, NanoBanana Pro, NB Pro, ナノバナナプロ gemini-3-pro-image-preview gemini
Nano Banana 2, NanoBanana 2, NB2, ナノバナナ2, ナノバナナツー gemini-3.1-flash-image-preview gemini
Nano Banana, NanoBanana, NB, ナノバナナ gemini-2.5-flash-image gemini
GPT Image, gpt-image gpt-image-1 openai
GPT Image 1.5 gpt-image-1.5 openai
GPT Image Mini, gpt-mini gpt-image-1-mini openai

Read the full file on GitHub · 743 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 743 lines · 25 tokens per session scan A 7e54313bc257

Subscribe to this mod's changes

image-generation is a skill published in the GitHub repository somacoffeekyoto/imgx-mcp (0 stars, last pushed 5mo ago), licensed MIT. It adds 25 tokens to every session and 8,617 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

gemini-omni-flash-api

Use this skill for generative video editing, text-to-video, image-referenced video generation, first-frame-to-video, first-and-last-frame transitions, and video extensions using Gemini Omni 1.1 Flash (gemini-omni-1.1-flash) via the official google-genai SDK. Includes workflows for pre-processing/optimizing…

google-gemini/gemini-skills · 107 tokens

tweet-card-generator

Given a topic, auto-searches for info, generates a tweet + matching data-card PNG (HTML→screenshot, clean cream-background style, multi-layout + multi-chart).

Ibook000/ibook-skill · 39 tokens

render

Generate raster images (PNG, JPEG, WebP) from natural language prompts using Python rendering engines. Covers graphics, charts, layouts, and procedural art. Not for SVG output.

suxrobGM/rasterize · 38 tokens

gpt-image

Generate or edit images with GPT Image 2 or 2.5 through the packaged CLI and Reference Gallery. Use for image requests including imprecise 'GPT 2.5' model names, posters, typography, reference edits, and inpainting; resolve the model choice before generation.

wuyoscar/GPT-Image2-Skill · 62 tokens

muapi-workflow

Build, run, and visualize multi-step AI generation workflows. The AI architect translates natural language descriptions into connected node graphs — chain image generation, video creation, enhancement, and editing into automated pipelines.

SamurAIGPT/Generative-Media-Skills · 44 tokens

muapi-media-editing

Edit and enhance images and videos with AI via muapi.ai — prompt-based editing, upscaling, background removal, face swap, lipsync, video effects, and more.

SamurAIGPT/Generative-Media-Skills · 41 tokens