Back to Blog

Easily Add Subtitles to Your Videos with FFMPEGAPI.net

June 2026 FFMPEG API Team

In the realm of video processing, adding subtitles is a crucial feature for many applications. Whether you are working on a SaaS product, an automation tool, or content pipelines, FFMPEGAPI.net's hosted REST API makes it incredibly easy to burn ASS subtitles into your videos. Let's explore how to use this powerful tool effectively.

What is FFMPEGAPI.net?

FFMPEGAPI.net provides a hosted REST API that allows developers to leverage FFmpeg’s powerful video and audio processing capabilities without the need for server setup or infrastructure management.

With API-key authentication, developers can efficiently integrate video processing functionalities into their applications, saving time and effort.

  • No server setup or management required.
  • API-key authentication for secure access.
  • Ideal for automation, SaaS apps, and more.

How to Add Subtitles Using FFMPEGAPI.net

The 'Add Subtitles' endpoint allows you to burn ASS subtitles directly into your videos. This feature is especially useful for creating localized versions of your content or enhancing accessibility.

To use this endpoint, simply send a POST request with the video URL and the subtitle file URL. The API can also handle the process asynchronously if needed.

  • Endpoint: /api/add_subtitles
  • Method: POST
  • Content-Type: application/json
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", "async": true}'
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': True}
response = requests.post(url, json=data)
print(response.json())

Parameters for the Add Subtitles API

The following parameters are required to successfully call the 'Add Subtitles' endpoint:

Make sure to provide valid URLs for both the video and the subtitle files.

  • video_url (string, required): The URL of the video file.
  • subtitle_url (string, required): The URL of the ASS/SSA subtitle file.
  • async (boolean, optional): If set, the process runs in the background, returning a job ID immediately.

FFMPEGAPI.net simplifies the process of adding subtitles to videos, making it an invaluable tool for developers across various industries. With its easy-to-use REST API, you can integrate subtitle functionality into your applications without the hassle of managing FFmpeg infrastructure. Start enhancing your video processing capabilities today with FFMPEGAPI.net!

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free