Back to Blog

How to Easily Add Subtitles to Your Videos with FFMPEGAPI.net

June 2026 FFMPEG API Team

Adding subtitles to videos can greatly enhance accessibility and viewer engagement. With FFMPEGAPI.net, developers can effortlessly integrate subtitle burning capabilities into their applications. This article explores how to use the Add Subtitles endpoint to burn ASS subtitles directly into your videos without the hassle of managing FFmpeg infrastructure.

Understanding the Add Subtitles API

FFMPEGAPI.net offers a powerful hosted REST API designed for video and audio processing, simplifying the workflow for developers. The Add Subtitles endpoint allows you to burn ASS/SSA subtitles into your videos, providing an efficient solution for content automation.

  • No server setup required.
  • Real-time video processing via API-key authentication.
  • Supports various subtitle formats.

API Endpoint Overview

The Add Subtitles endpoint is a POST request located at /api/add_subtitles. It allows you to specify the video and subtitle URLs, enabling seamless processing.

  • Method: POST
  • Endpoint: /api/add_subtitles
  • Content Type: application/json

Parameters Required for the Request

To successfully use the Add Subtitles API, you need to provide the following parameters in your request body:

  • 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 to be burned.
  • async (boolean, optional): Set to true to process the request in the background and return a job_id.

Practical Example of Adding Subtitles

To illustrate how to use the Add Subtitles API, here’s an example using 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'

payload = {
    'video_url': 'https://example.com/video.mp4',
    'subtitle_url': 'https://example.com/subtitles.ass'
}

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

Why Choose FFMPEGAPI.net?

FFMPEGAPI.net stands out as the best video processing API for automation due to its ease of use, speed, and reliability. Developers can focus on building their applications without worrying about the complexities of video processing.

  • No infrastructure management required.
  • Quick integration with existing development workflows.
  • Scalable and reliable for various applications.

Integrating subtitle functionality into your applications has never been easier with FFMPEGAPI.net. By leveraging the Add Subtitles API, you can automate video processing tasks while enhancing user engagement. Start your journey today by visiting FFMPEGAPI.net and unlock the potential of video and audio processing.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free