Check Status

To check the status of a video using the Unifically API, use the following curl command:

curl --location 'https://api.unifically.com/mj-video/status/TASK_ID' \
--header 'Authorization: Bearer YOUR_KEY'

Replace YOUR_KEY with your actual API key. This command sends a GET request to the specified endpoint and returns the status of the video.

In this example, the status is SUCCESS, indicating the video processing was completed successfully.

Available Statuses: SUCCESS, FAILURE, IN_PROGRESS

Example Successful Response

Below is a sample response you might receive upon a successful request:

{
    "id": "1751367413786121",
    "action": "VIDEO",
    "customId": "",
    "botType": "",
    "prompt": "Animate this picture",
    "promptEn": "",
    "description": "Submit Success",
    "state": "9",
    "submitTime": 1751367413786,
    "startTime": 1751367413786,
    "finishTime": 1751367486954,
    "imageUrl": "https://storage.fonedis.cc/upload_1751367422445746340.png",
    "status": "SUCCESS",
    "progress": "100%",
    "failReason": "",
    "buttons": [],
    "imageUrls": null,
    "videoUrls": [
        {
            "url": "https://storage.fonedis.cc//video/047fec63-3e48-4953-9718-4be759d37d3e/0_0.mp4"
        },
        {
            "url": "https://storage.fonedis.cc//video/047fec63-3e48-4953-9718-4be759d37d3e/0_1.mp4"
        },
        {
            "url": "https://storage.fonedis.cc//video/047fec63-3e48-4953-9718-4be759d37d3e/0_2.mp4"
        },
        {
            "url": "https://storage.fonedis.cc//video/047fec63-3e48-4953-9718-4be759d37d3e/0_3.mp4"
        }
    ],
    "videoUrl": "",
    "maskBase64": "",
    "properties": {
        "finalPrompt": "https://storage.fonedis.cc/upload_17513674125746340.png Animate this picture --ar 1:1 --v 7 --stylize 100 --fast",
        "finalZhPrompt": ""
    }
}

Replace "YOUR_KEY" with a valid API key and TASK_ID with your task identifier to check your video status.

Last updated