task_id parameter should be obtained from the previously generated video task. You can create videos using the following approach:taskId from the API responsetaskId as the task_id parameter in the enlargement requestcallBackUrl 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/extend",
"callBackUrl": "https://your-domain.com/api/callback",
"input": {
"task_id": "task_grok_12345678",
"prompt": "",
"extend_at": 0,
"extend_times": "6"
}
}'{
"code": 200,
"msg": "success",
"data": {
"taskId": "281e5b0*********************f39b9"
}
}