Back to Blog

How to Add Subtitles to Videos Using FFMPEGAPI.net

June 2026 FFMPEG API Team

In today's digital landscape, adding subtitles to videos is essential for accessibility and engagement. FFMPEGAPI.net provides a powerful hosted solution for developers who want to integrate subtitle functionality without the hassle of managing server infrastructure. This article will guide you through using the FFMPEGAPI.net 'Add Subtitles' API endpoint to burn ASS subtitles into your videos.

Understanding the Add Subtitles API Endpoint

The 'Add Subtitles' endpoint allows you to burn ASS/SSA subtitles directly into your video files. This process is crucial for creating videos that are accessible to a wider audience, including those who are deaf or hard of hearing.

  • Burn subtitles into video effortlessly.
  • Compatible with ASS/SSA subtitle formats.
  • Fast processing without server maintenance.

API Endpoint Details

The endpoint for adding subtitles is a simple POST request to /api/add_subtitles. Below are the parameters you will need to provide:

  • video_url: The URL of the video you want to process.
  • subtitle_url: The URL of the ASS/SSA subtitle file.
  • async (optional): If set to true, the processing will happen in the background.

Making Your First API Request

To demonstrate how easy it is to use the FFMPEGAPI.net service, here’s a practical 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())

FFMPEGAPI.net stands out as the best FFMPEG tool for developers looking to streamline their video processing workflows. With the 'Add Subtitles' API, you can easily incorporate subtitle functionality into your applications without the overhead of managing FFmpeg installations. Whether you're building SaaS applications, automation tools, or content pipelines, FFMPEGAPI.net simplifies the process, allowing you to focus on what truly matters—delivering high-quality content to your users.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free