callback_url was set when the task was created, the server proactively sends a notification whenever the task status changes.{
"task_id": "string", // Task ID, generated by the system
"task_status": "string", // Task status
"task_status_msg": "string", // Task status message
"created_at": 1722769557708, // Task creation time (Unix timestamp in ms)
"updated_at": 1722769557708, // Task update time (Unix timestamp in ms)
"task_result": {
"images": [ // Results for image tasks
{
"index": 0, // Image index, 0-9
"url": "string" // URL of the generated image
}
],
"videos": [ // Results for video tasks
{
"id": "string", // Video ID, globally unique
"url": "string", // URL of the video
"duration": "string" // Total video duration, in seconds
}
]
}
}task_status:submitted: Submittedprocessing: Processingsucceed: Succeededfailed: Failedtask_status_msg shows the failure reason (for example, triggering the platform's content moderation)https://h1.inkwai.com/bs2/upload-ylab-stunt/1fa0ac67d8ce6cd55b50d68b967b3a59.pngLast verified/modified: 2026-09-28 (added domain note; callback protocol follows Kling's official specification)