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.
npx skills add anymouschina/TapCanvas --skill gpt-image-2-gengit clone --depth 1 https://github.com/anymouschina/TapCanvasWrote 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.
[](https://agentmods.dev/skills/anymouschina/tapcanvas/gpt-image-2-gen)<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.
<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>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.
| Model | Per session | Once 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 |
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 外部端点。 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。
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.
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.
- 2mo ago First seen · 77 lines · 148 tokens per session scan A 39410d79d089
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.
gpt-image-2-gen compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gpt-image-2-genanymouschina/TapCanvas | Skill | 738 | 8d ago | MIT | A | 148 | Claude Code |
| dramakexixihhhh/ai-short-drama-skill | Skill | 128 | yesterday | MIT | A | 279 | Claude Code, Codex |
| last30Dayschaitanyagiri/munder-difflin | Skill | 10k | 2d ago | MIT | A | 83 | Claude Code |
| thisWeekchaitanyagiri/munder-difflin | Skill | 10k | 2d ago | MIT | A | 77 | Claude Code |
| short-drama-storyboardzenstory-ai/drama-skills | Skill | 5.3k | 4d ago | MIT | A | 102 | Codex |
| md-fetch-summarizechaitanyagiri/munder-difflin | Skill | 10k | 2d ago | MIT | A | 93 | Claude Code |
| social-postHao0321/claude-skill-social-post | Skill | 914 | 8d ago | MIT | A | 119 | Codex |