callBackUrl 参数接收生成完成时的自动通知,而不是轮询状态端点。curl --location 'https://api.kie.ai/api/v1/jobs/createTask' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "wan/2-6-video-to-video",
"callBackUrl": "https://your-domain.com/api/callback",
"input": {
"prompt": "The video drinks milk tea while doing some improvised dance moves to the music.",
"video_urls": [
"https://static.aiquickdraw.com/tools/example/1765957777782_cNJpvhRx.mp4"
],
"duration": "5",
"resolution": "1080p"
}
}'{
"code": 200,
"msg": "success",
"data": {
"taskId": "task_wan_1765967743009"
}
}