ai-image-generator SKILL.md skillA
ai-image-generator from wwwzhouhui/skills_collection is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add wwwzhouhui/skills_collection/ai-image-generator@git:20260726.4787fccPins git:20260726.4787fcc in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- wwwzhouhui/skills_collection
- Path
ai-teaching-media/ai-image-generator/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260726.4787fcc, committed Jul 26, 2026
- Size
- 9,420 bytes
- Repository stars
- 284
- License
- none declared
通用图像生成执行层,支持 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 负责。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 通用图像生成器 支持四种生图 API 的执行层,通过 `--provider` 参数切换。调用方 skill 负责 prompt 撰写、样式注入、业务校验;本 skill 只管"接收 prompt → 调 API → 返回结果"。 ## 什么时候触发这个 skill 本 skill 是被其他 skill 调用的基础设施,不直接由用户触发。当 Claude 正在执行某个生图相关的 skill(如 `ai-image-generator`、`tech-article-diagram`)时,通过 bash 调用本 skill 的脚本。 ## 生图 API 切换 通过 `--provider` 参数或环境变量自动检测选择生图平台: ```bash # 方式 1: 自动检测 —— 只设一个环境变量就行 export APIMART_API_KEY=sk-xxx python scripts/generate.py \ --mode generation --prompt "..." --output-dir ./out # 自动检测到 APIMART_API_KEY,使用 apimart # 方式 2: 显式指定 —— 两个都设了时用这个覆盖 python scripts/generate.py \ --provider apimart --mode generation --prompt "..." --output-dir ./out ``` | Provider | `--provider` | 环境变量 | 模型 | |---|---|---|---| | MuleRun | `mulerun` | `MULERUN_API_KEY` | Nano Banana 2 | | APImart | `apimart` | `APIMART_API_KEY` | GPT Image 2 | | Atlas Cloud | `atlascloud` | `ATLASCLOUD_API_KEY` | GPT Image 2 | | Agnes | `agnes` | `AGNES_API_KEY` | Agnes Image 2.1 Flash(`agnes-image-2.1-flash`) | **自动检测逻辑**(不传 `--provider` 时): 1. 仅发现一个 API Key → 自动使用对应 provider 2. 多个 API Key 同时存在 → **直接报错,要求显式指定 `--provider`** 3. 没有 API Key → 报错并提示设置 ## 两种模式 ### generation — 纯文本生图 从纯文字 prompt 生成图片,不依赖参考图。适合:概念图、流程图、信息图等。 ```bash …
Read the whole file at its exact version.
How to install
mdr add wwwzhouhui/skills_collection/ai-image-generator@sha256:2062eae0b234a337The line at the top of this page pins the label git:20260726.4787fcc, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_gljbr7qzcfakg2lb)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Jul 26, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (9420 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
wwwzhouhui/skills_collection · 284 stars · license none declared · pushed 2026-10-16 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_gljbr7qzcfakg2lb GET https://markdownregistry.com/api/v1/resolve?ref=wwwzhouhui/skills_collection/ai-image-generator GET https://markdownregistry.com/api/v1/blob/2062eae0b234a337858571fdf58d36c07bfe4fed39b3f7745b75cc9d16e2d2a2
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.