# GPT-Image 2-bd

OpenAI GPT-Image 2 (bd line). Text-to-image, reference-image editing and inpainting, with custom sizes and quality, billed at OpenAI's official token prices.

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

## Pricing

- Text input: 1,618 credits (≈ ¥26.96 / ≈ $4) per 1M tokens
- Image input (reference images): 2,588 credits (≈ ¥43.14 / ≈ $6.4) per 1M tokens
- Image output: 9,706 credits (≈ ¥161.76 / ≈ $24) per 1M tokens

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-bd","prompt":"a red fox in snow","n":1}'
```

## FAQ

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

Set the model field of the request body to gpt-image-2-bd, 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-bd API cost?

Text input: 1,618 credits (≈ ¥26.96 / ≈ $4) per 1M tokens; Image input (reference images): 2,588 credits (≈ ¥43.14 / ≈ $6.4) per 1M tokens; Image output: 9,706 credits (≈ ¥161.76 / ≈ $24) per 1M tokens. 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-bd 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
