Skip to main content

Google Nanobanana Image Generation

Generates an image from a text description on Google's Nanobanana or Nanobanana Pro model and returns it as Base64.

POST/v3/image/generation/google/nanobanana/generateTry it

Input

contents
parts: { text }
generationConfig
responseModalities: TEXT IMAGE

OutputPOST /v3/image/generation/google/nanobanana/generate

candidates
content: { parts }

Every field, under Response

Request​

Response​

candidates[0].content.parts[], each part an inlineData with its mimeType, PNG or JPEG, and the image as Base64 in data. A response takes 5 to 30 seconds, by complexity.

Details​

© 2026 iApp Technology Co., Ltd.TermsPrivacyStatussale@iapp.co.th