Google
Google Nano Banana
Image generation model API based on Gemini 2.5 Flash Image
POST
google/nano-banana uses Google’s gemini-2.5-flash-image model internally.Query Task Status
After submitting a task, you can check the task progress and get the generation result through the unified query endpoint:Get Task Details
Learn how to query task status and get generation results
Authorization
string
required
Bearer Token authentication. Format:
Bearer sk-xxxxxxRequest Body
Request body format isapplication/json.
string
default:"google/nano-banana"
required
Model name, must be
google/nano-bananastring
Callback URL for task completion notification. The system will POST task status and results to this URL.Example:
https://your-domain.com/api/callbackobject
required
Input parameters for the generation task
Response
integer
required
Response status code
string
required
Response message, error description when request fails
object
required