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: kie.ai deletes generated media after 14 days, so download anything you need to keep.
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.18 per call. A flat price. Every call that succeeds costs exactly this, whatever it returns, and you know the number before you make the call. There is no ceiling to read and no usage to reconcile afterwards. 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.