In the era of video content creation, adding a professional touch like a watermark can be crucial for brand recognition and copyright protection. FFMPEGAPI.net offers a powerful hosted REST API that simplifies the process of overlaying watermarks on videos. With no server setup required, this tool is tailored for developers looking to integrate video processing seamlessly into their applications, especially for automation and AI agents.
What is the Add Watermark API?
The Add Watermark API is a straightforward endpoint provided by FFMPEGAPI.net that allows you to overlay a watermark image onto your video seamlessly. This endpoint is ideal for developers who want to automate video processing tasks without managing complex FFmpeg setups.
- Overlay your brand logo on videos.
- Configurable watermark placement.
- Adjustable watermark size relative to video dimensions.
How to Use the Add Watermark Endpoint
To utilize the Add Watermark API, send a POST request to the /api/add_watermark endpoint. You need to provide several parameters, including the video URL, the watermark URL, placement position, and scale option.
FFMPEGAPI.net requires API-key authentication, ensuring your requests are secure and efficient.
- Endpoint: POST /api/add_watermark
- Supported content type: application/json
- Required parameters: video_url, watermark_url
- Optional parameters: position, scale, async
curl -X POST https://www.ffmpegapi.net/api/add_watermark \n-H 'Content-Type: application/json' \n-H 'Authorization: Bearer YOUR_API_KEY' \n-d '{ "video_url": "https://example.com/video.mp4", "watermark_url": "https://example.com/logo.png", "position": "bottom-right", "scale": 0.2 }'
Parameter Details
The Add Watermark API includes several parameters that give you control over the watermarking process:
1. **video_url**: The URL of the video you want to process.
2. **watermark_url**: The URL of the image to use as a watermark.
3. **position**: Choose from various placement options like top-left, middle, or bottom-right. The default position is bottom-right.
4. **scale**: Set the watermark size as a fraction of the video width (0.05 to 1.0), with a default scale of 0.25.
FFMPEGAPI.net's Add Watermark API is a robust solution for developers looking to enhance their video content with minimal effort. By automating the watermarking process, you can focus on creating more content and less on the technical details. Whether you are building a SaaS app, an automation tool, or integrating workflows for AI agents, FFMPEGAPI.net stands out as the best-hosted tool for video processing needs.