AI Video Translator API for Developers
AI Video Translator API
Translate the speech in any video into another language, in the speaker's own voice, with lips synced to the new audio.
Free credits on signup
Transparent per-credit pricing
No watermarks with paid plans or credit packs
Subscriptions, credit packs, or usage-based billing
Auto-scaling
Speech — Chinese
Story — Spanish
Mirror — Japanese
Pizza — French
Trusted by teams at
Everything You Need to Ship AI Video Translator
Speech translation and dubbing across 53 languages, with resolution controls and trim windows.
Voice Preservation
The translated track keeps the original speaker's tone, pitch, and pacing instead of a generic TTS voice.
Lip Sync Included
Mouth movements are re-synced to the translated speech automatically.
480p, 720p & 1080p Output
resolution defaults to 480p. 720p and 1080p need a paid plan and cost more credits per second.
Trim Controls
Pick a 1–30s clip with start_seconds and end_seconds.
Integrate in 3 Steps
Ship video translation in three steps.
1
Get Your API Key
Sign up free and generate an API key from the Developer dashboard. You get free credits to start.
2
Upload Video & Pick a Language
Upload the source video, then POST to /v1/ai-video-translator with target_language and an optional resolution.
3
Get Results & Scale
Poll GET /v1/video-projects/{id} or use a webhook for the dubbed video. Infrastructure scales automatically.
Code Examples
AI Video Translator in a few lines of code. Install an SDK or use the REST API directly.
from magic_hour import Client
client = Client(token="YOUR_API_TOKEN")
res = client.v1.ai_video_translator.generate(
assets={"video_file_path": "/path/to/video.mp4"},
end_seconds=15.0,
target_language="Spanish",
start_seconds=0.0,
)Estimate Your API Costs
Every generation uses credits. Prepay with a subscription or one-time credit packs, or request usage-based billing for monthly invoicing and volume discounts.
Pricing tier options
Seconds of Video Per Month
100 seconds
seconds
Recommended plan
Pro Yearly
$300
/year
300,000 credits per year
Up to 3.5 hours of video
Up to 60,000 images
PRO YEARLY covers your usage
- 24,000credits / month
- 25,000credits / month
- 1,000credits / month
Estimated usage
Included
Remaining headroom
TOTAL BILL
$300
/year
SDKs for Every Stack
Official open-source SDKs with full TypeScript/type support. Install and start building.
AI Video Translator API Pricing
Subscription plans for standard usage.
Need usage-based billing?
Email us or message us in Intercom for monthly billing with graduated volume discounts.
Built for Builders
See how developers use the AI Video Translator API to power real products.
Courses & Training
Localize lessons and onboarding videos without re-recording.
Marketing
Ship ads and product demos in every market's language.
Creator Apps
Let users dub their clips for global audiences in one call.
Try before integrating
Try AI Video Translator 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.
AI Video Translator API Frequently Asked Questions
53. target_language takes the exact language name, e.g. "Spanish" or "Chinese (Simplified)". The API reference lists every value.
Yes. The translated track preserves the original speaker's voice, and lip movements are re-synced to the new speech.
1–30 seconds, set with start_seconds and end_seconds.
Per second of clip: 48 credits/s at 480p, 1.5× at 720p, 2× at 1080p. 720p and 1080p require a paid plan.
docs.magichour.ai/api-reference/video-projects/ai-video-translator