Skip to main content

Overview

Auto Subtitle Generator transcribes speech and embeds captions in the video. Use a preset or custom formatting to style them.

How It Works

  1. Upload video - Provide a video with spoken content
  2. The API transcribes the speech.
  3. Subtitles generated - Formatted subtitles with accurate timing
  4. Download video - Retrieve video with embedded subtitles

Use Cases

  • Social media content - Add captions for better engagement and accessibility
  • Educational videos - Make content accessible to all learners
  • Marketing videos - Increase view time with subtitled content
  • International content - Transcribe videos in multiple languages
  • Add captions for accessibility. Review transcription and timing before publishing.

Best Practices

Video Quality

Use clear audio - Better audio quality produces more accurate transcriptions.
  • Minimize background noise - Clean audio improves accuracy
  • Clear speech - Well-enunciated words transcribe better
  • Single speaker preferred - Best results with one speaker at a time
  • Avoid music overlap - Heavy music can interfere with transcription

Language Support

The API has no language-selection parameter. Review generated captions for names, accents, and technical terms, and choose a font that supports your language.

Subtitle styling

Choose karaoke, cinematic, minimalist, or highlight with style.template. Use style.custom_config to override a template. If you omit the template, custom configuration must include font, text_color, vertical_position, and horizontal_position.

Code Examples

Basic Auto Subtitle

Output Format

Retrieve the captioned video from the completed video project’s downloads array. The API has no SRT/VTT export-format option.

Pricing

Cost depends on the selected video segment. The create response contains an estimate in credits_charged; check the completed job for the final total. See Billing for current pricing.
Try this in our Google Colab Cookbook: Run this API with sample code. Just add your API key.

API Reference

Auto Subtitle Generator API Reference

View full API specification

Lip Sync

Sync audio with video lip movements

Video-to-Video

Transform video styles and aesthetics