DEV Community

Cover image for 🍌 The Nano Banana Cheat Sheet (v2 & Pro)
Tech Croc
Tech Croc

Posted on

🍌 The Nano Banana Cheat Sheet (v2 & Pro)

Nano Banana models (built on the Gemini 3 family) are advanced image generation and editing models that use deep reasoning to understand your prompt before generating a pixel.

Core Capabilities at a Glance

Resolution & Ratio: Up to 4K resolution. Supports custom aspect ratios (16:9, 9:16, 21:9, 1:1, and more).

Multimodal Input: Mix up to 14 reference images alongside text/PDF documents (up to 131k tokens for Nano Banana 2).

Real-time Data: Connected to web search for generating images based on live information (e.g., current weather, live data).

Safety: Built-in SynthID watermarking and C2PA Content Credentials.

The 5 Master Prompt Formulas

Stop relying on random keywords. Start your prompt with a strong verb that tells the model the primary operation, then follow one of these structural formulas:

1. From Scratch (Text-to-Image)
When you have a blank canvas, you must act as the director.

Formula: [Subject] + [Action] + [Location/Context] + [Composition] + [Style]

Example: “A striking fashion model wearing a tailored brown dress (Subject) posing with a confident stance (Action) against a deep cherry red studio backdrop (Context). Medium-full shot, center-framed (Composition). Fashion magazine editorial style, shot on medium-format film, pronounced grain (Style).”

2. With References (Multimodal)
Best for maintaining character consistency or placing a specific product into a new scene.

Formula: [Reference Images] + [Relationship Instruction] + [New Scenario]

Example: “[Attach napkin sketch + fabric sample] Using the attached sketch as the structure and the fabric sample as the texture, transform this into a high-fidelity 3D armchair. Place it in a sun-drenched, minimalist living room.”

3. Image Editing & Inpainting
Focus heavily on what is changing versus what is staying the same.

Semantic Masking: Tell it exactly what to touch. “Remove the man from the photo, keep the background completely unchanged.”

Style Transfer: Upload a photo and apply a style. “Recreate the exact layout of this modern city street photo, but as a Van Gogh-style oil painting.”

4. Real-Time Data Visualization
Because Nano Banana can search the web, you can prompt it to react to live conditions.

Formula: [Search Request] + [Analytical Task] + [Visual Translation]

Example: “Search for the current weather in San Francisco. Use this data to modify the scene (if raining, make it grey and wet). Visualize this weather inside a miniature city-in-a-cup concept.”

5. Typography & Text Rendering
Nano Banana 2 excels at rendering sharp text in over 10 languages.

Use Quotes: Always enclose exact text in quotes (e.g., “URBAN EXPLORER”).
Name the Font: Specify “bold sans-serif” or “Century Gothic”.
The Text-First Hack: Have a conversation to finalize your copy first, then ask it to generate the image containing that text.

🎬 How to Prompt Like a Creative Director

To move from “good” to “breathtaking,” use specific studio terminology.

Top comments (0)