GPT Image API
GPT Image 2, GPT Image 2.5 and 2.6 Flare / Sunburst — text-to-image and image editing, billed per image.
Access GPT Image 2, GPT Image 2.5 and 2.6 Flare / Sunburst through APIMaster's OpenAI-compatible images endpoint. Generate from a prompt or edit reference images with independent per-model pricing. Use synchronous requests or asynchronous task polling. Select 1K, 2K or 4K; each resolution routes to a provider that supports it.
Nhà cung cấp 73
Lịch sử fingerprint
Không có dữ liệu phát hiện
Trạng thái
Không có dữ liệu phát hiện
Nhà cung cấp 102
Lịch sử fingerprint
Không có dữ liệu phát hiện
Trạng thái
Không có dữ liệu phát hiện
Nhà cung cấp 81
Lịch sử fingerprint
Không có dữ liệu phát hiện
Trạng thái
Không có dữ liệu phát hiện
Nhà cung cấp 59
Chính thứcLịch sử fingerprint
Không có dữ liệu phát hiện
Trạng thái
Không có dữ liệu phát hiện
Nhà cung cấp 149
Chính thứcLịch sử fingerprint
Không có dữ liệu phát hiện
Trạng thái
Không có dữ liệu phát hiện
Transparent per-image pricing — pay only for the images you generate.
GPT Image API — Giá cả
| Mô hình | Độ phân giải | Giá của chúng tôi | Chính thức | Tiết kiệm |
|---|---|---|---|---|
| 1K | $0.025/ ảnh | $0.25/ ảnh | 90% | |
| 2K | $0.039/ ảnh | $0.3/ ảnh | 87% | |
| 4K | $0.078/ ảnh | $0.6/ ảnh | 87% | |
| 1K | $0.025/ ảnh | $0.25/ ảnh | 90% | |
| 2K | $0.039/ ảnh | $0.3/ ảnh | 87% | |
| 4K | $0.078/ ảnh | $0.6/ ảnh | 87% | |
| 1K | $0.025/ ảnh | $0.25/ ảnh | 90% | |
| 2K | $0.039/ ảnh | $0.3/ ảnh | 87% | |
| 4K | $0.078/ ảnh | $0.6/ ảnh | 87% | |
| 1K | $0.025/ ảnh | $0.25/ ảnh | 90% | |
| 2K | $0.039/ ảnh | $0.3/ ảnh | 87% | |
| 4K | $0.078/ ảnh | $0.6/ ảnh | 87% | |
| 1K | $0.025/ ảnh | $0.25/ ảnh | 90% | |
| 2K | $0.039/ ảnh | $0.3/ ảnh | 87% | |
| 4K | $0.078/ ảnh | $0.6/ ảnh | 87% |
Khả năng
High-quality images
Detailed text-to-image generation with strong prompt following.
Sync or async
Instant sync calls, or async submit + poll for batch jobs.
Per-image billing
Pay per image generated — no subscription.
Trường hợp sử dụng
Bắt đầu nhanh
curl https://apimaster.ai/v1/images/generations \
-H "Authorization: Bearer $APIMASTER_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2",
"prompt": "An orange cat at sunset, watercolor",
"size": "1:1",
"resolution": "1k",
"n": 1
}'GPT Image API — Câu hỏi thường gặp
Which image models are available?
Currently available: gpt-image-2, gpt-image-2.5-sunburst, gpt-image-2.5-flare, gpt-image-2.6-flare, gpt-image-2.6-sunburst — billed per image.
Which endpoint do I call?
The OpenAI-compatible images endpoint (POST /v1/images/generations) — not /chat/completions. See Quick start below.
Sync or async?
Use sync for one-off images (returns the result directly) or async submit + poll for batch pipelines.
How do 1K, 2K and 4K routing work?
Choose a resolution in the playground or send resolution: 1k, 2k or 4k with size: 1:1 (or another supported aspect ratio). Prices and available routes follow the selected tier. Providers limited to 1K are excluded from 2K/4K requests. If no matching provider is available, the request fails without generating or charging for a lower-resolution image.
How is it billed?
Per image generated, pay-as-you-go from $1.
Is my data safe?
Yes. Your API data is not stored or used for training, and all requests are sent over encrypted connections.
Các mô hình khác
Cách bắt đầu
Nạp số dư của bạn
Thêm tín dụng qua USDT hoặc Epay. Một số dư hoạt động trên tất cả các mô hình và nhà cung cấp.
Nạp tiền ngayTạo khóa API của bạn
Đăng ký và tạo khóa API tương thích OpenAI trong 3 giây. Không cần thẻ tín dụng.
Tạo khóa APICắm vào mã hoặc tác nhân của bạn
Thay thế bằng khóa APIMaster và URL cơ sở của bạn — hoạt động với bất kỳ công cụ tương thích OpenAI nào: Claude Code, Cursor, LangChain, LiteLLM, v.v.
Xem tài liệu