image-generation

image-generation is a skill for Claude Code, Codex from sonichi/sutando. It costs 82 tokens per session (1,935 once invoked), scanned A, original, MIT.

A media-generation tool for creating and editing images and making short videos from text or reference images. It supports tasks such as changing backgrounds, applying styles, adding text overlays, and animating an image.

In plain words
What is it for?
Use it to create project artwork, banners, logos, edited photos, background replacements, text-to-video clips, or animated versions of still images.
Why use it?
It provides one workflow for turning written descriptions or existing images into visual assets and video clips.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create project artwork, banners, logos, edited photos, background replacements, text-to-video clips, or animated versions of still images.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sonichi/sutando/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 sonichi/sutando --skill image-generation
Clone the repo
git clone --depth 1 https://github.com/sonichi/sutando

Made for: Claude Code, Codex.

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/sonichi/sutando/image-generation/github.svg)](https://agentmods.dev/skills/sonichi/sutando/image-generation)
Your own site
<a href="https://agentmods.dev/skills/sonichi/sutando/image-generation"><img src="https://agentmods.dev/badge/skills/sonichi/sutando/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/sonichi/sutando/image-generation"><img src="https://agentmods.dev/badge/skills/sonichi/sutando/image-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,935 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00082 $0.01935
Opus 5.5 $0.00033 $0.00774
Sonnet 5.5 $0.00016 $0.00387
Haiku 4.5 $0.00008 $0.00194

Measured 28d ago against content hash e761e6100181, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 28d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/generate.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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 · 123 lines

How it starts

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

Image and video generation

scripts/generate.py makes an image (or a video) from a prompt and prints one JSON line on stdout. Nothing to install for images: it calls the Gemini REST API with the standard library and takes the key from the credential resolver (gemini-image: the managed key of a desktop install, else GEMINI_API_KEY / GEMINI_VOICE_API_KEY). Never run pip for this skill; Pillow is optional (input resizing, jpg/webp conversion) and google-genai is only needed for --video.

Run it

G="<this skill's directory>/scripts/generate.py"
python3 "$G" --prompt "A flat-design mascot for a note-taking app, teal and cream"     # text-to-image
python3 "$G" --input photo.jpg --prompt "Replace the background with a sunset"          # edit
python3 "$G" --prompt "A cute robot" --output "<workspace>/results/media/robot.png"     # explicit path
python3 "$G" --video --prompt "A timelapse of a city at sunset" [--aspect 9:16]         # video (SDK)

Output lands at <workspace>/results/media/generated-<ts>.png (.mp4 for video), which is inside the attachment allowlist, so the file can be sent as-is. --model overrides IMAGE_MODEL / VIDEO_MODEL (env, then this skill's manifest.json config).

Read the result

stdout is exactly one JSON line; progress goes to stderr.

line exit what to do
{"ok": true, "path": "...", "model": "...", "note"?: "..."} 0 deliver the file (below)
{"ok": false, "error": "no_key", ...} 2 say the no-key message, verbatim, and stop
{"ok": false, "error": "refused", "message": ...} 1 say it was declined; offer a reworded prompt
{"ok": false, "error": "no_image", "message": ...} 1 say what the model answered instead; offer a more concrete prompt
{"ok": false, "error": "api_error", "message": ...} 1 say it failed on Google's side; one retry at most, then stop
{"ok": false, "error": "sdk_missing", ...} (video) 2 say the SDK is missing; offer an image instead
{"ok": false, "error": "bad_input", ...} 2 fix the input path; ask for the image again

Read the full file on GitHub · 123 lines

Files

What ships with it

3 files 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. 28d ago Changed · +38 lines e761e6100181
  2. 2mo ago Changed · +4 lines 5ab79942792e
  3. 2mo ago Changed · +1 lines · +46 tokens per session bb99ca7d18cf
  4. 3mo ago First seen · 80 lines · 36 tokens per session scan A c08cf128c6ee

Subscribe to this mod's changes

image-generation is a skill published in the GitHub repository sonichi/sutando (413 stars, last pushed today), licensed MIT. It adds 82 tokens to every session and 1,935 once invoked, about $0.0003 per session on Opus 5.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-30.

Related

image-generation compared with skills from other repositories

image-generation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
image-generationsonichi/sutandoSkill413todayMITA82Claude Code, Codex
gmailvellum-ai/vellum-assistantSkill1.5k6d agoMITA20Claude Code, Codex
app-buildervellum-ai/vellum-assistantSkill1.5k6d agoMITA162Claude Code, Codex
assistant-migrationvellum-ai/vellum-assistantSkill1.5k6d agoMITA90Claude Code, Codex
guardian-verify-setupvellum-ai/vellum-assistantSkill1.5k6d agoMITA26Claude Code, Codex
stripe-link-walletvellum-ai/vellum-assistantSkill1.5k6d agoMITA52Claude Code, Codex
vellum-memory-v2-migrationvellum-ai/vellum-assistantSkill1.5k6d agoMITA34Claude Code, Codex