View as Markdown (.md)
OpenAIImagegpt-image-2-official

gpt-image-2-official API

OpenAI GPT Image generation and editing models with precise text rendering, strong instruction-following, multiple resolutions and reference images. Async task API, pre-charged by tier and settled on actual usage when the task finishes, with any shortfall charged automatically.

Give this to your agent·Claude Code·Codex·Cursor·OpenClaw / Hermes

Read https://wanapi.ai/SKILL.md and https://wanapi.ai/model/gpt-image-2-official.md, then configure WanAPIs for gpt-image-2-official

Per Call
$0.120/call
¥0.12 ≈ $0.017 USD
Provider
OpenAI
Unified billing
API Endpoint
/v1/images/tasks
Async polling
Billing Rate
¥1 = $1 quota
~86% off USD parity

Live Cost Estimator

¥1 = $1 quota

Adjust parameters to preview live WanAPIs quota, RMB real cost, and approx. USD (~86% off USD parity).

1
1 image × $0.12
¥0.12
≈ $0.017 USD
($0.12 quota)
curl https://api.wanapis.com/v1/images/tasks \
  -H "Authorization: Bearer $WANAPIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gpt-image-2-official",
  "prompt": "Minimalist studio product photography on a soft neutral backdrop, 85mm lens",
  "size": "1:1",
  "n": 1
}'

# Poll data.task_id every 3s until SUCCESS
curl https://api.wanapis.com/v1/images/tasks/<task_id> \
  -H "Authorization: Bearer $WANAPIS_API_KEY"
Async image endpoint · save temporary URLs on SUCCESShttps://api.wanapis.com/v1

About gpt-image-2-official

OpenAI GPT Image generation and editing models with precise text rendering, strong instruction-following, multiple resolutions and reference images. Async task API, pre-charged by tier and settled on actual usage when the task finishes, with any shortfall charged automatically.

Capabilities

  • Text-to-image
  • Reference image

Compare Related Models (Live Pricing)

Synced live from /api/pricing · ¥1 = $1 quota (~86% off USD parity at $1 ≈ ¥7).

ModelLive Price (Quota)Est. Real Cost (¥ / ~USD)Action
$0.120 / call¥0.12/call (~$0.017 USD/call)—
$0.180 / call¥0.18/call (~$0.026 USD/call)View
$75.00 / 1M tokens¥75 / ¥150 (~$10.71 / $21.43 USD)View
$75.00 / 1M tokens¥75 / ¥150 (~$10.71 / $21.43 USD)View
$0.120 / call¥0.12/call (~$0.017 USD/call)View

gpt-image-2-official FAQ

How do I call gpt-image-2-official via WanAPIs?

Send an authenticated request with Authorization: Bearer <WANAPIS_API_KEY> to https://api.wanapis.com using POST /v1/images/tasks and model "gpt-image-2-official".

How much does gpt-image-2-official cost on WanAPIs?

Current live rate: $0.120 / call. WanAPIs uses RMB-anchored quota (¥1 = $1 quota, roughly 1/7 or ~86% off USD-denominated list pricing) with zero monthly subscription.

Can AI coding agents (Claude Code, Codex, Cursor) discover and use this model?

Yes. Point your agent to https://wanapi.ai/SKILL.md or install npx -y @wanapis/mcp. A machine-readable Markdown spec is also available at /model/gpt-image-2-official.md.

More OpenAI models

Integrate gpt-image-2-official in minutes

Sign up for starter credit — change one base_url line or hand SKILL.md to your AI agent.