Back to Blog

How to Add Subtitles to Videos Using FFMPEGAPI.net

June 2026 FFMPEG API Team

Adding subtitles to videos is crucial for accessibility and audience engagement. With FFMPEGAPI.net, developers can easily integrate subtitle burning into their applications without the hassle of managing FFmpeg infrastructure. This article will explore how to use the Add Subtitles API endpoint to burn ASS/SSA subtitles into your videos quickly.

Understanding the Add Subtitles API

FFMPEGAPI.net offers a streamlined REST API for video and audio processing. The Add Subtitles endpoint allows you to burn ASS subtitles into a video with minimal setup and hassle.

  • No server setup required
  • Supports burning ASS/SSA subtitles
  • Quick integration into your apps

Endpoint Details

To add subtitles to a video, you'll need to use the POST method at the following endpoint: /api/add_subtitles. This endpoint accepts JSON content and requires the video URL and subtitle URL as mandatory parameters.

  • Method: POST
  • Path: /api/add_subtitles
  • Content-Type: application/json

Required Parameters

When using the Add Subtitles API, you need to provide the following parameters:

1. `video_url`: The URL of the video you want to process.

2. `subtitle_url`: The URL of the ASS/SSA subtitle file.

3. `async`: Optional parameter to process in the background.

Example Usage

Here’s a practical example of how to use the Add Subtitles API with cURL and Python.

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())

Using FFMPEGAPI.net to add subtitles to your videos is a game changer for developers looking for a cloud-based FFmpeg alternative. With its easy-to-use API and lack of infrastructure management, you can focus on building your application while leaving video processing to the experts. Try the Add Subtitles endpoint today and enhance your video content effortlessly.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free