Lipsyncs v2
Generate Preivew of lipsync v2
This endpoint generates a preiview of lipsync video before redering the final video.
POST
/
api
/
lipsyncs_v2
/
preview
/
About preview Field in the Response
The preview field provides a link to preview the video. This link allows you to preview the video before rendering it, you can put it in an iframe to show the video in your application. Example: The preview field in the response will look like this:
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