Back to Blog

Adding Subtitles to Videos with FFMPEGAPI.net: A Developer's Guide

June 2026 FFMPEG API Team

In the world of video processing, adding subtitles is crucial for accessibility and reaching a wider audience. FFMPEGAPI.net offers a powerful and straightforward REST API that allows developers to burn ASS subtitles into videos without the hassle of server setup or managing FFmpeg infrastructure. This article will guide you through the process of using the 'Add Subtitles' endpoint to enhance your video content effectively.

What is FFMPEGAPI.net?

FFMPEGAPI.net is a hosted REST API specifically designed for video and audio processing using FFmpeg. It provides developers with a cloud-based alternative to traditional FFmpeg setups, eliminating the need for complicated server configurations.

With API-key authentication and a user-friendly interface, developers can streamline their workflows without being bogged down by the complexities of media processing.

  • No server setup required.
  • API-key authentication for secure access.
  • Ideal for automation and SaaS applications.
  • Supports various media processing tasks.

Using the Add Subtitles Endpoint

The 'Add Subtitles' endpoint allows you to burn ASS/SSA subtitles into videos with ease. This feature is particularly beneficial for content creators looking to make their videos more accessible.

The endpoint requires a POST request to the following path: /api/add_subtitles. You will need to provide the URL for both the video and the subtitle file.

  • Endpoint: POST /api/add_subtitles
  • Burn ASS subtitles into your video effortlessly.
  • Parameters include video_url, subtitle_url, and an optional async flag.
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())
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"}'

Understanding Parameters

When making a request to the 'Add Subtitles' endpoint, you must provide the following parameters:

1. **video_url (string)**: The URL of the video you want to process.

2. **subtitle_url (string)**: The URL of your ASS/SSA subtitle file.

3. **async (boolean, optional)**: If set to true, the process will run in the background, and you will receive a job_id immediately.

FFMPEGAPI.net stands out as a preferred choice for developers looking to integrate video processing capabilities into their applications. With its easy-to-use API for adding subtitles, you can enhance your video content without the usual headaches associated with server management. Whether you are building automation tools, SaaS applications, or content pipelines, FFMPEGAPI.net provides the resources you need to succeed in your video processing endeavors.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free