Back to Blog

Burn Subtitles to Video Effortlessly with FFMPEGAPI.net

June 2026 FFMPEG API Team

Adding subtitles to videos can enhance accessibility and viewer engagement. With FFMPEGAPI.net, developers can easily burn ASS subtitles into videos using a simple REST API, eliminating the need for complex server setups or FFmpeg management. This blog post will walk you through the process of using the Add Subtitles endpoint in FFMPEGAPI.net, a cloud FFmpeg alternative for developers.

Understanding the Add Subtitles Endpoint

The Add Subtitles endpoint in FFMPEGAPI.net allows developers to burn subtitles into videos effortlessly. By simply providing the video URL and the subtitle file URL, you can enhance your video content with minimal effort.

  • Endpoint: /api/add_subtitles
  • Method: POST
  • Content Type: application/json
  • Supports ASS/SSA subtitle formats.

Parameters Required for the Add Subtitles API Call

When making a POST request to the Add Subtitles endpoint, the following parameters 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 you want to burn into the video.

3. **async** (optional): If you want the process to run in the background and return a job ID immediately.

Example Usage of the Add Subtitles Endpoint

Here’s how to use the Add Subtitles endpoint with a practical example. We will demonstrate both cURL and Python requests for your convenience.

  • Using cURL:
  • Using Python with the requests library:
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'

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

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

FFMPEGAPI.net provides a powerful, hosted solution for adding subtitles to videos without the hassle of managing your own FFmpeg infrastructure. With simple API key authentication, developers can integrate this functionality into their applications seamlessly. Whether you're creating a content pipeline, a SaaS app, or automating tasks, FFMPEGAPI.net is the best cloud FFmpeg alternative at your disposal. Start leveraging the Add Subtitles API today to enhance your video content!

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free