GPT Image 2
OpenAI image generation: excellent prompt-following and clean text rendering; takes reference images.
- Price
- from $0.10from 4 credits
- Model id
gpt-image-2- Output
- Image
The price changes with the quality. The estimate call returns the exact figure for your input, free.
API keys come with the Scale and Ultra plans

Run it
The smallest request that works: the required fields only.
curl https://api.percify.io/v3/playground/v1/run \
-H "Authorization: Bearer $PERCIFY_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"modelId": "gpt-image-2",
"input": {
"prompt": "A young Indian woman in a yellow t-shirt, smiling and gesturing with her thumb, with th..."
}
}'- EstimatePOST /estimate with the same body returns the price and charges nothing.
- RunPOST /run returns an id at once, with status processing.
- CollectGET /generations/{id}?wait=55 returns the file URLs, or pass a webhook.
Parameters
6 fields in input, required first.
- string
promptRequiredWhat to generate
- arrayDefault
input_imagesOptionalOptional reference images (logos, screenshots, products)
- low, medium, high, autoDefault low
qualityOptionallow is fast and cheap; medium balances; high is slow and pricier
- 1:1, 3:2, 2:3, 16:9, 9:16Default 1:1
aspect_ratioOptional - auto, transparent, opaqueDefault auto
backgroundOptional - png, jpeg, webpDefault png
output_formatOptional
More text to image models
from $0.05GPT Image 2.5 Flare
Generates images from a text prompt, with five quality tiers up to 4K and strong in-image typography.
from $0.05GPT Image 2.5 Sunburst
Generates images from a text prompt, with five quality tiers up to 4K and strong in-image typography.
$0.05Z-Image Turbo
Z-Image Turbo is a super fast text-to-image model of 6B parameters developed by Tongyi-MAI.
$0.05Flux Schnell
The fastest image generation model tailored for local development and personal use
