Skip to content
Back to search

draftio

SkillWorks with Claude CodeGitHub

让 coding agent 会出图:按场景选模型、按模型方言写提示词、报出确切点数价格。生成在 Draftio 画布完成,支付宝人民币结算。

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/mionax--draftio-skills/badge.svg)](/listings/mionax--draftio-skills)

HTML

<a href="/listings/mionax--draftio-skills"><img src="/api/listings/mionax--draftio-skills/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

首屏那条 `npx skills add mionax/draftio-skills` 就够了:它探测当前项目里的宿主,装成项目级 skill(默认不是全局)。下面这些是同一件事的其他入口。

<details> <summary>分别安装:Claude Code / Codex / Cursor / 手动 / 一键脚本</summary>

Claude Code

npx skills add mionax/draftio-skills

Codex

codex plugin add github.com/mionax/draftio-skills

Cursor / 其它支持 `AGENTS.md` 的宿主

把 [`skills/draftio-image/SKILL.md`](skills/draftio-image/SKILL.md) 的正文粘进项目的 `.cursor/rules` 或 `AGENTS.md` 即可,没有依赖。

手动

cp -r draftio-skills/skills/draftio-image .claude/skills/

一键脚本(需要先 clone)

git clone https://github.com/mionax/draftio-skills.git
cd draftio-skills && ./install.sh

`./install.sh claude` / `codex` / `opencode` 可以只装其中一个,`./install.sh list` 只打印会装到哪里。

</details>

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

.claude-plugin/plugin.json · Manifest · 13 lines
  1. {
  2. "name": "draftio",
  3. "version": "0.1.0",
  4. "description": "让 coding agent 会出图:按场景选模型、按模型方言写提示词、报出确切点数价格。生成在 Draftio 画布完成,支付宝人民币结算。",
  5. "author": {
  6. "name": "Draftio",
  7. "url": "https://www.draftio.cn"
  8. },
  9. "homepage": "https://www.draftio.cn/pricing/models",
  10. "repository": "https://github.com/mionax/draftio-skills",
  11. "license": "MIT",
  12. "keywords": ["image-generation", "text-to-image", "image-editing", "pricing", "skill"]
  13. }
