Agent skill

AI Image Generator

by wwwzhouhui in wwwzhouhui/skills_collection

通用图像生成执行层,支持 MuleRun Nano Banana 2、APImart GPT Image 2、Atlas Cloud GPT Image 2 和 Agnes Image 2.1 Flash 四种生图 API。通过 --provider 切换。支持 generation(纯文本生图)和 edit(带参考图修图)两种模式,单张和批量执行。这是被其他 skill 调用的基础设施…

No licenceAuto-check passedMedia & Creative

Install AI Image Generator

skills CLI
$ npx skills add wwwzhouhui/skills_collection --skill ai-image-generator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install wwwzhouhui/skills_collection ai-image-generator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/wwwzhouhui/skills_collection.git skills-src && mkdir -p .claude/skills && cp -r skills-src/ai-teaching-media/ai-image-generator .claude/skills/ai-image-generator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ai-image-generator
GitHub stars
283
Token cost
~1.7k tokens
SKILL.md length
448 words
Files
9 (incl. scripts)
Skills in repo
25
Repo updated
First seen
Licence
None found

At a glance

通用图像生成执行层,支持 MuleRun Nano Banana 2、APImart GPT Image 2、Atlas Cloud GPT Image 2 和 Agnes Image 2.1 Flash 四种生图 API。通过 --provider 切换。支持 generation(纯文本生图)和 edit(带参考图修图)两种模式,单张和批量执行。这是被其他 skill 调用的基础设施…

  • Works in 3 steps: 仅发现一个 API Key → 自动使用对应 provider → 多个 API Key 同时存在 → 直接报错,要求显式指定 --provider → 没有 API Key → 报错并提示设置
  • Tasks that involve Image generation
  • SKILL.md covers 什么时候触发这个 skill, 生图 API 切换, 两种模式 and 批量模式, plus 7 more sections
  • Runs Python scripts from its folder; calls python; reaches apihub.agnes-ai.com; needs APIMART_API_KEY and MULERUN_API_KEY

What it does

AI Image Generator is an agent skill from wwwzhouhui/skills_collection. 通用图像生成执行层,支持 MuleRun Nano Banana 2、APImart GPT Image 2、Atlas Cloud GPT Image 2 和 Agnes Image 2.1 Flash 四种生图 API。通过 --provider 切换。支持 generation(纯文本生图)和 edit(带参考图修图)两种模式,单张和批量执行。这是被其他 skill 调用的基础设施 skill,不直接面向终端用户。当其他 skill(如 ai-image-generator、tech-article-diagram)需要调 API 生图时,调用本 skill 的 scripts/generate.py。不要用于:提示词撰写、风格注入、业务校验——这些由调用方 skill 负责。

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files, including scripts (for example `scripts/generate.py`, `scripts/providers/__init__.py` and `scripts/providers/agnes.py`).

It sits in Media & Creative, covering Image generation. It works with Google Gemini. The repository describes itself as: 本项目是个人开发的 Claude Code Skills 集合,提供实用的技能工具,助力提升开发效率和内容创作。 分享一些好用的 Claude Code Skills,自用、学习两相宜,适用于 Claude Code v2.0 及以上版本。

When your agent uses it

  • Tasks that involve Image generation

Example prompts

  • “/ai-image-generator”

Requirements

  • Python 3
  • A credential in APIMART_API_KEY
  • A credential in MULERUN_API_KEY

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. 仅发现一个 API Key → 自动使用对应 provider
  2. 多个 API Key 同时存在 → 直接报错,要求显式指定 --provider
  3. 没有 API Key → 报错并提示设置

What it can do on your machine

Read from SKILL.md and the folder at commit b98f166. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 8 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • apihub.agnes-ai.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • APIMART_API_KEY
    • MULERUN_API_KEY
    • ATLASCLOUD_API_KEY
    • AGNES_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

AI Image Generator loads about 1.7k tokens when it runs. Until then it costs about 91 tokens; SKILL.md has 448 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~91
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 448 words (~1,742 tokens).

“支持四种生图 API 的执行层,通过 --provider 参数切换。调用方 skill 负责 prompt 撰写、样式注入、业务校验;本 skill 只管"接收 prompt → 调 API → 返回结果"。”

— opening of SKILL.md by wwwzhouhui
name
ai-image-generator

