Back to Blog

How to Add Subtitles to Your Videos with FFMPEGAPI.net

June 2026 FFMPEG API Team

Adding subtitles to videos can greatly enhance accessibility and viewer engagement. With FFMPEGAPI.net's hosted REST API, developers can easily integrate subtitle functionality into their applications without the hassle of managing infrastructure. This article will guide you through the process of using the 'Add Subtitles' endpoint to burn ASS subtitles into your videos seamlessly.

What is FFMPEGAPI.net?

FFMPEGAPI.net is a powerful hosted REST API specifically designed for video and audio processing using FFmpeg technology. It allows developers to perform a variety of tasks without the need for local server setups or complex FFmpeg infrastructure management.

  • No server management required.
  • API-key authentication for secure access.
  • Ideal for automation, SaaS applications, and content pipelines.

Using the Add Subtitles Endpoint

One of the most sought-after features in video processing is the ability to add subtitles. The 'Add Subtitles' endpoint allows you to burn ASS subtitles directly into a video. This process not only makes the video more accessible but also enhances the overall viewing experience.

  • Endpoint: POST /api/add_subtitles
  • Functionality: Downloads a video and an ASS/SSA subtitle file, then burns the subtitles into the output video.
  • Content Type: application/json
  • Parameters: video_url, subtitle_url, async (optional)
import requests

url = 'https://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())

Parameters Explained

When making a request to the 'Add Subtitles' endpoint, you need to include the following parameters:

1. **video_url** (required): A string containing the URL of the video you want to process.

2. **subtitle_url** (required): A string containing the URL of the ASS/SSA subtitle file you wish to burn into the video.

3. **async** (optional): A boolean indicating whether to return a job ID immediately and process the task in the background.

With FFMPEGAPI.net, adding subtitles to your videos becomes a straightforward process. The 'Add Subtitles' endpoint allows developers to enhance their video content quickly and efficiently. By leveraging this hosted API, you can focus on building great applications without worrying about server management or video processing intricacies. Start using FFMPEGAPI.net today to elevate your video projects with subtitles!

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free