Face Animer

פרמיום
על ידי Firdavs Shodiyev | מְעוּדכָּן 2 months ago | Artificial Intelligence/Machine Learning
פּוֹפּוּלָרִיוּת

8.9 / 10

חֶבִיוֹן

795ms

רמת שירות

100%

Health Check

N/A

חזרה לכל ההדרכות (1)

How to use.

Create Job ID

When we use “Create Job ID” section, it returns this type of response:

{
  "code": 0,
  "data": 471367831765061,
  "msg": "",
  "time": 1697216439659,
  "requestId": "652977b70d31473d9638312cbbfb9313"
}

Here, “data” is the necessary thing which we use on the next step. Therefore, get 471367831765061 this ID. The ID is variable, so every time it will be unique.

Get Result

On this section, we enter 471367831765061 which we got from data point to the taskID input. Then, we request it. Afterward, it returns this:

{
  "code": 0,
  "data": {
    "taskId": 471368971350277,
    "previewUrl": null,
    "status": 0,
    "failCode": null,
    "failReason": null,
    "percentage": 2,
    "duration": null
  },
  "msg": "",
  "time": 1697216725196,
  "requestId": "652978d5ea973bb98dc604b0e776d89d"
}

Here, as you see, there is no "previewUrl". It is null. Therefore, we post it again until the percentage is 100 and previewUrl is not null.