Typical use cases:
Notes:
ref_image_url when multiple faces are present in the video##All endpoints require Bearer Token authentication##
Get your API Key:
Visit the API Key management page to obtain your API Key
Add the following header to every request:
Authorization: Bearer YOUR_API_KEYModel name
videoretalk "videoretalk"
Input video URL containing the person whose lip movements will be replaced
Requirements:
2 ~ 300 seconds"https://example.com/speaker.mp4"
Target audio URL — the person in the video will lip-sync to this audio
Requirements:
"https://example.com/target-speech.wav"
Reference face image URL
When the video contains multiple faces, use this image to specify the target face whose lip movements should be replaced
Requirements:
"https://example.com/target-person-face.jpg"
Whether to automatically extend the video to match the audio length when the audio is longer than the video
true: output duration = audio duration (video extended automatically)false: output duration = min(video duration, audio duration)false
Face matching confidence threshold
120 ~ 200140)190)120 <= x <= 200170
HTTPS callback URL invoked when the task completes
Trigger conditions:
Security restrictions:
2048 charactersCallback behavior:
10 seconds3 retries after failure (at 1s / 2s / 4s intervals)"https://your-domain.com/webhooks/video-task-completed"
Lip-sync video generation task created successfully
Task creation timestamp
1775200000
Task ID
"task-unified-1775200000-xyz12345"
Actual model name used
"videoretalk"
Specific task type
video.generation.task Task progress percentage (0-100)
0 <= x <= 1000
Task status
| Status | progress | Description |
|---|---|---|
pending | 0~10 | Waiting to be processed |
processing | 10~80 | Processing |
completed | 100 | Completed |
failed | 0 | Failed |
pending, processing, completed, failed "pending"
Video task details
Task output type
video "video"
Usage and billing information