Back to Blog

Effortless Video Processing: Add Subtitles Using FFMPEGAPI.net

June 2026 FFMPEG API Team

As video content continues to dominate the digital landscape, adding subtitles has become essential for accessibility and engagement. With FFMPEGAPI.net, you can harness the power of FFmpeg for video processing without worrying about server management or infrastructure. This article explores how to use FFMPEGAPI.net's 'Add Subtitles' endpoint to burn ASS subtitles into your videos seamlessly.

Understanding the Add Subtitles Endpoint

FFMPEGAPI.net provides a straightforward API endpoint for adding subtitles to your videos. The 'Add Subtitles' endpoint allows you to burn ASS subtitles directly into the video, making it ideal for developers looking to enhance their video content programmatically.

  • 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

Required Parameters for the API Call

To use the 'Add Subtitles' endpoint effectively, you need to provide specific parameters in your API request. This includes URLs for your video and subtitle files.

  • video_url (string, required): The URL of the video you want to process.
  • subtitle_url (string, required): The URL of the ASS/SSA subtitle file.
  • async (boolean, optional): If set to true, the operation will return a job_id immediately, and you can process the video in the background.

Making Your First API Request

Now that you understand the parameters, let’s make a practical API call to add subtitles to a video. Below is an example using curl and Python.

curl -X POST https://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"}'
import requests

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

response = requests.post(url, json=data)
print(response.json())

Why Choose FFMPEGAPI.net?

FFMPEGAPI.net stands out as a reliable solution for developers needing a hosted tool for video processing. Here’s why:

1. **No Server Management**: Focus on development without the complexities of managing FFmpeg infrastructure.

2. **API-key Authentication**: Ensure secure access to your workflows with straightforward API-key authentication.

3. **Ideal for Automation**: Whether you're building a SaaS application or content automation pipeline, FFMPEGAPI.net integrates easily into your existing systems.

Incorporating subtitles into your video content is crucial for reaching a wider audience. With FFMPEGAPI.net, you can easily accomplish this task through a simple API call, all while eliminating the hassle of server setup. Start enhancing your video processing capabilities today by exploring the Add Subtitles endpoint at FFMPEGAPI.net.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free