Vidu Q3 और Q3 Pro मॉडल पर 50% छूट · केवल WaveSpeedAI | 20 मई – 2 जून

ByteDance Latentsync

bytedance /

LatentSync combines Stable Diffusion and TREPA for high-res end-to-end lip-sync, delivering precise, realistic mouth motions in generated videos. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

digital-human
Input

Drag & drop करें या upload के लिए click करें

Drag & drop करें या upload के लिए click करें

Idle

$0.15per run·~66 / $10

ExamplesView all

Related Models

README

LatentSync

LatentSync is an advanced AI-powered lip synchronization model that matches video lip movements to any audio track. Upload a video and audio file, and the model automatically adjusts the speaker's lips to perfectly sync with the new audio — ideal for dubbing, translation, and content localization.

Why It Stands Out

  • Precise lip synchronization: AI analyzes audio and adjusts lip movements frame by frame for natural results.
  • Latent-based approach: Advanced latent space manipulation for high-quality, realistic output.
  • Audio replacement: Sync any audio track to existing video footage seamlessly.
  • High-quality output: Produces realistic lip movements that blend naturally with the original video.
  • Simple workflow: Just upload audio and video — no manual editing required.

Parameters

ParameterRequiredDescription
audioYesAudio file to sync (upload or public URL).
videoYesVideo file with the face to be synced (upload or public URL).

How to Use

  1. Upload your audio — drag and drop a file or paste a public URL.
  2. Upload your video — provide the video containing the face to be lip-synced.
  3. Click Run and wait for processing.
  4. Preview and download the lip-synced video.

Best Use Cases

  • Video Dubbing — Replace original audio with dubbed versions in different languages.
  • Content Localization — Adapt videos for international audiences with synced translations.
  • Film & TV Production — Fix audio sync issues or replace dialogue in post-production.
  • Marketing & Advertising — Create localized ad content without reshooting.
  • E-learning — Produce multilingual training videos from a single source.
  • Social Media — Create fun lip-sync content for entertainment.

Pricing

DurationPrice
5 seconds$0.15
30 seconds$0.90
60 seconds$1.80

Billing Rules

  • Billed per 5 seconds of audio at $0.15
  • Minimum charge: 5 seconds
  • Maximum billable duration: 600 seconds (10 minutes)

Pro Tips for Best Quality

  • Use clear, high-quality audio for best lip-sync accuracy.
  • Ensure the face in the video is clearly visible and well-lit.
  • Front-facing videos with minimal head movement produce the best results.
  • Keep audio and video durations matched for optimal synchronization.
  • For best results, use videos where the speaker's mouth is clearly visible throughout.

Notes

  • Ensure uploaded audio and video URLs are publicly accessible.
  • Maximum billable duration is 600 seconds (10 minutes) per job.
  • Processing time varies based on video length and current queue load.
  • Please ensure your content complies with usage guidelines.
Accessibility:This website uses AI models provided by third parties.

Latentsync API — Quick start

Grab a WaveSpeedAI API key, then call POST https://api.wavespeed.ai/api/v3/bytedance/latentsync with your input as JSON. The endpoint returns a prediction id; poll the prediction endpoint until status flips to completed, then read the output URL from data.outputs[0]. Examples for Latentsync below.

HTTP example
# Submit the prediction
curl -X POST "https://api.wavespeed.ai/api/v3/bytedance/latentsync" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $WAVESPEED_API_KEY" \
  -d '{
    "audio": "https://example.com/your-audio.mp3",
    "video": "https://example.com/your-input.mp4"
}'

# Response includes a prediction id. Poll for the result:
curl -X GET "https://api.wavespeed.ai/api/v3/predictions/{request_id}/result" \
  -H "Authorization: Bearer $WAVESPEED_API_KEY"

# When status is "completed", read the output from data.outputs[0].
Node.js example
// npm install wavespeed
const WaveSpeed = require('wavespeed');

const client = new WaveSpeed(); // reads WAVESPEED_API_KEY from env

const result = await client.run("bytedance/latentsync", {
        "audio": "https://example.com/your-audio.mp3",
        "video": "https://example.com/your-input.mp4"
});

console.log(result.outputs[0]); // → URL of the generated output
Python example
# pip install wavespeed
import wavespeed

output = wavespeed.run(
    "bytedance/latentsync",
    {
    "audio": "https://example.com/your-audio.mp3",
    "video": "https://example.com/your-input.mp4"
}
)

print(output["outputs"][0])  # → URL of the generated output

Latentsync API — Frequently asked questions

What is the Latentsync API?

Latentsync is a ByteDance model for talking-avatar generation, exposed as a REST API on WaveSpeedAI. LatentSync combines Stable Diffusion and TREPA for high-res end-to-end lip-sync, delivering precise, realistic mouth motions in generated videos. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.

How do I call the Latentsync API?

POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your WaveSpeedAI API key in the Authorization header. Submission returns a prediction ID; poll the prediction endpoint until status flips to "completed", then read the output URL from the result. The playground generates a ready-to-paste code sample in Python, JavaScript, or cURL for whatever inputs you've set. Full request/response shape is documented at https://wavespeed.ai/docs/docs-api/bytedance/bytedance-latentsync.

How much does Latentsync cost per run?

Latentsync starts at $0.15 per run. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.

What inputs does Latentsync accept?

Key inputs: `video`, `audio`. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at https://wavespeed.ai/docs/docs-api/bytedance/bytedance-latentsync.

How long does Latentsync take to generate?

Average end-to-end generation time on WaveSpeedAI is around 53 seconds per request — measured across recent runs. Queue time scales with global demand; live status is visible in the prediction record.

Can I use Latentsync outputs commercially?

Commercial usage rights depend on the model's license, set by its provider (ByteDance). The license summary appears on the model card above; see WaveSpeedAI's Terms of Service for platform-level conditions.