Face Animer

免费增值
通过 Firdavs Shodiyev | 已更新 il y a 2 mois | Artificial Intelligence/Machine Learning
人气

9 / 10

延迟

800ms

服务等级

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.