image-generation

image-generation is a skill for Claude Code, Codex from Morningstar202604/awesome-skillkit. It costs 107 tokens per session (1,385 once invoked), scanned A, original, Apache-2.0.

A workflow for creating PNG images from text descriptions or reference images through a local image-generation service. It submits a request, waits for the result, downloads the image, and returns its file path.

In plain words
What is it for?
Creating or editing artwork, illustrations, covers, and other images with chosen dimensions, quality, quantity, and optional reference images.
Why use it?
It handles the waiting and file-transfer steps needed to use the generation service without requiring image-processing libraries or manual polling.

Skill for Claude CodeCodex

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

Good fit Creating or editing artwork, illustrations, covers, and other images with chosen dimensions, quality, quantity, and optional reference images.

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

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/morningstar202604/awesome-skillkit/image-generation/github.svg)](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/image-generation)
Your own site
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/image-generation"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/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/morningstar202604/awesome-skillkit/image-generation"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/image-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,385 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00107 $0.01385
Opus 5 $0.00053 $0.00692
Sonnet 5 $0.00021 $0.00277
Haiku 4.5 $0.00011 $0.00138

Measured 9d ago against content hash 0ac7107e1308, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

image-generation scanned grade A with 1 finding 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 9d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

compatibility: Requires curl and network access to the generation gateway endpoint.
skills/scenarios/image-generation/SKILL.md · 135 lines

How it starts

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

Image Generation (text-to-image / image-to-image)

Drive a local generation gateway with curl: submit a task, poll until done, download the PNG, hand the file path to the user. No Pillow/OpenCV, no dependency installs — the gateway renders, you orchestrate.

Inputs

Input Required Default Notes
subject description yes what the image shows; see prompt formula below
size no 1024x1024 any WxH where both are multiples of 16
quality no auto auto / high / medium / low
n no 1 number of images
reference_image_urls no up to 14 URLs; switches mode to image-to-image

Size constraints (VERIFY BEFORE USE against your gateway docs): both dimensions must be multiples of 16; aspect ratio within 1:3–3:1; total pixels between 655360 and 8294400.

Common sizes: 1024x1024, 1024x1536, 1536x1024, 960x1280, 1280x960, 1088x1920, 1920x1088, 2048x2048, 2048x3072, 3072x2048, 1920x2560, 2560x1920, 1440x2560, 2560x1440, 2160x3840, 3840x2160.

If the required input is missing, ask ONCE:

请描述想要的画面:主体、风格、用途(如封面/插画/产品图)。可选告知: 尺寸(默认 1024x1024)、画质(默认 auto)、数量(默认 1)、参考图 URL。

Preflight self-check

curl -s -o /dev/null -w "%{http_code}" --max-time 5 "$IMAGE_GATEWAY_BASE/api/image/status?task_id=0"

Expected: an HTTP code prints (gateway reachable). If connection fails: report the base URL problem, ask the user to start the gateway, STOP. Never fall back to drawing tools or placeholder files.

Workflow

Step 1: Resolve the gateway base

IMAGE_GATEWAY_BASE="${IMAGE_GATEWAY_BASE:-http://127.0.0.1:30080}"
echo "$IMAGE_GATEWAY_BASE"

Expected: prints one URL.

Step 2: Compose the prompt

Describe objects, style, and any text layout precisely — instruction clarity and detail fidelity dominate output quality. Structure:

[主体与细节] + [风格/媒介] + [构图与视角] + [文字排版要求,如有]

Rules: concrete nouns over adjectives ("磨砂玻璃瓶上的水珠" not "好看的瓶子"); state style once clearly ("扁平插画、有限四色"); if the image must contain text, quote the exact string and its position ("顶部横排文字: 春季上新").

Read the full file on GitHub · 135 lines

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. 9d ago First seen · 135 lines · 107 tokens per session scan A 0ac7107e1308

Subscribe to this mod's changes

image-generation is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (1 stars, last pushed yesterday), licensed Apache-2.0. It adds 107 tokens to every session and 1,385 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

agentic-webdesign-html-anything

Install and use html-anything — the agentic HTML editor where your local AI agent writes HTML and you ship it. 75 skills × 9 surfaces, BYOK, zero API key. Use when building magazine articles, keynote decks, resumes, posters, social cards, web prototypes, data reports, or Hyperframes videos with AI coding agents.

S3YED/appie-kit · 78 tokens

blog-post

Full-stack blog post production — turns a topic, idea, or brief into a complete publishing package across written, social, and multimedia surfaces. Generates broomva.tech .mdx posts (or Substack/other long-form), X posts and threads, LinkedIn posts, Instagram posts and reel scripts, plus multimedia asset plans…

broomva/skills · 182 tokens

content-creation

Full-stack content creation pipeline: idea or reference to published blog post, audio narration, video, and social media distribution. Orchestrates research, reference extraction, storytelling, AI visual assets (Nano Banana, Veo 3.1), TTS audio (Voicebox, kokoro-tts, Edge TTS), Remotion video, and social copy into a…

broomva/skills · 239 tokens

muapi-seedance-2

Expert Cinema Director skill for Seedance 2.0 (ByteDance) — high-fidelity video generation across Chinese, Global, and VIP tiers. Supports text-to-video, image-to-video, first-last-frame, omni reference, character training, omni-reference training, video editing, and watermark removal.

SamurAIGPT/Generative-Media-Skills · 67 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