Prompting GPT Image 2 and 2.5
GPT Image models follow long, plain-language instructions closely, render readable text, and can combine many reference images. They do worst with vague one-liners and with instructions that contradict each other. Write the prompt like a brief to an illustrator.
Build every prompt in this order
- Purpose: what the image is for. "A product page hero", "a slide that explains", "a sticker". It decides framing and density.
- Frame: the aspect ratio in words ("16:9 composition") and the camera or layout ("eye-level, 50mm", "flat front-on", "top band with a title, three columns below"). The pixel size goes in the request's
size; the ratio must also be in the words. - Subject: who or what, with the attributes that must be right (count, colors, materials, pose).
- Look: medium and style in visual terms (palette with hex codes, line weight, lighting, lens, texture).
- Text: every word that must appear, in double quotes, with where it goes and how it looks.
- Limits: a short line of what to leave out ("no watermark, no extra text").
Keep the order stable between iterations and change one part at a time, so you can tell what helped.
Lettering and layout
- Quote the exact copy:
headline "NIGHT MARKET" in tall condensed sans-serif, cream on deep red. - Fewer words render more reliably. Put long copy in your layout tool, not in the image.
- Give text a place and a size: "title across the top third", "small caption bottom-right".
- For infographics, name the regions and their content one by one; number the steps you want drawn.
- Check spelling in the result before you ship it; regenerate or edit the one word that is off rather than the whole image.
Edits: say what stays and what changes
Use /images/edits with the source as the first image.
textKeep: the woman's face, hairstyle and pose; the camera angle; the window light. Change: her jacket to a mustard corduroy jacket; the background to a busy bookshop. 16:9 composition.
- Refer to references by position: "the logo from the second image on the mug in the first image".
- Put the image that matters most first; with a mask, the mask applies to the first image.
- A mask marks the area to change, but masking is guided by the prompt, so describe the change too and expect soft edges.
- For product fidelity, include a clean product photo and write "do not alter the label, logo or proportions".
- Up to 16 references per request. Past a handful, say what each one contributes.
Patterns that work
| Goal | Prompt pattern |
|---|---|
| Poster | Purpose + "16:9" or "3:4" + one bold subject + quoted title + type style + palette in hex + "generous margins" |
| Infographic | "An infographic that explains X" + regions top to bottom + numbered steps with short quoted labels + flat icons + two-color palette |
| UI mockup | Device or browser frame + screen name + list of components top to bottom + "realistic UI, crisp text, light theme, accent #hex" |
| Product shot | Product with material and color + surface + light direction and quality + lens + background + "no text" |
| Character set | First image from a full description; every next one is an edit with that image as reference and the description repeated |
| Photo restore | Edit with the old photo + "keep the people and composition, repair scratches and fading, natural color, no new details" |
| Diagram | "A clean labelled diagram of X" + each part and its label in quotes + arrows and their direction + white background |
| Sticker or icon | Single subject + "die-cut sticker" or "app icon" + outline weight + flat shading + plain background |
Quality setting
low is for layout drafts, medium for most work, high for finals and text-heavy images. On OpenAI's own API, higher quality costs more per image (about $0.006 low, $0.053 medium, $0.211 high for 1024×1024, as of 2026-10-07); on flat-priced endpoints it only costs time. GPT Image 2.5 on OpenAI's API also offers xhigh and max; check whether your endpoint accepts them before sending.
When the result is wrong
| Symptom | Fix |
|---|---|
| Wrong aspect ratio | Say the ratio in words and match size to it |
| Misspelled text | Fewer words, each in quotes, bigger area, high quality; edit just the word |
| Too busy | Cut subjects; say what the background is |
| The edit changed too much | Add a Keep list, use a mask, lower the number of changes per edit |
| References ignored | Put the key reference first and name it ("the dog in the first image") |
| Inconsistent set | Generate the first, then edit from it every time; repeat the same description verbatim |
| Style drifts toward generic | Describe the style concretely: era, medium, palette, line, lighting |