Read the full SKILL.md on GitHub

Files

SKILL.md and 8 other files (scripts) in ai-teaching-media/ai-image-generator of wwwzhouhui/skills_collection.

  • SKILL.md
  • scripts/generate.py
  • scripts/providers/__init__.py
  • scripts/providers/agnes.py
  • scripts/providers/apimart.py
  • scripts/providers/atlascloud.py
  • scripts/providers/base.py
  • scripts/providers/mulerun.py
  • scripts/providers/volcengine.py

Open the folder on GitHubat commit b98f166

Compare with similar skills

AI Image Generator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

AI Image Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
AI Image Generator this skillwwwzhouhui/skills_collection283—~1.7kAutomated safety check: PassNone
AI Image Generation and Editingzhayujie/CowAgent47k—~1.3kAutomated safety check: PassMIT
Logo Generatorop7418/logo-generator-skill2.2k—~1.8kAutomated safety check: NotesNone
Gemini Web Reverse-Engineered ClientJimLiu/baoyu-skills27k5 repos~1.6kAutomated safety check: PassMIT
SEO Image GeneratorAgriciDaniel/claude-seo19k2 repos~2.1kAutomated safety check: PassMIT
BlockRun Image GenerationBlockRunAI/ClawRouter6.6k—~2.1kAutomated safety check: PassMIT

Similar skills

  • Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.

    47k GitHub stars~1.3k tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • Logo Generator

    op7418/logo-generator-skill

    Generate professional SVG logos and high-end showcase images.

    2.2k GitHub stars~1.8k tokensUpdated 5 mo ago
    Media & CreativeAuto-check: notes
  • Generates text and images through an unofficial, reverse-engineered Gemini Web API, supporting reference images and multi-turn conversations.

    27k GitHub starsUsed in 5 repos~1.6k tokens
    Media & CreativeAuto-check passed
  • SEO Image Generator

    AgriciDaniel/claude-seo

    Generates Open Graph previews, blog hero images, product photos and infographics for SEO use through Gemini image tools and the banana extension.

    19k GitHub starsUsed in 2 repos~2.1k tokens
    Media & CreativeAuto-check passed
  • BlockRun Image Generation

    BlockRunAI/ClawRouter

    Generates or edits images through ClawRouter's local image API, with a choice of models and sizes and payment handled automatically through x402.

    6.6k GitHub stars~2.1k tokensUpdated 5 days ago
    Media & CreativeAuto-check passed
  • Antigravity Gemini Image

    uluckyXH/OpenMOSS

    Generate or edit images using the Antigravity-hosted Gemini image model via the local gateway.

    1.3k GitHub stars~730 tokensUpdated 3 mo ago
    Media & CreativeAuto-check: notes

More from wwwzhouhui/skills_collection

