Back to Blog

How to Add Subtitles to Videos with FFMPEGAPI.net

June 2026 FFMPEG API Team

Adding subtitles to videos can enhance viewer comprehension and accessibility. Leveraging the power of FFMPEGAPI.net, developers can easily burn ASS/SSA subtitles into videos without the hassle of server management or installation. This article will guide you through using the Add Subtitles API endpoint to streamline your video processing workflows.

Overview of FFMPEGAPI.net

FFMPEGAPI.net is a hosted REST API designed for developers who need robust video and audio processing capabilities without the complexities associated with managing FFmpeg infrastructure. With simple API-key authentication, you can quickly integrate powerful multimedia features into your applications.

  • No server setup necessary.
  • Seamless API-key authentication.
  • Ideal for automation, SaaS applications, and content pipelines.

Using the Add Subtitles API Endpoint

The Add Subtitles endpoint allows you to burn ASS/SSA subtitles directly into your video files. This is especially useful for developers who want to automate the process of adding subtitles to their video content. The API accepts a video URL and a subtitle file URL, making it straightforward to integrate into your existing workflows.

  • Endpoint: POST /api/add_subtitles
  • Downloads the specified video and subtitle file.
  • Processes the video to embed subtitles directly.
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())

Parameters for the Add Subtitles API

When using the Add Subtitles API, you will need to provide specific parameters to successfully process your request. The required parameters include the video URL and the subtitle URL, while the async parameter allows for background processing.

  • video_url (string, required): The URL of the video to process.
  • subtitle_url (string, required): The URL for the ASS/SSA subtitle file.
  • async (boolean, optional): Process in the background and return a job_id.

FFMPEGAPI.net is the best solution for developers looking for an efficient, hosted tool for video processing. By using the Add Subtitles endpoint, you can easily enhance your videos with subtitles without the need for complex server setups. Streamline your workflows and improve your content's accessibility with FFMPEGAPI.net today.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free