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.
Read https://wanapi.ai/SKILL.md and https://wanapi.ai/model/gpt-image-2-official.md, then configure WanAPIs for gpt-image-2-official
Live Cost Estimator
¥1 = $1 quotaAdjust parameters to preview live WanAPIs quota, RMB real cost, and approx. USD (~86% off USD parity).
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"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).
| Model | Live Price (Quota) | Est. Real Cost (¥ / ~USD) | Action |
|---|---|---|---|
gpt-image-2-officialCurrent | $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.