The parameters are consistent. When integrating, you only need to change the request domain name and API key to ours.Asynchronous Task Callback Protocol#
For asynchronous tasks (image generation/video generation), if callback_url is set when creating a task, the server will actively send notifications when the task status changes.{
"task_id": "string",
"task_status": "string",
"task_status_msg": "string",
"created_at": 1722769557708,
"updated_at": 1722769557708,
"task_result": {
"images": [
{
"index": 0,
"url": "string"
}
],
"videos": [
{
"id": "string",
"url": "string",
"duration": "string"
}
]
}
}
Task Status Description#
Possible enumeration values for task_status:Notes#
When a task fails, task_status_msg will display the failure reason (such as triggering the platform's content moderation)
Image URL example: https://h1.inkwai.com/bs2/upload-ylab-stunt/1fa0ac67d8ce6cd55b50d68b967b3a59.png
Modified at 2026-03-06 15:34:52