Lipsyncs
Create a multi_avatar lipsync task
API that converts a list of texts, voices and avatars to vivid videos of many people speaking. Deprecated, please use Create a lipsync v2 task
POST
/
api
/
lipsyncs
/
multi_avatar
/
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.
Body
video_inputs
object[]
requiredaspect_ratio
enum<string>
default: 9x169x16
- 9X1616x9
- 16X91x1
- 1X1
Available options:
9x16
, 16x9
, 1x1
background_music
object
Background music settings.
webhook_url
string
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