Lip sync

Lip-sync a video to new audio — estimate

Price the request without executing it. Same body as POST /v1/video/lipsync.

post/v1/video/lipsync/estimate

Request

  • Base URL: https://apihub.co.il
  • URL: https://apihub.co.il/v1/video/lipsync/estimate
  • Auth: HTTP bearer

Request body

mode'speed' | 'precision'

precision (the default) = frame-accurate, the best · speed = faster and cheaper, rougher

titlestring

Your name for this job (shown in your library)

audio_urlstring uri required

The new speech (mp3 / wav) — your recording, a voice-over from /v1/ai/voice or /v1/voices/speech

video_urlstring uri required

The original video (mp4 / webm)

consent_idstring

A consent you recorded before (the dashboard records one when you tick the box)

keep_formatboolean

Keep the source's resolution and bitrate

fit_to_audioboolean

Let the result's length follow the new audio

remove_musicboolean

Remove the background music from the result

enhance_speechboolean

Clean up the speech audio

duration_secondsnumber

The source's length if you know it (only for the estimate; the charge uses the real length)

Response

Estimate

operationstring
estimated_creditsnumber
credits_to_reservenumber
estimated_usageobject
notestring nullable
sufficientboolean

Changes

No recorded changes to this operation across all 2 revisions of this API.