Back to Blog

Effortlessly Add Subtitles to Videos with FFMPEGAPI.net

June 2026 FFMPEG API Team

In today's digital landscape, the ability to add subtitles to videos efficiently is essential for developers working on video automation tools. FFMPEGAPI.net provides a robust hosted API that takes the complexity out of video and audio processing. This article will guide you through the process of adding subtitles to your videos using the 'Add Subtitles' endpoint.

Overview of FFMPEGAPI.net

FFMPEGAPI.net is a powerful REST API that allows developers to leverage FFmpeg's capabilities without the hassle of server setup or infrastructure management. With API-key authentication, integrating this tool into your workflow is seamless and secure.

  • No server setup required.
  • API-key authentication ensures secure access.
  • Ideal for automation, SaaS applications, and AI agents.

Using the Add Subtitles API Endpoint

The 'Add Subtitles' endpoint allows you to burn ASS/SSA subtitles directly into your videos. This is particularly useful for developers who are building content pipelines or automation tools that require video editing capabilities.

  • Endpoint Path: /api/add_subtitles
  • Method: POST
  • Content Type: application/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", "async": true}'
import requests

url = 'https://ffmpegapi.net/api/add_subtitles'
data = {
    'video_url': 'https://example.com/video.mp4',
    'subtitle_url': 'https://example.com/subtitles.ass',
    'async': True
}

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

Parameters for the Add Subtitles Endpoint

To successfully use the Add Subtitles API, you need to provide specific parameters in your request. Here’s a breakdown of the required and optional parameters:

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

FFMPEGAPI.net offers an invaluable service for developers looking to streamline their video processing tasks, particularly when it comes to adding subtitles. By utilizing the easy-to-use API, you can focus on building your applications without worrying about the complexities of video encoding. Start integrating FFMPEGAPI.net into your projects today and experience the power of hosted video automation tools for AI agents.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free