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",
"callBackUrl": "https://your-domain.com/api/callback",
"input": {
"prompt": "A cinematic product photo of a compact espresso machine on a marble counter",
"image_input": [
"https://example.com/reference-product.png"
],
"aspect_ratio": "1:1",
"resolution": "2K",
"output_format": "png"
}
}'{
"code": 200,
"msg": "success",
"data": {
"taskId": "task_nano_banana_pro_1765166238716"
}
}