gpt-image-2-gen

gpt-image-2-gen is a skill for Claude Code from anymouschina/TapCanvas. It costs 148 tokens per session (2,114 once invoked), scanned A, original, MIT.

A reference guide for creating images with GPT Image 2, covering prompt wording, image sizes, quality settings, reference-image editing, batches, and storyboard keyframes. It provides guidance only; image generation uses the project's own canvas tools.

In plain words
What is it for?
Use it to plan line drawings, design drafts, storyboards, images with text, and cinematic video keyframes with GPT Image 2.
Why use it?
It helps turn visual goals into concrete instructions and settings without requiring an external API key. It also clarifies when a storyboard or keyframe is appropriate for a video workflow.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to plan line drawings, design drafts, storyboards, images with text, and cinematic video keyframes with GPT Image 2.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anymouschina/tapcanvas/gpt-image-2-gen
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add anymouschina/TapCanvas --skill gpt-image-2-gen
Clone the repo
git clone --depth 1 https://github.com/anymouschina/TapCanvas

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gpt-image-2-gen

README.md
[![agentmods](https://agentmods.dev/badge/skills/anymouschina/tapcanvas/gpt-image-2-gen/github.svg)](https://agentmods.dev/skills/anymouschina/tapcanvas/gpt-image-2-gen)
Your own site
<a href="https://agentmods.dev/skills/anymouschina/tapcanvas/gpt-image-2-gen"><img src="https://agentmods.dev/badge/skills/anymouschina/tapcanvas/gpt-image-2-gen/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gpt-image-2-gen

Your own site · 80×15
<a href="https://agentmods.dev/skills/anymouschina/tapcanvas/gpt-image-2-gen"><img src="https://agentmods.dev/badge/skills/anymouschina/tapcanvas/gpt-image-2-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 148 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,114 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00148 $0.02114
Opus 5.5 $0.00059 $0.00846
Sonnet 5.5 $0.00030 $0.00423
Haiku 4.5 $0.00015 $0.00211

Measured 2mo ago against content hash 39410d79d089, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gpt-image-2-gen scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

> 因此当需要真正出图时,**用项目自有的生图工具/节点**,把下面的参数与提示词方法论填进去即可;**不要**去注册 EvoLink、不要设任何 `*_API_KEY`、不要 curl 外部端点。
apps/agents-cli/skills/gpt-image-2-gen/SKILL.md · 77 lines

How it starts

The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GPT Image 2 出图方法论(本地版)

定位(重要):本 skill 只给方法论,不执行、不调用外部 key。 本项目的图像生成统一走自己的链路:画布 image 节点 / tapcanvas_image_generate_to_canvas 工具 → new-api 的 gpt-image-2 渠道。 因此当需要真正出图时,用项目自有的生图工具/节点,把下面的参数与提示词方法论填进去即可;不要去注册 EvoLink、不要设任何 *_API_KEY、不要 curl 外部端点。

本 skill 只服务明确选用 gpt-image-2 的图像任务,不再声明全局默认模型。角色卡必须先使用 tapcanvas-character-card 完成设计,再从本轮 enabledImageModels 与账号生成偏好选择精确可执行模型和规格;本 skill 不覆盖角色卡的体型、媒介、身份板结构、反趋同或 prompt。gpt-image-2 易出噪点时,可按本 skill 的模型工艺规避,但这只是已选模型的执行建议。

何时参考本方法论

当任务涉及用 gpt-image-2 出线稿 / 设计稿 / 分镜图 / 故事板 / 含文字标注的图 / 电影级关键帧时(文生图、图生图编辑、批量变体、分镜/网格合成图等),用本文的参数与提示词知识来组织调用本项目的生图工具。彩色出图同样走 gpt-image-2(2026-06-18 拍板全局默认,gemini 已撤);仅画风锚专图走 doubao-seedream。

英雄镜关键帧(2026-07-10 新增职责)

视频管线的「镜头级关键帧」由本 skill 方法论承制。storyboardImageNodeId 是图片用途字段,不是媒体类型:单一必要状态直接生成普通 image;确需表达连续变化时,才把 2~3 个决定性状态按时间顺序合并成一张故事板 image;无需额外视觉锚时不生成。两种图片都可以进入对应 clip 的参考图集合并按一张业务图片计费/计预算;禁止一格故事板、整章母板、通用设计板、四格以上分镜板和站位图进入视频参考。

  • 准入判据(一句话:这一镜值得当海报才预热):K1 英雄镜(变身/大招亮相、climax 决定性瞬间、强对比史诗画面);K2 文字不可达构图(chiaroscuro 强光比/多元素精确空间关系/极端机位);K3 新视觉事件首次定义(优先走状态版卡/场景卡既有机制,不重复造)。
  • 禁区:打斗密拍中段(主支出=运动,多图=保真透支);普通叙事对白镜;「只是想更好看」。
  • 配额:每 run 关键帧 ≤ clip 数 ~15%(15 镜章节 ≤2 张)。挂了关键帧的镜其余参考图降配(画风锚可省——关键帧生成时已锚画风;角色卡只留跨段认人必需)。
  • 生成侧:必须带全局画风锚+出场角色卡作参考图,禁裸生成;2K、比例随片。
  • 工艺清单与 look 配方:references/keyframe-craft.md、references/cinematic-keyframe-gallery.md。

参数方法论(gpt-image-2)

参数 说明 默认
prompt 图像描述或编辑指令。越具体越好(风格/光线/材质/构图);上限很高但简洁常更稳。 必填
referenceImages 图生图/编辑:1–16 张参考图(jpeg/png/webp)。用于角色/产品视觉一致性。URL 需可直接下载。 可选
size / 比例 比例制:1:1 / 16:9 / 9:16 / 4:3 / 3:2 / 21:9 等;或精确像素 WxH(16 对齐,最大 3:1);或 auto。 auto
resolution 仅比例制有效:1K(~1MP) / 2K(~4MP) / 4K(~8.3MP)。需要高质量时显式传 2K。 1K
quality low(草稿/便宜) / medium(均衡) / high(成片,约 4× 成本)。 medium
count(n) 一次出几张变体(用于挑选)。 1

注:本项目 new-api 的 gpt-image-2 渠道,2K 需渠道具备对应 tier model(否则计费/出图会失败);预算不足时先用 1K 迭代,锁定后再上 2K。

Read the full file on GitHub · 77 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 77 lines · 148 tokens per session scan A 39410d79d089

Subscribe to this mod's changes

gpt-image-2-gen is a skill published in the GitHub repository anymouschina/TapCanvas (738 stars, last pushed 8d ago), licensed MIT. It adds 148 tokens to every session and 2,114 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-21.

Related

gpt-image-2-gen compared with skills from other repositories

gpt-image-2-gen next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gpt-image-2-genanymouschina/TapCanvasSkill7388d agoMITA148Claude Code
dramakexixihhhh/ai-short-drama-skillSkill128yesterdayMITA279Claude Code, Codex
last30Dayschaitanyagiri/munder-difflinSkill10k2d agoMITA83Claude Code
thisWeekchaitanyagiri/munder-difflinSkill10k2d agoMITA77Claude Code
short-drama-storyboardzenstory-ai/drama-skillsSkill5.3k4d agoMITA102Codex
md-fetch-summarizechaitanyagiri/munder-difflinSkill10k2d agoMITA93Claude Code
social-postHao0321/claude-skill-social-postSkill9148d agoMITA119Codex