Face Animer

FREEMIUM
Popularidad

8.9 / 10

Latencia

795ms

Nivel de servicio

100%

Health Check

N/A

Volver a todos los tutoriales (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.