inference-sh/skills

gpt-image

先核对应用标识和参数,再组织参考图与遮罩

  • SKILL.md 已保存
  • 中文用法已整理
  • 安装与运行未实测
先判断是否解决你的问题

gpt-image 是什么?

gpt-image 介绍inference.sh平台标记为GPT-Image系列的应用,给出文生图、参考图编辑、mask局部修改、透明背景与尺寸设置。源版本出现Flare、Sunburst等平台名称;本页只说明该平台的调用契约,不将其当成OpenAI官方产品发布依据。

中文说明由本站依据来源整理;英文原文保留在页面下方。

按客户端选择安装入口

怎么接入你的 Agent?

  1. 定位完整 Skill 目录

    打开本项目来源,核对 SKILL.md 及其引用的脚本和资料。

  2. 交给你正在用的 Agent

    在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。

  3. 确认识别,再做具体任务

    让 Agent 回报安装目录和识别到的名称 gpt-image,然后按本页使用示例提供材料。

展开并复制给 Codex 的安装指令
发送给 Codex

安装并检查 gpt-image

请在 Codex 的当前工作环境中安装并检查 gpt-image 这个 Skill。

项目身份:inference-sh/skills / gpt-image
来源:https://github.com/inference-sh/skills/blob/0cbf91c26ada28702c79962406286f0c14292150/tools/image/gpt-image/SKILL.md
已定位的源文件:tools/image/gpt-image/SKILL.md

1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。
准备输入,再按步骤执行

装好以后,具体怎么用?

准备哪些材料

  • 需要belt平台身份与当前可用App;编辑准备参考图,局部修改准备匹配原图的mask,并先查看当前输入schema。

会得到什么

  • 生成图或编辑图,以及实际输入与结果检查。

实际使用顺序

  1. 先用app get/sample核对所选应用的当前能力和计价,避免直接复用快照中的型号、价格或限制。
  2. 纯生成使用prompt;编辑加入images并明确保留范围;mask任务同时提供实际原图与遮罩。
  3. 透明背景按源版本使用background=transparent并选择支持alpha的PNG/WebP,提示词保持独立主体而非完整背景场景。
  4. 尺寸与数量按当前应用约束设置。实际输出后检查遮罩区域、未修改区域和alpha,不仅检查请求是否成功。
使用示例

从一个具体任务开始

本站根据源文件编写的使用示例,未在本站实际运行。示例中的文件由你提供。

安装并识别 Skill 后发送

复制一个具体任务

教学示例:请用gpt-image平台流程生成一枚独立红苹果贴纸,要求透明背景。先核对当前App及PNG/alpha参数,不写固定价格或速度承诺;单张生成后在深浅底色上查看透明边缘。
预期结果

预期得到带真实透明通道的图,若只有白底需说明,本站未执行。

使用前先看这些限制

使用条件与边界

  • 第三方App名与版本快照不能证明官方模型身份、延迟或质量比较。
  • 局部编辑与保留主体都是需要看实际结果的要求,不是输入了mask就能保证完全不变。
针对这个 Skill 的疑问

常见问题

JPEG能保留透明背景吗?

源流程要求PNG或WebP承载透明背景。JPEG没有alpha通道,不适合作为透明贴纸交付。

需要核对时再展开原文

来源原文与资料状态

源文件
已保存 SKILL.md,抓取于 2026-11-16T12:36:35.145Z
中文使用说明
已针对下方源文件版本整理用途、用法和常见问题
安装与任务测试
本站未执行安装或任务测试
来源复核
本页中文用法已对照保存版本的完整 SKILL.md 阅读整理
展开 SKILL.md 原文、章节与历史收录资料

tools/image/gpt-image/SKILL.md · 抓取时间 2026-11-16T12:36:35.145Z

以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。

抓取成功不代表已完成安装或任务测试。

来源 description(原文)

Generate and edit images with OpenAI GPT-Image-2.5 and GPT-Image-2 via inference.sh CLI. Models: GPT-Image-2.5 Flare, GPT-Image-2.5 Sunburst, GPT-Image-2. Capabilities: text-to-image, image editing, inpainting, mask-based editing, multi-image reference, batch generation, transparent backgrounds. Use for: product mockups, marketing visuals, image editing, concept art, inpainting, photo manipulation. Triggers: gpt image, gpt-image-2.5, gpt image 2.5, flare, sunburst, gpt-image-2, openai image, chatgpt image, dall-e, dalle, openai image generation, gpt image edit, gpt inpainting, openai dall-e, gpt 4o image, transparent background, transparent png, remove background

