callBackUrl parameter to receive automatic notifications when generation completes, while still keeping GET /api/v1/jobs/recordInfo polling as a fallback.curl --location '/api/v1/jobs/createTask' \
--header 'Content-Type: application/json' \
--data '{
"model": "imagen4-ultra",
"callBackUrl": "https://your-domain.com/api/callback",
"input": {
"prompt": "A realistic aerial photo of a futuristic green city beside the sea",
"aspect_ratio": "square_1_1",
"person_generation": "allow_adult",
"safety_settings": "block_medium_and_above",
"seed": 12345,
"enhance_prompt": true,
"language": "auto",
"output_format": "png",
"compression_quality": 90
}
}'{
"code": 200,
"msg": "success",
"data": {
"taskId": "task_imagen4_ultra_1765166238716"
}
}