All 25 skills in this repo
  • Knowledge Absorber

    wwwzhouhui/skills_collection

    深度解析链接/文档/代码,生成导师级教学笔记 + Wan 2.7 知识海报. An agent skill from wwwzhouhui/skills_collection.

    283 GitHub stars~2k tokensUpdated 5 days ago
    Auto-check passed
  • Remotion Video Factory

    wwwzhouhui/skills_collection

    视觉从代码生长的技术讲解视频工厂:给一个主题,产出一条"图解动画 + AI 配音"的 MP4——结构图/矩阵/连线拓扑/图表/数字滚动全部用 Remotion + React/SVG 代码精确绘制(不用 AI 视频模型,杜绝公式乱码与连线漂移,可参数化、改数据自动重排),旁白由 TTS 逐段生成 + ffprobe 实测时长(默认 edge-tts 神经音色;--engine clone…

    283 GitHub stars~990 tokensUpdated 5 days ago
    Auto-check passed
  • Voice To Video

    wwwzhouhui/skills_collection

    口播文字稿一键成片:TTS 配音(edge-tts,带逐句/逐词时间戳)→ HTML 动画合成(场景由时间戳驱动,画面跟着声音走)→ Playwright 逐帧确定性渲染合成 MP4。Use whenever the user wants to 把口播稿/文字稿/文案/文章做成视频、配音视频、解说视频、知识类短视频、口播视频、文字转视频、TTS video、voice-over…

    283 GitHub stars~1.1k tokensUpdated 5 days ago
    Auto-check passed
  • Article Explainer Video

    wwwzhouhui/skills_collection

    把一篇技术长文/论文解读自动做成章节式解说视频(1080p, 5-8 分钟)。双主题:warm(奶油底+珊瑚红+cozy-handdrawn 透明插图,亲和感)和 midnight(深蓝黑底+琥珀金+宋体标题+executive-tech 插图,AI 科技感),storyboard 一个 theme 字段切换。每章三种 layout 混排:illustration(左文右图+Ken…

    283 GitHub stars~2.2k tokensUpdated 5 days ago
    Auto-check passed
  • Edu Teaching Animation

    wwwzhouhui/skills_collection

    把单个学科概念(中文/英文都行,如"声现象""杠杆原理""光合作用")自动做成动态教学内容。两种产出都由 HyperFrames 渲染、共用同一个 index.html(mode 变量切换):① 配音教学视频 — 分镜 + Minimax / Edge TTS 中文配音 + 字幕 + 完整 MP4(1080p, ~90s, 发视频号/给孩子看);② 无声循环动图 — 同一内容的紧凑无声版…

    283 GitHub stars~1.5k tokensUpdated 5 days ago
    Auto-check passed
  • Env Setup

    wwwzhouhui/skills_collection

    Checking and provisioning the machine's environment for the video-agent-kit plugin — probing for ffmpeg/ffprobe that actually carry the encoders and filters we render with (libx264/aac/libmp3lame…

    283 GitHub stars~3.5k tokensUpdated 5 days ago
    Auto-check: notes

Works with

Questions about AI Image Generator

What does AI Image Generator do?

通用图像生成执行层,支持 MuleRun Nano Banana 2、APImart GPT Image 2、Atlas Cloud GPT Image 2 和 Agnes Image 2.1 Flash 四种生图 API。通过 --provider 切换。支持 generation(纯文本生图)和 edit(带参考图修图)两种模式,单张和批量执行。这是被其他 skill 调用的基础设施…. AI Image Generator is an agent skill from wwwzhouhui/skills_collection.

When should I use AI Image Generator?

AI Image Generator fits situations like: tasks that involve Image generation.

How do I install AI Image Generator in Claude Code?

Run `npx skills add wwwzhouhui/skills_collection --skill ai-image-generator -a claude-code`. Or copy the skill folder (ai-teaching-media/ai-image-generator in wwwzhouhui/skills_collection) into .claude/skills/ai-image-generator in your project. Claude Code loads it when a task matches its description.

How do I install AI Image Generator in Codex?

Run `npx skills add wwwzhouhui/skills_collection --skill ai-image-generator -a codex`. Or copy the skill folder (ai-teaching-media/ai-image-generator in wwwzhouhui/skills_collection) into .agents/skills/ai-image-generator in your project. Codex loads it when a task matches its description.

Can I use AI Image Generator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add wwwzhouhui/skills_collection --skill ai-image-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ai-image-generator, .gemini/skills/ai-image-generator, .github/skills/ai-image-generator and .opencode/skills/ai-image-generator in your project.

What does AI Image Generator need to run?

Going by SKILL.md and its folder, AI Image Generator needs Python for the scripts in its folder, the command-line tools its instructions call (python) and credentials named APIMART_API_KEY, MULERUN_API_KEY, ATLASCLOUD_API_KEY and AGNES_API_KEY. Our summary lists: Python 3; A credential in APIMART_API_KEY; A credential in MULERUN_API_KEY.

Does AI Image Generator access the network?

SKILL.md names 1 domain. In commands or code: apihub.agnes-ai.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is AI Image Generator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does AI Image Generator use?

No licence was found for AI Image Generator or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does AI Image Generator use?

About 1.7k tokens (SKILL.md is roughly 7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to AI Image Generator?

Skills that share tags, products or a category with AI Image Generator: AI Image Generation and Editing (zhayujie/CowAgent, 47k stars), Logo Generator (op7418/logo-generator-skill, 2.2k stars), Gemini Web Reverse-Engineered Client (JimLiu/baoyu-skills, 27k stars) and SEO Image Generator (AgriciDaniel/claude-seo, 19k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains AI Image Generator?

wwwzhouhui (a GitHub user) maintains it in wwwzhouhui/skills_collection, which has 283 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on October 6, 2026.

Source: wwwzhouhui/skills_collection on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.