Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkitnpx agentmods add skills/morningstar202604/awesome-skillkit/image-generationWrote 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.
[](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/image-generation)<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.
<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>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00172 | $0.03768 |
| Opus 5.5 | $0.00069 | $0.01507 |
| Sonnet 5.5 | $0.00034 | $0.00754 |
| Haiku 4.5 | $0.00017 | $0.00377 |
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 2mo 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. How it starts
The opening of the file, as written. The whole thing — 217 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, incl. Platform Covers)
Drive the local generation gateway with curl: submit a task -> poll until done -> download the PNG -> hand the file path to the user. No Pillow/OpenCV needed for the core flow, no dependencies to install — the gateway handles rendering, you handle orchestration. For platform covers/banners you can either drive the curl flow directly, or use the bundled scripts/generate_cover.py wrapper, which validates dimensions, prints a dry-run plan first, and can emit a <1MB upload-ready JPG.
Domain Tacit Knowledge (What Makes a Good Generated Image)
1. Concrete nouns beat adjectives every time. "Water droplets on a frosted glass bottle with a citrus slice" produces a specific, high-quality image. "A beautiful refreshing drink" produces a generic stock-photo look. Swap every adjective for a concrete noun or detail before submitting.
2. State the style once, clearly, at the end. Don't stack style tags ("photorealistic, cinematic, 8k, ultra detailed, award-winning"). Pick one medium/style and state it clearly: "flat vector illustration, limited three-color palette" or "35mm film photograph, shallow depth of field". More style tags = more confusion, not more quality.
3. Chinese text in images is unreliable. Most image models render Latin alphabet well but produce garbled Chinese characters. If the final image needs Chinese text (cover titles, labels), generate a textless base image and add the text in post-production (Canva, Photoshop, or the platform's editor). Never ask the model to render Chinese characters.
4. Reference images lock style and subject. Providing 1-2 reference images (image-to-image mode) dramatically improves consistency for series work. Use a style reference to lock the visual tone, and a subject reference to keep character/product likeness consistent across a batch.
Input Checklist
| Input | Required | Default | Notes |
|---|---|---|---|
| scene description | yes | — | What to draw; write it per the prompt formula below |
| size | no | 1024x1024 |
Any width/height, both multiples of 16; for a platform cover use the table below |
| quality | no | auto |
auto / high / medium / low |
| n | no | 1 |
Number of images to generate |
| reference_image_urls | no | — | Up to 14 URLs; providing them switches to image-to-image mode |
| --jpg | no | off | (wrapper only) also emit a <1MB JPG; requires Pillow |
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.
- 2mo ago Changed · +87 lines · +65 tokens per session 9fef7f6cc1e3
- 2mo ago Changed · -5 lines 3aeac61e5081
- 3mo ago First seen · 135 lines · 107 tokens per session scan A 0ac7107e1308
image-generation is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 172 tokens to every session and 3,768 once invoked, about $0.0007 per session on Opus 5.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.
image-generation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| image-generationMorningstar202604/awesome-skillkit | Skill | 0 | 2mo ago | Apache-2.0 | A | 172 | Claude Code, Codex |
| safe-refactorJuliusBrussee/caveman | Skill | 124k | today | Apache-2.0 | A | 29 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 70k | 3d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| auditing-subgroup-fairnessmaziyarpanahi/openmed | Skill | 5.9k | today | Apache-2.0 | A | 148 | Claude Code |
| memoryopensquilla/opensquilla | Skill | 7.2k | 4d ago | Apache-2.0 | A | 44 | Claude Code, Codex |
| infographic-template-updaterantvis/Infographic | Skill | 7.2k | 1mo ago | MIT | A | 43 | Claude Code |
| pulse-configureSnowflake-Labs/cocoplus | Skill | 729 | 23d ago | MIT | A | 12 | Claude Code, Codex |