Authentication

To access TANI's AI capabilities, you'll need to authenticate your requests using an API key and Group ID.

Retrieve API key

Follow the get started instructions to retrieve your API Key and Group ID.

Make an authenticated request

To make your first request, send an authenticated request to the pets endpoint. This will create a pet, which is nice.

Compare Faces

POST https://api.usetani.com/api/v0/persons/compare

Compare the faces in two different images.

Headers

Name
Type
Description

x-api-key*

string

Api Key

x-group-id*

string

Group Id from your dashboard

Request Body

Name
Type
Description

image1*

image

First image

image2*

image

Second image

{
    "similarity_score": 0.7646502256393433,
    "message": "The images you uploaded are the same person"
}

Last updated