AI image for Instagram 4:5 (1080×1350): what the API returns
Instagram portrait is 4:5, 1080×1350, not 4:3. How to ask Sume's image API for 4:5 and why some models return a native size close to it, not exact pixels.

Send aspect_ratio: "4:5" to POST /v1/images. Sume's docs are explicit that 4:5 is Instagram portrait (1080×1350), not 4:3. A model returns its native size for that ratio: Nano Banana Pro renders about 928×1152 at 1K, and exact 1080×1350 is a post-step through job target_pixels, not a native output.
Read from the Image API and Image 1.0 docs on 2026-09-29. Google's docs list 4:5 among the ratios its Nano Banana models support.
How do I request a 4:5 image?
aspect_ratio is a normalized ratio. Read supported_parameters on the model before pinning it, because a model accepts only the values its catalog lists and anything else returns 400 unsupported_parameter.
curl -X POST https://api.sume.com/v1/images \
-H "Authorization: Bearer $SUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/nano-banana-pro",
"prompt": "Flat-lay of a linen shirt, a straw hat and sunglasses on sand",
"aspect_ratio": "4:5",
"resolution": "2K"
}'Will the file be exactly 1080×1350?
Not from Nano Banana. Sume's docs say a WIDTHxHEIGHT value on Nano Banana maps to the native ratio (1080×1350 becomes 4:5), and exact pixels are a documented post-step. The GPT models cannot use 1080 either: the docs say custom GPT edges must be multiples of 16, and 1080 is not one, so 4:5 there expands to 1024×1280 (per the API reference).
| Model family | How `4:5` is served |
|---|---|
| Nano Banana Pro | Native 4:5, about 928×1152 at 1K |
| GPT Image | 1024×1280 custom box; 1080×1350 is not a legal GPT size |
| Imagen 4, Grok Imagine | 4:5 not listed |
What if I need the exact pixel size?
Ask for 4:5 at the highest tier your budget allows, then resize to 1080×1350 in your own step. Sume's Image Upscale 1.0 posts cover the upscale side.
Does the wrong ratio crop my image?
That depends on where you post it, and this post does not state Instagram's cropping rules. Generate the ratio you plan to publish so no crop is needed.
Sources
Related posts
More in Use cases
- Can AI make a lyric video? Yes, if you time the lines
AI can make a lyric video: pictures under the song, plus each lyric line burned in at the time it is sung. You supply the line timings.
- AI meditation music generator: calm tracks, longer sessions
An AI meditation music generator makes calm instrumental tracks from a text brief. How to prompt one, join tracks into a session, and add a voice.
- AI meditation video generator: voice, calm loop, music bed
An AI guided meditation video is a slow narration over a calm visual loop and a soft music bed that dips under the voice. How to build one, and costs.
- AI menu generator: make the artwork, type the prices
An AI menu generator works best for the artwork: backgrounds, borders, and dish photos. Type dish names and prices yourself. Sizes, prompts, and cost.
Written by Sume