Sign Up

Log In

MicrosoftFaceApi

FREE
By dimas
Updated 7 months ago
Visual Recognition
7.2/10
Popularity Score
87ms
Latency
100%
Success Rate

MicrosoftFaceApi API Documentation

Isolate faces and facial features in an image.

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub
POSTaddFaceToFaceList
POSTaddPersonFace
POSTcreateFaceList
POSTcreatePerson
POSTcreatePersonGroup
POSTdeleteFaceFromFaceList
POSTdeleteFaceList
POSTdeletePerson
POSTdeletePersonFace
POSTdeletePersonGroup
POSTdetectFaces
POSTdivideFacesIntoGroups
POSTfindSimilarFaces
POSTfindSimilarFacesInList
POSTgetFaceList
POSTgetFaceLists
POSTgetPerson
POSTgetPersonFace
POSTgetPersonGroup
POSTgetPersonGroupTrainingStatus
POSTgetPersonGroups
POSTgetPersonsInPersonGroup
POSTidentifyFaces
POSTtrainPersonGroup
POSTupdateFaceList
POSTupdatePerson
POSTupdatePersonFace
POSTupdatePersonGroup
POSTverifyFaceToFace
POSTverifyFaceToPerson
POSTaddFaceToFaceList

Add a face to a face list.

Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
faceListIdSTRING
REQUIREDValid character is letter in lower case or digit or '-' or '_', maximum length is 64.
regionSTRING
REQUIREDRegion for your apiKey. Defaults to `westus`
subscriptionKeyCREDENTIALS
REQUIREDThe api key obtained from Microsoft Cognitive Servisces.
imageFILE
REQUIREDImage file. Image file size should between 1KB to 4MB. Only one face is allowed per image.
Optional Parameters
userDataSTRING
OPTIONALUser-specified data about the face list for any purpose. The maximum length is 1KB.
targetFaceSTRING
OPTIONALA face rectangle to specify the target face to be added into the face list, in the format of "targetFace=left,top,width,height". E.g. "targetFace=10,10,100,100". If there is more than one face in the image, targetFace is required to specify which face to add. No targetFace means there is only one face detected in the entire image.
Request Snippet
unirest.post("https://MicrosoftFaceApidimasV1.p.rapidapi.com/addFaceToFaceList")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("userData=undefined")
.send("targetFace=undefined")
.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://MicrosoftFaceApidimasV1.p.rapidapi.com/addFaceToFaceList")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("userData=undefined")
.send("targetFace=undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication

Sign up for free

to test this endpoint

Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard