GPT-4o Image
Native image generation inside GPT-4o — generate and edit images within the conversation.
# Works with Claude Code, Codex, Gemini CLI, Cursor, and 50+ agents
npx skills add runapi-ai/gpt-4o-image -g
Install the GPT-4o Image skill for me: 1. Clone https://github.com/runapi-ai/gpt-4o-image 2. Copy the skills/gpt-4o-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-4o Image enables native image generation directly within GPT-4o conversations, combining language understanding with visual creation in a single model. It interprets conversational context to produce contextually accurate images.
- Installable agent skill
- Unified API key
- SDK examples included
- 失敗した生成は課金されません
料金
仕様
| Model ID | gpt-4o-image |
| プロバイダー | OpenAI |
| モダリティ | image |
| Task type | asynchronous |
| 課金 | call |
| Endpoint | /api/v1/gpt_4o_image/text_to_image |
| Commercial | Yes |
| Status | Operational |
Use this model from your agent
# User prompt to the agent
"Based on our conversation about the brand redesign, generate a mockup of the new homepage hero section."
// Code generated by the agent via @runapi.ai/gpt-4o-image
import { Gpt4oImageClient } from '@runapi.ai/gpt-4o-image';
const client = new Gpt4oImageClient();
const result = await client.textToImage.run({
model: 'gpt-4o-image',
prompt: 'Based on our conversation about the brand redesign, generate a mockup of the new homepage hero section.',
});
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_4o_image/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4o-image",
"prompt": "Based on our conversation about the brand redesign, generate a mockup of the new homepage hero section."
}'
import { Gpt4oImageClient } from "@runapi.ai/gpt-4o-image";
const client = new Gpt4oImageClient();
const result = await client.textToImage.run({
model: "gpt-4o-image",
prompt: "Based on our conversation about the brand redesign, generate a mockup of the new homepage hero section.",
});
require "runapi/gpt_4o_image"
client = RunApi::Gpt4oImage::Client.new
result = client.text_to_image.run(
model: "gpt-4o-image",
prompt: "Based on our conversation about the brand redesign, generate a mockup of the new homepage hero section."
)
Where GPT-4o Image fits
GPT-4o Image integrates visual creation natively into GPT-4o, combining reasoning with generation. Through RunAPI, it shares the same API access and billing as all OpenAI models.
Why use GPT-4o 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-4o Image
Start building with GPT-4o Image.
- text_to_image