Capability
Text to ImageImage to Image
Weighted Discount
-64%
Price Rank #7 / 13
Billing Mode
Per Config
Quality
Param Completeness
89%
API Doc Score 79/100
Most complete docs, provides Playground for testing, comprehensive multi-language examples
Pricing
| Quality \ Resolution | 1K | 2K | 4K |
|---|---|---|---|
| Low | $0.012 $0.006 +100% | $0.012 $0.012 | $0.012 $0.016 -25% |
| Medium | $0.047 $0.053 -11% | $0.047 $0.107 -56% | $0.047 $0.139 -66% |
| High | $0.128 $0.211 -39% | $0.128 $0.428 -70% | $0.128 $0.565 -77% |
Price unit: USD, official price from OpenAI public pricing (USD)
API
API Style
Custom RESTDelivery
Async (Polling)Async (Webhook)
SDK
replicate
Output
url
Integration
Base URL
https://api.replicate.comEndpoint
POST
/v1/predictionsAuth
bearer(Authorization)
Content-Type
application/jsonPolling
/v1/predictions/{id}Request Parameters
| Name | Type | Required | Default | Values |
|---|---|---|---|---|
| prompt | string | required | — | — |
| aspect_ratio | string | optional | — | 1:13:22:3 |
| quality | string | optional | auto | lowmediumhighauto |
| number_of_images | integer | optional | 1 | — |
| output_format | string | optional | webp | webppngjpeg |
| background | string | optional | auto | autoopaque |
| moderation | string | optional | auto | autolow |
| output_compression | integer | optional | — | — |
| input_images | array | optional | — | — |
| openai_api_key | string | optional | — | — |
Developer Experience
Code Examples
pythonjavascriptcurl
Playground
Available
source: https://replicate.com/openai/gpt-image-2/llms.txt; model version: openai/gpt-image-2; replicate standard prediction API; transparent backgrounds NOT supported; playground available at replicate.com/playground
Other Providers for This ModelGPT Image 2
| # | Provider | Weighted Discount | API Score | Completeness | Payment |
|---|---|---|---|---|---|
| 1 | -64% | 79/100 | 89% | CardBank |