Auto Subtitle API for Developers

Auto Subtitle Generator API

Burn-in or export timed captions from speech automatically—great for accessibility, localization, and short-form platforms.

Free to start
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 Auto Subtitle Generator

Template-driven looks plus custom typography controls so subtitles match your brand in every player.

Transcription to Captions
Send video file paths and receive subtitle tracks aligned to spoken content for your editor or player.
Templates & Custom Styles
Start from curated templates or override fonts, colors, and placement with structured style objects.
Readable Defaults
Preset stacks tuned for social safe zones, highlight readability, and mobile playback.
Fast Processing
Batch short clips or long-form lessons—async jobs keep your dashboard responsive.
Auto-Scaling Infrastructure
Absorb traffic spikes when creators upload simultaneously after events or launches.
Commercial-Ready
Ship captioning as a paid feature in SaaS editors and MCN tooling.

Integrate in 3 Steps

Automate captions without building ASR and render stacks.

1
Get Your API Key
Sign up free and generate an API key from the Developer dashboard. You get free credits to start.
2
Submit Video & Style
Provide video_file_path plus a subtitle template or custom_config block meeting API validation rules.
3
Get Results & Scale
Receive the swapped output via response or webhook. Deploy to production — infrastructure scales automatically.
Get Started Free

Code Examples

Auto Subtitle Generator 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.auto_subtitle_generator.generate(
    name="My Subtitled Video",
    start_seconds=0,
    end_seconds=60,
    assets={"video_file_path": "/path/to/video.mp4"},
    style={"template": "cinematic"},
)
API Docs

Auto Subtitle Generator 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 Auto Subtitle Generator API to power real products.

Social Video Editors
Offer one-click captions for vertical video before export to TikTok, Reels, and Shorts.
Marketing Ops
Localize webinars and promos with timed text layers at scale.
Streaming & VOD
Generate accessibility tracks for back catalogs and new releases.
E-Commerce Video
Caption product demos automatically for silent autoplay feeds.
Gaming Highlights
Add subtitles to clipped gameplay for shareable moments.
Education Platforms
Meet accessibility requirements for lecture capture without manual transcription teams.
Try before integrating

Try Auto Subtitle Generator 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.

Auto Subtitle API — Frequently Asked Questions

At least one is required. Templates bundle fonts and placement; custom_config lets you override every visual property.

Transcription coverage follows Magic Hour’s speech models—verify the latest list in documentation.

Yes. Provide template names or pass custom_config with font, color, and alignment fields.

Generate upload URLs, store the file, then reference video_file_path in the request.

Behavior depends on project settings—consult the API reference for downloadable assets vs rendered video.

Use start_seconds and end_seconds to bound work; plan limits cap maximum duration per job.

Python and Node SDKs include typed objects for style blocks to reduce validation errors.

docs.magichour.ai documents enums, templates, and error cases for auto-subtitle-generator.

Start Building with the Magic Hour Auto Subtitle API

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