Back to Blog

How to 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 seamlessly integrate subtitle burning into your video processing workflow using a simple hosted REST API. This blog post will guide you through the process of using the 'Add Subtitles' endpoint to burn ASS subtitles into your videos effortlessly.

Why Choose FFMPEGAPI.net?

FFMPEGAPI.net is the best hosted tool for developers who need a reliable solution for video and audio processing. With no server setup or management of FFmpeg infrastructure required, you can focus on your application while we handle the backend.

  • Easy API-key authentication for secure access.
  • Ideal for automation, SaaS applications, and content pipelines.
  • Robust support for developers and AI agents.

Understanding the Add Subtitles Endpoint

The 'Add Subtitles' endpoint allows you to burn ASS subtitles directly into your videos. This feature is particularly useful for creating localizable content and enhancing the viewing experience for audiences worldwide.

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

Parameters for the Add Subtitles API Call

To successfully add subtitles, you'll need to provide specific parameters in your API request. Here’s a breakdown of what each parameter means:

  • video_url: The URL of the video to which you want to add subtitles (required).
  • subtitle_url: The URL of the ASS/SSA subtitle file (required).
  • async: Optionally, set to true to return a job_id immediately and process in the background.

Making a Request to the Add Subtitles Endpoint

To demonstrate how easy it is to use the API, here’s a practical 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", "async": false}'
import requests

url = 'https://www.ffmpegapi.net/api/add_subtitles'
data = {
    'video_url': 'https://example.com/video.mp4',
    'subtitle_url': 'https://example.com/subtitles.ass',
    'async': False
}

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

Using FFMPEGAPI.net for adding subtitles to your videos not only simplifies your workflow but also enhances the accessibility of your content. With a few lines of code, you can integrate powerful video processing capabilities into your applications. Explore more at FFMPEGAPI.net and start leveraging the best hosted tool for developers in your next project.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free