RapidAPI logo

Sign Up

Log In

Image Watermark

FREE
By neutrinoapi
Updated 2 months ago
Tools
6.6/10
Popularity Score
325ms
Latency
37%
Success Rate

Image Watermark API Documentation

Watermark an image with another image with high quality image resizing as well. Can also be used to simply overlay one image on top of another with alpha blending.

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub
POSTImage Watermark
POSTImage Watermark
Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
image-urlSTRING
REQUIREDThe URL to the source image
watermark-urlSTRING
REQUIREDThe URL to the watermark image
Optional Parameters
opacityNUMBER
OPTIONALThe opacity of the watermark (0 to 100)
widthNUMBER
OPTIONALIf set resize the resulting image to this width (preserving aspect ratio)
formatSTRING
OPTIONALThe output image format, can be either png or jpg
positionSTRING
OPTIONALThe position of the watermark image, possible values are: center, top-left, top-center, top-right, bottom-left, bottom-center, bottom-right
heightNUMBER
OPTIONALIf set resize the resulting image to this height (preserving aspect ratio)
Request Snippet
unirest.post("https://neutrinoapi-image-watermark.p.rapidapi.com/image-watermark")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("opacity=undefined")
.send("width=undefined")
.send("format=undefined")
.send("position=undefined")
.send("height=undefined")
.send("image-url=<required>")
.send("watermark-url=<required>")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://neutrinoapi-image-watermark.p.rapidapi.com/image-watermark")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("opacity=undefined")
.send("width=undefined")
.send("format=undefined")
.send("position=undefined")
.send("height=undefined")
.send("image-url=<required>")
.send("watermark-url=<required>")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication