GPT Image 2.5 custom size: 1920x1080 fails, use 1920x1088

Edges must be multiples of 16, so 1080 is out. 1920x1088, 1280x720 and 3840x2160 pass the Sume rules; 1080x1350 does not, 1088x1360 does.

5 min readSume
All posts

On Sume, openai/gpt-image-2.5 takes custom pixels on image_size only if both edges are multiples of 16, the longest edge is at most 3840, the ratio is at most 3:1, and the area is 655,360 to 8,294,400 pixels. 1080 is not a multiple of 16 (1080 / 16 = 67.5), so 1920x1080 fails the rule and 1920x1088 passes. 1280x720 and 3840x2160 both pass.

Common sizes checked against the rules

The rules come from the Image API docs. I computed each row by hand: edges divisible by 16, longest edge at most 3840, ratio at most 3:1, pixels in range.

Sume Image API docs and repo, read 2026-10-13
SizeDivisible by 16PixelsPasses
1920x1080No (1080)2,073,600No
1920x1088Yes2,088,960Yes
1280x720Yes921,600Yes
3840x2160Yes8,294,400Yes (at the cap)
1080x1350No (1080)1,458,000No
1088x1360Yes1,479,680Yes
512x512Yes262,144No (under 655,360)

Send it

Put custom pixels on image_size, not size; size takes a tier and rejects WxH. Then crop the 8 extra rows if you need an exact 1920x1080 in your own pipeline.

For Instagram portrait, aspect_ratio: "4:5" is the native route and avoids the arithmetic.

curl -s https://api.sume.com/v1/images \
  -H "Authorization: Bearer $SUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"openai/gpt-image-2.5","prompt":"product banner","image_size":{"width":1920,"height":1088},"quality":"medium"}'

Cost note

Credits scale with output size and quality for ChatGPT Image 2.5. The listed catalog rate is high quality at 1024 output, about $0.0527 list; larger sizes cost more. Read the rate card before a batch.

Sources

Related posts

More in Developers

All Developers posts

Written by Sume