GPT-Image-2API
OpenAI's latest native image model — strong prompt understanding.
Giá Kunavo
$0.0633
per image
Giá chính thức
$0.1266
Giá niêm yết của nhà cung cấp
Resolution tiers· per image
- 1K
- −50%$0.0633
- 2K
- −50%$0.0633
- 4K
- −50%$0.0633
Thông số kỹ thuật
- ID mô hình
gpt-image-2- Endpoint
POST /v1/images/generations- Danh mục
- Image
- Nhà cung cấp
- OpenAI
- Bậc chính thức
- all sizes
Tương thích drop-in với OpenAI
Trỏ SDK OpenAI của bạn tới api.kunavo.com/v1 và đổi ID mô hình. Không thay đổi streaming, không SDK mới.
Xem tài liệuGPT-Image-2 API guideTự mình thử
Thiết lập KUNAVO_API_KEY từ /app/keys và chạy đoạn mã bên dưới.
curl https://api.kunavo.com/v1/images/generations \
-H "Authorization: Bearer $KUNAVO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2",
"prompt": "a tiny red origami crane on a white desk",
"size": "1024x1024"
}'Kunavo so với gọi OpenAI trực tiếp
Vẫn là GPT-Image-2 đó, vẫn phản hồi đó. Thứ mà một gateway thay đổi là tài khoản, SDK và hóa đơn — đây là so sánh thẳng thắn.
| Kunavo | OpenAI trực tiếp | |
|---|---|---|
| Giá (per image) | $0.0633 (−50%) | $0.13 |
| Tài khoản | Một tài khoản Kunavo, lấy key trong 2 phút, nạp tối thiểu $5 | Tài khoản OpenAI kèm thiết lập thanh toán riêng |
| SDK | Giữ nguyên OpenAI SDK — đổi base_url, đặt model là "gpt-image-2" | SDK riêng của OpenAI, hoặc lớp tương thích OpenAI nếu có |
| Cùng một key còn gọi được | Claude, Gemini, GPT cùng các mô hình ảnh, video và âm thanh | Chỉ danh mục của riêng OpenAI |
| Thanh toán | Một số dư Stripe, trả theo mức dùng, không hết hạn; request lỗi không bị tính phí | Mỗi nhà cung cấp một hóa đơn riêng |
| Giới hạn tốc độ | Dung lượng gateway dùng chung, không có hạn mức hợp đồng theo tài khoản | Hạn mức theo bậc của OpenAI, nâng theo lịch sử dùng hoặc hợp đồng |
Hãy đi thẳng tới OpenAI nếu bạn cần hạn mức tốc độ theo hợp đồng, SLA doanh nghiệp, hoặc một tính năng riêng của nhà cung cấp ngay từ ngày đầu. Kunavo phù hợp khi bạn muốn một key, một hóa đơn và giá mỗi token thấp hơn trên mọi nhà cung cấp.
FAQ
How much does GPT-Image-2 cost?
On Kunavo, GPT-Image-2 is $0.0633 per image — about 50% under OpenAI's official price. Failed requests are never billed, and it's pay-as-you-go — you only pay for successful calls.
Can I call GPT-Image-2 with the OpenAI SDK?
Yes. Set base_url to https://api.kunavo.com/v1, pass your Kunavo key, and set model to "gpt-image-2". Requests and responses are OpenAI-compatible.
What endpoint does GPT-Image-2 use?
GPT-Image-2 is called via POST /v1/images/generations on Kunavo's OpenAI-compatible API.
What is different from calling OpenAI directly?
The model is the same, at about 50% under OpenAI's list price. What changes is around it: one key and one Stripe balance instead of a OpenAI account with its own billing, the OpenAI SDK with base_url swapped instead of a provider-specific SDK, and the same key also reaching Claude, Gemini, GPT, image, video and audio models. The tradeoff is that gateway capacity is shared — if you need a contractual rate limit or an enterprise SLA on GPT-Image-2 specifically, go direct to OpenAI.
Is GPT-Image-2 cheaper on Kunavo?
Yes — GPT-Image-2 is about 50% under OpenAI's official list price on Kunavo, with no subscription and no minimum monthly spend. You pay per token from a $5 top-up, failed requests are never billed, and the balance never expires.