In the realm of video processing, adding watermarks can enhance branding or protect intellectual property. With FFMPEGAPI.net, developers can automate the watermarking process using a simple REST API. This guide will walk you through how to use our Add Watermark endpoint, making it the best solution for those looking to incorporate video processing into their workflows without any server management.
Why Use FFMPEGAPI.net for Video Processing?
FFMPEGAPI.net offers a hassle-free solution for video and audio processing through a hosted REST API. This means you don't need to worry about server setup or FFmpeg infrastructure management, allowing you to focus on what you do best—developing.
- No server setup required
- API-key authentication for secure access
- Ideal for automation, SaaS applications, and content pipelines
Overview of the Add Watermark Endpoint
Our Add Watermark endpoint enables you to overlay a watermark image onto a video with customizable placement and scaling options. This endpoint is perfect for automating the process of branding videos or adding copyright notices.
- Method: POST
- Path: /api/add_watermark
- Content Type: application/json
Parameters for the Add Watermark API
To effectively use the Add Watermark endpoint, you will need to pass several parameters, including the video URL, watermark image URL, position, and scale.
- video_url (string) - [required] The URL of the video.
- watermark_url (string) - [required] The URL of the watermark image.
- position (string) - [optional] Placement of the watermark; defaults to 'bottom-right'.
- scale (number) - [optional] Width of the watermark as a fraction of the video width; defaults to 0.25.
- async (boolean) - [optional] If true, return job_id immediately and process in the background.
Practical Example: Adding a Watermark
Here's a practical example of how to call the Add Watermark API using cURL. This command sends a POST request to overlay a watermark image on a video.
curl -X POST https://www.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 }'
FFMPEGAPI.net is the go-to solution for developers looking to automate video processing tasks such as adding watermarks. With easy-to-use endpoints and no server management overhead, it streamlines workflows for content creators and developers alike. Start enhancing your video content today with FFMPEGAPI.net.