callback_url is set when creating the task, the server will actively send notifications when the task status changes.{
"task_id": "string", //Task ID, generated by the system
"task_status": "string", // task status
"task_status_msg": "string", //Task status information
"created_at": 1722769557708, // Task creation time (Unix timestamp, unit ms)
"updated_at": 1722769557708, // Task update time (Unix timestamp, unit ms)
"task_result": {
"images": [ // Results of image tasks
{
"index": 0, // Picture number, 0-9
"url": "string" // Generate the URL of the image
}
],
"videos": [ // Results of video tasks
{
"id": "string", // Video ID, globally unique
"url": "string", // URL of the video
"duration": "string" // Total video duration, unit s
}
]
}
}task_status:submitted: submittedprocessing: Processingsucceed: successfailed: failedtask_status_msg will display the reason for the failure (such as triggering the platform's content risk control, etc.)https://h1.inkwai.com/bs2/upload-ylab-stunt/1fa0ac67d8ce6cd55b50d68b967b3a59.png