cURL
curl --request GET \ --url https://api.unifically.com/kling-v2.6/status/{task_id} \ --header 'Authorization: Bearer <token>'
{ "code": 200, "success": true, "data": { "status": "processing", "task_id": "550e8400-e29b-41d4-a716-446655440000" } }
Check the status of your Kling 2.6 generation tasks
curl --request GET \ --url https://api.unifically.com/kling-v2.6/status/TASKID \ --header 'Authorization: Bearer YOUR_API_KEY'
TASKID
{ "code": 200, "success": true, "data": { "status": "completed", "task_id": "550e8400-e29b-41d4-a716-446655440000", "output": { "video_url": "https://files.storagecdn.online/video/output.mp4" }, "seed": 0 } }
{ "code": 400, "success": false, "data": { "status": "failed", "task_id": "550e8400-e29b-41d4-a716-446655440000", "message": "Generation failed. Please rephrase your prompt to comply with content policies.", "code": "GENERATION_FAILED" } }
processing
completed
failed
Initial Wait
Regular Polling
Timeout
seed