Nano Banana multiple images at once: n range vs Gemini's count
Google says Gemini won't always return the exact image count you ask for in a prompt. On Sume, set n, and read each model's n range from the catalog.

Google says the Gemini model won't always follow the exact number of images a user asks for in the prompt. On Sume, set the n parameter instead: it is a counted request field, up to 10 per call in the docs, with a lower ceiling on most models. Read the n range from the catalog before you pick a number.
Google's limitation is from its image generation page; Sume's from Image generation, read 2026-10-01.
Why does asking in the prompt not guarantee a count?
Under "Limitations", Google writes that the model won't always follow the exact number of image outputs that the user explicitly asks for. A prompt like "make four variations" is guidance to the model, not a parameter, so treat the count as approximate and check what came back.
How does n work on Sume?
The docs say to request up to 10 images per call with n, and that per-model ceilings are lower. The API contract notes that every other image model takes n as a 1 to 4 range, and the catalog includes google/nano-banana-pro. A value outside a model's range is not listed for it, and unlisted settings return 400 unsupported_parameter.
| Method | Count guaranteed? | Notes |
|---|---|---|
| Ask in the prompt | No, per Google's limitation | Gemini API |
n on Sume | Counted request field | Up to 10; per-model range from the catalog |
| Separate requests | One image each | Use for counts above a model's range |
What does a request look like?
Authenticate with your API key, pick a model and set n.
const res = await fetch("https://api.sume.com/v1/images", {
method: "POST",
headers: {
Authorization: "Bearer " + process.env.SUME_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "google/nano-banana-pro",
prompt: "a ceramic mug on a linen cloth, soft window light",
n: 4,
}),
});
console.log(res.status, (await res.json()).data?.length);What if the request takes too long?
The docs note that slow configurations, including large n, are likelier to degrade to a 202 job envelope. Check the status code: 200 is the image response, 202 is a job to poll. See multiple images with `n` for the same behavior on ChatGPT Image 2.5.
Sources
Related posts
More in Models
- Nano Banana video to image: poster from a video via Sume stills
Google's Gemini API takes a video as context for a thumbnail or poster. Sume's images API takes image references only, so grab a still frame first.
- Runway video_to_hdr alpha and ProRes 4444: what Sume returns
Runway's /v1/video_to_hdr now keeps source alpha and delivers ProRes 4444. Sume docs describe no alpha or ProRes output; a completed video job is a download.
- Speechmatics Linden for voice agents vs Sume batch STT jobs
Speechmatics announced Linden for voice agents. Sume STT is a bounded batch job with a webhook, not a live stream, so live agents need streaming.
- Synthesia Interactive Avatar API vs Sume rendered avatar clips
Synthesia headlines a live Interactive Avatar API. Sume avatar video is script-driven and rendered as a job: submit, poll, then fetch the clip.
Written by Sume