WA
wavespeed/gpt-image-2
Launched 2025-01-16 · Operating for 536 daysStripePayPalCardWeChatAlipayNaver PayHOT
Capability
Text to ImageImage to Image
Weighted Discount
+13%
Price Rank #13 / 13
Billing Mode
Per Config
Quality × Resolution
Param Completeness
44%
API Doc Score 54/100
Clear endpoints but vague auth method, no code examples or error codes
Pricing
| Quality \ Resolution | 1K | 2K | 4K |
|---|---|---|---|
| Low | $0.01 $0.006 +67% | $0.02 $0.012 +67% | $0.03 $0.016 +87% |
| Medium | $0.06 $0.053 +13% | $0.12 $0.107 +12% | $0.18 $0.139 +29% |
| High | $0.22 $0.211 +4% | $0.44 $0.428 +3% | $0.66 $0.565 +17% |
Price unit: USD, official price from OpenAI public pricing (USD)
API
API Style
Custom RESTDelivery
Async (Polling)Sync
SDK
REST Only
Output
urlbase64
Integration
Base URL
https://api.wavespeed.aiEndpoint
POST
/api/v3/openai/gpt-image-2/text-to-imageAuth
api-key-header
Content-Type
application/jsonPolling
/api/v3/predictions/{request_id}/resultRequest Parameters
| Name | Type | Required | Default | Values |
|---|---|---|---|---|
| prompt | string | required | — | — |
| aspect_ratio | string | optional | — | 1:13:22:33:44:34:5+4 |
| resolution | string | optional | 1k | 1k2k4k |
| quality | string | optional | medium | lowmediumhigh |
| output_format | string | optional | png | pngjpegwebp |
| enable_sync_mode | boolean | optional | false | — |
| enable_base64_output | boolean | optional | false | — |
| images | array | optional | — | — |
Developer Experience
Code Examples
curl
extracted_from: api文档类型/补充wavespeed; Bearer auth confirmed; t2i endpoint: /api/v3/openai/gpt-image-2/text-to-image; i2i endpoint: /api/v3/openai/gpt-image-2/edit; quality low/medium/high; output_format png/jpeg/webp; 10种aspect_ratio; resolution 1k/2k/4k; Playground available