OpenAI’s ChatGPT release notes introduced a new image model, ChatGPT Images 2.6, on 4 November 2026, and OpenAI’s deprecations page lists the API model gpt-image-2 as deprecated with a shutdown on 10 February 2027. “GPT Image 2” is therefore no longer a safe label for the newest image model in ChatGPT. The prompt and edit steps below use the release notes’ own wording, and the API sections show where the model string changes. For the 2.6 model itself, see our ChatGPT Images 2.6 launch report.
Don't miss new tech stories on Google
Add Tech Insider once in the Google app and our stories appear in your news suggestions.
Two names, two pages: where gpt-image-2 and Images 2.6 stand on 13 November
The release-note entry describes Images 2.6 as “Our new image generation model creates images faster and is better at preserving details across edits, like a character’s outfit when you change the background.” The deprecations page, for its part, names the replacement models gpt-image-2.6-sunburst and gpt-image-2.6-flare. This guide treats none of these names as a synonym for another.
| API model string | Status on 13 November 2026 | Shutdown | Replacement OpenAI lists |
|---|---|---|---|
| gpt-image-2 | Deprecated | 10 February 2027 | gpt-image-2.6-sunburst or gpt-image-2.6-flare |
| gpt-image-2-2026-04-21 | Deprecated | 10 February 2027 | gpt-image-2.6-sunburst or gpt-image-2.6-flare |
If an older script still names dall-e-2 or dall-e-3, note that OpenAI’s API changelog says both were removed from the API on 12 May 2026.
A first image with exact text: the request and the prompt order
You need a ChatGPT account to follow along; OpenAI’s ChatGPT Plus help page gives that plan as $20/month. In ChatGPT you ask for an image in an ordinary chat message (plan availability and the upload controls are not covered by the sources used here, so check OpenAI’s Help Center for both); the release notes’ own wording for the GIF feature is “Ask for a looping animation”. A workable order for the description is subject, setting, style, lighting, composition, then lens and colour treatment, because naming each element leaves the model less to guess.
Weak prompt:
"a futuristic city at night"
Structured prompt:
"An elevated night skyline of a futuristic city, glass towers with
warm amber window lights, low fog at street level, shot from a
rooftop looking down a wide avenue, cinematic lighting, shallow
depth of field, wide-angle lens look, muted teal and orange grade"
For text inside the image, Runway’s model page advises putting the exact headlines, taglines and labels in the prompt and being direct about layout. Runway also calls GPT Image 2 “the strongest choice for outputs where in-image text needs to be accurate and legible”, which is a vendor claim about its own catalogue, not a measured ranking. Put the literal words in quotation marks, keep them short, and close with “no other text” so the model adds no decorative lettering.
"A minimalist poster, dark navy background, the words 'SUMMER SALE'
in large bold white sans-serif letters centered near the top, a
single line of smaller yellow text below reading 'Free delivery on
all orders', clean flat design, no other text"
Changing one photo, reusing a subject and making a GIF
To edit, upload the photo with your message and describe the change in the same message. Say what must stay fixed as well as what changes: an instruction that names position, lighting and shadow direction leaves the model less to reinterpret.
Attached: photo of a product on a white studio background
"Replace the plain white background with a warm wooden kitchen counter,
keep the product's position, lighting and shadow direction unchanged.
Add soft natural window light from the left."
Two features are described as ChatGPT features in the same release notes. Saved reference images let you reuse a photo in later chats: save your dog as Pepper, then ask for a watercolor portrait of @Pepper without uploading the photo again. GIF creation lets you ask for a looping animation, or upload a sketch and ask for the character to wave, then adjust playback speed and share the result.
For a set that must share a look, write one style block and paste it unchanged at the end of every prompt in the set.
Style block (reuse verbatim):
"...flat vector illustration style, muted pastel palette of sage green
and terracotta, thin black outlines, soft grain texture, consistent
character proportions, no gradients"
Hosts that wrap the model accept several references in one edit: Runway takes a prompt plus up to 16 optional reference images and an optional scene sketch drawn on the canvas, and Cloudflare’s listing says its API accepts up to 16 base64 strings in one edit and blends the references, which it suggests for combining subjects, styles or reference shots.
Which output sizes pass: 1920×1080 fails, 1920×1088 works
Exact pixel sizes are documented for the API and for hosts that expose it. OpenAI’s image guide says the newer image models support custom dimensions as WIDTHxHEIGHT strings. Cloudflare’s GPT Image 2 page spells out the limits for its hosted copy:
- each edge at most 3840 pixels;
- both edges a multiple of 16;
- aspect ratio between 1:3 and 3:1;
- total pixels between 655,360 and 8,294,400.
The Azure Foundry catalog gives the same multiple-of-16 and 3:1 rules but says the maximum edge “must be less than 3840px”, where Cloudflare says at most 3840. The two hosts therefore disagree about any size with a 3840 edge. The table below applies these rules, by arithmetic, to 18 common sizes. 1920×1080 fails because 1080 divided by 16 is 67.5; 1920×1088 divides cleanly (1088 divided by 16 is 68) and is the nearest pass.
| Size | Pixels | Ratio | Result | Rule broken |
|---|---|---|---|---|
| 1024×1024 | 1,048,576 | 1:1 | Pass | None |
| 1280×720 | 921,600 | 16:9 | Pass | None |
| 1536×864 | 1,327,104 | 16:9 | Pass | None |
| 864×1536 | 1,327,104 | 9:16 | Pass | None |
| 1024×1536 | 1,572,864 | 2:3 | Pass | None |
| 1680×720 | 1,209,600 | 7:3 | Pass | None |
| 1920×1088 | 2,088,960 | 30:17 | Pass | None |
| 1200×640 | 768,000 | 15:8 | Pass | None |
| 2048×2048 | 4,194,304 | 1:1 | Pass | None |
| 1920×1080 | 2,073,600 | 16:9 | Fail | 1080 is not a multiple of 16 |
| 1080×1920 | 2,073,600 | 9:16 | Fail | 1080 is not a multiple of 16 |
| 1200×630 | 756,000 | 40:21 | Fail | 630 is not a multiple of 16 |
| 1024×576 | 589,824 | 16:9 | Fail | Below the 655,360 pixel floor |
| 800×800 | 640,000 | 1:1 | Fail | Below the 655,360 pixel floor |
| 2560×640 | 1,638,400 | 4:1 | Fail | Ratio wider than 3:1 |
| 3840×2400 | 9,216,000 | 8:5 | Fail | Above the 8,294,400 pixel cap |
| 3840×1280 | 4,915,200 | 3:1 | Depends on host | Edge of 3840: allowed by Cloudflare, excluded by Azure |
| 3840×2160 | 8,294,400 | 16:9 | Depends on host | Edge of 3840 as above; pixels exactly at the cap |
On the chart below, 1024×576 misses the floor by 65,536 pixels and 800×800 by 15,360, while 3840×2400 overshoots the cap by 921,600. A size inside the window can still fail the multiple-of-16 rule, so use the table as the full check.

