Fast, searchable open-source reference for GPT Image 2.6 (ChatGPT Images 2.6):
filter copyable prompts across Flare (gpt-image-2.6-flare) &
Sunburst (gpt-image-2.6-sunburst), native GIF animations, SVG vectors, and markup-guided edits.
Maintained directly from the canonical GitHub repository.
import base64
from openai import OpenAI
client = OpenAI()
res = client.images.generate(
model="gpt-image-2.6-flare", # or "gpt-image-2.6-sunburst"
prompt="A looping pixel greenhouse sprinkler, seamless loop",
output_format="gif", # "png", "webp", "gif", or "svg"
frame_count=8,
frame_duration_ms=150,
)
with open("output.gif", "wb") as f:
f.write(base64.b64decode(res.data[0].b64_json))
curl https://api.openai.com/v1/images/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-d '{
"model": "gpt-image-2.6-sunburst",
"prompt": "Minimalist bakery logo Field & Flour, clean SVG vector",
"output_format": "svg",
"size": "1024x1024"
}'