Ideogram 4.5 21:9 returns 400 on Sume: use 2:1 at 2K and crop
21:9 is not an Ideogram 4.5 ratio on Sume and returns 400 with the supported list. Ask 2:1 at 2K (2880x1440), then crop to 2560x1080 and lose 225 px of height.

Sending aspect_ratio: "21:9" to ideogram/ideogram-v4.5 on Sume returns a 400 that lists the supported ratios. The wide ratios it does support are 2:1 and 3:1, so for a 2560x1080 banner ask for 2:1 at 2K (2880x1440) and crop 225 px off the height.
Supported ratios
The Ideogram 4.5 catalog on Sume is the same 15-ratio set as Ideogram V3. Any colon ratio outside it, such as 21:9 or 4:1, is refused. Pixel strings are different: they are snapped to the nearest native ratio, and 2560x1080 snaps to 2:1.
| Ratio | 1K | 2K | Verdict for a 2560x1080 banner |
|---|---|---|---|
| 21:9 | rejected | rejected | 400 with supported list |
| 2:1 | 1440x720 | 2880x1440 | Crop 225 px of height |
| 3:1 | 3072x1024 | 3072x1024 | 1024 px tall is under 1080, so it would need upscaling |
| 16:9 | 1280x720 | 2560x1440 | Crop 360 px of height |
The crop
2:1 is the closest wide ratio to 2.37 (2560 by 1080). At 2K that is 2880x1440, and the target ratio at that width is 1215 px tall, so 225 px of height goes, which is about 16 percent. Put your subject in the middle band and ask for empty space at the top and bottom.
This applies to text-to-image. A 1K edit with a 2:1 request is 1408x704 instead, so use resolution: 2K plus aspect_ratio: 2:1 if you need pixel room.
from PIL import Image, ImageOps
im = Image.open("banner-2880x1440.png").convert("RGB")
print("returned", im.size)
out = ImageOps.fit(im, (2560, 1080), Image.Resampling.LANCZOS)
out.save("banner-2560x1080.jpg", quality=90)
print("saved", out.size)Check before you build on it
Run GET /v1/images/models and read the ratio list for the model before you hard-code it, because catalogs change. The Image API docs explain the endpoint. If a true 21:9 is a hard requirement, pick a model whose list contains it instead of cropping.
When not to do this
Do not crop text the model rendered into the picture. A 16 percent height loss is fine for a landscape, but it can cut a headline in half. Leave the text for a later composite step, or design the banner with the headline in the middle band.
Prompting for a crop
Tell the model what the crop will remove: "Keep the top and bottom 15 percent as empty sky or floor." Models do not know where you will cut, so say it. Put the subject in the middle band and any text there as well.
Check the crop on the actual banner. At 2560 wide a headline set by the model may land inside the cut, and moving it by prompt is a new paid try. Setting the text in code after the crop avoids that cost completely.
Sources
Related posts
More in Models
- Ideogram 4.5 edit keeps the source shape when aspect_ratio is omitted
An Ideogram 4.5 edit on Sume keeps the source shape without aspect_ratio; other edit models need auto. Which ids list auto, and the 400 if they do not.
- Ideogram 4.5 edit with resolution 2K and no ratio: still source size
On Sume, an Ideogram 4.5 edit with resolution 2K but no aspect_ratio keeps the source size. Add a ratio to get 2K pixels, such as 2560x1440 for 16:9.
- Ideogram 4.5 pixel size to ratio: where 1920x1080 and 1600x500 snap
On Sume, an Ideogram 4.5 pixel size such as 1080x1350 or 2400x1000 is snapped to the nearest of 15 native ratios: 4:5 and 2:1. Table of seven common sizes.
- Multi-turn ad edits with Ideogram 4.5: four rounds for 30 cents
Ideogram says 4.5 enables multi-turn editing. On Sume, chain each output URL into the next edit: four medium rounds cost $0.30, four high rounds $1.10.
Written by Sume