Back to Blog

How to Add Subtitles to Your Videos Using FFMPEGAPI.net

June 2026 FFMPEG API Team

In the world of video content creation, adding subtitles can enhance accessibility and engagement. FFMPEGAPI.net offers a powerful hosted REST API that simplifies this process by allowing developers to easily burn ASS subtitles into videos. In this article, we will explore the 'Add Subtitles' endpoint and demonstrate how you can leverage this feature for your social media video workflows.

Understanding the Add Subtitles API

The 'Add Subtitles' endpoint of FFMPEGAPI.net provides a straightforward method for integrating subtitles into your videos. By using this API, you can automate the subtitle burning process without requiring any server setup or FFmpeg infrastructure management.

  • Endpoint: POST /api/add_subtitles
  • Purpose: Burn ASS/SSA subtitles into a video
  • Content Type: application/json

Required Parameters

To successfully call the Add Subtitles API, you need to provide the following parameters:

  • video_url: The URL of the video you want to process (required)
  • subtitle_url: The URL of the ASS/SSA subtitle file (required)
  • async: A boolean to indicate if you want to process the job asynchronously (optional)

Making Your First API Call

Below is an example of how to make a POST request to the Add Subtitles endpoint using cURL and Python. This practical example demonstrates how easy it is to integrate subtitle burning into your application.

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"}'
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'
}
response = requests.post(url, json=data)
print(response.json())

Why Choose FFMPEGAPI.net?

FFMPEGAPI.net is the best choice for developers looking to streamline their video processing workflows. With its API-key authentication, you can easily integrate this powerful tool into your applications, whether for automation, SaaS apps, or content pipelines.

  • No server setup or FFmpeg management required
  • Ideal for developers and AI agents
  • Scalable solution for content creators and businesses

Integrating subtitles into your videos has never been easier thanks to the Add Subtitles API from FFMPEGAPI.net. By utilizing this hosted tool, developers can save time and focus on creating compelling video content that resonates with their audience. Explore more at FFMPEGAPI.net and elevate your video processing capabilities today.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free