Skip to main content
POST
Lip Sync Video

Headers

Authorization
string

Body

application/json
model
enum<string>
required

Model name. Must be lipsync-video.

Available options:
lipsync-video
video_url
string<uri>
required

Video containing the person to re-animate (up to 300MB, short side at most 1080 pixels). Required. Its measured resolution sets the price tier and the maximum output length.

audio_url
string<uri>
required

Speech audio to lip-sync to (up to 100MB). Required. Together with the video it determines the output length, which is what you are billed for.

video_mode
enum<string>
default:normal

What to do when the video and the audio are not the same length. normal trims to whichever is shorter. loop keeps all of your audio and repeats the video (forward, then reversed, ping-pong style) to fill it.

Available options:
normal,
loop
custom_callback_url
string<uri>

Optional. A publicly accessible HTTPS URL. When the task status changes (processing / success / failed), GoEnhance sends a POST request to this URL. The request body is identical to the response of GET /api/v1/jobs/detail. If your server does not respond with HTTP 200, the notification is retried up to 3 times, with a 3-second timeout per attempt.

Example:

"https://your-server.com/goenhance/callback"

Response

code
integer
required
msg
string
required
data
object
required