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 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 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 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

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
Creator Annual
$120
/year
120,000 credits per year
Up to 1.4 hours of video
Up to 12,000 images
PRO ANNUAL covers your usage
Estimated usage
2,400credits / month
Included
25,000credits / month
Remaining headroom
22,600credits / month
TOTAL BILL
$300
/year

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.

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.

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

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