
Create campaign concepts from written briefs
Turn a structured prompt into visual directions for ads, landing pages and social posts, then review the selected quality and aspect ratio.
Generate or edit images with up to 16 references, 4K output, explicit quality tiers, and formats ready for different delivery channels.
gpt-image-2Your generated image will appear here.
Set your inputs, then generate.
Compare this model with endpoints that support the same operation, or continue to a workflow guide built around a specific product requirement.
GPT Image 2 is an OpenAI image API route for creating new images from prompts and transforming reference images. Its published controls cover quality, resolution, aspect ratio and output format, so teams can keep generation and editing in one request workflow.


Turn a structured prompt into visual directions for ads, landing pages and social posts, then review the selected quality and aspect ratio.

Send reference image URLs with a focused instruction when a product, scene or composition needs a controlled change.

Choose the available resolution, aspect ratio and output format for the channel that will receive the image.
Configure the published inputs, submit an authenticated task, and track the same task ID until the GPT Image 2 result is ready.
Start with text-to-image for a new visual, or image-to-image when the request must preserve and transform approved references.
Choose quality, resolution, aspect ratio, and PNG, JPEG, or WebP output before calculating the request price.
Send the validated request from your server and retain its task ID for status checks and result handling.
Choose GPT Image 2 when your application needs both text-to-image and image-to-image operations with explicit output controls. Compare its current price and parameter values with the newer Flare and Sunburst routes before fixing a model ID in production.
Compare published configurations and the calculated cost for one request. Video totals include the selected duration; image totals are calculated per output.
| Configuration | Unit price | One request | 100 requests |
|---|---|---|---|
| image to image · 4K · quality: highIncludes1 reference images; +$0.0168 per extra image. Request totals below assume one reference image. | $0.9709 / image | $0.9709 | $97.09 |
| image to image · 2K · quality: highIncludes1 reference images; +$0.0168 per extra image. Request totals below assume one reference image. | $0.5453 / image | $0.5453 | $54.53 |
| image to image · 1K · quality: highIncludes1 reference images; +$0.0168 per extra image. Request totals below assume one reference image. | $0.3059 / image | $0.3059 | $30.59 |
| image to image · 4K · quality: mediumIncludes1 reference images; +$0.0168 per extra image. Request totals below assume one reference image. | $0.2527 / image | $0.2527 | $25.27 |
| image to image · 2K · quality: mediumIncludes1 reference images; +$0.0168 per extra image. Request totals below assume one reference image. | $0.1463 / image | $0.1463 | $14.63 |
| image to image · 1K · quality: mediumIncludes1 reference images; +$0.0168 per extra image. Request totals below assume one reference image. | $0.0931 / image | $0.0931 | $9.31 |
| image to image · 4K · quality: lowIncludes1 reference images; +$0.0168 per extra image. Request totals below assume one reference image. | $0.0532 / image | $0.0532 | $5.32 |
| image to image · 2K · quality: lowIncludes1 reference images; +$0.0168 per extra image. Request totals below assume one reference image. | $0.0399 / image | $0.0399 | $3.99 |
| image to image · 1K · quality: lowIncludes1 reference images; +$0.0168 per extra image. Request totals below assume one reference image. | $0.0266 / image | $0.0266 | $2.66 |
| text to image · 4K · quality: high | $0.9576 / image | $0.9576 | $95.76 |
| text to image · 2K · quality: high | $0.532 / image | $0.532 | $53.2 |
| text to image · 1K · quality: high | $0.2926 / image | $0.2926 | $29.26 |
| text to image · 4K · quality: medium | $0.2394 / image | $0.2394 | $23.94 |
| text to image · 2K · quality: medium | $0.133 / image | $0.133 | $13.3 |
| text to image · 1K · quality: medium | $0.0798 / image | $0.0798 | $7.98 |
| text to image · 4K · quality: low | $0.0399 / image | $0.0399 | $3.99 |
| text to image · 2K · quality: low | $0.0266 / image | $0.0266 | $2.66 |
| text to image · 1K · quality: low | $0.0133 / image | $0.0133 | $1.33 |
Review the accepted values and requirements for every published operation before you build the request body.
| Parameter | Accepted values | Requirement |
|---|---|---|
prompt | Text, up to 20000 characters | Required |
quality | low, medium, high | Required |
resolution | 1K, 2K, 4K | Required |
aspect_ratio | 1:1, 1:2, 2:1, 1:3, 3:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 9:21, 21:9 | Optional |
output_format | png, jpeg, webp | Optional |
| Parameter | Accepted values | Requirement |
|---|---|---|
prompt | Text, up to 20000 characters | Required |
quality | low, medium, high | Required |
image_urls | Up to 16 URLs | Required |
resolution | 1K, 2K, 4K | Required |
aspect_ratio | 1:1, 1:2, 2:1, 1:3, 3:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 9:21, 21:9 | Optional |
output_format | png, jpeg, webp | Optional |
Yes. The published image-to-image schema accepts up to 16 image URLs alongside the edit prompt.
Pricing varies by operation, quality, and resolution. Use the live table on this page to compare the exact configuration before submitting.
Text to Image, Image to Image. The playground shows only priced configurations with a parameter definition. Live availability is checked before enabling submission.
Configure your request, open the API tab, and copy the example. It submits to our task API and polls the returned task ID. Keep your API key on your server.
Read the GPT Image 2 API reference →Compare GPT Image 2 with Flare and Sunburst on quality tiers, resolution, reference limits, output formats, and the live price for the same request configuration.
Swipe horizontally to compare every column.
| Model | Provider | Supported modes | Key controls | Published unit price |
|---|---|---|---|---|
| GPT Image 2Current model | OpenAI | Text to Image, Image to Image | prompt, quality, resolution, aspect ratio, output format | $0.0133 / imageView API |
| GPT Image 2.5 Flare | OpenAI | Text to Image, Image to Image | prompt, quality, resolution, aspect ratio, output format | $0.014 / imageView API |
| GPT Image 2.5 Sunburst | OpenAI | Text to Image, Image to Image | prompt, quality, resolution, aspect ratio, output format | $0.014 / imageView API |
| Nano Banana 2.1 | Text to Image, Image to Image | prompt, resolution, aspect ratio, output format, image urls | $0.028 / imageView API |