Creating a Google Sheet image of Gemini Nano Banana

tarik

Member
Your Workflow URL
https://connect.pabbly.com/v2/app/workflow/mapping/IjU3NjcwNTZkMDYzMzA0Mzc1MjZmNTUzNzUxMzUi_pc
Consent to Access & Modify
I authorize Pabbly Support to log in to my account and make changes to the specified workflow for troubleshooting.
I've successfully established a connection between Google Sheets and Nano Banana for image creation from a prompt.

I'm also providing it with a product image so it can work with the product I've given it.

But unfortunately, it's not recognizing this image.

I don't know where the error is coming from.

I need help.

Thanks
 

ArshilAhmad

Well-known member
Staff member
Hi @tarik,

Instead of mapping the shareable link, please capture a downloadable link in your Google Sheets trigger step and map that downloadable link to Google AI Studio. We manually entered the downloadable link in Google AI Studio, and it successfully generated an image.
1766337228900.png

1766337412569.png


Thanks & Regards,
Arshil Ahmad
Customer Support Associate
🌐 Pabbly.com
👉Rate your support
 

tarik

Member
Could you make a video for me because I didn't understand?

The goal was to automate the creation of product images from a prompt and a photo that I upload to Google Sheets.
 

ArshilAhmad

Well-known member
Staff member
The link you captured in your trigger step is a Google Drive shareable link. When you open this link in a browser tab, it only displays the image and does not automatically download it.

Shareable link:
https://drive.google.com/file/d/1hUkO1ABgFS0J12JstkPrCMpU8ECKr08k/view?usp=drive_link


This is a downloadable Google Drive link. When you open this link in a browser tab, the file is downloaded automatically.

Downloadable link:
https://drive.google.com/uc?id=1hUkO1ABgFS0J12JstkPrCMpU8ECKr08k&export=download

Google AI Studio accepts downloadable links, not shareable links.

In any case, we have added a File Uploader (Pabbly) action step to your workflow to resolve this issue. You don’t need to make any further changes to the workflow.


Thanks & Regards,

Arshil Ahmad
Customer Support Associate
🌐 Pabbly.com
👉Rate your support
 

tarik

Member
I just did a test by adding a downloadable link to the google sheet table, but unfortunately the photo that is created has no relation to the one I add.
 

Preeti Paryani

Well-known member
Staff member
Hi @tarik,

In this case, you’ll need to refine the prompt you’ve provided to Gemini. Please make it more specific, structured, and strict with clear instructions so that the expected output is generated consistently.

Let us know if you need help optimizing the prompt.
 

tarik

Member
Look, I'm going to do the test by going through the Gemini site and another one by filling in the table with the same information.

Here is the image I get from the following prompt in Gemini (Picture 1 Gemini_Generated_Image_).
Using the same prompt in the Google Sheet, I get (Picture 2 Google Sheet).

Knowing that I provided the same image for both prompts (Picture 3).
 

ArshilAhmad

Well-known member
Staff member
We used this image and prompt directly in Gemini, as well as through the Gemini API in Pabbly and got similar results.

Prompt: Photographie produit e-commerce ultra nette du packaging de coloration capillaire végétale, exactement identique à l’image fournie, posé bien droit au centre, fond blanc pur (#FFFFFF), éclairage doux et uniforme, ombre très légère sous le produit, style premium naturel, aucun texte ajouté, aucun accessoire, format carré 1000x1000, qualité studio, prêt pour Shopify

Image Used:

1766509139710.png


Gemini:
1766509308364.png


Gemini API (Pabbly Connect)


1766509347294.png



Please note that Google Gemini, being a large language model, can generate similar images, but it will not produce the exact same image for both prompts.

We have added a Delay action step to your workflow. Please try adding a new image to your Google Sheets and check how the image is generated.
1766509606252.png



Thanks & Regards,
Arshil Ahmad
Customer Support Associate
🌐 Pabbly.com
👉Rate your support
 
Top