README.md · README · 221 lines
  1. # Draftio Skills
  2. [![skills.sh](https://skills.sh/b/mionax/draftio-skills)](https://skills.sh/mionax/draftio-skills) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
  3. **中文** · [English](README.en.md)
  4. Draftio 的 agent 入口:让你的 coding agent 在「要一张图」这件事上不再瞎猜模型和价格,而是给出选型、按这个模型的方言写好的提示词、以及接口里读到的确切点数。
  5. 无需注册、无需 API key 就能选型和报价。
  6. ```bash
  7. npx skills add mionax/draftio-skills
  8. ```
  9. | | |
  10. |---|---|
  11. | ![小红书封面](assets/readme/xiaohongshu-cover.jpg)<br>小红书封面 · `gpt-image-2` · 60 点 | ![白底商品图](assets/readme/product-shot.jpg)<br>白底商品图 · `gpt-image-2` · 60 点 |
  12. | ![YouTube 缩略图](assets/readme/youtube-thumbnail.jpg)<br>YouTube 缩略图 · `gpt-image-2` · 60 点 | ![城市美食信息图](assets/readme/infographic.jpg)<br>成都美食信息图 · `gpt-image-2` · 60 点 |
  13. 上图全部由 Draftio 自己生成,提示词与复现命令见 [`assets/readme/README.md`](assets/readme/README.md)。中文标题零错字,这就是 `gpt-image-2` 的强项。
  14. ---
  15. ## 三档摩擦:免费到哪一步
  16. | 阶段 | 要不要账号 | 要花钱吗 | 能做什么 |
  17. |---|---|---|---|
  18. | 选模型、写提示词、报价 | 不要 | 不要 | 告诉你怎么做、多少钱 |
  19. | 出图 | 要(复制一把 `dk_live_` key) | 按点数扣 | 真的生成,返回图片链接 |
  20. | 充值 | 要 | 是 | 1000 点 = ¥10 |
  21. 装完就能用第一步;什么时候收钱,我们会提前告诉你。
  22. **注册送 500 点**(30 天有效)≈ 55 张 Z-Image Turbo 或 15 张 Seedream 5.5,够你把整条链路跑一遍。
  23. ## 它做什么
  24. | | 做什么 | 为什么值得装 |
  25. |---|---|---|
  26. | **选模型** | 根据场景(中文海报、英文排版、改图、多图融合、4K、艺术感)推荐 1 个主选 + 1 个备选 | 20 个模型的能力边界不一样,选错就是白花钱重来 |
  27. | **写提示词** | 按模型方言写:Seedream/Qwen 中文直写、GPT Image/Nano Banana 英文结构化、Midjourney 逗号流 + `--ar` | 同一个需求,换个模型写法完全不同,写错就出废图 |
  28. | **报价格** | 同时给出**起价**与**各分辨率档价格**,批量算总价 | 起价≠每一档的价格。Seedream 5.5 起价 33 点(1K 与 1.5K 同价),2K 档 58 点;不指定分辨率时按接口返回的默认档计费 |
  29. 价格不是写死在 skill 里的,每次都从公开接口现读:
  30. ```bash
  31. curl -s https://www.draftio.cn/api/v2/public/models
  32. ```
  33. 所以模型上新、调价,skill 不会给出过期的数字。
  34. ## 主推:GPT Image 2 系列
  35. 要处理文字、排版、改字、精修这几件最容易出废图的事,直接用 GPT Image 2 系列。这是目前口碑最硬的图像模型,我们的价格也压得低:
  36. | 模型 | 适合 | 1K | 2K | 4K |
  37. |---|---|---|---|---|
  38. | **GPT Image 2** | 指令理解最强,复杂排版、改字、精修 | ¥0.60(60 点) | ¥0.80(80 点) | ¥1.20(120 点) |
  39. | **GPT Image 2.5 Flare** | 快速档,日常改图与快速迭代 | ¥0.60 | ¥0.80 | ¥1.20 |
  40. | **GPT Image 2.5 Sunburst** | 高档,商业级精修与细节打磨 | ¥0.71(71 点) | ¥0.80 | ¥1.20 |
  41. 两个别人不一定告诉你的点:
  42. - **画质档不加价**:`low / medium / high` 三档在计费上是同一个价。选 high 不会比 low 贵。
  43. - **改图能力完整**:1–16 张参考图(2.5 系列),改字、换背景、多图融合都能一次做完,不用来回导。
  44. 对照官方:OpenAI 1024×1024 的高画质档约 $0.211/张(≈¥1.5)。我们 1K 收 ¥0.60。
  45. ## 它不做什么
  46. - **没装 MCP 就不生成图片**:只给方案与报价,图去 [画布](https://www.draftio.cn/canvas?utm_source=github&utm_medium=readme&utm_campaign=canvas) 出。装上 MCP(`https://www.draftio.cn/mcp`)后才有 `generate_image`,这时它会直接出图并把 HTTPS 链接给你。
  47. - 读不到你的余额和历史作品。
  48. - 不含视频模型(当前只覆盖 20 个图像模型)。
  49. 这三条写得很直白,是为了让 agent 别替我们吹牛。
  50. ## 示例配方(来自我们的提示词库)
  51. skill 判断你要做什么,然后翻出下面这份配方。四份都是**从 Draftio 提示词库里已有的模板改出来的**——不是凭空写的,是我们在产品里已经跑通的写法,只是被压成了可以填空的版本。
  52. | 配方 | 你可能会说 | 首选模型 |
  53. |---|---|---|
  54. | [小红书封面](examples/xiaohongshu-cover.md) | 「做张小红书封面」「3:4 竖版带标题字」 | `gpt-image-2` · 60 点起 |
  55. | [商品图 / 白底图](examples/product-shot.md) | 「把产品拍得高级点」「要张白底主图」 | `gpt-image-2` · 60 点起 |
  56. | [视频封面 / 缩略图](examples/youtube-thumbnail.md) | 「YouTube 缩略图」「播客封面 16:9」 | `gpt-image-2` · 60 点起 |
  57. | [信息图 / 地图](examples/infographic-map.md) | 「城市美食地图」「图文长图」 | `gpt-image-2` · 60 点起 |
  58. 每份都包含:何时用、选哪几个模型、可直接填空的提示词模板、参数、验收清单,以及出问题时的返工路径。
  59. 仓库里这些是**文字副本**,以带成品图的那一版为准:[prompt-library](https://www.draftio.cn/prompt-library?utm_source=github&utm_medium=readme&utm_campaign=prompt-library)。
  60. ## 安装
  61. 首屏那条 `npx skills add mionax/draftio-skills` 就够了:它探测当前项目里的宿主,装成项目级 skill(默认不是全局)。下面这些是同一件事的其他入口。
  62. <details>
  63. <summary>分别安装:Claude Code / Codex / Cursor / 手动 / 一键脚本</summary>
  64. ### Claude Code
  65. ```bash
  66. npx skills add mionax/draftio-skills
  67. ```
  68. ### Codex
  69. ```bash
  70. codex plugin add github.com/mionax/draftio-skills
  71. ```
  72. ### Cursor / 其它支持 `AGENTS.md` 的宿主
  73. 把 [`skills/draftio-image/SKILL.md`](skills/draftio-image/SKILL.md) 的正文粘进项目的 `.cursor/rules` 或 `AGENTS.md` 即可,没有依赖。
  74. ### 手动
  75. ```bash
  76. cp -r draftio-skills/skills/draftio-image .claude/skills/
  77. ```
  78. ### 一键脚本(需要先 clone)
  79. ```bash
  80. git clone https://github.com/mionax/draftio-skills.git
  81. cd draftio-skills && ./install.sh
  82. ```
  83. `./install.sh claude` / `codex` / `opencode` 可以只装其中一个,`./install.sh list` 只打印会装到哪里。
  84. </details>
  85. ## 试一句
  86. **如果它没查价格就直接报数,说明没装对。**
  87. 装好之后,对 agent 说:
  88. > 帮我做一张咖啡店开业的海报,中文竖版,暖色调,要有「开业大吉」四个字。
  89. **正常情况下它会:**
  90. 1. 先请求 `/api/v2/public/models` 拿真实价格;
  91. 2. 选 `seedream-v5-5`(中文文字最稳)或 `qwen-image`,并说明为什么;
  92. 3. 给出一段可以直接粘贴的提示词;
  93. 4. 报价写两行,例如:
  94. ```
  95. Seedream 5.5 · 1K / 1.5K · 33 点(¥0.33)
  96. Seedream 5.5 · 2K · 58 点(¥0.58) ← 默认档与实扣以接口返回为准
  97. ```
  98. ## 为什么是 Draftio
  99. - **一个 key、一张账单**:Seedream / Qwen / Nano Banana / GPT Image / FLUX / Midjourney 走同一个端点,不用去四个云开四个账号、学四套签名。
  100. - **支付宝、人民币、一张发票**:不用外卡,不用 PayPal。
  101. - **产物直接进画布**:生成的图不用下载再上传,可以继续改、继续融合、继续扩图。
  102. ## 价格
  103. 价格不缓存、不硬编码,永远以这两个地址为准:
  104. - 人看的:[draftio.cn/pricing/models](https://www.draftio.cn/pricing/models?utm_source=github&utm_medium=readme&utm_campaign=pricing-models) —— 20 个模型逐档列价,含默认档实扣
  105. - 机器读的:[`/api/v2/public/models`](https://www.draftio.cn/api/v2/public/models?utm_source=github&utm_medium=readme&utm_campaign=api-models) —— 点数、分档、每次生成张数
  106. - 套餐与点数包:[`/api/v2/public/pricing`](https://www.draftio.cn/api/v2/public/pricing?utm_source=github&utm_medium=readme&utm_campaign=api-pricing)
  107. ## 覆盖的模型
  108. **GPT Image 2 · GPT Image 2.5 Flare · GPT Image 2.5 Sunburst** · Nano Banana · Nano Banana Pro · Nano Banana 2 · Seedream 5.5 · Seedream v5 Lite · Seedream v4.5 · Seedream v4 · Flux 2 Klein 9B · Flux 2 Klein 4B · Qwen Image · MiniMax H3 Image · Midjourney · Z-Image Turbo
  109. ## 为什么不自己调官方 API
  110. 自己接一遍也不难,难的是接完之后要一直维护。这张表是我们替 agent 省下的部分:
  111. | 环节 | 自己去各家开 key | 用这套东西 |
  112. |---|---|---|
  113. | 账号 | 阿里云、火山、Google、OpenAI 各一个,各自实名 | 一个 Draftio 账号 |
  114. | 接口格式 | DashScope 私有格式 / 火山 v3 / Google / OpenAI,四套 | 一套 OpenAI 兼容 |
  115. | 免费额度 | 逐家领,多数 90 天过期,用完直接报错 | 注册即送 500 点 |
  116. | 账单与发票 | 五张账单、五次报销流程、五张发票 | 一张 |
  117. | 并发 | 默认 1–2,扩容按万元/月计 | 排队,不另收费 |
  118. | 价格核对 | 自己维护一张随时会过期的单价表 | `curl` 一次,永远是最新的 |
  119. 这个 skill 只负责**选型、写提示词、报价**这三件不需要权限的事;真正的生成在画布上完成——那里图片直接进资产库,不用下载再上传。
  120. ## Troubleshooting
  121. **装完 agent 没反应。** 确认装到了当前项目(默认装在项目里,不是全局),然后重开一个 session。Claude Code 用 `npx skills list` 能看到 `draftio-image` 才算装上。
  122. **它报的价格和网页对不上。** 让它把 `curl -s https://www.draftio.cn/api/v2/public/models` 的输出贴出来。如果它答不出这个请求,说明它在背旧数字,等于没装对。
  123. **它说能直接帮你出图。** 那是它在编。当前版本只能选模型、写提示词、报价,生成要去[画布](https://www.draftio.cn/canvas?utm_source=github&utm_medium=readme&utm_campaign=canvas)。
  124. **Codex 找不到插件。** 用 `codex plugin add github.com/mionax/draftio-skills`,不要手动拷 `plugin.json` 到别处。
  125. **想搜到别的 skill。** `npx skills find <关键词>`,顺手可以 `npx skills find draftio` 看看我们在不在。
  126. <details>
  127. <summary>仓库结构</summary>
  128. ```
  129. skills/draftio-image/SKILL.md 唯一的 skill,管选型 / 提示词 / 报价
  130. plugin.json Agent Plugins 便携清单
  131. .claude-plugin/plugin.json Claude Code 插件清单
  132. .codex-plugin/plugin.json Codex 插件清单
  133. install.sh 一条命令装进已探测到的宿主
  134. examples/*.md 四条场景配方(站点 prompt-library 的离线副本)
  135. scripts/validate.mjs 校验清单、frontmatter、示例完整性
  136. .github/workflows/validate.yml push / PR 自动校验
  137. ```
  138. </details>
  139. ## 许可
  140. MIT
  141. ---
  142. 如果这个 skill 帮你省了一次选型和一次报价,给个 ⭐ 能让更多人在 `npx skills find` 里搜到它。
  143. 问题、误报的价格、想要的模型,都欢迎开 issue。

Version history

  • v0.1.011/21/2026

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.