Masonry Logo
AI & Technology

Nano Banana 2 Guide: Controls, Prompting, and a 21:9 Test

Use Nano Banana 2 on Masonry with the current CLI model ID, sizes, seed, and reference inputs. See one first-hand 21:9 text-layout test, its exact prompt, acceptance notes, and safer patterns for product and marketing work.

Gaurav BisenGaurav Bisen
7 min read

Nano Banana 2 is Google's Gemini 3.1 Flash Image model. Google's current model page describes generation and conversational editing, 0.5K through 4K output options, image-search grounding, improved international text rendering, and additional aspect ratios. The broader image-generation documentation covers reference mixing, text rendering, resolution, and current limitations.

Those are provider capabilities—not a promise that every host exposes the same controls or that every output is correct. This guide documents Masonry's live route, adds one first-hand wide-format artifact, and turns the model's launch claims into checks you can repeat.

Evidence boundary: the banner below is one first-hand text-to-image output from one prompt, one seed chosen by the service, and the Masonry route described here. It is not a multi-seed benchmark, a reference-fidelity test, or a head-to-head comparison. Google capability statements are linked to Google; Masonry controls come from the live CLI contract checked August 4, 2026.

The model name you actually use

There are three identifiers worth separating:

ContextCurrent identifierUse
Google API modelgemini-3.1-flash-imageGoogle's direct API and documentation
Masonry browser route/models/nanobanana-2Interactive model page
Masonry CLI model IDgemini-3.1-flash-image-previewmasonry image and masonry models params

This is not cosmetic. A first attempt with --model nanobanana-2 returned model not found, even though an alias schema was discoverable. masonry models list --type image returned the executable preview ID, and the same prompt succeeded with that ID. Check the live list before putting a model name into a script.

Current Nano Banana 2 controls on Masonry

Run masonry models params gemini-3.1-flash-image-preview to inspect the route. The checked CLI contract exposes:

InputCurrent contractWhat it means in production
PromptText generation or mixing instructionWrite observable requirements; capacity is not an acceptance test.
Output sizeRequired fixed dimension or aliasChoose placement and resolution before generating.
SeedOptional integer from 0 to 2,147,483,647Record it for reruns, but still inspect the output.
ReferencesZero to 14 imagesState the role and invariants for every source; references can still drift.
Search groundingNot exposed by the checked CLI flagsGoogle's direct-API feature is not automatically a Masonry input.
Thinking levelNot exposed by the checked CLI flagsDo not paste provider-specific controls into this route.

Masonry offers 1K, 2K, and 4K aliases for 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, and 21:9. For example, 21:9:2k maps to 3168x1344, and 4:5:4k maps to 3712x4608.

Google's direct API documents a 0.5K output and extreme ratios including 1:4, 4:1, 1:8, and 8:1. Those are not present in the Masonry CLI contract checked for this guide; the provider's maximum feature set and a hosted route are different things.

One first-hand 21:9 text-layout test

The brief asked for a fictional cobalt-blue travel mug, a 21:9 ecommerce banner, two exact strings, left-side negative space, a right-side product, and no other copy.

One first-hand Nano Banana 2 output at 3168×1344, shown here as a web-optimized derivative. The assessment below is based on the original output.

Observed outcome: the candidate rendered “ONE BRIEF. THREE CROPS.” and “Square · Portrait · Wide” once each with no additional copy. It placed the product on the right, kept usable text space on the left, used a navy mug with restrained coral details, and produced a coherent camera-left light direction. The stone surface and warm neutral setting followed the brief broadly rather than literally. This run did not test reference preservation, localization, small type, or repeated identity.

CheckRequestedObserved
HeadlineExact string oncePass in this output
SubheadingExact string oncePass in this output
Extra copyNonePass in this output
CompositionText left, mug in right 38%, generous negative spaceUsable split; exact percentage not measured
PaletteCobalt/navy with restrained coralPass in this output
Product fidelityFictional mug, no reference suppliedNot tested

One clean result is useful evidence that the route can execute the brief. It is not evidence that exact text will pass across prompts, seeds, languages, or font sizes.

Reproduce the wide test from the CLI

Prompt

masonry image "Create a premium 21:9 editorial ecommerce banner for a fictional cobalt-blue travel mug on pale limestone, warm-gray studio background, soft window light from camera-left, restrained navy and coral accents. Exact headline on the left: 'ONE BRIEF. THREE CROPS.' Exact small subheading below: 'Square · Portrait · Wide'. Keep the mug on the right 38 percent and leave generous negative space around the text. Render those two text strings exactly once each. No other words, logos, badges, prices, or claims." \ --model gemini-3.1-flash-image-preview \ --aspect 21:9:2k \ --output nano-banana-wide.png

For a repeatable comparison, add a recorded seed:

Prompt

masonry image "Your fixed test brief" \ --model gemini-3.1-flash-image-preview \ --aspect 4:5:2k \ --seed 41217 \ --output candidate-41217.png

