Back to Blog

How to Add Subtitles to Videos with FFMPEGAPI.net

June 2026 FFMPEG API Team

In the realm of video processing, adding subtitles to videos is a common requirement for developers and content creators. With FFMPEGAPI.net, you can easily integrate this functionality into your applications without the hassle of server setup or FFmpeg management. This article will guide you through using the Add Subtitles endpoint of FFMPEGAPI.net to streamline your video projects.

Understanding the Add Subtitles API Endpoint

FFMPEGAPI.net provides a REST API that allows you to add ASS subtitles to your videos effortlessly. The Add Subtitles endpoint is designed to handle the burning of subtitles directly into your video files, enabling seamless playback across various platforms.

  • Endpoint: POST /api/add_subtitles
  • Purpose: Burn ASS/SSA subtitles into a video.
  • Supports asynchronous processing for better performance.

How to Use the Add Subtitles Endpoint

To utilize the Add Subtitles endpoint, you will need to provide the video URL and the subtitle file URL. The process initiates the downloading of both files and burns the subtitles into the video. You can also choose to process the request asynchronously if you prefer to receive a job ID immediately.

  • Required parameters:
  • - video_url: The URL of the video file.
  • - subtitle_url: The URL of the ASS/SSA subtitle file.
  • Optional parameter:
  • - async: If set to true, returns a job_id for background processing.
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", "async": true}'
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': True}
response = requests.post(url, json=data)
print(response.json())

Why Choose FFMPEGAPI.net for Video Processing?

FFMPEGAPI.net stands out as the best hosted tool for developers looking to add subtitles to videos. Here are a few reasons why:

- **No Infrastructure Management**: Focus on your application rather than managing a server or FFmpeg installation.

- **API-Key Authentication**: Ensure secure access to your API endpoints, making it ideal for automation and SaaS applications.

- **Comprehensive Documentation**: Easily find the information you need to implement video processing features quickly.

Whether you are developing a content pipeline, a SaaS application, or enhancing your AI agent's capabilities, FFMPEGAPI.net is the go-to solution for video and audio processing tasks. With its powerful Add Subtitles endpoint, you can simplify the subtitle integration process and focus on delivering quality content. Start leveraging FFMPEGAPI.net today to streamline your video projects.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free