Gemini's nano banana pro & supabase & http

:bullseye: What is your goal?

Integrating signedURL into gemini’s module “generate a response”.image to image.

:thinking: What is the problem & what have you tried?

Hello everyone and thank you for your time. much appreciated.

:clipboard: Error messages or input/output bundles

Hello everyone and thank you for your time.

Im new to high-tech definitions so i’ll try my best explaining my need.

Im creating an automation which tranforms user’s images into different ones, depends on prompt.
I successfully uploaded an image to supabase’s storages.
after that, since i want the user’s private image to stay private, i generate a temporary on-time URL using HTTP “make a request” module, to be used in gemini’s nano banana pro.

I successfully generated that temporary URL so it can be used in gemini modules “generate a response”
Gemini’s module, as far as i understood, cannot recieve binary details, therefore “HTTP - get a file” is irrelevant.
I’m having real trouble using that temporary url in gemini’s module.

I do assign “signedURL” within the “file url” section in gemini’s module.
I tried various things, getting suggestions from chatgpt / gemini chat, for hours.
but still no success.

Bottom line im trying to transform a user’s image into another, incase it wasnt clear.

Any idea whats the solution?
I hope I described the situation in an understanable way.

Much appreciated,
Tal

Hey @bubbybo94 !

The issue is likely that the Gemini module cannot fetch the image directly from the signed URL, even if the URL works in a browser.

In many cases the module expects actual file data rather than a remote link. So even though your Supabase signed URL is valid, Gemini may not be able to retrieve the image from it.

A common workaround is to add an HTTP “Get a file” step using the signed URL, then pass that file into the Gemini step if the module supports file input.

Another option is to call the Gemini API with the HTTP module instead of the built-in Gemini module, which gives you more control over how the image is sent.

So the main thing to check is whether the Gemini module you’re using supports external URLs, or if it expects the image as an uploaded file or binary data.

Dr. Tanvi Sachar
Monday Certified Partner, Tuesday Wizard