Skip to main content
POST
google/nano-banana-pro uses Google’s gemini-2.5-flash-image model internally, supporting higher resolution image generation with more precise aspect ratio and resolution control.

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
In production environments, it is recommended to use the callback_url parameter to receive automatic notifications when generation is complete, rather than polling the status endpoint.

Authorization

string
required
Bearer Token authentication. Format: Bearer sk-xxxxxx

Request Body

Request body format is application/json.
string
default:"google/nano-banana-pro"
required
Model name, must be google/nano-banana-pro
string
required
Callback URL for task completion notification. The system will POST task status and results to this URL.Example: https://your-domain.com/api/callback
object
required
Input parameters for the generation task

Response

integer
required
Response status code
string
required
Response message, error description when request fails
object
required