Where does image save when we are using Gemini Nano Banana (or OpenRouter) API ?

Hey!

My use case is as below:

Every 12 hours, an automation takes a location and creates an image based on a pre set prompt.

Here's my workflow: https://connect.pabbly.com/workflow/mapping/IjU3NjYwNTY1MDYzNDA0MzA1MjY5NTUzMjUxM2Ei_pc
(I give you the right to check my account or make tweaks to this workflow, if needed)

Now, I tried Gemini Flash Image Preview 2.5 model first but it is giving me rate limits. Then I found that same model is available on openrouter (free preview), which I integrated in my flow.

The flow runs successfully with chat completion but I can't see where the image generated is saved as an output to Step #4.


Is there any workaround here, or is this currently not possible?


PS: I use openAI for the same image generation use case (in a different flow) and it returns me a URL to access the image. Is it possible here?



Hope I am clear.
 

Preeti Paryani

Well-known member
Staff member
Hello @arsachdeva,

Thank you for sharing the details and the workflow URL.

Unfortunately, it would not be possible to generate images using Nano Banana or OpenRouter, as both only provide endpoints for chat completions, not for image generation. That is why you are unable to see any image output in Step #4.

For image generation, you may instead use either of the following supported actions:

  • OpenAI → Generate Image
  • Google AI Studio (Imagen 3) → Generate Image
These actions are specifically designed to return an image URL that you can then map further in your workflow.
 

Fagun Shah

Well-known member
Hey!

My use case is as below:

Every 12 hours, an automation takes a location and creates an image based on a pre set prompt.

Here's my workflow: https://connect.pabbly.com/workflow/mapping/IjU3NjYwNTY1MDYzNDA0MzA1MjY5NTUzMjUxM2Ei_pc
(I give you the right to check my account or make tweaks to this workflow, if needed)

Now, I tried Gemini Flash Image Preview 2.5 model first but it is giving me rate limits. Then I found that same model is available on openrouter (free preview), which I integrated in my flow.

The flow runs successfully with chat completion but I can't see where the image generated is saved as an output to Step #4.


Is there any workaround here, or is this currently not possible?


PS: I use openAI for the same image generation use case (in a different flow) and it returns me a URL to access the image. Is it possible here?



Hope I am clear.
I have created a custom app that supports Nano Banana in pabbly connect and image is hosted online for 15-min. In that time you can upload it to other cloud storage.
 
Top