Back to Blog

How to Use FFMPEGAPI.net to Add Subtitles to Your Videos

June 2026 FFMPEG API Team

In the age of digital content, adding subtitles to your videos has become essential for reaching a broader audience. FFMPEGAPI.net offers a powerful hosted REST API that can help developers seamlessly burn subtitles into their videos. This article will guide you through the process of using the 'Add Subtitles' endpoint, making it an ideal solution for social media video workflows.

Why Use FFMPEGAPI.net for Subtitle Processing?

FFMPEGAPI.net is a hosted REST API specifically designed for FFmpeg-powered video and audio processing. With no server setup or FFmpeg infrastructure management required, developers can focus on building their applications without worrying about the underlying complexities.

The API-key authentication makes it easy to integrate into your workflows, whether for automation, SaaS applications, content pipelines, or AI agents.

  • No installation or server management needed
  • Perfect for social media video workflows
  • Fast processing with API-key security

Understanding the Add Subtitles Endpoint

The 'Add Subtitles' endpoint allows you to burn ASS subtitles directly into your video. This is particularly useful for social media platforms where accessibility and engagement are key.

To use this endpoint, you will need to send a POST request with the required parameters.

  • Endpoint Path: /api/add_subtitles
  • Method: POST
  • Required Parameters: video_url, subtitle_url
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"}'
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"}

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

Working with Optional Parameters

The 'async' parameter allows for background processing. If you set this to true, the API will return a job ID immediately, enabling you to manage your tasks more effectively.

  • async: boolean (optional) - Process in the background
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}'

FFMPEGAPI.net is the best API for social media video workflows, enabling developers to easily add subtitles to their videos without the hassle of managing complex infrastructure. By leveraging the 'Add Subtitles' endpoint, you can enhance your video content's accessibility and engagement. Start using FFMPEGAPI.net today to streamline your video processing tasks and reach a wider audience.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free