Back to Blog

Automate Video Editing: Add Subtitles with FFMPEGAPI.net

June 2026 FFMPEG API Team

In today's digital landscape, the ability to automate video editing tasks can significantly enhance workflow efficiency. Whether you're developing a SaaS application, streamlining content pipelines, or creating AI agents, adding subtitles to videos is a common necessity. In this article, we'll explore how to use FFMPEGAPI.net's hosted API to burn subtitles into your videos without any server setup or FFmpeg management.

What is FFMPEGAPI.net?

FFMPEGAPI.net is a powerful hosted REST API that simplifies video and audio processing powered by FFmpeg. With FFMPEGAPI.net, developers can easily integrate video editing capabilities into their applications without worrying about setting up and managing FFmpeg infrastructure.

  • No server setup required.
  • API-key authentication for secure workflows.
  • Ideal for automation, SaaS applications, and content pipelines.

Using the Add Subtitles API Endpoint

One of the most useful functionalities of FFMPEGAPI.net is the 'Add Subtitles' endpoint. This endpoint allows developers to burn ASS/SSA subtitles into a video easily. By sending a POST request to the /api/add_subtitles path, you can automate this process and enhance your video content.

  • Endpoint: POST /api/add_subtitles
  • Purpose: Burn ASS subtitles into a video.
  • Requires video_url and subtitle_url parameters.
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())

Parameters for the Add Subtitles API

To effectively use the Add Subtitles API, you'll need to understand its parameters:

1. **video_url**: The URL of the video you want to edit. This parameter is required.

2. **subtitle_url**: The URL of the ASS/SSA subtitle file. This parameter is also required.

3. **async**: An optional boolean parameter that allows you to return a job_id immediately while processing occurs in the background.

Automating video editing tasks, such as adding subtitles, has never been easier with FFMPEGAPI.net. By using the Add Subtitles endpoint, developers can quickly process videos without the hassle of manual editing or extensive setup. This tool is particularly beneficial for those building SaaS applications or content pipelines, allowing for a seamless integration of video editing features. Start using FFMPEGAPI.net today to enhance your development workflow!

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free