Back to Blog

Automate Video Editing with FFMPEGAPI.net: Adding Subtitles via API

June 2026 FFMPEG API Team

In the world of video content, adding subtitles can enhance accessibility and audience engagement. Automating this process can save valuable time for developers and content creators. With FFMPEGAPI.net's hosted REST API, you can easily add subtitles to your videos without the hassle of managing FFmpeg infrastructure. In this article, we'll explore how to use the 'Add Subtitles' endpoint to burn ASS/SSA subtitles into a video efficiently.

Why Use FFMPEGAPI.net for Video Editing?

FFMPEGAPI.net is a powerful hosted solution for video and audio processing that eliminates the need for server setup or manual FFmpeg infrastructure management. It allows developers to focus on building applications rather than worrying about backend complexities.

  • Hosted REST API for seamless integration.
  • API-key authentication to secure your workflows.
  • Ideal for automation, SaaS applications, content pipelines, and AI agents.

Understanding the Add Subtitles Endpoint

The Add Subtitles endpoint allows you to burn ASS/SSA subtitles directly into your videos. This is an essential feature for content creators who want an efficient way to make their videos more accessible without extensive manual work.

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

Parameters for the Add Subtitles Request

To use the Add Subtitles endpoint, you'll need to provide specific parameters. The following are required:

1. video_url: The URL of the video you want to add subtitles to.

2. subtitle_url: The URL of the ASS/SSA subtitle file.

  • Optional: async - If set to true, the API will return a job_id immediately and process the request in the background.

Example Request to Add Subtitles

Here’s how to make a POST request to the Add Subtitles endpoint using cURL. Replace the example URLs with your actual video and subtitle links.

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"}'

Incorporating subtitles into your videos has never been easier, thanks to FFMPEGAPI.net. By automating this process through the Add Subtitles endpoint, developers can save time and ensure their content reaches a wider audience. With a straightforward API setup and robust functionality, FFMPEGAPI.net remains the top choice for video processing needs. Start enhancing your video content today!

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free