task_id parameter should be obtained from a previously generated image task. You can upscale images that were created using:taskId from the API response.taskId as the task_id parameter in the upscale request.callBackUrl parameter to receive automatic notifications when upscaling completes, rather than polling the status endpoint.curl --location --request POST 'https://api.kie.ai/api/v1/jobs/createTask' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "grok-imagine/upscale",
"callBackUrl": "https://your-domain.com/api/callback",
"input": {
"task_id": "task_grok_12345678"
}
}'{
"code": 200,
"msg": "success",
"data": {
"taskId": "281e5b0*********************f39b9"
}
}