ai-image-generation

ai-image-generation is a skill for Claude Code from sutchan/Agent-Skills-Hub. It costs 95 tokens per session (1,659 once invoked), scanned A, a copy of ai-image-generation, MIT.

A workflow for generating and editing images through the inference.sh command-line tool, using more than 50 listed AI models. It supports text prompts, image edits, partial redraws, custom LoRA styles, enlargement, and text rendering.

In plain words
What is it for?
Use it for illustrations, product mockups, concept art, social-media graphics, marketing visuals, image editing, and upscaling.
Why use it?
It brings several image-generation and editing tasks into a command-line workflow rather than requiring separate image tools for each job.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

Good fit Use it for illustrations, product mockups, concept art, social-media graphics, marketing visuals, image editing, and upscaling.

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

Made for: Claude Code.

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 ai-image-generation

README.md
[![agentmods](https://agentmods.dev/badge/skills/sutchan/agent-skills-hub/ai-image-generation/github.svg)](https://agentmods.dev/skills/sutchan/agent-skills-hub/ai-image-generation)
Your own site
<a href="https://agentmods.dev/skills/sutchan/agent-skills-hub/ai-image-generation"><img src="https://agentmods.dev/badge/skills/sutchan/agent-skills-hub/ai-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 ai-image-generation

Your own site · 80×15
<a href="https://agentmods.dev/skills/sutchan/agent-skills-hub/ai-image-generation"><img src="https://agentmods.dev/badge/skills/sutchan/agent-skills-hub/ai-image-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,659 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 92% copy Near-identical to another mod 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.00095 $0.01659
Opus 5 $0.00048 $0.00830
Sonnet 5 $0.00019 $0.00332
Haiku 4.5 $0.00010 $0.00166

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

Security

Grade A, and why

ai-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 11d 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.

Origin

This is a copy

92% identical to ai-image-generation — 10 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/ai-image-generation/SKILL.md · 176 lines

How it starts

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

Install the belt CLI skill: npx skills add belt-sh/cli

AI Image Generation

Generate images with 50+ AI models via inference.sh CLI.

AI Image Generation

Quick Start

Requires inference.sh CLI (belt). Install instructions

belt login

# Generate an image with FLUX
belt app run falai/flux-dev-lora --input '{"prompt": "a cat astronaut in space"}'

Available Models

Model App ID Best For
GPT-Image-2 openai/gpt-image-2 Text-to-image, editing, inpainting
FLUX Dev LoRA falai/flux-dev-lora High quality with custom styles
FLUX.2 Klein LoRA falai/flux-2-klein-lora Fast with LoRA support (4B/9B)
P-Image pruna/p-image Fast, economical, multiple aspects
P-Image-LoRA pruna/p-image-lora Fast with preset LoRA styles
P-Image-Edit pruna/p-image-edit Fast image editing
Gemini 3 Pro google/gemini-3-pro-image-preview Google's latest
Gemini 2.5 Flash google/gemini-2-5-flash-image Fast Google model
Grok Imagine xai/grok-imagine-image xAI's model, multiple aspects
Seedream 4.5 bytedance/seedream-4-5 2K-4K cinematic quality
Seedream 4.0 bytedance/seedream-4-0 High quality 2K-4K
Seedream 3.0 bytedance/seedream-3-0-t2i Accurate text rendering
Reve falai/reve Natural language editing, text rendering
ImagineArt 1.5 Pro falai/imagine-art-1-5-pro-preview Ultra-high-fidelity 4K
FLUX Klein 4B pruna/flux-klein-4b Ultra-cheap ($0.0001/image)
Topaz Upscaler falai/topaz-image-upscaler Professional upscaling

Browse All Image Apps

belt app list --category image

Examples

GPT-Image-2

belt app run openai/gpt-image-2 --input '{
  "prompt": "professional product photo of sneakers, studio lighting",
  "quality": "high"
}'

Read the full file on GitHub · 176 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. 11d ago First seen · 176 lines · 95 tokens per session scan A 975ae91e4d61

Subscribe to this mod's changes

ai-image-generation is a skill published in the GitHub repository sutchan/Agent-Skills-Hub (2 stars, last pushed today), licensed MIT. It adds 95 tokens to every session and 1,659 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to ai-image-generation, differing in 10 lines, and is treated as a copy.

Related

Other skills, from other repositories

iflytek-hyper-tts

A text-to-speech tool that turns written text into an MP3 recording. It can use an authorized voice and adjust speaking speed, volume, and pitch.

iflytek/iFly-Skills · 92 tokens

iflytek-voiceclone-tts

A tool for creating a speech model from recorded audio and then generating speech that uses the cloned voice. Voice cloning means training software to imitate a person’s voice.

iflytek/iFly-Skills · 99 tokens

animated-sketch-diagram

A tool for making animated diagrams and flowcharts in a hand-drawn ink style, with paper-like backgrounds, simple icons, and moving dots along connections. It produces a self-contained HTML file and can also create a looping GIF.

iflytek/iFly-Skills · 182 tokens

iflytek-video-translate

A tool that translates a video’s speech into another language and creates dubbed audio. Video localization means adapting video content for viewers who speak a different language.

iflytek/iFly-Skills · 91 tokens

iflytek-speed-transcription

Ultra-fast speech transcription using iFLYTEK Speed Transcription API. Transcribe audio files (WAV/PCM/MP3) up to 5 hours in 20 seconds per hour. Supports Chinese, English, and 202+ Chinese dialects with automatic language detection. Use when user asks to transcribe audio files, convert speech to text, or mentions…

iflytek/iFly-Skills · 90 tokens

iflytek-image-understanding

An image-analysis tool that describes pictures and answers questions about what they contain. It uses an AI vision service, which interprets visual content rather than only reading text files.

iflytek/iFly-Skills · 61 tokens