Conversation
…5-flare OpenAI's GPT Image 2.5 ships as two models: gpt-image-2.5-flare (their default — gpt-image-2 quality at up to half the latency) and gpt-image-2.5-sunburst (precision editing). Both accept the wider quality range (xhigh, max, auto) and arbitrary WIDTHxHEIGHT sizes (multiples of 16, aspect 1:3–3:1, no edge over 3840px). The request wiring already fit — the gpt-image branch sends output_format, and quality/size pass through untouched — so this switches DEFAULT_MODEL to gpt-image-2.5-flare, names both 2.5 models and the new quality/size rules on image.create and image.edit, and points the defaultModel hint at gpt-image-2 as the way to pin the older line. Tests pin the new default on both actions, per-call > connection > default precedence on image.create (edit already had it), that both 2.5 ids take the output_format branch while dall-e keeps response_format, that xhigh/max/auto and custom sizes reach the API unmodified, and that the input docs name both models. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01U4xJ2FZDNXyW98r5AsnzUT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The
openaiimage plugin now knows OpenAI's GPT Image 2.5 line and defaults to it.DEFAULT_MODELmoves fromgpt-image-2togpt-image-2.5-flarefor bothimage.createandimage.edit.modelinputs on both actions listgpt-image-2.5-flareandgpt-image-2.5-sunburst.qualityinputs document the 2.5-onlyxhigh/maxvalues (plusauto).sizeinputs document the 2.5 rule: anyWIDTHxHEIGHTwith both sides multiples of 16, aspect between 1:3 and 3:1, no edge over 3840px, experimental above 2560x1440, orauto.defaultModelconnection hint now points atgpt-image-2as the way to pin the older line.Facts are from OpenAI's model pages and image-generation guide (
gpt-image-2.5-flare-2026-09-08/gpt-image-2.5-sunburst-2026-09-08snapshots).Why
Same reasoning as 167c972 (default to gpt-image-2): the newest model is the right zero-config choice. Flare is OpenAI's own default and matches gpt-image-2 quality at up to half the latency; sunburst is there for precision edits when a caller asks for it. Per-call
modeland connectiondefaultModelprecedence is unchanged, so anyone pinned to gpt-image-2 sees no difference.No request-shape changes were needed: the gpt-image branch already sends
output_format(2.5 uses the same contract), andquality/sizewere already passed through verbatim.Tests
packages/runline/src/tests/image-edit-plugins.test.ts(17 → 23 tests):image.createandimage.editdefault togpt-image-2.5-flare.image.createprecedence: per-call > connectiondefaultModel> default (edit already had this; both now exercise a 2.5 id and a gpt-image-2 pin).output_format: pngbranch and never sendresponse_format;dall-e-3still getsresponse_format: b64_json.xhigh/max/autoquality and a custom1536x864/autosize reach the API unmodified on both actions.modeldescriptions name both 2.5 models and thequalitydescriptions namexhighandmax.bun --filter runline build,bun --filter runline testandbun run checkrun clean apart from two things that are identical on untouchedmain: theengine-robustnesssandbox-OOM test fails locally on this machine, and biome reports one unused suppression comment inengine-onaction.test.ts.Not in this PR
background,output_format,output_compression); those are a separate feature.vexpins runline0.29.0and will pick this up on the next release.🤖 Generated with Claude Code
https://claude.ai/code/session_01U4xJ2FZDNXyW98r5AsnzUT