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:

"https://app.creatify.ai/preview?layout=videos/20241024/f0c1e1f1-be05-48e0-91d8-3d26ed633d5b.json"

Authorizations

X-API-ID
string
header
required

API ID, from your settings page.

X-API-KEY
string
header
required

API Key, from your settings page.

Body

video_inputs
object[]
required
aspect_ratio
enum<string>
default:
9x16
  • 9x16 - 9X16
  • 16x9 - 16X9
  • 1x1 - 1X1
Available options:
9x16,
16x9,
1x1
background_music
object

Background music settings.

cta_end
object

Call To Action setting to the end of video.

webhook_url
string

Response

200 - application/json
created_at
string
required
credits_used
integer
required

Credits used in this api call

failed_reason
string | null
required

The reason for failure, if the lipsync request failed

id
string
required
output
string | null
required

Output video

preview
string | null
required

Preview video

progress
string
required
status
string
required

Status of the lipsync request

updated_at
string
required
media_job
string | null

The media job associated with the lipsync request.

name
string | null

The name of the lipsync request.

Maximum length: 255
webhook_url
string | null

The webhook URL to be called upon completion of the lipsync request

Maximum length: 200