Install this agent skill, inspect GPT-4o Image fields, then run jobs through the RunAPI CLI.
Model Reference · CLI · SDK
Generate images with GPT-4o Image text-to-image. This skill helps Claude Code, Codex, Gemini CLI, Cursor, and 50+ agents integrate GPT-4o Image through RunAPI.
The canonical agent file is skills/gpt-4o-image/SKILL.md.
npx skills add runapi-ai/gpt-4o-image -gOr paste this prompt to your AI agent:
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.
import { Gpt4oImageClient } from '@runapi.ai/gpt-4o-image';
const client = new Gpt4oImageClient();
const result = await client.textToImage.run({
model: 'gpt-4o-image',
prompt: 'A minimalist logo of a mountain range at sunset',
});
const url = result.images[0].url;- Model page: https://runapi.ai/models/gpt-4o-image
- Product docs: https://runapi.ai/docs#gpt-4o-image
- SDK docs: https://runapi.ai/docs#sdk-gpt-4o-image
- SDK repository: https://github.com/runapi-ai/gpt-4o-image-sdk
- Pricing and rate limits: https://runapi.ai/models/gpt-4o-image
- Provider comparison: https://runapi.ai/providers/openai
- Browse all RunAPI models and skills: https://runapi.ai/models
- Keep API keys in
RUNAPI_API_KEYor RunAPI CLI config; never commit secrets. - Prefer
create,get, andrunJSON passthrough patterns instead of inventing flags for every model parameter. - For gpt-4o image api pricing, rate-limit, and commercial-usage answers, link to the model page rather than the repository README.
Licensed under the Apache License, Version 2.0.