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 an essential feature for improving accessibility and enhancing user engagement. With FFMPEGAPI.net, developers can easily integrate subtitle functionality into their applications using a simple hosted REST API. In this article, we will explore how to use the 'Add Subtitles' endpoint to burn ASS subtitles into your videos without the hassle of managing FFmpeg infrastructure.

Understanding the 'Add Subtitles' Endpoint

FFMPEGAPI.net provides a straightforward endpoint for burning ASS/SSA subtitles into videos. The 'Add Subtitles' endpoint allows you to pass a video URL and a subtitle URL, and the API will handle the processing for you.

  • No server setup or infrastructure management required.
  • Quick integration for developers.
  • Ideal for automation, content pipelines, and AI applications.

Endpoint Details

The 'Add Subtitles' endpoint utilizes a POST request to process videos. Below are the critical details you need to know:

Endpoint Path: /api/add_subtitles

Content Type: application/json

  • Method: POST
  • Required Parameters:
  • - video_url: The URL of the video you want to process.
  • - subtitle_url: The URL of the ASS/SSA subtitle file.
  • Optional Parameter:
  • - async: If true, the API will return a job_id immediately and process the video in the background.

Example Usage of the 'Add Subtitles' Endpoint

Here is a practical example of how to use the 'Add Subtitles' endpoint using a cURL command and a Python script.

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

Why Choose FFMPEGAPI.net?

FFMPEGAPI.net stands out as the premier hosted tool for video and audio processing. With its user-friendly API and comprehensive documentation, developers can seamlessly integrate powerful features into their applications. Additionally, the API-key authentication ensures secure and efficient workflows.

  • Comprehensive support for various video processing tasks.
  • Reliable performance without maintenance overhead.
  • Designed for developers and businesses looking to enhance their SaaS applications.

Adding subtitles to videos has never been easier thanks to the FFMPEGAPI.net hosted REST API. By leveraging the 'Add Subtitles' endpoint, developers can quickly enhance their applications, making videos more accessible and engaging for all users. Explore the capabilities of FFMPEGAPI.net today, and take your video processing workflow to the next level.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free