callBackUrl parameter to receive automatic notifications when generation 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": "recraft/remove-background",
"callBackUrl": "https://your-domain.com/api/callback",
"input": {
"image": "https://file.aiquickdraw.com/custom-page/akr/section-images/1757057285447k9qcbki1.webp"
}
}'{
"code": 200,
"msg": "success",
"data": {
"taskId": "task_recraft_1765177006198"
}
}