Skip to main content
Generate an original image from a text prompt, or EDIT images you supply, using Google Nano Banana 2 at 2K resolution. Send image_handles, image_urls or image_base64 to edit, restyle or combine up to 14 reference images; send none and it generates from the prompt alone. Editing costs exactly what generating costs and the extra references are free. Returns the URL of the generated image. Those URLs are temporary: Goro holds a run’s results for 24 hours and nothing guarantees the file outlives that, so collect what you need within 24 hours.
Use when you need an image made to order rather than found, OR when you have an image and want it changed: a hero image, an ad creative, a product mockup, an illustration, a background swapped, a product dropped into a scene, several references merged into one composition. Strongest of the cheaper image models at prompt following and at legible text inside the image. For the hardest edits and the best text, use image.nano_banana_pro. One image out per call.

Price

0.12percallat2K.Aflatprice,andtheonlythingthatchangesitisresolution:1Kcosts0.12 per call at `2K`.** A flat price, and the only thing that changes it is `resolution`: `1K` costs **0.08, 2K costs 0.12,4Kcosts0.12**, `4K` costs **0.18. Every one of those is exact and known before the call, so the hold and the charge are the same number and there is no ceiling to reconcile. Omit resolution and you are billed the 2K price. A call that fails, times out or is stopped releases its hold in full and costs nothing.

Input

These are all the fields this endpoint accepts. Anything else is rejected as a validation_error rather than forwarded to the provider.

Example

Response

The full response. Values are illustrative.