callBackUrl parameter to receive automatic notifications when generation completes, while still keeping GET /api/v1/jobs/recordInfo polling as a fallback.curl --location --request POST '/api/v1/jobs/createTask' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "nano-banana-pro-flash",
"callBackUrl": "https://your-domain.com/api/callback",
"input": {
"prompt": "A clean app icon for an AI video editor, vivid but minimal",
"aspect_ratio": "1:1",
"resolution": "1K",
"use_google_search_tool": false,
"output_format": "png"
}
}'{
"code": 200,
"msg": "success",
"data": {
"taskId": "task_nano_banana_flash_1765166238716"
}
}