Back to Blog

The Best Way to Merge Videos Programmatically with FFMPEGAPI.net

June 2026 FFMPEG API Team

In today's digital landscape, merging videos programmatically is essential for automation, content creation, and enhancement of media workflows. FFMPEGAPI.net offers a powerful hosted REST API that simplifies video processing tasks without the need for server infrastructure. This article will guide you through using the Add Watermark endpoint to overlay watermarks on your videos seamlessly.

Why Choose FFMPEGAPI.net for Video Processing?

FFMPEGAPI.net stands out as a hosted solution for developers looking to integrate video processing capabilities into their applications. With features like API-key authentication, you can easily manage and automate your video workflows without the complexities of server setups.

The platform is ideal for developers, automation tools, SaaS applications, AI agents, and content pipelines, allowing for efficient video manipulation.

  • No need for server setup or FFmpeg infrastructure management.
  • Robust API-key authentication streamlines developer access.
  • Effortless integration into existing workflows.

Using the Add Watermark Endpoint

The Add Watermark endpoint allows you to overlay a watermark image onto a video, providing options for placement and scaling. This feature is particularly useful for branding videos or protecting content.

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

  • Endpoint path: `/api/add_watermark`
  • HTTP Method: `POST`
  • Content type: `application/json`
curl -X POST https://ffmpegapi.net/api/add_watermark \
-H "Content-Type: application/json" \
-d '{"video_url": "https://example.com/video.mp4", "watermark_url": "https://example.com/logo.png", "position": "bottom-right", "scale": 0.2}'
import requests

url = 'https://ffmpegapi.net/api/add_watermark'
data = {
    'video_url': 'https://example.com/video.mp4',
    'watermark_url': 'https://example.com/logo.png',
    'position': 'bottom-right',
    'scale': 0.2
}

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

Parameters for the Add Watermark Endpoint

When making a request to the Add Watermark endpoint, you can customize the placement and size of your watermark using several parameters. Here are the details:

The parameters include options for video URL, watermark URL, position, scale, and an asynchronous processing option.

  • video_url (required): URL of the video to be processed.
  • watermark_url (required): URL of the watermark image.
  • position (optional): Placement options like top-left, middle, bottom-right, etc. Default is bottom-right.
  • scale (optional): Defines the watermark size as a fraction of the video width (0.05 to 1.0). Default is 0.25.
  • async (optional): If true, returns job_id immediately and processes in the background.

FFMPEGAPI.net simplifies the process of merging and processing videos programmatically. With its powerful API, you can easily add watermarks to your videos, enhancing them for branding or protection. Whether you're developing an automation tool, a SaaS application, or an AI agent, FFMPEGAPI.net provides the robust capabilities you need without the hassle of managing server infrastructure. Start leveraging FFMPEGAPI.net today and elevate your video processing workflows.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free