I haven’t been too energetic in utilizing AI to generate pictures. Principally as a result of not one of the AI instruments so far are in a position to ship the extent of high quality I search in my pictures. And so, the onus of producing pictures for my blogs principally falls on my teammate and an distinctive graphic designer Armaan. Although for this specific weblog, I gave Armaan a break. All because of Google’s new “Nano-Banana” aka Gemini 2.5 Flash Picture.
That’s what the newest picture era mannequin from the home of Gemini is known as. Greater than a picture era, the Gemini 2.5 Flash Picture or nano-banana comes as a picture modifying mannequin. Why? The replace now lets you mix a number of pictures right into a single picture. A minimum of that’s what it claims to do, as talked about in a Google weblog introducing the brand new Gemini image-gen mannequin.
If it does what it says and does it effectively, I personally know a dozen AI fanatics who will likely be past excited to provide it a strive. In case you’re one such aficionado of AI picture era, right here is all it’s worthwhile to know concerning the new Gemini 2.5 Flash Picture, together with a hands-on experiment I attempted on it.
What’s Gemini 2.5 Flash Picture?
In a nutshell, Gemini 2.5 Flash Picture is a brand new picture era and modifying mannequin by Google. It comes as an replace to the a lot hailed Gemini 2.0 Flash Picture picture era mannequin, making it sooner and higher, with added image-editing options.
For context, the brand new Gemini 2.5 Flash Picture can mix a number of pictures into one, keep character consistency, and make focused transformations in a picture. As Google places it, the mannequin makes use of Gemini’s “world information to generate and edit pictures.”
Allow us to discover these options in a bit extra element.
Gemini 2.5 Flash Picture Options
Keep character consistency
Nearly anybody who has used AI to generate pictures will relate to this. Particular person picture prompts normally serve you effectively. However as quickly as you desire a specific component proven as it’s throughout a set of pictures, nearly all recognized AI fashions falter.
Google claims to have labored on that, with the brand new Gemini 2.5 Flash Picture. Here’s what it says for the nano-banana’s functionality on this regard:
“Now you can place the identical character into totally different environments, showcase a single product from a number of angles in new settings, or generate constant model property, all whereas preserving the topic.”
Has it nailed it? Discover out shortly in my hands-on experiment with the mannequin.
Immediate primarily based picture modifying
That is very like “photoshopping” a selected component in/ out of a picture, however by means of easy prompts. Gemini 2.5 Flash Picture can “blur the background of a picture, take away a stain in a t-shirt, take away a whole particular person from a photograph,” and far more, as Google claims.
The exact native edits with pure language prompts make it a robust AI mannequin, offered it does it effectively. Don’t you are worried. We will it strive it out in our hands-on quickly sufficient.
Multi-image fusion
This appears to be the brand new hot-new replace for the Gemini 2.5 Flash Picture. The nano-banana can “perceive and merge a number of enter pictures” as per Google, which principally means you possibly can fuse pictures with a single immediate now. Put an individual who missed the occasion in a bunch picture, place an object right into a scene, or another use you possibly can consider. All with a easy immediate.
Fingers-on loading. Keep tuned!
Native world information
As I identified in my article – Why AI Lacks Frequent Sense, AI fashions lack a deep, semantic understanding of the true world. Nearly the entire aesthetic-images they produce are a results of their coaching information. Google claims to have bypassed this, as the brand new nano-banana mannequin “advantages from Gemini’s world information.”
With out sharing any additional data on how this was made doable, Google says that this capacity unlocks new use-cases for the Gemini 2.5 Flash Picture mannequin. No worries, we’ll try it out for all its price quickly.
However earlier than that, right here is how one can entry the brand new Gemini Flash 2.5 Picture
Gemini Flash 2.5 Picture Accessibility
The brand new Google nano-banana or the Gemini Flash 2.5 Picture is out there proper now by way of the Gemini app or web site for particular person customers.
For Particular person Customers
You’ll be able to merely obtain the app in your telephone, or go to gemini.google.com and entry the mannequin by choosing 2.5 Flash on the prime and clicking on “Create Photos” below the Instruments part.
For Builders
Builders can entry the identical by means of Gemini API and Google AI Studio, whereas enterprise purchasers can entry the software by means of Vertex AI.
For entry by means of API, observe these steps:
1. Set up Required Libraries
Set up the newest model of the Google Generative AI SDK utilizing pip, and guarantee you’ve PIL (Pillow) put in for picture processing:
pip set up google-generativeai pillow
This command will import all required libraries at the beginning of your script for easy execution.
2. Authenticate Your API Entry
Arrange authentication by exporting your API key (if required) as an surroundings variable or authenticating by way of cloud identification suppliers, so the genai SDK can entry Google’s Generative AI endpoints:
import os
os.environ["GOOGLE_API_KEY"] = ""
Ensure that your API account is energetic and has adequate quota for requests.
3. Configure and Name the Mannequin
Initialize the shopper, set the mannequin to “gemini-2.5-flash-image-preview”, and go a related immediate utilizing the SDK’s content material era methodology:
from google import genai
shopper = genai.Shopper()
immediate = "Create an image of a nano banana dish in a elaborate restaurant with a Gemini theme"
response = shopper.fashions.generate_content(
mannequin="gemini-2.5-flash-image-preview",
contents=[prompt],
)
4. Parse and Save the Generated Picture
Iterate by means of the response to verify for textual content and picture outputs, then save the generated picture utilizing PIL:
from PIL import Picture
from io import BytesIO
for half in response.candidates.content material.elements:
if half.textual content shouldn't be None:
print(half.textual content)
elif half.inline_data shouldn't be None:
picture = Picture.open(BytesIO(half.inline_data.information))
picture.save("generated_image.png")
For entry by means of Google AI Studio, merely use the “construct mode” on Google AI Studio right here. As soon as on the platform, you possibly can merely enter a immediate to design the type of picture era/ modifying app primarily based on Gemini 2.5 Flash Picture you need. Assume face-swap or clothe-swap.
Gemini Flash 2.5 Picture Fingers-on
Since AI picture era utilizing prompts is fairly easy, I made a decision to strive the brand new Gemini Flash 2.5 Picture throughout its USPs, apart from, after all, primary picture era. Take a look at the outcomes for your self:
1. Producing new pictures
Listed here are two pictures I generated utilizing Gemini 2.5 Professional Flash. Certainly one of a 25-year previous boy from the hills of Himachal Pradesh, and one other of a Gaddi canine. Listed here are the prompts:
Immediate 1: give me a portrait picture of an indian boy, across the age of 25, hailing from Himachal Pradesh. The boy has dense, black hair and light-weight inexperienced eyes, and is carrying a brilliant cool stable White shirt
Immediate 2: give me a portrait picture of a pahadi gaddi canine, black in color with a thick fur and a much bigger dimension as in comparison with an everyday avenue canine
Output:
Whereas the outcomes clearly appear AI-generated, I might give 10/10 to nano-banana for the outcomes. That is merely due to the tremendous top quality of pictures, correct depictions of the immediate, and the truth that I by no means talked about within the immediate to make the pictures too lifelike.
2. Merging Photos
For consistency, I performed round with these two pictures for the remainder of assessments. So I requested the mannequin to merge the 2 pictures of the boy and the canine in a scenic background. Right here is the immediate:
Immediate: present the boy and the canine taking part in in an enormous open area towards the backdrop of a river flowing in a valley and snow-capped mountains on the opposite facet of the river
Output:
It took a while for the AI mannequin to seek out its technique to the fitting output. With the preliminary outcomes having a bit off proportions, there was a from side to side of prompts and outcomes earlier than I discovered what I used to be searching for. However as soon as I did, boy was I impressed! All the things right down to the final element was as correct as I had talked about and as aesthetic as I may’ve requested for.
3. Picture Enhancing
After picture era and merger, comes the modifying half. To check these out, I first requested Gemini Flash 2.5 Picture so as to add a small hut within the picturesque scene. Right here is the immediate:
Immediate: on this picture, present a small shed close to the river at a distance
Output:
Flawless execution within the first strive. It appears evident that Google has labored massively on the nano-banana, particularly within the areas the place it highlights it to excel.
4. Sustaining Character Consistency
Onto the hardest half for many AI fashions. Actually, I used to be fairly sceptical about this one USP. So naturally, I used to be additionally most excited to strive it out. I requested the mannequin to alter all the setting within the image to that of a seaside. Right here is the immediate:
Immediate: present the boy and the canine operating as they’re in a seaside as a substitute of the present setting. the boy is now carrying shorts and a vest, and has a tattoo throughout his left-arm
Output:
Nothing wanting spectacular, Gemini 2.5 Flash Picture managed to do a reasonably respectable job. Although it took repeated makes an attempt to reach at an aesthetic consequence, the brand new picture mannequin was in a position to replicate the small print of the boy and the canine with nearly full accuracy. In case you look carefully, the slight distinction that you’ll discover will likely be that within the boy’s coiffure. Relaxation every little thing seems to be nearly precisely just like me as within the earlier setting. I even tried the “tattoo on one-arm” concept to see how Gemini executes it. All I can say is Kudos to the mannequin for a job effectively finished!
To check Gemini 2.5 Flash Picture on an app for repeated picture era and modifying, we used the next immediate on Google AI Studio’s “construct mode”
Immediate: Create a Attempt on App, the place customers can add their photos and take a look at numerous garments to see how they appear in them.
Output: You’ll be able to take a look at the try-on app we constructed right here.
Conclusion
With a single collection of image-generation and modifying on the brand new Gemini 2.5 Flash Picture, the updates and the improved capabilities are just about evident to me. What I’m particularly thrilled about is the brand new picture merging capacity of the mannequin. I can foresee n-number of situations the place that may be useful for me personally. As for many different content material creators on the market, picture modifying and character consistency on the brand new Gemini 2.5 Flash Picture will show to be a game-changer.
We often strive our arms on such new AI fashions to check the boundaries of their capabilities. So, be sure that to remain tuned to this area to be up to date with the newest on the planet of AI.
Technical content material strategist and communicator with a decade of expertise in content material creation and distribution throughout nationwide media, Authorities of India, and personal platforms
Login to proceed studying and revel in expert-curated content material.