A seed helps rerun the route; it does not make a weak brief or unreviewed output production-ready.

Prompt patterns that are easy to verify

Exact displayed copy

Quote every required string, specify its hierarchy, and prohibit competing text:

Headline: “SUMMER SET.” Subheading: “Three daily essentials.” Render each string exactly once. No other words, numbers, logos, prices, badges, or legal copy.

Reject the output for one wrong character. Add price, ingredient, dosage, legal, or brand-critical copy with deterministic typesetting after generation.

Reference-based product scene

Attach the approved product image and separate changes from invariants:

Prompt

masonry image "Change only the environment to pale limestone with cool morning light. Keep the supplied bottle's silhouette, closure, proportions, color, label placement, and every printed character unchanged. Add no props or copy." \ --model gemini-3.1-flash-image-preview \ --ref ./approved-bottle.png \ --aspect 4:5:2k \ --output bottle-scene-candidate.png

“Keep unchanged” is an instruction, not a lock. Compare the candidate with the source; composite the approved product back into the generated scene when exact packaging matters.

Multiple references

Google documents up to 10 object images plus four character images for this model, while the Masonry route accepts up to 14 references. Give each source one role in the prompt: product geometry, approved label, person identity, wardrobe, or environment. Avoid fourteen unexplained images and hoping the model infers the hierarchy.

An acceptance sheet for commercial work

AreaPass condition
Required textEvery character, punctuation mark, line break, and occurrence count matches the brief.
Product or identitySilhouette, color, geometry, face, wardrobe, and approved artwork match the source.
CompositionSubject occupancy, negative space, crop, horizon, and camera angle suit the final placement.
Scene truthfulnessNo invented ingredient, claim, price, certification, accessory, or functional detail appears.
Technical outputCorrect dimensions, legible delivery crop, clean edges, and no unwanted text or marks.
RepeatabilityPrompt, model ID, size, seed, references, and reviewer decision are recorded.

Nano Banana 2, Pro, or Lite?

Google's current model-selection guidance positions:

  • Nano Banana 2 as the general-purpose balance of capability, cost, and latency.
  • Nano Banana Pro for complex professional asset production, stronger brand consistency, localization, and precision control.
  • Nano Banana 2 Lite for lower-latency, lower-cost generation where scale is the main constraint and multiple-reference work is not the priority.

Those are portfolio positions, not proof that one route wins your task. Run the same source, prompt, output size, and acceptance sheet when the decision matters. The Nano Banana 2 vs GPT Image 2 comparison and product-photography model guide cover narrower comparisons without treating one model as a universal default.

The bottom line

Nano Banana 2 is a current generation-and-editing option with official support for high-resolution output, reference mixing, text rendering, and broad aspect-ratio control. On Masonry, the actionable details are more specific: use gemini-3.1-flash-image-preview in the CLI, choose a required 1K/2K/4K size, optionally record a seed, and attach up to 14 references.

The first-hand banner passed its exact-copy and broad layout checks, but it was one output without references. Treat that as a reproducible example, not a reliability score. Define the acceptance sheet before generating, inspect every required detail, and select the model by accepted deliverables rather than launch language.

For the lower-cost 1K route, use the Nano Banana 2 Lite guide, which separates current price and latency claims from one first-hand output and its visible limits.

Share:
FAQ

Questions from this guide

Concise answers to the questions readers ask after this guide

Is Nano Banana 2 the same as Gemini 3.1 Flash Image?

Yes. Nano Banana 2 is Google's product name for Gemini 3.1 Flash Image. On Masonry, the browser route is /models/nanobanana-2, while the executable CLI model ID checked August 4, 2026 is gemini-3.1-flash-image-preview. Inspect the live catalog before automating because identifiers can change.

What sizes does Nano Banana 2 support on Masonry?

The current Masonry route exposes 1K, 2K, and 4K dimensions across ten aspect families: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, and 21:9. For example, 21:9:2k maps to 3168x1344. Google's direct API also documents a 0.5K option and additional extreme aspect ratios, but those are not exposed by the checked Masonry CLI route.

Can Nano Banana 2 render exact text?

It can render useful displayed copy, but no image model guarantees exact typography. In the first-hand test in this guide, both requested strings appeared once with no extra copy. That is one result, not a reliability rate. Inspect every character and add critical legal, price, ingredient, or brand copy deterministically after generation.

How many reference images can Nano Banana 2 use?

The checked Masonry route accepts up to 14 references. Google's current documentation describes up to 10 object images plus up to four character images for Gemini 3.1 Flash Image. More references do not guarantee fidelity; name each reference's role and compare the output with every approved source.

Does the Masonry route expose Google Search grounding or thinking controls?

Not through the CLI contract checked August 4, 2026. Google's direct API documents Search grounding and thinking behavior, but Masonry's current CLI flags expose the prompt, output size or aspect, optional seed, and up to 14 references. Do not copy provider-specific options into a Masonry command unless the live route lists them.