New
GPT Image 2 · Medium · 20 images
Twenty GPT Image 2 renders at medium quality, $0.053 an image - the setting most production teams settle on for the balance of detail and cost.
What you get
- 20 images for every unit you buy. Order several units to stack images on the same key.
- A personal API key for
gpt-image-2, issued automatically once your order is completed. - Priced at $0.053 per image medium quality. Source: the vendor's own API pricing page.
- No shipping: delivery is digital, under My Account > Order History and by email.
Capabilities
- Per image
- Medium quality
- 1024x1024
- Image editing
Best for
Everyday marketing and product imagery.
Quick start
# pip install requests
import os, base64, requests
response = requests.post(
"https://api.openai.com/v1/images/generations",
headers={"Authorization": "Bearer " + os.environ["OPENAI_API_KEY"]},
json={
"model": "gpt-image-2",
"prompt": "a paper-cut fox in autumn leaves",
"size": "1024x1024",
"quality": "medium",
},
)
response.raise_for_status()
image = response.json()["data"][0]["b64_json"]
open("out.png", "wb").write(base64.b64decode(image))
| Model Specs | |
| Model ID | gpt-image-2 |
| Vendor | OpenAI |
| Output Tier | medium |
| Pack Size | 20 images |
| Capabilities | Per image, Medium quality, 1024x1024, Image editing |
| Price per Unit | $0.053 per image |
| Best For | Everyday marketing and product imagery |
| Licence | Vendor API terms; commercial use per the vendor's licence |
- Stock: In Stock
- Model: gpt-image-2-medium-20
- SKU: GPT-IMAGE-2-MEDIUM-20
Products Sold: 0
Product Views: 11
$1.06
10 or more $1.01
50 or more $0.95