feat: add 16:9 and 2K size presets for gpt-image-2
- Add 1536x864, 864x1536, 2048x1152, 1152x2048, 2560x1440 to the size dropdown. 2560x1440 is the OpenAI cookbook's recommended upper widescreen reliability boundary - Note that sizes above 2560x1440 are experimental and the max-edge rule is strictly <3840 (3840x2160 is out, use 3824x2144 instead) - 1920x1080 is invalid because 1080 isn't a multiple of 16 — captured in AGENTS.md alongside the full constraint set so future agents stop proposing it
This commit is contained in:
+12
-3
@@ -199,10 +199,19 @@
|
||||
<div class="row">
|
||||
<label for="size">Size</label>
|
||||
<select id="size">
|
||||
<option value="1024x1024">1024x1024 (square)</option>
|
||||
<option value="1536x1024">1536x1024 (landscape)</option>
|
||||
<option value="1024x1536">1024x1536 (portrait)</option>
|
||||
<option value="1024x1024">1024x1024 (1:1 square)</option>
|
||||
<option value="1536x1024">1536x1024 (3:2 landscape)</option>
|
||||
<option value="1024x1536">1024x1536 (2:3 portrait)</option>
|
||||
<option value="1536x864">1536x864 (16:9 landscape)</option>
|
||||
<option value="864x1536">864x1536 (9:16 portrait)</option>
|
||||
<option value="2048x1152">2048x1152 (16:9 2K landscape)</option>
|
||||
<option value="1152x2048">1152x2048 (9:16 2K portrait)</option>
|
||||
<option value="2560x1440">2560x1440 (16:9 QHD — experimental boundary)</option>
|
||||
</select>
|
||||
<small class="hint">
|
||||
Sizes above 2560x1440 are experimental for <code>gpt-image-2</code>.
|
||||
Both edges must be a multiple of 16; max edge < 3840.
|
||||
</small>
|
||||
</div>
|
||||
<div class="row">
|
||||
<label for="prompt">Prompt</label>
|
||||
|
||||
Reference in New Issue
Block a user