RapidAPI logo

Sign Up

Log In

Pixelate Faces from Photos

FREEMIUM
By zyanyatech1
Updated 3 months ago
Tools
-/10
Popularity Score
-
Latency
-
Success Rate

Pixelate Faces from Photos API Documentation

This API allows you to submit a picture and it will return the picture with all the faces pixelated. It provides privacy.

View API Details
POST/api/pixelate
POST/api/pixelate

Send a photo or picture with faces, and the result will be the same picture but with the faces pixelated.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Content-TypeSTRING
OPTIONAL
Required Parameters
BodyJSON_STRING
REQUIRED
Request Snippet
unirest.post("https://zyanyatech1-pixelate-faces-from-photos-v1.p.rapidapi.com/api/pixelate")
.header("X-RapidAPI-Host", "zyanyatech1-pixelate-faces-from-photos-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"src":"https://taosvhdstorage.blob.core.windows.net/attr/images/article/large/gli.jpg"})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
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://zyanyatech1-pixelate-faces-from-photos-v1.p.rapidapi.com/api/pixelate")
.header("X-RapidAPI-Host", "zyanyatech1-pixelate-faces-from-photos-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"src":"https://taosvhdstorage.blob.core.windows.net/attr/images/article/large/gli.jpg"})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication