Get Task

Example API Request

You can make a POST request to the API to get the status of a video generation task. Use the following curl command:

curl --location --request GET 'https://api.unifically.com/kling/v1/videos/generations/taskid' \
--header 'Authorization: Bearer KEY' \
--header 'Content-Type: application/json'

Sample Response

The API will return a response containing the status of the video generation task:

{
    "success": true,
    "data": {
        "status": "processing",
        "id": "10cd3904-86e0-4c88-ad2e-3d172086e6c9"
    }
}
// status "processing" means it will be done soon, "pending" means its in queue

// if success

{
    "success": true,
    "data": {
        "status": "completed",
        "video_url": "VIDEOURL"
    }
}

Last updated