Back to Blog

Efficiently Add Subtitles to Your Videos with FFMPEGAPI.net

June 2026 FFMPEG API Team

Are you a developer looking to enhance your video content with subtitles? With FFMPEGAPI.net, you can easily add ASS subtitles to your videos using a simple REST API. This hosted solution removes the hassle of managing FFmpeg infrastructure, leaving you to focus on creating powerful applications. In this article, we'll explore how to use the Add Subtitles endpoint effectively.

What is FFMPEGAPI.net?

FFMPEGAPI.net is a hosted REST API designed for efficient video and audio processing using FFmpeg. This service is tailored for developers, automation workflows, SaaS apps, and content pipelines, making it an excellent choice for those needing quick and reliable video manipulation capabilities.

With FFMPEGAPI.net, you can harness the full power of FFmpeg without the need for server setup or infrastructure management. This allows you to focus on building your applications while utilizing an easy-to-integrate API.

  • No server setup or infrastructure management required.
  • API-key authentication streamlines the developer workflow.
  • Ideal for automating video processing in AI agents.

How to Add Subtitles Using the API

Adding subtitles to your videos has never been easier. The 'Add Subtitles' endpoint allows you to burn ASS subtitles directly into your video. The process is quick and requires just a few parameters to get started.

To use this endpoint, send a POST request to the following path: `/api/add_subtitles`. You will need to provide the video URL and the subtitle URL to get started.

  • Method: POST
  • Path: /api/add_subtitles
  • Content-Type: application/json
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())
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"}'

Understanding the Parameters

When making a request to the Add Subtitles endpoint, you need to provide the following parameters:

Each parameter is crucial for the successful processing of your video.

  • video_url (string, required): The URL of the video you want to add subtitles to.
  • subtitle_url (string, required): The URL of the ASS/SSA subtitle file.
  • async (boolean, optional): If set to true, the process will run in the background, and you will receive a job_id immediately.

Using FFMPEGAPI.net for adding subtitles to your videos not only simplifies the workflow but also enhances your application's capabilities. With its hosted API, you can focus on building features while ensuring seamless video processing. Try it today and experience the efficiency of FFMPEGAPI.net for your video automation needs!

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free