Skip to main content
Nano Banana AI
TutorialsBeginner

How to Write Nano Banana Prompts: Generation, Edits & References

Learn to write Nano Banana prompts for generation, editing and references. Define subjects, composition, light and preservation requirements, with exercises and review tips.

Before writing a Nano Banana prompt, decide whether you are creating a new image, editing a source or using references. New images need a clear goal, edits need a defined scope and references need individual roles.

This tutorial explains how to organize and revise instructions. For ready starting points, use the Nano Banana prompt library. For your first generation, start with the Nano Banana usage tutorial.

Choose the Task Before the Wording

Task What to provide Instruction priority
Text-to-image A clear description of the goal Subject, setting and composition
Source-image editing The image to change What changes and what stays
Reference guidance Appropriate reference images Each image’s role and what not to copy

Text can explore a fictional product or new setting. To represent a physical item or recurring character, supply appropriate references and compare the output with them.

Organize the Prompt with a Flexible Framework

Use the details relevant to the task; every prompt does not need every field:

  1. Subject and goal: what to create or which area to edit.
  2. Setting and relationships: where the subject sits and how objects relate.
  3. Composition and light: placement, framing, space and light direction.
  4. Visual style: a main direction appropriate to the use.
  5. Preservation and exclusions: which details take priority and what should not appear.

Resolve conflicts before adding detail. Showing a complete cup and showing only an extreme close-up of its surface should not be equal priorities. Choose the task the current image must serve.

Exercise 1: Generate a Still Life from Text

Input: no image required; explore a fictional still life.

Generate a realistic still-life image of one closed notebook with a blank cover in the center of a dark wooden table. Place one pencil parallel to it on the right without overlapping. Use soft window light from the upper right, a top-down composition and a simple background. Add no readable text, logos, cups or other objects.

Change the objects, surface or light while retaining explicit quantities and placement. Check that the notebook is closed, the pencil is on the right and no extra objects appeared. Explore the Nano Banana text-to-image guide for more composition guidance.

Exercise 2: Edit One Part of a Source Image

Input: upload a still-life photo with a clear subject and surface, and identify the background as the target.

Edit this image by changing only the background behind the subject to a pale gray wall. Preserve the subject appearance, quantity, position, supporting surface, framing and existing shadow relationships. Add no text, markings or decoration, and do not redesign the subject.

Change the background color or material. Avoid simultaneously asking to preserve a subject and redesign its shape. Review the target area and the parts meant to remain intact. Read the Nano Banana image editing guide for the full workflow.

Exercise 3: Assign Two References Different Roles

Input: image 1 shows the target product; image 2 supplies the desired scene mood.

Use image 1 to define the single product's shape, proportions, color and material. Use image 2 only for background mood and light direction, not its objects, wording or markings. Place the product from image 1 on a simple neutral surface and arrange the background and shadows around the light from image 2. Prioritize product appearance. Do not change the quantity or packaging structure.

Change the references or surface while retaining their roles. Compare product details with the source and check for unrelated background objects. Learn more in the reference-image guide and multi-image guide.

Turn Vague Requests into Reviewable Requirements

Vague request Clearer instruction
Make it premium Use a simple dark background, soft side light and space around the subject
Keep it the same Preserve the cup silhouette, handle, glaze color and placement; change only the background
Follow the references Image 1 controls the subject; image 2 controls only the palette, without copying other objects
Add these words Use the exact Chinese title “周末阅读” at the top and add no other text

These instructions express a goal; they do not guarantee perfect compliance. Review the result. For text inside images, check spelling, omissions and repetition and typeset in a design tool when needed. See the text-rendering guide.

Let the Result Determine the Next Step

  • Wrong subject or overall composition: return to the initial goal, reduce conflicts and generate again.
  • Useful direction with a local issue: request one specific edit and list areas to preserve.
  • Mixed reference roles: restate each image’s purpose and remove irrelevant references or instructions.
  • Changed identity, product or wording: return to a better version and compare against the source or exact copy.

A fixed number of revisions does not establish when a result should succeed. Models and settings can differ. Judge usability against the key requirements of the current task.

Keep a Reusable Task Record

Save the subject, use, input images, initial prompt, useful edits and review findings. Next time, replace the task-specific details rather than retaining every style word.

  • The task and inputs are clear.
  • Subject, quantity, placement and lighting can be checked individually.
  • Edit scope and reference roles do not conflict.
  • Identity, products, wording and other key details have been reviewed.
  • Reusable instructions and results are saved.

Find more starting points in the 24 Nano Banana prompt templates. Once the subject and inputs are ready, Open Nano Banana Workbench to try them.

Related tutorials