10 static ad variants in one Sume image request: n and its cap
The Sume Image API takes n from 1 to 10, but each model has its own cap. Read it from the catalog; use 4:5 on Nano Banana or 1088 x 1360 on GPT for feed ads.

The Sume Image API accepts n from 1 to 10 images per request, but each model has its own cap in the catalog, so ten variants in one call is only possible if the model you choose allows it. Read n.max for the model on GET /v1/images/models before you rely on a number. The docs show a descriptor where n ranges from 1 to 4, which is a reminder that the request cap and the model cap are different things. If your model caps at 4, three requests give you ten.
The rules for n
The Image API field table gives n as an integer with a 1 to 10 request cap plus a per-model cap from the catalog. The catalog descriptor expresses it as a range with min and max under max_images, so a client can read the limit instead of finding out through a 400.
| Field | Rule in the Sume docs |
|---|---|
| n | 1 to 10 per request, and a per-model cap from the catalog |
| aspect_ratio | Per-model native list; 4:5 is Instagram portrait, 1080 x 1350 |
| image_size | Custom pixels on GPT, Seedream, Flux, Qwen and Recraft; takes priority over aspect_ratio |
| quality (Ideogram 4.5) | low, medium or high; list $0.03, $0.06 or $0.22 per image |
| input_references | Up to 10, or 16 on ChatGPT Image 2.5 |
Variants by n or by separate requests
One request with n greater than 1 gives variations of one prompt, which is good for exploring a look but not for testing different headlines, since all images share a prompt. For distinct hooks, send one request per prompt and keep n small. Use the same model, aspect ratio and quality in each so the only difference is the copy.
The stored comparison of the Image API n parameter and a bulk Format run covers the trade-off when you need many images with different instructions.
Feed sizes on the image side
For an Instagram or Facebook feed still, 4:5 is 1080 by 1350. Nano Banana Pro and Nano Banana 2.1 include 4:5 in aspect_ratio, and gpt-image-2 accepts 4:5 too, while Imagen and Grok do not. If you use custom pixels on GPT, the docs require both edges to be multiples of 16, and 1080 and 1350 are not, so a literal 1080 by 1350 will not pass. The nearest exact 4:5 on that grid is 1088 by 1360, since 1088 is 68 times 16 and 1360 is 85 times 16, and 1088 divided by 1360 is 0.8. At 1,479,680 pixels it sits inside the 655,360 to 8,294,400 pixel range.
On Nano Banana, the docs say that 1080x1350 becomes aspect_ratio 4:5 plus a target_pixels value, and the exact 1080 by 1350 is a documented post-step.
curl -sS -X POST https://api.sume.com/v1/images \
-H "Authorization: Bearer $SUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"openai/gpt-image-2","prompt":"Product ad: ceramic mug on a desk, clean studio light","n":2,"image_size":{"width":1088,"height":1360}}'Pricing a set
Ideogram 4.5 has the simplest list price in the docs: $0.03, $0.06 or $0.22 per image for low, medium or high, the same for all sizes. Ten images at medium is $0.60 at list, before Sume pricing, and ten at high is $2.20 at list. Read the live price per model from GET /v1/images/models, since the number you are charged is the Sume rate, not the list rate quoted in the docs.
Before you scale
Run a batch of two with n equal to 2 and look at both images at full size. If text in the image is part of the ad, check every word. Then raise n up to the catalog cap, one request per prompt.
A simple variant plan
Keep the plan boring. Pick one product shot, write five headlines, and send five requests with n equal to 2. That gives ten images, two per headline, and each pair shows how stable the model is on that prompt. If one headline gives unreadable text in both images, the prompt is the problem. If the two images differ widely, the model is, and you should consider a different quality tier.
Name every request with a stable label on your side, and write the label next to the returned image URLs. Image jobs are job-backed like the others, so keep the job id too.
The Image API does not run your A/B test, and it does not check your copy against platform policy. We also did not verify each model's n cap here, since the number lives in the live catalog and can change.
Sources
Related posts
More in Use cases
- How do I put three products in one AI video from reference photos?
Send three product photos as input_references to Gemini Omni Flash 1.1: one 8-second 720p clip is $1.00 on Sume, against $1.89 for three single clips.
- TikTok TopView safe zone: check the open-screen and in-feed frames
TikTok's TopView page has separate safe zones for the open screen and the in-feed stage. Pull a frame from each moment with Sume video inspect and check it.
- How do I make a trade-show booth audio loop with AI voice and music?
Make a 60-second booth loop from one TTS job, one music bed and a Timeline render with a looping soundtrack: about 25 cents on Sume, then play it on repeat.
- Transcribe an interview with timestamps via API (no speaker labels)
Send interview audio to Sume STT for text, word start and end times and sentence segments. It returns no speaker names. 25 minutes costs 28 cents.
Written by Sume