addwatermark2video - Add Watermark to Video
Adds an image as watermark to a video at a given position. The result is an URL to the mp4 that is available for 48 hours.
videoUrl
string
The URL of the media file. You can use 1001fx uploadasset for temporary asset upload.
Example:
https://api.1001fx.com/testdata/video.mp4
file
binary
Image to be used as watermark.
position
string
Position of the watermark. Defaults to SE.
Possible values are: SE, NE, NC, NW, SC, SW, C, CE, CW
Example:
SE
margin
number
Margin in pixel. Defaults to 20.
Example:
20
watermarkSize
number
Size of the watermark relative to the video dimension. Defaults to 0.2.
Minimum: 1e-8
Maximum: 1
Example:
0.2