ai-image-gen SKILL.md skillA
ai-image-gen from zju-real/easel is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add zju-real/easel/ai-image-gen@git:20261012.0d53744Pins git:20261012.0d53744 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- zju-real/easel
- Path
skills/builtin/ai-image-gen/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261012.0d53744, committed Oct 12, 2026
- Size
- 5,169 bytes
- Repository stars
- 3,982
- License
- Apache-2.0
通用 AI 生图:文生图 / 图生图 / 图像变体。当用户说 AI 生图、AI 画图、文生图、图生图、生成图片、生成配图、图像生成、AI 出图、AI 作图、换图、改图、图像编辑、给我画一张、生成一张图 时使用。支持 OpenAI 兼容 API 与 apimart 异步 API,用户自备 API key。.
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
# ai-image-gen Skill > 通用 AI 文生图 / 图生图 / 图像变体。用户自备图像生成 API key(OpenAI 兼容 或 apimart 异步),产物写入 `outputs/`。 调用共享脚本 `skills/shared/scripts/ai_image.py`(纯标准库,无第三方依赖)。 本 SKILL 不索要、不回显、不写入、不提交任何真实 API key —— key 只存在于用户自己的 `.env`。 ## 边界(和相邻 SKILL 区分) - **ai-image-gen(本 SKILL)**:通用 AI 生图,任意题材,文生图 / 图生图 / 变体。 - **ecom-details-image**:电商详情页 / 商品主图专用出图(25 场景模板、PDP 序列)。要做电商商品图走它。 - **card-\* / poster-\***:HTML+CSS 渲染截图(金句卡、小红书卡、海报),**非 AI 生成**,是确定性设计出图。 - **image-editing**:已有图片的确定性处理(改尺寸/裁剪/加水印/压缩),不生成新画面。 ## 配置(执行前必读) > **配置检查路径铁律**:先 `cd` 到运行时说明给出的 Easel 项目根,确认当前目录有 `.env` 和 `skills/shared/scripts/ai_image.py`,再运行下列命令。不得在任何执行引擎的 workspace 或共享脚本副本中检查,也不得用 `env` / `printenv` 代替读取项目 `.env`;否则会把已配置的 `IMG_BASE_URL`/Key 误判为缺失。 需在项目根目录 `.env` 中设置三项(脚本从当前目录向上自动查找 `.env`): | 变量 | 说明 | 兼容别名 | |---|---|---| | `IMG_BASE_URL` | API 根地址 | `OPENAI_BASE_URL` / `OPENAI_API_BASE` / `BASE_URL` | | `IMG_MODEL` | 图片模型名 | `OPENAI_IMAGE_MODEL` / `IMAGE_MODEL` / `OPENAI_MODEL` | | `IMG_API_KEY` | API key | `OPENAI_API_KEY` / `API_KEY` | 支持两类服务,脚本按 `base_url` 自动检测(也可 `--mode sync|async` 强制): - **OpenAI 兼容(同步)**:`base_url` 不含 apimart。走 `/images/generations`、`/images/edits`、`/images/variations`。 …
Read the whole file at its exact version.
How to install
mdr add zju-real/easel/ai-image-gen@sha256:14d9118638de23ddThe line at the top of this page pins the label git:20261012.0d53744, 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_eiorglwhbu7nvl6f)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 12, 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 (5169 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
zju-real/easel · 3,982 stars · license Apache-2.0 · pushed 2026-10-21 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_eiorglwhbu7nvl6f GET https://markdownregistry.com/api/v1/resolve?ref=zju-real/easel/ai-image-gen GET https://markdownregistry.com/api/v1/blob/14d9118638de23ddd3609f53b50670f591161b281fffac2a90a30af4175b3e95
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.