POST
/
cache
/
generate
/
lip-sync
curl --request POST \
  --url https://api.charp.ai/cache/generate/lip-sync \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "base_video_url": "<string>",
  "video_face_mask_url": "<string>",
  "model": "<string>",
  "audio_url": "<string>",
  "filter_complex": "<string>"
}'
{
  "task_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token authentication using OAuth2 access token

Body

application/json
Lip sync generation parameters
base_video_url
string
required

URL of the base video

model
string
required

Lip sync model to use

audio_url
string
required

URL of the audio (TTS or voice clone)

video_face_mask_url
string

URL of the video face mask

filter_complex
string

Filter complex settings

Response

200
application/json
Lip sync generation task created successfully
task_id
string
required

Unique identifier of the generation task