# addwatermark2video: Add Watermark to Video

> addwatermark2video (Add Watermark to Video) is a 1001fx API function in the group Audio & video: POST https://api.1001fx.com/audiovideo/addwatermark2video, 3 credits per minute (minimum 3). It works as a ready-made module in Make and n8n or as a plain HTTP call.

Adds an image as watermark to a video at a given position. The result is a URL to the MP4, available for 48 hours.

- Group: Audio & video
- Endpoint: `POST https://api.1001fx.com/audiovideo/addwatermark2video`
- Authentication: header `X-API-KEY: YOURSECRETAPIKEY`
- Content type: multipart/form-data
- Credits: 3 credits per minute (minimum 3)
- Ready-made in: Make and n8n
- Docs: https://1001fx.com/functions/addwatermark2video

## Parameters

- `videoUrl` (string, required) – Video URL: The URL of the media file. You can use 1001fx uploadasset for temporary asset upload.
- `file` (file, required) – Watermark Image: Image to be used as watermark.
- `position` (enum, optional, one of `SE`, `NE`, `NC`, `NW`, `SC`, `SW`, `C`, `CE`, `CW`, default `SE`) – Position: Position of the watermark. Defaults to SE.
- `margin` (number, optional, default `20`) – Margin: Margin in pixel. Defaults to 20.
- `watermarkSize` (number, optional, default `0.2`, min 1e-8, max 1) – Watermark Size: Size of the watermark relative to the video dimension. Defaults to 0.2.

## Example: Add watermark to video

```bash
curl -X POST 'https://api.1001fx.com/audiovideo/addwatermark2video' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -F 'file=@image.png' \
  -F 'videoUrl=http://localhost:8080/testdata/video.mp4' \
  -F 'position=SE' \
  -F 'margin=20' \
  -F 'watermarkSize=0.2'
```
