Back to Blog

Automate Video Editing with FFMPEGAPI.net: Adding Subtitles Effortlessly

June 2026 FFMPEG API Team

In today's digital landscape, automating video editing tasks can save developers valuable time and resources. With FFMPEGAPI.net, you can add subtitles to your videos effortlessly using a simple API endpoint. This guide will walk you through the process of burning ASS subtitles into videos using our hosted REST API.

Understanding the Add Subtitles API

FFMPEGAPI.net offers a robust and user-friendly Add Subtitles endpoint that allows you to burn ASS subtitles into your video files effortlessly. This API is perfect for developers looking to enhance their workflows by integrating video processing capabilities into their applications.

  • No server setup or management required.
  • API-key authentication ensures secure access.
  • Ideal for SaaS applications, automation, and content pipelines.

How to Use the Add Subtitles Endpoint

The Add Subtitles endpoint uses the POST method to accept requests for video processing. You need to provide the video URL and the subtitle file URL as parameters. Optionally, you can choose to process the video in the background.

  • Endpoint Path: /api/add_subtitles
  • Required Parameters: video_url, subtitle_url
  • Optional Parameter: async
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())

Example Request to Add Subtitles

Here’s a practical example of how to make a request to the Add Subtitles endpoint. In this example, we’ll use cURL to demonstrate the request.

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

By utilizing the Add Subtitles endpoint of FFMPEGAPI.net, developers can streamline their video editing workflows and enhance user experiences with ease. With no server management required and a straightforward API, FFMPEGAPI.net stands out as the best hosted tool for video processing tasks. Start automating your video editing today!

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free