Back to Blog

Effortlessly Add Subtitles to Your Videos with FFMPEGAPI.net

June 2026 FFMPEG API Team

Adding subtitles to videos can enhance accessibility and reach a broader audience. With FFMPEGAPI.net's hosted REST API, developers can easily burn ASS subtitles into their videos using the Add Subtitles endpoint. Say goodbye to complex server setups and hello to seamless video processing in the cloud.

Why Use FFMPEGAPI.net for Adding Subtitles?

FFMPEGAPI.net is a powerful hosted API solution designed for developers who require efficient video and audio processing capabilities. With our Add Subtitles endpoint, you can effortlessly embed subtitles into your videos, making it an ideal choice for automation, SaaS applications, and content pipelines.

  • No server setup or infrastructure management required.
  • Secure API-key authentication ensures safe access.
  • Scalable solution perfect for various workflows.

How to Use the Add Subtitles API Endpoint

To add subtitles to your video using the FFMPEGAPI.net Add Subtitles endpoint, you'll need to make a POST request. The endpoint accepts the video URL and the subtitle file URL as parameters, allowing the API to download both files and burn the subtitles into the final video.

The API also supports asynchronous processing, enabling you to return a job ID immediately if you don’t want to wait for the processing to complete.

  • Endpoint Path: /api/add_subtitles
  • Method: POST
  • Content Type: application/json
import requests

url = 'https://www.ffmpegapi.net/api/add_subtitles'
data = {
    'video_url': 'https://example.com/video.mp4',
    'subtitle_url': 'https://example.com/subtitles.ass',
    'async': False
}

response = requests.post(url, json=data)
print(response.json())
curl -X POST https://www.ffmpegapi.net/api/add_subtitles \
-H 'Content-Type: application/json' \
-d '{"video_url":"https://example.com/video.mp4", "subtitle_url":"https://example.com/subtitles.ass"}'

Understanding Parameters for the Add Subtitles Request

The Add Subtitles API requires two primary parameters: video_url and subtitle_url. Both must be valid URLs pointing to the video and ASS/SSA subtitle file respectively.

You can optionally include an 'async' parameter to process the request in the background.

  • video_url (string, required): The URL of the video file.
  • subtitle_url (string, required): The URL of the ASS/SSA subtitle file.
  • async (boolean, optional): Determines if the process should run in the background.

FFMPEGAPI.net provides a reliable and straightforward solution for developers looking to enhance their video content with subtitles. With our hosted API, you can skip the complexities of managing FFmpeg infrastructures while efficiently processing videos in the cloud. Start utilizing the Add Subtitles endpoint today to streamline your video workflows and improve accessibility.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free