image-generation SKILL.md skillA

image-generation from zrong/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add zrong/skills/image-generation@v26.37.59

Pins v26.37.59 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
zrong/skills
Path
image-generation/SKILL.md
Versions recorded
4
Latest version
v26.37.59, committed Sep 9, 2026
First version recorded
Mar 29, 2026
Size
9,506 bytes
Repository stars
13
License
none declared

AI 图片生成、编辑与透明背景后处理。使用统一 CLI 调用 OpenAI Images(含 gpt-image-2 原生透明背景)、Google Gemini 原生图片 API、火山方舟 Seedream 及 API易兼容网关(gpt-image-2-vip、Grok Imagine、Nano Banana),支持多参考图、mask、批量生成、Seedream 5.0 Pro 点选/框选连续编辑,并在配置可用时调用独立 matting skill 自动选择算法抠图;未配置或服务不可用时回退现有 chroma-key。用户提到生成图片、画图、封面图、配图、AI 生图、改图、修图、去背景、透明底、参考图编辑、Gemini 生图、Seedream、Grok 生图或交互编辑时使用。.

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

# Image Generation

通过一个严格配置的 CLI 生成或编辑位图。不要按模型名称猜协议,不要绕过配置 allowlist,也不要把远端 `/models` 返回的未配置模型视为可调用。

## 路径

- `{SKILL_DIR}`:本文件所在目录
- `{SCRIPTS_DIR}`:`{SKILL_DIR}/scripts`
- CLI 前缀:`uv run --project {SCRIPTS_DIR} imggen`

## 必须遵守

1. 优先使用本 skill 的 CLI 路径完成图片生成与编辑。
2. adapter 仅由 `provider/endpoint` 配置决定,只能是 `openai`、`gemini`、`seedream`。
3. 调用模型前,必须在所选 endpoint 的 `models.<exact-model-id>` 表中命中;未命中立即停止。
4. 每个 endpoint 独立配置 `adapter`、`base_url`、`api_key`/`api_key_env` 和模型 allowlist。禁止跨 endpoint 借用凭据或静默回退。
5. 只发送模型 policy 中明确声明的 capability。CLI 的显式参数不受支持时必须报错,不能丢弃。
6. `imggen models` 仅用于诊断远端可见性;远端可见但本地未配置的模型仍然被阻止。
7. 不输出、记录或回显 key。需要新 key、base URL 或模型授权时,请用户修改配置。

配置结构和迁移方式见 [references/configuration.md](references/configuration.md),adapter/模型差异见 [references/capability-matrix.md](references/capability-matrix.md)。

## 工作流

### 1. 判断操作

- 纯文字新建图片:`generate`
- 一张或多张参考图上的语义修改:`edit`
- OpenAI alpha mask 局部修改:`edit --mask`
- Seedream 5.0 Pro 点选/框选并连续迭代:`interactive`
- 多个独立生成任务:`generate-batch`
- 模型原生透明底(仅声明 `background` capability 的模型,如官方 gpt-image-2/gpt-image-1.5):`generate/edit --background transparent`
- 一般去背景/透明底:`remove-background`(优先 matting,配置不可用时回退 `chroma-key`)
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add zrong/skills/image-generation@sha256:5fe220a1d3100119