If you would rather not do pixel arithmetic, Runway’s menu offers 1K, 2K and 4K resolution, each at Low, Medium or High quality, and ten aspect ratios from 21:9 to 9:16. Runway states that GPT Image 2 is available on all paid and Enterprise plans.
The sources used here document no pixel-size control in ChatGPT, so name the format in the prompt. The sizes below are the ones from the check table that pass.
| Use | Ratio | Phrase to add to the prompt | Size that passes the check |
|---|---|---|---|
| Instagram or square post | 1:1 | “square format” | 1024×1024 |
| YouTube thumbnail or blog header | 16:9 | “widescreen 16:9 format” | 1536×864 |
| Phone wallpaper or Story | 9:16 | “vertical 9:16 format” | 864×1536 |
| Print poster | 2:3 | “portrait 2:3 poster format” | 1024×1536 |
| Website hero banner | 7:3 | “ultra-wide cinematic 21:9 banner format” | 1680×720 |
Calling the model from code: change the model string before 10 February 2027
From 13 November 2026 to 10 February 2027 is 89 days: 17 remain in November, then 31 in December, 31 in January and 10 in February. The migration is a one-line change if the model name lives outside your code, which the scripts below do by reading it from an environment variable. Take the name from OpenAI’s model page and the deprecations table above.
export OPENAI_API_KEY="sk-your-key-here"
export IMAGE_MODEL="your-model-name"
pip install --upgrade openai
Quality is the second thing to revisit. As of 13 November 2026 OpenAI’s image guide lists the values low, medium, high, xhigh, max and auto for the newer image models, so check which list applies to the model you call: gpt-image-2 itself takes only low, medium and high, while the replacement models take the longer list.
The first script checks the size against the limits above before spending a request, reads the key and model from the environment, and reports only the error type if the call fails, so the key never reaches your logs. Save it as make_image.sh, make it executable and run ./make_image.sh 1920x1088; it writes reading_nook.png. The size constants follow Cloudflare’s documented limits; edit them if the model you move to documents different ones.
#!/bin/sh
set -eu
: "${OPENAI_API_KEY:?Set OPENAI_API_KEY before running}"
: "${IMAGE_MODEL:?Set IMAGE_MODEL to the model name on OpenAI's model page}"
SIZE="${1:-1920x1088}"
QUALITY="${QUALITY:-auto}"
PROMPT="${PROMPT:-A cozy reading nook by a window, sage green armchair, wooden shelves, warm afternoon light, shallow depth of field}"
export SIZE QUALITY PROMPT
python3 - <<'PY'
import base64
import os
import sys
from openai import OpenAI
width, height = (int(v) for v in os.environ["SIZE"].split("x"))
problems = []
if max(width, height) > 3840:
problems.append("edge over 3840")
if width % 16 or height % 16:
problems.append("edge not a multiple of 16")
if max(width, height) > 3 * min(width, height):
problems.append("ratio wider than 3:1")
if not 655360 <= width * height <= 8294400:
problems.append("pixels outside 655360 to 8294400")
if problems:
sys.exit(f"{width}x{height} rejected: " + ", ".join(problems))
client = OpenAI()
try:
result = client.images.generate(
model=os.environ["IMAGE_MODEL"],
prompt=os.environ["PROMPT"],
size=f"{width}x{height}",
quality=os.environ["QUALITY"],
)
except Exception as exc:
sys.exit(f"Request failed: {type(exc).__name__}")
image_bytes = base64.b64decode(result.data[0].b64_json)
with open("reading_nook.png", "wb") as f:
f.write(image_bytes)
print("Saved reading_nook.png")
PY
For transparent PNGs, Cloudflare’s listing for GPT Image 2 says to “use openai/gpt-image-1.5”.
Editing a photo from code
OpenAI’s image generation guide lists “Edits” as modifying existing images using a new prompt, either partially or entirely. That mirrors the chat workflow in script form: a source image plus a text instruction. The script below applies the kitchen-counter edit from earlier to a file called product_photo.jpg and saves product_photo_edited.png. For a folder of photos, call the same request inside a loop.
import base64
import os
import sys
from openai import OpenAI
client = OpenAI()
try:
with open("product_photo.jpg", "rb") as source:
result = client.images.edit(
model=os.environ["IMAGE_MODEL"],
image=source,
prompt=(
"Replace the plain white background with a warm wooden kitchen counter, "
"keep the product's position, lighting and shadow direction unchanged, "
"add soft natural window light from the left"
),
)
except Exception as exc:
sys.exit(f"Request failed: {type(exc).__name__}")
image_bytes = base64.b64decode(result.data[0].b64_json)
with open("product_photo_edited.png", "wb") as f:
f.write(image_bytes)
print("Saved product_photo_edited.png")
What one request costs: the token formula and the Batch half price
The API bills gpt-image-2 per million tokens, with image input, text input and image output priced separately. OpenAI’s pricing page lists the standard rates, and the Batch rates in the API pricing docs are exactly half of each line, cached lines included. Rates for the 2.6 model are in our launch report.
To price your own job, set the three rate constants to the dollars per 1M tokens on the pricing page for the model you call, multiply by the token counts you expect and divide by one million. Because Batch halves every line, it halves the total whatever the mix of image and text tokens.
standard = (image_in * IMAGE_IN + text_in * TEXT_IN + image_out * IMAGE_OUT) / 1000000
batch = standard / 2
Read the rates for the replacement models on OpenAI’s pricing page before budgeting past February; Cloudflare’s listing is a host price list, not OpenAI’s.
Queueing many images through Batch
OpenAI’s Batch guide says “Each batch completes within 24 hours (and often more quickly)”, so Batch suits work that does not need an immediate reply. The workflow has four steps: write one request per line to a JSONL file, upload the file through the Files endpoint, create a batch job that references it, and poll the status until it reports completed. The output file has one result per line, matched to your custom_id values. The script below turns every .txt file in a prompts folder into one request; check the url value against the Batch guide before a large run.
import base64
import json
import os
import time
from openai import OpenAI
client = OpenAI()
MODEL = os.environ["IMAGE_MODEL"]
BATCH_FILE = "batch_requests.jsonl"
def build_batch_file():
count = 0
with open(BATCH_FILE, "w") as out:
for filename in sorted(os.listdir("prompts")):
if not filename.endswith(".txt"):
continue
with open(os.path.join("prompts", filename)) as p:
prompt = p.read().strip()
request = {
"custom_id": filename,
"method": "POST",
"url": "/v1/images/generations",
"body": {"model": MODEL, "prompt": prompt, "size": "1920x1088", "quality": "medium"},
}
out.write(json.dumps(request) + "\n")
count += 1
return count
if build_batch_file() == 0:
raise SystemExit("No .txt prompt files found in prompts/")
with open(BATCH_FILE, "rb") as f:
uploaded = client.files.create(file=f, purpose="batch")
batch = client.batches.create(
input_file_id=uploaded.id,
endpoint="/v1/images/generations",
completion_window="24h",
)
while batch.status not in ("completed", "failed", "expired", "cancelled"):
time.sleep(60)
batch = client.batches.retrieve(batch.id)
print("Batch status:", batch.status)
if batch.status == "completed":
content = client.files.content(batch.output_file_id)
for line in content.text.splitlines():
row = json.loads(line)
if not row.get("response"):
continue
image_bytes = base64.b64decode(row["response"]["body"]["data"][0]["b64_json"])
with open(row["custom_id"].replace(".txt", ".png"), "wb") as f:
f.write(image_bytes)
Which route fits the job
| Need | Route | Reason |
|---|---|---|
| A one-off image, an edit, a reused subject or a GIF | ChatGPT | The release notes describe saved @references and GIF creation as ChatGPT features. |
| An exact pixel size | OpenAI API, or Cloudflare Workers AI | Custom WIDTHxHEIGHT strings; run the size table first. |
| A scripted edit of a photo | OpenAI API edits | The image guide lists Edits as modifying existing images using a new prompt. |
| Resolution and ratio from a menu | Runway | 1K, 2K and 4K with three quality levels and ten ratios; paid and Enterprise plans. |
| A transparent PNG | openai/gpt-image-1.5 on Cloudflare | Cloudflare’s GPT Image 2 listing says to use openai/gpt-image-1.5 for transparent PNGs. |
| Hundreds of assets with no deadline | OpenAI Batch | Half the standard rate on every line; each batch completes within 24 hours. |
| A Microsoft-hosted deployment | Azure Foundry | The catalog still calls gpt-image-2 the latest model while OpenAI lists it as deprecated, so confirm your deployment’s retirement date. |
Other generators are compared in our AI image generator comparison.
API users should move the model name into an environment variable, re-run the size check and the quality value against the replacement’s own page, and finish before 10 February 2027.





