About Request Data Structure of Webhook
When the ‘create a lipsync task’ interface is requested, if the ‘webhook_url’ is passed in the parameters, the program will initiate a POST request to this network address when the task succeeds or fails, with the following content:id
(string): The unique identifier of the jobstatus
(string): The status of the job. Possible values arepending
,in_queue
,running
,failed
,done
failed_reason
(string): The reason of the failure if the job failedoutput
(string): The URL of the video if the job is done
Authorizations
API ID, from your settings page.
API Key, from your settings page.
Body
9x16
- 9X1616x9
- 16X91x1
- 1X1
9x16
, 16x9
, 1x1
Background music settings.
Call To Action setting to the end of video.
The name of the lipsync request.
255
Response
Output video
Generated Video Thumbnail URL
Credits used in this API call
Duration of the video in seconds
The reason for failure, if the lipsync request failed
Status of the lipsync request
Preview video
Editor URL for the video. Expires in 24 hours. Available only if your API account has API editor access enabled.
The aspect ratio of the video
16x9
- Ratio 16 91x1
- Ratio 1 19x16
- Ratio 9 16
16x9
, 1x1
, 9x16
The name of the lipsync request.
255
The media job associated with the lipsync request.
The webhook URL to be called upon completion of the lipsync request
200