# GPT-Image 2

OpenAI GPT-Image 2 standalone image generation. Text-to-image and reference-image editing at any aspect ratio and custom sizes.

- Model ID (the request body's `model` field): `gpt-image-2`
- Category: Image generation
- Page: https://qd.zsopc.com/en/models/gpt-image-2
- Endpoint: `https://qd.zsopc.com/v1/images/generations`
- Capabilities: Image generation
- Released: 2026-07-08
- Last updated: 2026-11-17

## Pricing

- Per output image: 24 credits (≈ ¥0.4 / ≈ $0.059)

Credits are the platform's only unit: 60 credits = ¥1 (machine-readable: `GET https://qd.zsopc.com/api/v1/config/currency`).
Each call first holds the most it could cost, then settles on actual usage and refunds the difference.

## Example call

```bash
curl https://qd.zsopc.com/v1/images/generations \
  -H "Authorization: Bearer $PLATFORM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-image-2","prompt":"a red fox in snow","n":1}'
```

## FAQ

### How do I call GPT-Image 2?

Set the model field of the request body to gpt-image-2, send it to https://qd.zsopc.com/v1/images/generations, and put your key (it starts with sk-gpushare-) in the Authorization: Bearer header. This is not a chat SKU; submit tasks to the dedicated endpoint above.

### How much does the GPT-Image 2 API cost?

Per output image: 24 credits (≈ ¥0.4 / ≈ $0.059). Prices are in credits: 60 credits = ¥1. Each call first holds the most it could cost, then settles on actual usage and refunds the difference.

### What can GPT-Image 2 do?

Image generation.

## Related

- All models and live prices: https://qd.zsopc.com/en/models
- Quickstart: https://qd.zsopc.com/en/docs/quickstart
- FAQ: https://qd.zsopc.com/en/docs/faq
- OpenAPI: https://qd.zsopc.com/openapi.json
