# GPT Image 2 API — WanAPIs

> **Model ID**: `gpt-image-2` · **Provider**: OpenAI · **Category**: image · **Endpoint**: `POST /v1/images/tasks`
> **Live Price**: $0.120 / call (RMB-anchored quota: `¥1 = $1 quota`, ~86% off USD list rates at `$1 ≈ ¥7`).
> **Web Page**: https://wanapi.ai/model/gpt-image-2

GPT Image 2 shines at complex multi-object layouts, clean typography and faithful image editing. Call it via WanAPIs at RMB-anchored rates with MCP and Skill support built in.

**Also known as**: OpenAI gpt-image-2

## Live Pricing & Specs

- **Per call**: $0.120 (¥0.12/call (~$0.017 USD/call))

## Key Highlights

- Accurate adherence to long prompts, infographics, UI mockups and text-heavy graphics
- Full lineup available including gpt-image-2-official and gpt-image-2.6-sunburst / flare
- Only ~¥0.12 (~$0.017 USD) per call — ideal for rapid creative iteration

## Quickstart (cURL)

```bash
curl https://api.wanapis.com/v1/images/tasks \
  -H "Authorization: Bearer $WANAPIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gpt-image-2",
  "prompt": "Minimalist studio product shot on clean background",
  "size": "1:1",
  "n": 1
}'

# Poll until data.status is SUCCESS or FAILURE:
curl https://api.wanapis.com/v1/images/tasks/<task_id> \
  -H "Authorization: Bearer $WANAPIS_API_KEY"
```

## FAQ

### How do gpt-image-2 and gpt-image-2.6-sunburst compare?

gpt-image-2 offers the lowest flat price per image; gpt-image-2.6-sunburst is the newer generation with granular quality and resolution controls.

## Related Links

- Web Landing Page: https://wanapi.ai/model/gpt-image-2
- Agent Skill Router: https://wanapi.ai/SKILL.md
- Complete Live Pricing (Markdown): https://wanapi.ai/pricing.md
- OpenAPI 3.1 Spec: https://wanapi.ai/openapi.json
- MCP Server Card: https://wanapi.ai/.well-known/mcp.json