查看源文件章节 / Source sections
  • 原文:GPT-Image
  • 原文:Models
  • 快速开始 / Quick Start
  • 原文:Capabilities
  • 示例 / Examples
  • 原文:Text-to-Image
  • 原文:Multiple Images
  • 原文:Image Editing with Reference
  • 原文:Precise Edit with Sunburst
  • 原文:Maximum Detail
  • 原文:Multi-Image Reference
  • 原文:Inpainting with Mask
  • 原文:Transparent Background
  • 原文:Custom Resolution
  • 原文:Fast Drafts
  • 原文:Pricing
  • 原文:Parameters
  • 原文:Related Skills
  • 原文:Documentation
原文:正文开头

> **Install the belt CLI skill:** `npx skills add belt-sh/cli`

原文:GPT-Image

Generate and edit images with OpenAI's GPT-Image-2.5 and GPT-Image-2 via [inference.sh](https://inference.sh) CLI.

原文:Models

| Model | App ID | Pick it for | |-------|--------|-------------| | **GPT-Image-2.5 Flare** | `openai/gpt-image-2-5-flare` | Default. Higher quality than GPT-Image-2 at 50% lower latency | | **GPT-Image-2.5 Sunburst** | `openai/gpt-image-2-5-sunburst` | Premium edits: keeps subject and composition, tighter control across multi-turn edits | | GPT-Image-2 | `openai/gpt-image-2` | Previous generation | All three share the same input schema. The 2.5 models add `xhigh` and `max` quality tiers.

快速开始 / Quick Start

> Requires inference.sh CLI (`belt`). [Install instructions](https://raw.githubusercontent.com/inference-sh/skills/refs/heads/main/cli-install.md) ```bash belt login belt app run openai/gpt-image-2-5-flare --input '{"prompt": "a cat astronaut floating in space"}' ```

原文:Capabilities

Every GPT-Image app supports text-to-image generation, image editing with reference images, and mask-based inpainting through a single app. | Feature | Description | |---------|-------------| | Text-to-Image | Generate images from text prompts | | Image Editing | Edit images using reference images | | Inpainting | Mask-based editing of specific regions | | Batch Generation | Generate up to 10 images at once | | Multiple Formats | PNG, JPEG, WebP output | | Transparent Background | Alpha-channel PNG/WebP output for stickers, icons, product cutouts | | Flexible Resolution | Any size in 16px increments (256–3840), aspect ratio up to 3:1 |

原文:Text-to-Image

```bash belt app run openai/gpt-image-2-5-flare --input '{ "prompt": "professional product photo of sneakers on a white background, studio lighting", "quality": "high" }' ```

文件 SHA256:cd43caf0995a5953304fc5166f7dfc38cd67eb20eaff6cedb1f07ae335bcaa9b

仓库许可证记录:未提供;not-established,查看来源。

SKILL.md原文description · 2026-11-16T12:36:35.145Z

Generate and edit images with OpenAI GPT-Image-2.5 and GPT-Image-2 via inference.sh CLI. Models: GPT-Image-2.5 Flare, GPT-Image-2.5 Sunburst, GPT-Image-2. Capabilities: text-to-image, image editing, inpainting, mask-based editing, multi-image reference, batch generation, transparent backgrounds. Use for: product mockups, marketing visuals, image editing, concept art, inpainting, photo manipulation. Triggers: gpt image, gpt-image-2.5, gpt image 2.5, flare, sunburst, gpt-image-2, openai image, chatgpt image, dall-e, dalle, openai image generation, gpt image edit, gpt inpainting, openai dall-e, gpt 4o image, transparent background, transparent png, remove background

查看历史简介来源

历史收录数据

来源仓库inference-sh/skills
Skill源路径tools/image/gpt-image/SKILL.md

安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。

返回 Skills 目录,按任务继续筛选 · MCP与Skills教程与资源