Add Subtitles to Videos avatar

Add Subtitles to Videos

Pricing

from $500.00 / 1,000 results

Go to Apify Store
Add Subtitles to Videos

Add Subtitles to Videos

Burn karaoke-style word-highlighted subtitles into videos. Upload a clip or paste a URL, choose font, size, and highlight color, and download a captioned MP4.

Pricing

from $500.00 / 1,000 results

Rating

0.0

(0)

Developer

Marco Rodrigues

Marco Rodrigues

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

24 days ago

Last modified

Features

Limited permissions

Share

🎬 Add Subtitles to Videos

Turn a talking video into a captioned MP4 with word highlighting.

Upload files or paste direct video URLs, pick a font and colors, and download the subtitled clip plus an SRT and a word-level transcript. Each video can be at most 10 minutes.

💡 Perfect for

  • 📱 Short-form clips, talking-head videos, and avatar footage
  • 🎓 Courses and explainers that need to work with the sound off
  • 🔗 Automations via Make, Zapier, n8n, or the Apify API

✨ What you get

For every input video the Actor:

  1. Transcribes speech with Mistral Voxtral (word-level timestamps).
  2. Groups words into short on-screen chunks.
  3. Burns captions into the video, highlighting the word being spoken.
  4. Saves a captioned MP4, an SRT, a JSON transcript, and a dataset row with download links.

The output keeps the source resolution, frame rate, and the highest available encoding quality. Captions are drawn on top; the picture is not downscaled.

🔤 Font family

Choose one of these 10 typefaces with fontFamily:

ValueFont
montserratMontserrat
poppinsPoppins
oswaldOswald
interInter
robotoRoboto
rubikRubik
nunitoNunito
antonAnton
bebas_neueBebas Neue
archivo_blackArchivo Black

🎨 Colors

textColor, highlightColor, and outlineColor accept:

  • Hex: #FFF or #FFFFFF
  • Names: white, black, red, orange, yellow, green, blue, purple, pink, cyan, magenta, gray, navy, teal, gold, brown, and similar CSS color names

highlightColor is the background overlay on the word currently being spoken.

🚀 How to use

  1. Add videos to videos — upload files or paste direct URLs.
  2. Set font family, size, and colors.
  3. Start the Actor.
  4. Download subtitled-video-1.mp4 from the key-value store, or use the dataset links.

Up to 10 videos per run. Each clip must be 10 minutes or shorter.

📥 Input example

{
"videos": [
"https://www.w3schools.com/html/mov_bbb.mp4"
],
"fontFamily": "montserrat",
"fontSize": 40,
"textColor": "white",
"highlightColor": "#FFCC00",
"outlineColor": "black",
"uppercase": true,
"position": "bottom",
"maxWordsPerCaption": 4,
"language": "en"
}

📤 Output example

{
"source_video": "https://www.w3schools.com/html/mov_bbb.mp4",
"subtitled_video_url": "https://api.apify.com/v2/key-value-stores/.../records/subtitled-video-1.mp4",
"srt_url": "https://api.apify.com/v2/key-value-stores/.../records/subtitles-1.srt",
"transcript_url": "https://api.apify.com/v2/key-value-stores/.../records/transcript-1.json",
"transcript_text": "Hello world this is a demo",
"language": "en",
"duration_seconds": 12.4,
"word_count": 6,
"font_family": "Montserrat",
"font_size": 40,
"highlight_color": "#FFCC00"
}

The first captioned file is also stored as subtitled-video-1.mp4 in the default key-value store.

⚙️ Parameters

ParameterTypeRequiredDescription
videosfiles or URLsYesVideos to caption. Upload files or paste direct links. Max 10 per run, 10 minutes each.
fontFamilystringNoCaption typeface. One of the 10 fonts listed above.
fontSizeintegerNoCaption size in pixels (16–120). Default 40.
textColorhex or nameNoColor of idle words. Default white.
highlightColorhex or nameNoOverlay color for the spoken word. Default #003399.
outlineColorhex or nameNoCaption stroke color. Default black.
uppercasebooleanNoForce uppercase captions. Default true.
positionstringNobottom, center, or top.
maxWordsPerCaptionintegerNoWords shown together on screen. Default 5.
languagestringNoSpoken language for transcription. Default en.
mistralApiKeysecretNoOptional Mistral key override.

🔧 Custom scrapers and agents

If you need a custom web scraper, or custom AI agents and workflows, contact me through tuik.ai. We help businesses cut costs and time by up to 10x.