Individual skill

ai-image-gen

通用 AI 生图:文生图 / 图生图 / 图像变体。当用户说 AI 生图、AI 画图、文生图、图生图、生成图片、生成配图、图像生成、AI 出图、AI 作图、换图、改图、图像编辑、给我画一张、生成一张图 时使用。支持 OpenAI 兼容 API 与 apimart 异步 API,用户自备 API key。

skills/builtin/ai-image-gen/SKILL.md

Read pinned source

Source commit 5c12e42e9019d276368130b52385b770749ffa6f

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
Yes
Repository scan complete
No
Skill scan complete
No
Observed behavior
Network or broad shell
Last checked
Nov 9, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
4,537
Repository last updated
Nov 2, 2026
License
Apache-2.0

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# 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**:已有图片的确定性处理(改尺寸/裁剪/加水印/压缩),不生成新画面。
Back to top