Back to Blog

Automate Video Editing: Adding Subtitles with FFMPEGAPI.net

June 2026 FFMPEG API Team

In the world of video production, automation can save you valuable time and resources. One common task developers face is adding subtitles to videos. FFMPEGAPI.net offers a powerful hosted REST API that allows you to effortlessly burn ASS subtitles into any video, streamlining your video editing workflows.

Why Use FFMPEGAPI.net for Subtitle Automation?

FFMPEGAPI.net is designed to simplify video and audio processing tasks without the hassle of server setup or FFmpeg infrastructure management. With a focus on developer workflows, our API provides a seamless way to integrate video editing features into your applications.

  • No server management required
  • Easy API-key authentication
  • Ideal for SaaS applications and content pipelines
  • Supports asynchronous operations for efficient processing

How to Add Subtitles Using the Add Subtitles API

The Add Subtitles API endpoint allows you to burn ASS subtitles directly into a video. This is accomplished by sending a POST request to the /api/add_subtitles endpoint with the required parameters.

The API accepts a video URL and a subtitle URL, allowing you to specify the source video and the subtitles you wish to include.

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"}'
import requests

url = 'https://ffmpegapi.net/api/add_subtitles'
headers = {'Content-Type': 'application/json'}
payload = {'video_url': 'https://example.com/video.mp4', 'subtitle_url': 'https://example.com/subtitles.ass'}

response = requests.post(url, json=payload, headers=headers)
print(response.json())

Parameters for the Add Subtitles API

When using the Add Subtitles API, you need to provide the following parameters in your request body:

  • 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 true, the request will return a job_id immediately and process the video in the background.

With FFMPEGAPI.net, adding subtitles to your videos becomes a straightforward and efficient process. By utilizing our hosted REST API, developers can focus on creating innovative applications without worrying about underlying infrastructure. Start automating your video editing workflows today by integrating the Add Subtitles API into your projects.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free