The line at the top of this page pins the label v26.37.59, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_hixmwnonokouvuo4.svg)](https://markdownregistry.com/a/art_hixmwnonokouvuo4)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Mar 29, 2026 and Sep 9, 2026, about one every 55 days.

versioncommittedcommitsizeaudit
v26.37.59 latest2026-09-09 c22e0bc 9,506 BA view · diff
v26.36.562026-09-03 b06997a 7,631 BA view · diff
v26.29.142026-07-20 5a2869b 6,729 BA view · diff
git:20260329.09a3d482026-03-29 09a3d48 2,923 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (9506 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

GitHub

zrong/skills · 13 stars · license none declared · pushed 2026-10-29 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_hixmwnonokouvuo4
GET https://markdownregistry.com/api/v1/resolve?ref=zrong/skills/image-generation
GET https://markdownregistry.com/api/v1/blob/5fe220a1d310011941ce2b190d1ff099bea5c9a39a2aa2475d1d3a373a4616b2

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.

More from zrong/skills

AGENTS.md AGENTS.md file
zrong/skills · AGENTS.md
git:20261029.0fd22c3 · audit A · 13 stars
CLAUDE.md CLAUDE.md file
zrong/skills · CLAUDE.md
git:20260501.79b5b28 · audit B · 13 stars
dns-manager SKILL.md skill
zrong/skills · dns-manager/SKILL.md · DNS 解析记录管理工具。用于查询、新增、修改、删除域名解析记录(A / CNAME / TXT / MX / AAAA 等), 当前支持腾讯云 DNSPod,操作幂等(重复执行不产生重复记录)。当用户提到…
git:20260915.05c706e · audit A · 13 stars
email SKILL.md skill
zrong/skills · email/SKILL.md · 邮件处理工具(基于 IMAP)。搜索、读取、下载附件、移动邮件。 触发场景: - 用户需要查看、搜索、管理邮件 - 用户需要下载邮件附件 - 用户需要移动、归档邮件 - 用户提到"邮件"、"邮箱"、"收件箱"、"附件"
git:20260401.b7b7462 · audit A · 13 stars
feishu-image SKILL.md skill
zrong/skills · feishu-image/SKILL.md · Send images and screenshots via Feishu (Lark) messaging platform. Use when the user asks to send screenshots, images…
git:20260305.abac67b · audit A · 13 stars
filebrowser SKILL.md skill
zrong/skills · filebrowser/SKILL.md · FileBrowser Quantum 一体化 CLI。包含两类操作: 1) 文件管理:浏览(info/list-dir)、读写(update)、创建目录(mkdir)、删除(delete)、 移动/重命名/复制(move)、搜索(sear…
git:20261011.2d26329 · audit A · 13 stars
git-commit SKILL.md skill
zrong/skills · git-commit/SKILL.md · 在 CalVer 仓库中执行用户明确要求的提交、打标签、推送或提交历史整理。普通开发和准备 PR 不自动触发提交或历史改写。
git:20260915.ddfa54c · audit A · 13 stars
immich SKILL.md skill
zrong/skills · immich/SKILL.md · 将本地图像和视频上传到 Immich 服务器,并管理服务器端资产:批量上传、相簿(Album)批量创建/校验/共享、文件夹浏览、外部图库重扫、批量视觉打标(tag 管理)。网络资源下载由 video-downloader…
git:20261011.3944ea3 · audit A · 13 stars
jellyfin SKILL.md skill
zrong/skills · jellyfin/SKILL.md · Jellyfin 媒体库命名与服务器维护工具。当用户需要按照 Jellyfin 命名规范重命名电影/剧集文件夹和文件(rename-folder)、处理多部电影共用一个目录的平铺目录批量重命名(rename-flat,如 TopNNN…
git:20261011.3944ea3 · audit A · 13 stars
joplin SKILL.md skill
zrong/skills · joplin/SKILL.md · 完整的 Joplin REST API 客户端,支持笔记(Notes)、笔记本(Folders)、标签(Tags)、资源/附件(Resources)的 CRUD 操作,以及搜索、修订版本和事件流。
git:20261011.da39543 · audit A · 13 stars
matting SKILL.md skill
zrong/skills · matting/SKILL.md · 通过独立 matting-api 为本地图片抠图、去背景并输出透明 PNG。每次先读取服务状态、队列、实时算法和模型能力,再检查输入图的 alpha、边框颜色、均匀度与亮度特征,自动选择可用的…
v26.36.56 · audit A · 13 stars
mcp-deploy SKILL.md skill
zrong/skills · mcp-deploy/SKILL.md · MCP 服务器自动部署工具。当用户说"部署 MCP"、"安装 MCP"、"配置 MCP"时使用。支持智谱 MCP、Minimax MCP、Gitea MCP 等平台的自动配置。
git:20260303.10320d4 · audit C · 13 stars

Every file in zrong/skills

Other files named image-generation

image-generation SKILL.md skill
bytedance/deer-flow · skills/public/image-generation/SKILL.md · Use this skill when the user requests to generate, create, imagine, or visualize images including characters, scenes…
git:20260913.a22c616 · audit A · 84,762 stars
image-generation SKILL.md skill
devin-axis/ipollowork · .agents/skills/image-generation/SKILL.md · Generate image assets through iPolloWork's image service, whether Image Studio is open or closed.
git:20260923.0e1c557 · audit A · 7,331 stars
image-generation SKILL.md skill
letta-ai/letta-code · src/skills/builtin/image-generation/SKILL.md · Generate images from text prompts (and optionally edit/remix input images). Use when the user asks to create, generate…
git:20260912.d3a58a1 · audit A · 3,759 stars
image-generation SKILL.md skill
shinpr/mcp-image · skills/image-generation/SKILL.md · Writes prompts that make image models produce the image the user means. Use when generating or editing any image…
git:20261103.0507632 · audit A · 187 stars
image-generation SKILL.md skill
hyperfx-ai/marketing-skills · skills/image-generation/SKILL.md · Generate images through the Hyper MCP with the unified `images_generate` tool — text-to-image, image-to-image, and…
v1.0.0 · audit A · 107 stars
image-generation SKILL.md skill
guinacio/claude-image-gen · skills/image-generation/SKILL.md · Generates professional AI images using Google Gemini. ALWAYS invoke this skill when building websites, landing pages…
git:20261010.86e2409 · audit A · 81 stars
image-generation SKILL.md skill
jkitchin/knowhow · skills/creative/image-generation/SKILL.md · AI-powered image generation and editing using Google Gemini, Google Imagen, and OpenAI models. Generate images from…
git:20260307.3e74b2f · audit A · 42 stars
image-generation SKILL.md skill
postplusai/postplus-skills · skills/10-routing/image-generation/SKILL.md · Plan image creation or edits from prompts, products, or references. Resolve task type, model, and reference rules…
git:20261028.4780d87 · audit A · 27 stars

Browse by kind, by grade A, or by owner.