Face Comparison

image/face_compare/base64 by Base64.ai
Face ComparisonProvider default · Sync · Image input
Price from
$250 / 1K requests
Tasks
1
Face Comparison
Regions
Mode
sync
Input
Image
Output
items

About Base64.ai Face Comparison

Compare two faces and decide whether they are from the same person. The API expects 2 images, reference and query, where the former is the ground truth (e.g. user's official ID) and the latter is the validation image (e.g. a selfie).

Base64.ai Face Comparison is Base64.ai's default model for Face Comparison available on Eden AI for Face Comparison, from $250 / 1K requests. Call it with the same API key as every other Eden AI model by sending its model string to the Universal AI endpoint.

Learn more about Face Comparison APIs on Eden AI

Tasks and prices

Base64.ai Face Comparison is available on Eden AI for 1 tasks. Each task has its own model string and price: send that string to the Universal AI endpoint to use the model for that task.

Task
Price
Regions
Mode
Docs
Playground
Face Comparisonimage/face_compare/base64
$0.25 / request
sync

Parameters

What you send and what you get back when you call Base64.ai Face Comparison through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.

Input

  • file1 (required): file (images). Image file ID from /v3/upload or direct file URL
  • file2 (required): file (images). Image file ID from /v3/upload or direct file URL

Response

  • items

Estimate your monthly cost

Enter your monthly volume for Face Comparison to compare Base64.ai Face Comparison with its cheapest alternatives.

Call Base64.ai Face Comparison with Eden AI

Send the model string to the Universal AI endpoint. To use another model, copy its string from the table above.

import requests

response = requests.post(
    "https://api.edenai.run/v3/universal-ai",
    headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
    json={
        "model": "image/face_compare/base64",
        "input": {"file1": "https://example.com/image.jpg", "file2": "https://example.com/image.jpg"},
    },
)
print(response.json())

Questions about Base64.ai Face Comparison

On Eden AI, Base64.ai Face Comparison costs $250 / 1K requests for Face Comparison. The Tasks and prices table lists the price for each task, and you only pay for what you use.

On Eden AI, Base64.ai Face Comparison is available for: Face Comparison. Input: Image. Output: items.

Eden AI offers Face Comparison from 3 providers, all callable with the same API key. The cheapest models are compared just below.