Retrieve the status and results of your Kling v2.1 Master generation tasks.
Request
curl --request GET \
--url https://api.unifically.com/kling-v2-1-master/status/TASKID \
--header 'Authorization: Bearer YOUR_API_KEY'
Replace task_id with your actual task_id.
Response (Processing)
{
"code": 200,
"data": {
"status": "processing",
"task_id": "dd55ae25-adff-47a0-9194-6a37845b58e4",
"error": {}
}
}
Response (Completed)
{
"code": 200,
"data": {
"status": "completed",
"task_id": "dd55ae25-adff-47a0-9194-6a37845b58e4",
"output": {
"video_url": "https://files.storagecdn.online/video/2b186a1a-9a07-4e7f-9438-d3d380e00e59.mp4"
},
"error": {}
}
}
Response (Failed)
{
"code": 400,
"data": {
"task_id": "xyz789abc012",
"status": "failed",
"error": {
"message": "Generation failed",
"code": "GENERATION_FAILED"
}
}
}
Response Fields
HTTP status code (200 for success)
Task dataUnique identifier for the task
Task status: processing, completed, failed
URL to download the generated video (available when status is completed)
Error information (empty object for successful requests, contains error details for failed requests)Error message (only present when status is failed)
Error code (only present when status is failed)