kwaivgi/kling-video/lipsync
Kling Video Lipsync is KwaiVGI's text-to-video AI model. Turn written scripts and prompts into professional-quality video clips with realistic motion, lighting, and scene composition.
Example output — click Run to generate your own
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
https://api.sandbase.ai/v1/runkwaivgi/kling-video/lipsyncInput Schema
2 parameters · 0 required · 2 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
audio | string | Optional | The URL of the audio to generate the lip sync for. Minimum duration is 2s and maximum duration is 60s. Maximum file size is 5MB. |
video | string | Optional | The URL of the video to generate the lip sync for. Supports .mp4/.mov, ≤100MB, 2–10s, 720p/1080p only, width/height 720–1920px. |
Output Schema
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the generation task |
status | string | Task status: pending, running, completed, failed, timeout |
model | string | Model used for the generation |
outputs | array | Array of output items |
outputs[].url | string | URL of the generated artifact |
outputs[].content_type | string | MIME type (e.g. image/png, video/mp4) |
error | object | null | Error details if failed, null on success |
error.type | string | Machine-readable error type code |
error.message | string | Human-readable error description |
Async Workflow
This model uses asynchronous execution. Submit a request and poll for the result.
- Submit — POST to /v1/run, receive an
id - Poll — GET /v1/run/{id} until status is
completed,failed, ortimeout - Retrieve — Read
outputsfrom the completed response
Code Examples
Ready-to-run snippets
# Step 1: Submit
curl -X POST https://api.sandbase.ai/v1/run \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "kwaivgi/kling-video/lipsync",
"audio": "https://static.sandbase.ai/examples/kwaivgi/kling-video/lipsync/input_audio_0.mp3",
"video": "https://static.sandbase.ai/examples/kwaivgi/kling-video/lipsync/input_video_1.mp4",
"prompt": "a beautiful sunset over mountains"
}'
# Step 2: Poll result (replace <id>)
curl https://api.sandbase.ai/v1/run/<id> \
-H "Authorization: Bearer YOUR_API_KEY"API README
Kling LipSync Audio-to-Video
lipsync in the Kling Video lineup is built to retime visible mouth movement to match supplied speech. The kling video lipsync configuration combines that transformation with the quality and motion profile represented by this exact model version, so teams can choose it deliberately among adjacent family variants. It is useful when the input already establishes part of the creative intent and the model must supply a polished result rather than a generic media conversion, with subject identity, scene logic, visual hierarchy, and the delivery goal kept explicit.
For production work with kwaivgi/kling-video/lipsync, begin with the non-negotiable content, then describe the desired change, framing, action, atmosphere, and finishing cues in that order. Separate what must remain recognizable from what may vary, and prefer concrete nouns and observable actions over abstract praise. That structure makes outputs easier to compare across storyboard passes, campaign variants, catalog assets, and other repeatable creative pipelines.
Highlights
Speech-aligned mouth motion. Matches visible articulation to supplied audio while retaining the performance.
Timing-aware synchronization. Handles cadence and pauses rather than stretching a single mouth loop.
Face-preserving revision. Keeps recognizable identity, expression context, and the surrounding frame intact.
kling video lipsync localized dialogue production. Supports repaired lines and translated deliveries without recreating the scene. This is the defining creative strength of the kling video lipsync configuration.
Pricing
| Duration | Price per generated clip |
|---|---|
| Per generated second | $0.0140 |
Billing follows params.duration * 0.014: multiply generated seconds by the $0.0140 per-second rate.
When to Use
| ✅ Good fit | ❌ Consider alternatives |
|---|---|
| The model's named workflow matches the source material and intended output | A different input modality or model route is required |
| A managed asynchronous result is suitable for the production pipeline | A synchronous, interactive editor is essential |
| The documented controls cover the required duration, framing, or format | The project needs controls outside this endpoint's schema |
| Creative iteration benefits from a repeatable request structure | Exact deterministic pixels, frames, geometry, or samples are mandatory |
| A finished downloadable media asset is the desired deliverable | Editable source layers or a native project file are required |
Prompt Guide
For audio transformation, state the intended result first, then add the subject or source treatment, progression, style, and delivery constraints. Keep one creative variable per phrase, use the documented field names for controls, and change one setting at a time when comparing results.
{
"audio": "https://static.sandbase.ai/examples/kwaivgi/kling-video/lipsync/input_audio_0.mp3",
"video": "https://static.sandbase.ai/examples/kwaivgi/kling-video/lipsync/input_video_1.mp4"
}
Technical Specs
| Spec | Value |
|---|---|
| Model ID | kwaivgi/kling-video/lipsync |
| Inputs | audio, video |
| Required inputs | None |
| Output fields | content_type, url |
| Execution | Async (submit, then poll for result) |

