🏛️GPT Image
Also known as gpt-image, OpenAI Image Model, GPT Image Sunburst, GPT Image Flare
OpenAI's picture models. They draw and change pictures when you ask.
Think of it like
It is like an artist who draws what you say. She can paint over your photo too.
Example
A shop owner uploads a photo of a mug and asks for it on a beach at sunset. GPT Image returns the same mug in the new scene.
Why it matters
It is one of the most used image models, inside ChatGPT and in many apps through the API.
Definition
Example code
bash
curl https://api.openai.com/v1/images/generations \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gpt-image-2.5-flare", "prompt": "a red mug on a beach at sunset"}'Common mistake
Key takeaways
- 1Make and edit. From words and photos.
- 2Two kinds. Sunburst and Flare.
- 3After DALL-E. Which is now retired.