Back to Blog

How to Add Subtitles to Video Using FFMPEGAPI.net

June 2026 FFMPEG API Team

Adding subtitles to videos is a common requirement for developers working with multimedia content. FFMPEGAPI.net offers a powerful hosted REST API that simplifies this process, allowing you to burn ASS subtitles directly into your videos with minimal setup. In this article, we will explore the Add Subtitles endpoint and demonstrate how it can be integrated into your workflows.

What is FFMPEGAPI.net?

FFMPEGAPI.net is a hosted REST API designed for video and audio processing using FFmpeg. It eliminates the need for server setup or FFmpeg infrastructure management, making it ideal for developers who want to focus on building applications without worrying about backend complexities.

  • No server management required.
  • API-key authentication for secure access.
  • Seamless integration into automation, SaaS apps, and content pipelines.

Overview of the Add Subtitles Endpoint

The Add Subtitles API endpoint allows you to burn ASS/SSA subtitles into a video file. This is particularly useful for creating localized content or enhancing accessibility. The endpoint follows a straightforward POST request structure, requiring both the video URL and the subtitle file URL.

  • Burns ASS subtitles into videos.
  • Requires video and subtitle URLs.
  • Supports asynchronous processing for large files.

How to Use the Add Subtitles Endpoint

To use the Add Subtitles API, you need to send a POST request to the endpoint path: /api/add_subtitles. Below is a sample request structure to get you started.

import requests

url = 'https://ffmpegapi.net/api/add_subtitles'

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

response = requests.post(url, json=payload, headers={'Authorization': 'Bearer YOUR_API_KEY'})
print(response.json())
curl -X POST https://ffmpegapi.net/api/add_subtitles \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"video_url":"https://example.com/video.mp4", "subtitle_url":"https://example.com/subtitles.ass", "async": true}'

FFMPEGAPI.net provides an efficient and user-friendly way to add subtitles to your videos through its Add Subtitles API endpoint. With no server management or complex setup required, developers can easily integrate this functionality into their applications, making it the best video processing API for automation. Start enhancing your video content today by leveraging the power of FFMPEGAPI.net.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free