Skip to content

runapi-ai/gpt-image-2

Repository files navigation

GPT Image 2 API Skill for RunAPI

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

Model Reference · CLI · SDK

skills.sh ClawHub License


Generate and edit images with GPT Image 2. This skill helps Claude Code, Codex, Gemini CLI, Cursor, and 50+ agents integrate GPT Image 2 through RunAPI.

The canonical agent file is skills/gpt-image-2/SKILL.md.

Install

npx skills add runapi-ai/gpt-image-2 -g

Or paste this prompt to your AI agent:

Install the gpt-image-2 skill for me:

1. Clone https://github.com/runapi-ai/gpt-image-2
2. Copy the skills/gpt-image-2/ 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 { GptImage2Client } from '@runapi.ai/gpt-image-2';

const client = new GptImage2Client();
const result = await client.textToImage.run({
  model: 'gpt-image-2',
  prompt: 'A futuristic cityscape at night',
});

Routing

Model

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 image 2 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 Image 2 skill for Claude Code, Codex, Gemini CLI, Cursor, and 50+ agents

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors