Lipsyncs v2
Render a lipsync v2 task
This endpoint renders a video with preview genereated. Use this to generate the final rendered video based on the preview.
POST
/
api
/
lipsyncs_v2
/
{id}
/
render
/
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
X-API-ID
string
headerrequiredAPI ID, from your settings page.
X-API-KEY
string
headerrequiredAPI Key, from your settings page.
Path Parameters
id
string
requiredA UUID string identifying this lipsync.
Response
200 - application/json
id
string
requiredoutput
string | null
requiredcreated_at
string
requiredupdated_at
string
requiredprogress
number
requiredfailed_reason
string | null
requiredstatus
enum<string>
requiredpending
- Pendingin_queue
- In Queuerunning
- Runningfailed
- Faileddone
- Donerejected
- Rejected
Available options:
pending
, in_queue
, running
, failed
, done
, rejected
preview
string | null
requiredPreview video
name
string | null
Maximum length:
255
media_job
string | null
webhook_url
string | null
Maximum length:
200