callBackUrl 参数来接收生成完成时的自动通知,而不是轮询状态端点。curl --location 'https://api.kie.ai/api/v1/jobs/createTask' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "kling-2.6/motion-control",
"callBackUrl": "https://your-domain.com/api/callback",
"input": {
"prompt": "卡通角色在跳舞。",
"input_urls": [
"https://static.aiquickdraw.com/tools/example/1767694885407_pObJoMcy.png"
],
"video_urls": [
"https://static.aiquickdraw.com/tools/example/1767525918769_QyvTNib2.mp4"
],
"mode": "720p"
}
}'{
"code": 200,
"msg": "success",
"data": {
"taskId": "task_kling-2.6_1767693973938"
}
}