Lip Sync
Create a Lip Sync video. The estimated frame cost is calculated using 30 FPS. This amount is deducted from your account balance when a video is queued. Once the video is complete, the cost will be updated based on the actual number of frames rendered.
Get more information about this mode at our product page.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The start time of the input video in seconds
x >= 0
0
The end time of the input video in seconds
x >= 0.1
15
Provide the assets for lip-sync. For video, The video_source
field determines whether video_file_path
or youtube_url
field is used
The name of video
"Lip Sync video"
Used to determine the dimensions of the output video.
- If height is provided, width will also be required. The larger value between width and height will be used to determine the maximum output resolution while maintaining the original aspect ratio.
- If both height and width are omitted, the video will be resized according to your subscription's maximum resolution, while preserving aspect ratio.
Note: if the video's original resolution is less than the maximum, the video will not be resized.
See our pricing page for more details.
x >= 64
960
Used to determine the dimensions of the output video.
- If width is provided, height will also be required. The larger value between width and height will be used to determine the maximum output resolution while maintaining the original aspect ratio.
- If both height and width are omitted, the video will be resized according to your subscription's maximum resolution, while preserving aspect ratio.
Note: if the video's original resolution is less than the maximum, the video will not be resized.
See our pricing page for more details.
x >= 64
512
Defines the maximum FPS (frames per second) for the output video. If the input video's FPS is lower than this limit, the output video will retain the input FPS. This is useful for reducing unnecessary frame usage in scenarios where high FPS is not required.
x >= 1
12
Response
Success
Unique ID of the video. This value can be used in the get video project API to fetch additional details such as status
"clx7uu86w0a5qp55yxz315r6r"
Estimated cost of the video in terms of number of frames needed to render the video. Frames will be adjusted when the video completes
450
Was this page helpful?