Render a lipsync v2 task
This endpoint renders a video with preview genereated. Rendering a video through this endpoint costs 4 credits for every 30 seconds.
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:
Arguments:
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.
Path Parameters
A UUID string identifying this lipsync.
Response
Credits used in this api call
The reason for failure, if the lipsync request failed
Output video
Preview video
Status of the lipsync request
The media job associated with the lipsync request.
The name of the lipsync request.
255
The webhook URL to be called upon completion of the lipsync request
200