GPT Image 2
OpenAIImagesgpt-image-2
OpenAI's image model, strong at following long instructions, text in images and edits from several reference pictures. Set quality to pick OpenAI's own low, medium or high tiers.
Examples
Made with GPT Image 2 through OpenCheap's API, as they came back. Under each: what was asked, the settings and what the call cost.

“A retro travel poster of Ljubljana: the Dragon Bridge at sunset, bold flat colours, the word "LJUBLJANA" in large letters at the top”
Cost $0.0085

“A cute clay-style 3D robot mascot waving hello, pastel colours, soft shadows, plain light background”
Cost $0.0085

“A cosy reading nook inside a giant hollow tree, warm lanterns, a sleeping cat on a pile of books, watercolour children's book illustration”
Cost $0.0085
Try GPT Image 2
Your image shows here. An image takes a few seconds to a minute.
What it makes
Images from a prompt.
- Resolution: 1K, 2K, 4K
- Shape (width:height): auto, 1:1, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 16:9, 9:16, 2:1, 1:2, 3:1, 1:3, 21:9, 9:21
- Quality: low, medium, high
- Can follow images you send
Price
Per image
Each provider's price for each setting. A call goes to the cheapest one that can make it, and you pay that provider's price: the one in bold.
| Setting | APIMart | kie.ai |
|---|---|---|
| 1K · low quality | $0.0049 | — |
| 1K · no quality set | $0.0085 | $0.03 |
| 2K · low quality | $0.0097 | — |
| 2K · no quality set | $0.015 | $0.05 |
| 4K · low quality | $0.016 | — |
| 4K · no quality set | $0.022 | $0.08 |
| 1K · medium quality | $0.0424 | — |
| 2K · medium quality | $0.0858 | — |
| 4K · medium quality | $0.1424 | — |
| 1K · high quality | $0.1688 | — |
| 2K · high quality | $0.3427 | — |
| 4K · high quality | $0.5694 | — |
Each image you send with the prompt adds $0.01.
A call never costs more than the price shown, and costs less when the provider charges less. A call that fails is not charged. Media needs a top-up first: the free credit does not cover it.
Call GPT Image 2
Use your OpenCheap key and the model id gpt-image-2 at https://api.opencheap.si/v1. The OpenAI SDK works as it is. Links in the answer expire, so save what you make. Read the guide.
curl https://api.opencheap.si/v1/images/generations \
-H "Authorization: Bearer $OPENCHEAP_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2",
"prompt": "A red fox asleep in fresh snow, soft morning light",
"resolution": "1k",
"aspect_ratio": "1:1"
}'
# The answer: {"data": [{"url": "https://…"}], …}. The link expires: save the image.