GET
/
lipsync
/
cost

introduction

before committing to a full synchronization process, use the /lipsync/cost endpoint to get an estimate of the cost involved. this preliminary step helps manage expectations and plan your projects more efficiently.

quick start

authentication

before you can start using our api, you need to authenticate your requests. this is done using an x-api-key that links your requests to your account. if you don’t have an api key yet, check out the instructions here to obtain one.

estimate your lipsync cost

armed with your x-api-key, estimating the cost for lip-syncing videos is straightforward. to estimate the cost via the playground above follow the instructions below:

utilize the /lipsync/cost endpoint to efficiently plan your lip-sync projects. knowing the potential cost upfront aids in better credit management and ensures a smoother project workflow.

Authorizations

x-api-key
string
headerrequired

Query Parameters

audioUrl
string
required

A url to the audio file to be synchronized -- must be publicly accessible

videoUrl
string
required

A url to the video file to be synchronized -- must be publicly accessible

Response

200 - application/json
credits
number
required

The cost of the lipsync job.

videoLength
number
required

The length of the synchronized video in seconds.