CLIImage Generation$132500.00/M tokens

Use GPT Image 2 Medium in Codex CLI

Connect the GPT Image 2 Medium API to Codex CLI through SkillBoss — one API key, no provider lock-in. Starting at $132500.00/M tokens.

GPT Image 2 (medium quality tier) — balanced image generation surface backed by SkillBoss standard routing.

Setup in Codex CLI

  1. Sign up at skillboss.co and create an API key.
  2. Configure Codex CLI to use the SkillBoss API endpoint: https://api.skillboss.co/v1
  3. Set the model to openai/gpt-image-2-medium
  4. Run your first request — GPT Image 2 Medium is now available in Codex CLI.

Model Specs

Model
GPT Image 2 Medium
Type
Image Generation
Vendor
openai
Category
image-generation
Pricing
$132500.00/M tokens
API ID
openai/gpt-image-2-medium

Quick Start Code

Call GPT Image 2 Medium from Codex CLI using the SkillBoss unified API:

curl -X POST 'https://api.skillboss.co/v1/run' \
  -H 'Authorization: Bearer $SKILLBOSS_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "openai/gpt-image-2-medium",
    "inputs": {}
  }'

The same API key works with all 600+ models. Change the model parameter to switch instantly.

Similar Models for Codex CLI

Use GPT Image 2 Medium in Other Agents

FAQ

How do I use GPT Image 2 Medium in Codex CLI?

Sign up at skillboss.co, get an API key, and configure Codex CLI to use the SkillBoss API endpoint (https://api.skillboss.co/v1). Set the model to openai/gpt-image-2-medium and you're ready to go.

How much does GPT Image 2 Medium cost?

GPT Image 2 Medium costs $132500.00/M tokens via SkillBoss with pay-as-you-go billing. No subscription required.

Can I switch to another model without changing my code?

Yes — SkillBoss provides a unified API compatible with OpenAI format. Change the model parameter to switch between 600+ models instantly without modifying your integration.

Start using GPT Image 2 Medium in Codex CLI

600+ APIs, 1300+ skills — the complete toolkit for AI agents

AI Agents

Tell your agent:

set up skillboss.co/skill.md

Auto-configures base URL, auth, and GPT Image 2 Medium access. Works with Codex CLI and any MCP-compatible agent.

Developers

Sign up and get your API key in 60 seconds. $2 free credit included.

Sign Up Free →

Pay-as-you-go · No subscription · Credits never expire

Use GPT Image 2 Medium in Codex CLI — API Integration | SkillBoss