nook-image2-gpt SKILL.md skillA

nook-image2-gpt from captain-nook/nook_skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add captain-nook/nook_skills/nook-image2-gpt@git:20260615.2556268

Pins git:20260615.2556268 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
captain-nook/nook_skills
Path
nook-image2-gpt/SKILL.md
Versions recorded
1
Latest version
git:20260615.2556268, committed Jun 15, 2026
Size
3,336 bytes
Repository stars
16
License
MIT

Atomic image generation skill backed by the nook-image2-gpt MCP server. Use when Codex needs stable text-to-image or image-to-image generation through submit_image_task and get_image_result, especially as a low-level image provider for larger skills such as nook-poster.

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

# nook-image2-gpt

异步任务驱动的图片生成 MCP 工具。通过 `submit_image_task` + `get_image_result` 提供文生图和图生图能力。

**MCP server 名称:`nook-image2-gpt`**
**提供 tool:`submit_image_task`、`get_image_result`**

---

## 1. 部署(agent 执行,用户零操作)

1. 克隆仓库到本地
2. 向用户索取中转站 API Key
3. 在本目录执行:`node setup.js`,按提示输入 API Key 和中转站 URL
4. 提示用户重启 agent 客户端

脚本自动完成:安装依赖 + 写入 Agent MCP 配置。

---

## 2. AI 使用说明

> 以下内容供 AI 阅读。

### 2.1 MCP 依赖

本 skill 依赖 **`nook-image2-gpt` MCP server**。

调用出图时,**必须使用 `submit_image_task` 和 `get_image_result` 两个 tool**,不得自行编写代码或调用其他 API。
若 tool 列表中没有这两个名字,说明 MCP server 未启动,提示用户重启 agent。

### 2.2 submit_image_task(提交任务)

| 参数 | 必填 | 默认 | 说明 |
|---|---|---|---|
| `prompt` | 是 | — | 提示词,越短出图越快 |
| `size` | 否 | `1024x1024` | 见下方尺寸表 |
| `n` | 否 | 1 | 生成数量(1-4,图生图推荐 1) |
| `mode` | 否 | `text_to_image` | `text_to_image` 或 `image_to_image` |
| `input_image_path` | 图生图时必填 | — | 源图片绝对路径 |

**返回:** `{ task_id, status: "queued", estimated_wait }`

提交后立即返回,不阻塞。后台 worker 异步执行。

### 2.3 get_image_result(查询结果)

| 参数 | 必填 | 说明 |
|---|---|---|
| `task_id` | 是 | `submit_image_task` 返回的 ID |

**返回:**
- `status`: `queued` / `processing` / `succeeded` / `failed`
- `image_paths`: 成功时的图片路径数组
- `error`: 失败时的错误信息
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add captain-nook/nook_skills/nook-image2-gpt@sha256:990303bb2da3c707

The line at the top of this page pins the label git:20260615.2556268, 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_o5a3ydqichqjiw63.svg)](https://markdownregistry.com/a/art_o5a3ydqichqjiw63)

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

Versions

The registry has recorded 1 version of this file, committed on Jun 15, 2026.

versioncommittedcommitsizeaudit
git:20260615.2556268 latest2026-06-15 2556268 3,336 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 (3336 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

captain-nook/nook_skills · 16 stars · license MIT · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_o5a3ydqichqjiw63
GET https://markdownregistry.com/api/v1/resolve?ref=captain-nook/nook_skills/nook-image2-gpt
GET https://markdownregistry.com/api/v1/blob/990303bb2da3c7079d6ea663254b12e61dba18a53fc2dbff04be418f1b90c462

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 captain-nook/nook_skills

nook-anim SKILL.md skill
captain-nook/nook_skills · nook-anim/SKILL.md · 代码渲染为主的短视频动画生产 skill。用户要做动画短片、Logo 片头动效、定格动画、手绘/白板讲解动画、火柴人小剧场、MG 动效与数据信息图、水墨/撕纸风短片、口播 B-roll 动画与章节标题卡动画(给教程、科普视频配画面)、歌词…
git:20260929.a1b9549 · audit A · 16 stars
DESIGN.md@nook-card DESIGN.md file
captain-nook/nook_skills · nook-card/DESIGN.md
git:20260613.1cba6a3 · audit A · 16 stars
nook-card SKILL.md skill
captain-nook/nook_skills · nook-card/SKILL.md · Create reusable knowledge cards and optional card-to-video handoff specs from user topics, copy, and style…
git:20260613.1cba6a3 · audit A · 16 stars
nook-cover SKILL.md skill
captain-nook/nook_skills · nook-cover/SKILL.md · 建设态多平台封面生产 skill。用于规划或生成小红书、微信公众号、B站、YouTube、抖音、视频号等自媒体平台封面。当前 V0.2 聚焦小红书封面:按运行时选择 Codex…
git:20260618.91c43ec · audit A · 16 stars
nook-h3 SKILL.md skill
captain-nook/nook_skills · nook-h3/SKILL.md · Generate, monitor, quality-check, and retry MiniMax H3 video clips through a local ComfyUI API. Use when a storyboard…
git:20260814.1635294 · audit A · 16 stars
nook-humanizer-zh-review SKILL.md skill
captain-nook/nook_skills · nook-humanizer-zh-review/SKILL.md · 审校和改写中文内容,去除 AI 味,保留 nook 的真实判断、具体细节和渠道风格。作为子审校技能用于最终风格审校、去 AI 味审校、人味审校和润色,适用于公众号文章、长文稿、视频转录稿、口播稿及其他 nook 内容。
git:20260613.1cbc580 · audit A · 16 stars
nook-image-gpt SKILL.md skill
captain-nook/nook_skills · nook-image-gpt/SKILL.md
git:20260614.8f6895a · audit C · 16 stars
nook-ppt SKILL.md skill
captain-nook/nook_skills · nook-ppt/SKILL.md · 用"零件 + 网格 + 量字"生成可编辑的 PPTX(Office/PowerPoint 为准)。用户要做 PPT、演示文稿、课件、讲课用的幻灯片、把稿子或大纲变成 PPT、给已有 PPT…
v2.0-alpha · audit A · 16 stars
AGENTS.md@nook-qwen-image AGENTS.md file
captain-nook/nook_skills · nook-qwen-image/AGENTS.md
git:20260616.5c187a4 · audit A · 16 stars
nook-qwen-image SKILL.md skill
captain-nook/nook_skills · nook-qwen-image/SKILL.md · Atomic high-quality text-to-image + image-edit skill backed by ModelScope Qwen-Image and Qwen-Image-Edit. Use when…
git:20260616.5c187a4 · audit A · 16 stars
nook-search SKILL.md skill
captain-nook/nook_skills · nook-search/SKILL.md · AnySearch 之上的搜索大脑。当用户要"把一句模糊需求变成精准搜索并落库"、"让 AI 自己决定搜什么/走哪个域/采几条/存哪里"、"采集-清洗-入库自动跑通",或上层…
git:20260722.a55d000 · audit A · 16 stars
nook-short SKILL.md skill
captain-nook/nook_skills · nook-short/SKILL.md · Plan and draft Chinese short video and Xiaohongshu image-text content for Douyin, Xiaohongshu, and WeChat Channels. Use…
git:20260628.93460b9 · audit A · 16 stars

Every file in captain-nook/nook_skills

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