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 credits on signup
Transparent per-credit pricing
No watermarks on paid plans
Subscription or usage-based
Auto-scaling

Trusted by teams at

meta
nba
loreal
puma
cisco
deel
shopify
decathlon
dallas-mavericks
pittsburgh-pirates
tala
dyson
dazn
wsc-sports

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 output via response or webhook. Deploy to production — infrastructure scales automatically.
Get Started Free

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"},
)
API Docs

Estimate Your API Costs

Build with model-specific APIs for video, image generation, and image editing. Compare inputs, examples, and capabilities across Magic Hour's supported models.
Seconds of Video Per Month
100 seconds
seconds
Recommended plan
Pro Annual
$300
/year
300,000 credits per year
Up to 3.5 hours of video
Up to 30,000 images
PRO ANNUAL covers your usage
Estimated usage
12,000credits / month
Included
25,000credits / month
Remaining headroom
13,000credits / month
TOTAL BILL
$300
/year

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.

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.

Magic Hour offers subscription plans starting at $15/month (Creator), $39/month (Pro), and $99/month (Business), each including a monthly credit allotment. Credits are consumed per generation based on output length and model. You can also contact us to set up usage-based (pay-as-you-go) pricing. A free tier with credits is available on signup — no credit card required.

Sign up at magichour.ai/developer — no credit card required. You'll receive free credits and an API key immediately. The key works across all Magic Hour API endpoints including Lip Sync. Start making API calls in minutes using our Python, Node.js, Go, or Rust SDKs.

Yes. Every new Magic Hour account gets free credits on signup that work across all API endpoints. No credit card is required to get started. Paid plans unlock higher credit limits, higher concurrency, and commercial use rights.

Start Building with the Magic Hour Lip Sync API

Free credits on signup. SDKs for Python, Node.js, Go, and Rust. Production-ready in minutes.