Skip to content
中文
ByteDance · Model API

Volcengine Lip Sync API

Volcengine Video-to-Video Lip Sync API with VezAPI. Explore model capabilities, credit pricing, request parameters, and integration examples.

Lip Sync

Volcengine Video-to-Video Lip Sync API documentation

Integrate Volcengine Video-to-Video Lip Sync with your VezAPI key. The operations below share the same authentication and account balance.

Base URL: https://api.vezapi.com
Send Authorization: Bearer YOUR_VEZAPI_KEY. Use a unique Idempotency-Key for each submission; reuse it only when checking the same request.

Volcengine video to video lip sync

POST/api/v1/jobs/createTask

Model IDs: volcengine/video-to-video-lip-sync

ParameterTypeDescription & constraints
model
required
string

The model name used for video lip sync. This field is required. - This endpoint must use the `volcengine/video-to-video-lip-sync` model

Values: "volcengine/video-to-video-lip-sync"

Default: "volcengine/video-to-video-lip-sync"

input
required
object

Input parameters for the video-to-video lip sync task.

input.mode
required
string

Service mode for lip-sync generation. - `lite`: For single-person frontal videos. Faster processing. - `basic`: For single-person complex scenes. Supports scene segmentation and speaker identification.

Values: "lite", "basic"

input.video_url
required
string

Video URL. Supported resolution: 360p–1080p. Videos above 1080p will be compressed to 1080p, while videos below 360p are not supported. Supported formats: MOV, MP4, HDR, MKV. Recommended codec: H.264. Other formats/codecs may be transcoded. Max file size: 500 MB. Bitrate: 1–30 Mbps. Frame rate: 24–60 fps.

input.audio_url
required
string

Target pure vocal audio URL; used to drive video lip movements. Audio duration: over 1 s and up to 240 s in lite mode; over 1 s and up to 210 s in basic mode. Accepted file types: audio/mpeg, audio/wav, audio/x-wav, audio/aac, audio/mp4, audio/ogg. Max file size: 10MB.

input.separate_vocal
optional
boolean

Enable vocal separation to suppress background noise. Default value: `false`.

Default: false

input.open_scenedet
optional
boolean

Whether to enable scene segmentation and speaker identification. Supported only in Basic mode. Default value: `false`.

Default: false

input.align_audio
optional
boolean

Supported in Lite mode. Whether to loop the video when the audio is longer than the video. Default value: `true`.

Default: true

input.align_audio_reverse
optional
boolean

Supported in Lite mode. Whether to loop the video in reverse (backward). Requires `align_audio` to be set to `true`. Default value: `false`.

Default: false

input.templ_start_seconds
optional
number

Supported in Lite mode. Start time of the template video, in seconds. Default value: `0`.

Default: 0

callBackUrl
optional
string

Callback URL. Once the task is fully completed, VezAPI will send the result to the business webhook URL. To verify callbacks, see [Webhook Verification Guide](/common-api/webhook-verification).

Request example
curl -X POST 'https://api.vezapi.com/api/v1/jobs/createTask' \
  -H 'Authorization: Bearer YOUR_VEZAPI_KEY' \
  -H 'Idempotency-Key: your-unique-request-id' \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "volcengine/video-to-video-lip-sync",
  "input": {
    "mode": "lite",
    "video_url": "https://example.com/input.png",
    "audio_url": "https://example.com/input.png"
  }
}'
Responses and errors

HTTP 200

Request successful

ParameterTypeDescription & constraints
code
optional
integer

Status code of the request. The HTTP status is 200 even when the request fails, so always check this field: 200 means success; any other value means the request failed and msg describes the reason. Common values: 401 invalid or missing API key; 402 insufficient credits; 429 rate limit exceeded; 422 or 500 the request could not be processed (read msg and check your parameters before retrying).

Values: 200, 401, 402, 404, 422, 429, 433, 455, 500, 501, 505

msg
optional
string

Response message, error description upon failure

data
required
object
data.taskId
required
string

The task ID can be used with the "Get Task Details" endpoint to query the task status.

Task status and callbacks

For asynchronous tasks, keep the returned taskId. Query GET /api/v1/jobs/recordInfo?taskId=... or provide callBackUrl when creating the task. Only the account that created a task can access it or derive new resources from it.

A timeout can mean the submission was accepted. Inspect the existing request in your dashboard; do not create another task automatically. Callback delivery is retried and may arrive more than once. Deduplicate with X-VezAPI-Event-Id.

Files, logs and billing

Generated media normally follows a 14-day provider lifetime; uploaded files expire after 24 hours. Save the files you need before expiration. VezAPI streams registered files without keeping a permanent media library. Request logs are retained for two calendar months.

Credits are reserved before submission. Final deductions match actual discounted consumption one for one. Unknown usage pauses new paid requests. If available funds cannot cover final usage while protecting other reservations, settlement stays pending until funded; model usage cannot make the wallet negative. Time-based inputs require server-side metadata reads; a failed read prevents submission.

Open full documentation →

Volcengine Video-to-Video Lip Sync API pricing

Rates below are reference estimates; final deductions equal actual discounted consumption, one for one. At the standard pack rate, 1,000 credits ≈ $10. Larger packs reduce the effective credit price.

SpecificationCreditsUnitUSD reference
volcengine, lip sync8per second$0.08