API
Nano Banana 2 Lite
otherNano Banana 2 Lite API delivers fast, efficient image generation with reliable character consistency, smooth multi-image blending, and natural language editing for everyday creative workflows. Integrate Nano Banana 2 Lite API for lightweight, high-quality visual generation.
Body
application/jsonmodelstringrequirednano-banana-2-liteinput.promptstringrequiredDescribe the image to create, or the changes to make to your reference images. Whitespace is trimmed.
Maximum length: 5,000 characters
input.imagesstring[]optionalOptional reference images. Use publicly accessible HTTPS URLs or data:image/* base64 URIs. Omit for text-to-image.
Maximum items: 14
input.aspect_ratiostringoptionalOutput width-to-height ratio. Auto lets the model choose.
Default: auto
auto1:12:33:23:44:34:55:49:1616:921:91:44:11:88:1
Response
Successful response
task_idstringrequiredstatusstringrequiredAvailable options: waiting, succeed, failed, processing
