🌐 API Integration Notes#
✅ The parameters are consistent.
When connecting, you only need to change the requested domain name and API key to us.
🔔 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 a notification 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#
task_status
Possible enum values:Notes#
When the task fails, task_status_msg
will display the cause of failure (such as triggering the platform's content risk control, etc.)
Image URL example: https://h1.inkwai.com/bs2/upload-ylab-stunt/1fa0ac67d8ce6cd55b50d68b967b3a59.png
Modified at 2025-09-19 02:26:37