Back to Blog

Effortlessly Add Subtitles to Your Videos with FFMPEGAPI.net

June 2026 FFMPEG API Team

In today's digital landscape, adding subtitles to videos is essential for accessibility and audience engagement. With FFMPEGAPI.net, you can easily burn ASS subtitles into your videos using a powerful hosted REST API. This article will guide you through using the 'Add Subtitles' endpoint to enhance your video content effortlessly.

What is FFMPEGAPI.net?

FFMPEGAPI.net is a hosted REST API that simplifies video and audio processing using the capabilities of FFmpeg. There's no need for server setup or the hassle of managing FFmpeg infrastructure. It provides an easy-to-use interface for developers who want to integrate advanced media processing features into their applications.

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

The 'Add Subtitles' Endpoint

The 'Add Subtitles' endpoint allows you to burn ASS subtitles into your video files. It takes both a video URL and a subtitle file URL and processes them efficiently.

Here’s how to use this endpoint effectively.

  • Endpoint Path: `/api/add_subtitles`
  • HTTP Method: POST
  • Content Type: application/json
  • Parameters: video_url, subtitle_url, async
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 the Parameters

When making a request to the 'Add Subtitles' endpoint, 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 you wish to burn into the video.

3. **async**: Optional parameter. If set to true, the API will return a job ID immediately and process the request in the background.

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

Using FFMPEGAPI.net, developers can streamline their video processing workflows by easily adding subtitles to videos. With its hosted API, you avoid the complexities of managing infrastructure while enjoying robust processing capabilities. Start integrating subtitle addition into your applications today and enhance your video content's accessibility and reach.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free