当前位置: 首页 > Skill >

gpt-image-2

gpt-image-2

gpt-image-2

Generate and edit images with GPT Image 2 through RunAPI. Use when the user asks an agent to create, edit, or transform images with GPT Image 2. Default to t...

0.2.4 2026.11.15 237
获取Skill文件查看使用说明
作 者:林景 许可证: 更新时间:2026.11.15
本文目录收起

GPT Image 2 on RunAPI

Generate and edit images with GPT Image 2 through RunAPI. The default path for one-off agent tasks is the runapi CLI; SDKs are for application integration.

Routing decision

  • One-off generation, editing, or transformation for the user → use the CLI path with the runapi binary.
  • Building an app, backend, worker, library, or production codebase → use the SDK integration path.

CLI path

The runapi binary is the runtime dependency. Authenticate with runapi login (browser) or set RUNAPI_API_KEY; a saved CLI config also works — no required environment variable.

Inspect the available actions and request fields with CLI help:

runapi gpt-image-2 --help
runapi gpt-image-2 text-to-image --help

Run a one-off task (synchronous — polls until the task completes):

runapi gpt-image-2 text-to-image --input-file request.json

Submit asynchronously and poll separately:

runapi gpt-image-2 text-to-image --async --input-file request.json
runapi wait <task-id> --service gpt-image-2 --action text-to-image

Available actions: text-to-image, edit-image.

SDK integration path

When integrating GPT Image 2 into an app, backend, worker, or library — not for one-off tasks — use a RunAPI SDK package:

  • JavaScript / TypeScript: @runapi.ai/gpt-image-2
  • Ruby: runapi-gpt_image_2
  • Go: github.com/runapi-ai/gpt-image-2-sdk/go

References

  • Model overview, pricing, and rate limits: https://runapi.ai/models/gpt-image-2.md
  • Provider comparison: https://runapi.ai/providers/openai.md
  • Full model catalog: https://runapi.ai/models.md

Variants

  • GPT Image 2 text to image
  • GPT Image 2 image to image

相关文章

更多
ai-image-generation统一调用50+图像模型

ai-image-generation Skill 通过 inference.sh CLI 统一了 50 多个图像模型的调用入口,涵盖 GPT-Image-2.6、FLUX 等主流模型。该方案将模型选择与参数配置集中管理,简化了文生图、图生图等任务的发起流程,便于团队在批量生成或横向评测时切换模型,但需注意各模型能力差异及输入格式限制。

2026.11.12 181
Skill 文件

相关 Skill

更多
GPT Image2(OpenAI 最强生图) GPT Image2(OpenAI 最强生图) 通过虾聊(ClawdChat)工具网关调用 GPT Image 2(OpenAI gpt-image-2)生成高质量图片。当用户要求创建 / 生成 / 绘制图片,或提到 GPT 画图、gpt-image-2、OpenAI 生图,或需要精确文字渲染(海报 / 信息图 / 菜单字)、多元素严格指令跟随、图生图保人保物,或使用吉卜力 / Pixar / 乐高 / 赛博朋克 / 粘土 / 盲盒 等具体风格时使用。
sudocode-gpt-image-2-gen sudocode-gpt-image-2-gen 图片生成技能,用于生成、创建、编辑图片或信息图。基于 SudoCode 平台(https://sudocode.us)的 GPT Image 2 模型,支持精准尺寸/画质(含4K),按 token 计费。关键点:使用 /v1/images/generations 接口。
图生PPT 图生PPT 用 OpenAI gpt-image-2 一键生成高审美、高完成度的 PPT
暗格人物封面图 暗格人物封面图 使用gpt-image-2模型生成小红书封面,固定风格为深色背景+人物侧影+亮黄大字,3:4竖版比例,电影感光影。当用户需要生成暗色调人物封面、深色背景小红书封面、人物IP风格封面时使用此技能。
xiaohongshu |小红书 AI 宣传图和图文笔记技能 xiaohongshu |小红书 AI 宣传图和图文笔记技能 小红书 AI 宣传图和图文笔记技能 - 根据用户提示词自动判断生成单张或多张宣传图,调用 gpt-image-2 或火山引擎 Ark 文生图模型生成视觉素材并合成小红书图片;仅在用户明确要求发布时才执行发布。