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.
- OpenAI organization verification for GPT Image 2.5 and Sume ids
OpenAI says you may need API Organization Verification before using GPT Image models. Sume lists the same two models as openai/gpt-image-2.5 and -sunburst.
- Pika Camera Director vs a prompted video edit on Sume
Pika Camera Director reshoots a scene from new angles. On Sume, Omni Flash 1.1 edits a clip from a video_url and a prompt; there is no camera-angle parameter.
- Invisible models in Pika vs Sume Auto echoing sume/auto
Pika hides model names unless you ask. Sume's model sume/auto also hides the family and echoes sume/auto; pin a catalog id when you need a known model.
Written by Sume