Seventh Sense Face Verification API

The `/compare` endpoint allows you to compare two sets of face images to determine if they correspond to the same person. A score higher than 0.81 is a good indicator that the two sets of images belong to the same person. You can also use a score of 0.75 or higher if the images are of the same person but taken at different times (years apart). The score is a number between 0 and 1, where 1 is a perfect match and 0 is a perfect mismatch. The score is calculated using a deep learning model trained on millions of face images. **Note:** The `/compare` endpoint does not store any information on our servers. It is a one-time comparison of two sets of images. If you want to store the images and search for them later, use the `/person` endpoints to manage persons for a later search using the `/search` endpoint.

Operations 2

POST /compare Compare Two Lists Of Images Of Same Person #
POST /compare-live-face Compare Live Face To Gallery Images Of Same Person #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/seventh-sense:seventh-sense-face-verification-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

seventh-sense-face-verification-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OpenCV Face Recognition Face Verification API
  description: OpenCV Face Recognition allows you to either **manually** (through our Developer Portal UI) or **programmatically** (through our SDKs or REST API) detect, recognize, and verify faces in images.
  version: 2026.07.15.0759
tags:
- name: Face Verification
  description: The `/compare` endpoint allows you to compare two sets of face images to determine if they correspond to the same person.
paths:
  /compare:
    post:
      tags:
      - Face Verification
      summary: Compare Two Lists Of Images Of Same Person
      operationId: compare_two_lists_of_images_of_same_person_compare_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CompareSchema'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScoreSchema'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIKeyHeader: []
  /compare-live-face:
    post:
      tags:
      - Face Verification
      summary: Compare Live Face To Gallery Images Of Same Person
      operationId: compare_live_face_to_gallery_images_of_same_person_compare_live_face_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CompareLiveFaceSchema'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScoreLiveFaceSchema'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIKeyHeader: []
components:
  schemas:
    CompareLiveFaceSchema:
      properties:
        probe:
          type: string
          title: Probe
        gallery:
          items:
            type: string
          type: array
          maxItems: 3
          minItems: 1
          title: Gallery
        os:
          anyOf:
          - $ref: '#/components/schemas/OSEnum'
          - type: 'null'
          default: DESKTOP
        search_mode:
          anyOf:
          - $ref: '#/components/schemas/SearchModeEnum'
          - type: 'null'
          default: FAST
        liveness_min_score:
          anyOf:
          - type: number
            maximum: 1.0
            minimum: 0.0
          - type: string
          - type: 'null'
          title: Liveness Min Score
          default: 0.5
      type: object
      required:
      - probe
      - gallery
      title: CompareLiveFaceSchema
      example:
        gallery:
        - base64_encoded_string
        liveness_min_score: 0.5
        os: DESKTOP
        probe: base64_encoded_string
        search_mode: FAST/ACCURATE choose one, default FAST
    SearchModeEnum:
      type: string
      enum:
      - ACCURATE
      - FAST
      title: SearchModeEnum
    ScoreLiveFaceSchema:
      properties:
        score:
          type: number
          title: Score
        liveness_score:
          type: string
          title: Liveness Score
      type: object
      required:
      - score
      - liveness_score
      title: ScoreLiveFaceSchema
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    OSEnum:
      type: string
      enum:
      - DESKTOP
      - ANDROID
      - IOS
      title: OSEnum
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    ScoreSchema:
      properties:
        score:
          type: number
          title: Score
      type: object
      required:
      - score
      title: ScoreSchema
    CompareSchema:
      properties:
        probe:
          items:
            type: string
          type: array
          maxItems: 3
          minItems: 1
          title: Probe
        gallery:
          items:
            type: string
          type: array
          maxItems: 3
          minItems: 1
          title: Gallery
        search_mode:
          anyOf:
          - $ref: '#/components/schemas/SearchModeEnum'
          - type: 'null'
          default: FAST
      type: object
      required:
      - probe
      - gallery
      title: CompareSchema
      example:
        gallery:
        - base64_encoded_string
        probe:
        - base64_encoded_string
        search_mode: FAST/ACCURATE choose one, default FAST
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key