GPT Image
Text-to-image and image editing powered by OpenAI's image generation models.
# Works with Claude Code, Codex, Gemini CLI, Cursor, and 50+ agents
npx skills add runapi-ai/gpt-image -g
Install the GPT Image skill for me: 1. Clone https://github.com/runapi-ai/gpt-image 2. Copy the skills/gpt-image/ directory into your user-level skills directory (e.g. ~/.claude/skills/ for Claude Code, ~/.codex/skills/ for Codex). 3. Verify that SKILL.md is present. 4. Confirm the install path when done.
GPT Image is OpenAI's image generation model supporting both text-to-image and image editing creation with strong compositional control. It produces high-quality visuals across photorealistic and stylized outputs.
- Installable agent skill
- Unified API key
- SDK examples included
- 失敗した生成は課金されません
料金
仕様
| Model ID | gpt-image-1.5 |
| プロバイダー | OpenAI |
| モダリティ | image |
| Task type | asynchronous |
| 課金 | call |
| Endpoint | /api/v1/gpt_image/edit_image |
| Commercial | Yes |
| Status | Operational |
Use this model from your agent
# User prompt to the agent
"Generate a flat-design illustration of a team collaborating around a whiteboard, vibrant colors, clean lines."
// Code generated by the agent via @runapi.ai/gpt-image
import { GptImageClient } from '@runapi.ai/gpt-image';
const client = new GptImageClient();
const result = await client.editImage.run({
model: 'gpt-image-1.5',
prompt: 'Generate a flat-design illustration of a team collaborating around a whiteboard, vibrant colors, clean lines.',
});
How to call this model
Install the skill
Add the model skill to your agent or install the SDK package.
Authenticate once
Use your RunAPI key for every supported model.
Send a request
Use the unified schema for the endpoint you need.
Receive output
Poll by task ID or handle the callback when the generation completes.
SDK quickstart
curl -X POST https://runapi.ai/api/v1/gpt_image/edit_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-1.5",
"image_url": "https://cdn.runapi.ai/public/samples/image.jpg",
"prompt": "Generate a flat-design illustration of a team collaborating around a whiteboard, vibrant colors, clean lines."
}'
import { GptImageClient } from "@runapi.ai/gpt-image";
const client = new GptImageClient();
const result = await client.editImage.run({
model: "gpt-image-1.5",
image_url: "https://cdn.runapi.ai/public/samples/image.jpg",
prompt: "Generate a flat-design illustration of a team collaborating around a whiteboard, vibrant colors, clean lines.",
});
require "runapi/gpt_image"
client = RunApi::GptImage::Client.new
result = client.edit_image.run(
model: "gpt-image-1.5",
image_url: "https://cdn.runapi.ai/public/samples/image.jpg",
prompt: "Generate a flat-design illustration of a team collaborating around a whiteboard, vibrant colors, clean lines."
)
Where GPT Image fits
GPT Image is OpenAI's image generation model, supporting text-to-image and image editing. Through RunAPI, all GPT Image endpoints share one key and per-call pricing.
Why use GPT Image through RunAPI
One API key
Use the same credentials across models and providers.
Agent-ready
Installable skills include docs and schema for tool calls.
Predictable billing
Usage-based pricing is visible before you call.
Frequently asked questions
How do I call this model?
Use the RunAPI SDK, CLI, or REST endpoint shown on this page.
Do failed generations cost money?
失敗した生成は課金されません
Can agents use it directly?
Yes. Install the model skill and your agent gets the docs, schema, and examples.
Models similar to GPT Image
Start building with GPT Image.
- edit_image
- text_to_image