Image generation and editing model for rapid creation and subject consistency
nano-banana:official corresponds to Google Gemini 2.5 Flash Image, suitable for generating images from text concepts and using reference images for scene changes, color adjustments, and asset blending. Its practical focus is on continuously creating visual variations around the same product or character, enabling a cohesive workflow for creative validation, product presentation, and marketing asset revisions without having to rethink the entire image each time.
Input parameters and result formats vary by service. Use the public API for this model and follow its guide for generation, task retrieval and editing operations.
Specifications and API features
Model positioning
Gemini 2.5 Flash Image; image generation and editing
Creation modes
generate text-to-image, edit image editing
Input methods
Text prompts; image_urls image reference array
Aspect ratio options
1:1、3:2、2:3、16:9、9:16、4:3、3:4
Generation count parameter
count is 1—4, default 1
Delivery format
Image URL, task ID, and tracking ID; supports asynchronous processing and callbacks
API endpoint
POST /nano-banana/images; model is nano-banana:official
The model positioning describes its image creation capabilities; aspect ratio, quantity, and task processing options describe the scope of this platform's API endpoint and do not represent native pixel specifications.
Core capabilities
Create visual variations around a subject
Use a product photo or character image to establish a visual baseline, then describe new scenes, lighting, and compositions, making it suitable for creating a continuous series of assets around the same subject. Prompts should clearly specify the shape, color scheme, and identifying features to retain, so changes focus on the background and atmosphere rather than rewriting both the subject and scene at once.
Perform targeted edits with natural language
Editing does not need to restart from a description of the entire image. After providing the original image, you can request a background replacement, lighting adjustments, object color changes, or the addition of new elements. Express preserved areas separately from modification goals, and iterate gradually according to local needs to make it easier to assess whether each change aligns with the creative direction.
Blend reference assets into a scene
Using product, background, or style references, the model can attempt to organize different assets into a unified image. The key is to explain the role of each image: which determines the subject, which provides the environment, and which only informs the color palette. This prevents multiple assets from competing for compositional focus and is suitable for brand visuals and product scene exploration.
Use Cases
Product Scene Changes and Colorway Drafts
Input clear product photos and describe target scenes such as wooden tables, bathrooms, or office environments to generate contextual images suitable for product display. You can also experiment with different backgrounds and colorways for the same product, delivering a set of visual options for operations teams to review; check packaging text, outlines, and key structures before formal use.
Event Posters and Social Covers
Provide an event theme, brand references, and an accurate short title; establish the key visual first, then create landscape or portrait assets separately. Suitable for exploring holiday themes, advertising compositions, and cover directions. Keep text brief, specify title hierarchy and whitespace placement, and check glyphs and layout after generation.
Character Storyboards and Continuous Creative Work
Use character reference images together with storyboard descriptions to generate images in different scenes, poses, or shots for storyboards, event mascots, and content planning. Reuse the same identity feature descriptions each time, use selected images as subsequent references, and deliver continuous visual drafts for discussion.
How to Choose This Model
Prioritize Fast Iteration Tasks
If the task focuses on product scene changes, visual variations, and creative drafts, the fast generation and editing positioning of nano-banana:official is better suited to this workflow. Use it first to establish the subject, composition, and atmosphere, then decide whether to proceed to detailed production. Do not interpret fast positioning as a fixed generation time in seconds, and do not skip checking product details and text within images.
Distinguish It from Pro and Second-Generation Names
Nano Banana refers to Gemini 2.5 Flash Image and is not equivalent to Nano Banana Pro or Nano Banana 2. If requirements emphasize high-precision final output or specific high-resolution delivery, compare the detailed specifications of the corresponding models; the :official suffix in this entry is used to select the invocation ID, does not indicate switching to Pro, and does not automatically add next-generation capabilities.
Get Started
First Decide Whether to Generate or Edit
Choose generate for text-based creation; choose edit to modify existing assets, provide reference images with image_urls, and separately describe what to preserve and what to change.
Select the Full ID and Aspect Ratio
Specify model=nano-banana:official, action, and prompt for /nano-banana/images; start with aspect_ratio=1:1, resolution=1K, and count=1, setting the aspect ratio and resolution separately.
Save Results Before the Next Editing Round
Retrieve images from data[].image_url; for asynchronous requests, query with or receive callbacks via task_id. When continuing edits, pass the selected image again and narrow the scope of changes in each round.
Trial suggestion: lighting revision for character illustrations
Input and objective
Preserve the reference image's face shape, hairstyle, clothing, and composition; change the daytime lighting to warm evening lighting, and change the background to a quiet study.
Acceptance and next steps
Compare how well the face and clothing are preserved, then check the shadows and background; fully enter the call ID with its suffix to facilitate alignment of task and cost records.
Usage boundaries
Subject consistency is suitable for assisting series creation, but it does not mean the original image can be fully replicated every time. Product logos, small components, character poses, and occlusion relationships should be checked image by image; for key product displays, first specify the features that must not change, then edit around a small number of variables.
Adding text to images is better suited to short titles, labels, and simple layouts. Long paragraphs, dense small text, or complex multilingual typography should not be used directly as final deliverables; when precise wording is needed, provide the complete original text and verify that spelling, line breaks, and characters have not been omitted.
For consecutive edits, explicitly provide the image that needs to be carried over and describe the changes for this round; do not assume that a new image request will automatically remember previous results. Image generation is also not a structural validation tool, and product exploded-view diagrams or internal construction images cannot be used directly as engineering references.
Frequently Asked Questions
Is nano-banana:official an independent Google model?
It is the specific ID used to call Nano Banana; the corresponding public model name is Gemini 2.5 Flash Image. Nano Banana is the model's nickname; :official does not constitute a new Google model name, nor is it equivalent to Nano Banana Pro. Use the full ID when integrating.
Can I generate images using only a prompt?
Yes. Select generate and provide a prompt describing the subject, environment, lighting, composition, and style to start text-to-image generation. If you want to match an existing product or brand visual, you can also add image references; choose the aspect ratio based on the actual use case, such as a cover, banner, or vertical content.
How do I replace backgrounds or combine multiple images?
Use edit, provide the images to process through image_urls, and describe the relationship between the assets in the prompt. For example, retain the product's shape and replace the environment with a morning-lit wooden table scene. When combining multiple images, clearly specify the purpose of the subject image and background image rather than writing only vague compositing requirements.
Can it automatically continue the previous round of editing?
When creating consecutive variants, it is recommended to use the image selected in the previous round again as a reference and clearly state what needs to be retained and modified in this round. This clarifies the editing baseline without relying on implicit history; for character or product series, stable identity-feature descriptions should also be retained to reduce unnecessary changes.
How can generated results be integrated into business workflows?
The endpoint returns an image URL along with task_id and trace_id, making it easy to associate tasks with results. For batch asset workflows, use async and callback_url to handle completion notifications, then send images through screening, review, and archiving steps; before formal release, the subject details and text still need to be checked.