Lip Sync API for Developers
Lip Sync API
Replace or add dialogue audio while syncing mouth movement—perfect for localization, dubbing workflows, and creator tools.
Free to start
No watermarks on paid plans
Subscription or usage-based
Auto-scaling
Trusted by teams at














Everything You Need to Ship Lip Sync
Production lip sync with tiered generation modes so you can trade off speed, cost, and fidelity per job.
Video + Audio Pipeline
Pair a talking-head or dialogue clip with a replacement audio track and let the model retime visemes.
Quality Modes
Choose lite, standard, or pro modes to match budget and quality for each customer segment.
Resolution Controls
Specify height and width to align with your player, CDN presets, and downstream editors.
Fast Processing
Optimized inference paths for short-form content and rapid iteration in creative apps.
Auto-Scaling Infrastructure
Handle concurrent dubbing jobs during product launches without capacity planning fire drills.
Commercial-Ready
Ship dubbing features to paying creators and studios with licensing suited to SaaS use.
Integrate in 3 Steps
Wire up dubbing-style features in an afternoon.
1
Get Your API Key
Sign up free and generate an API key from the Developer dashboard. You get free credits to start.
2
Attach Audio to Video
Upload video and audio assets, then call lip-sync with generation_mode and timing fields.
3
Get Results & Scale
Receive the swapped output via response or webhook. Deploy to production — infrastructure scales automatically.
Code Examples
Lip Sync in a few lines of code. Install an SDK or use the REST API directly.
from magic_hour import Client
from os import getenv
client = Client(token=getenv("MAGIC_HOUR_API_KEY"))
res = client.v1.lip_sync.generate(
name="My Lip Sync",
start_seconds=0,
end_seconds=15,
assets={
"audio_file_path": "/path/to/audio.mp3",
"video_source": "file",
"video_file_path": "/path/to/video.mp4",
},
style={"generation_mode": "lite"},
)SDKs for Every Stack
Official open-source SDKs with full TypeScript/type support. Install and start building.
Lip Sync API Pricing
Subscription plans for standard usage.
Prefer usage-based pricing?
Email us or message us in Intercom and we will set up your usage-based pricing.
API Calculator
Use our calculator to estimate your API costs.
Tier
Estimated monthly cost
$1.73
Based on 24 FPS
Built for Builders
See how developers use the Lip Sync API to power real products.
Localization & Dubbing
Let studios swap dialogue tracks while preserving on-screen performance for global releases.
Creator Platforms
Give users AI-assisted ADR, meme dubbing, and voice swap experiences inside your editor.
Ads & Personalization
Record one hero take, then generate market-specific audio with matching lip motion.
Virtual Sales Assistants
Refresh spokesperson lines when promos change without a full reshoot.
Games & VTubing
Experiment with character voices while keeping facial performance coherent.
Training & Compliance
Update spoken lines in training footage when policies or scripts change.
Try before integrating
Try Lip Sync Free — No Code Required
Test quality first with the free tool, then plug the same output quality into your app with the API when you are ready.
Lip Sync API — Frequently Asked Questions
A new video where mouth movement aligns with the supplied audio, within the processed segment you define.
Modes trade off fidelity and cost—lite for speed, pro for demanding close-ups. See docs for tier availability.
Yes. Use start_seconds and end_seconds to limit the processed range.
Use Magic Hour upload URLs, then pass file_path fields for video and audio assets.
Quality depends on face visibility, resolution, and audio clarity—test with representative content.
Python and Node clients wrap the REST endpoints with typed helpers.
Video duration, resolution, and generation mode influence frame-based usage—check billing docs.
Complete request bodies and enums are listed under docs.magichour.ai/tools/video/lip-sync.