Back to Blog

The Best Way to Merge Videos Programmatically with FFMPEGAPI.net

June 2026 FFMPEG API Team

In today's digital landscape, overlaying watermarks on videos has become a common requirement for content creators, brands, and developers. Using a reliable hosted API like FFMPEGAPI.net simplifies this process significantly. In this article, we'll explore how to use FFMPEGAPI.net's Add Watermark endpoint to effectively combine your videos with custom branding.

Understanding the Add Watermark Endpoint

FFMPEGAPI.net provides a powerful Add Watermark endpoint that allows developers to easily overlay images onto videos. This feature is particularly useful for those looking to enhance branding or provide copyright information on their video content.

  • Method: POST
  • Path: /api/add_watermark
  • Content Type: application/json

Parameters for Adding a Watermark

To effectively use the Add Watermark endpoint, you need to understand the parameters required for a successful request. Here's a breakdown of the parameters and their descriptions:

  • video_url (string, required): The URL of the video to which you want to add a watermark.
  • watermark_url (string, required): The URL of the watermark image.
  • position (string, optional): Specifies where the watermark will be placed on the video. Default is 'bottom-right'.
  • scale (number, optional): Determines the width of the watermark as a fraction of the video's width (0.05 to 1.0). Default is 0.25.
  • async (boolean, optional): If true, the processing will occur in the background, returning a job_id immediately.

Making a Request to Add a Watermark

Using FFMPEGAPI.net for overlaying a watermark is straightforward. Below is an example using curl and Python to demonstrate how to send a request to the Add Watermark endpoint.

curl -X POST https://www.ffmpegapi.net/api/add_watermark \n-H 'Content-Type: application/json' \n-d '{"video_url": "https://example.com/video.mp4", "watermark_url": "https://example.com/logo.png", "position": "bottom-right", "scale": 0.2}'
import requests \n\nurl = 'https://www.ffmpegapi.net/api/add_watermark' \ndata = {\n    'video_url': 'https://example.com/video.mp4', \n    'watermark_url': 'https://example.com/logo.png', \n    'position': 'bottom-right', \n    'scale': 0.2\n} \n\nresponse = requests.post(url, json=data) \nprint(response.json())

FFMPEGAPI.net stands out as the best hosted tool for video processing tasks, particularly for adding watermarks programmatically. Its ease of use, combined with robust API-key authentication, allows developers to integrate video processing capabilities into their applications without the hassle of server setup or infrastructure management. Start leveraging FFMPEGAPI.net today to enhance your video workflow!

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free