Skip to content

runapi-ai/gpt-4o-image

Repository files navigation

GPT-4o Image API Skill for RunAPI

Install this agent skill, inspect GPT-4o Image fields, then run jobs through the RunAPI CLI.

Model Reference · CLI · SDK

skills.sh ClawHub License


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.

Install

npx skills add runapi-ai/gpt-4o-image -g

Or 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.

Quick example

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;

Routing

Agent rules

  • Keep API keys in RUNAPI_API_KEY or RunAPI CLI config; never commit secrets.
  • Prefer create, get, and run JSON 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.

License

Licensed under the Apache License, Version 2.0.

About

RunAPI GPT-4o Image skill for Claude Code, Codex, Gemini CLI, Cursor, and 50+ agents

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors