# BRAINIAC Product Image Similarity Check

> BRAINIAC Product Image Similarity Check is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-12).

Compares product listing images against reference brand images to detect potential counterfeits via visual similarity scoring

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/brand-protection/product-image-similarity-check?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-product-image-similarity-check-e40a2fbd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XMWCLcdMe12WsP4sbmr6F

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability brainiac-product-image-similarity-check-e40a2fbd -d '<json body>'
```

Example prompt: Check whether this Amazon listing image at https://example.com/listing123.jpg looks visually similar to our official Nike Air Max reference image at https://nike.com/ref-airmax.jpg — the listing is from seller 'BudgetKicks' and I want to know if it could be a counterfeit.

## When to prefer this

Use this endpoint when you need automated, pay-per-call brand protection image comparison without setting up an account or subscription. It is well-suited for AI agents performing spot-checks on marketplace listings, e-commerce platforms monitoring for counterfeit sellers, or brand owners who want a lightweight similarity signal before escalating to legal review. It is not a legal determination of infringement — use it as a first-pass triage tool.

## Known failure modes

- Image URL is unreachable or returns a non-image response — comparison cannot proceed
- Base64-encoded image exceeds 2.2MB limit — request rejected
- More than 8 images submitted — exceeds maxItems limit
- Reference or listing role not assigned to images — comparison pairs cannot be formed
- CAPTCHA or login wall on listing page — page cannot be fetched
- Unsupported image media type submitted — only PNG, JPEG, WebP, GIF accepted

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

Returns a JSON object containing comparison pairs with visual similarity labels (e.g. 'identical', 'similar', 'different'), a numeric distance score (lower = more similar, 0 = identical), counterfeitConfirmed flag, findings array, checkedAt timestamp, and explicit limitations clarifying that image similarity is not legal proof of counterfeiting. Also includes flags for listingRemoved, accountAccessed, legalConclusion, and infringementDetermined — all false, as the API does not take enforcement action.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "maxLength": 200000
  },
  "file": {
   "type": "object",
   "required": [
    "mediaType",
    "fileBase64"
   ],
   "properties": {
    "filename": {
     "type": "string",
     "maxLength": 180,
     "minLength": 1
    },
    "mediaType": {
     "enum": [
      "text/plain",
      "text/csv",
      "application/json"
     ],
     "type": "string"
    },
    "fileBase64": {
     "type": "string",
     "maxLength": 12000000,
     "minLength": 1
    }
   },
   "additionalProperties": false
  },
  "json": {
   "type": "string",
   "maxLength": 200000
  },
  "text": {
   "type": "string",
   "maxLength": 200000
  },
  "rules": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "name",
     "value"
    ],
    "properties": {
     "name": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
     },
     "value": {
      "type": "string",
      "maxLength": 40
     }
    },
    "additionalProperties": false
   },
   "maxItems": 8
  },
  "brands": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "name"
    ],
    "properties": {
     "name": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1
     },
     "owner": {
      "type": "string",
      "maxLength": 160
     }
    },
    "additionalProperties": false
   },
   "maxItems": 20
  },
  "images": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "url": {
      "type": "string",
      "maxLength": 2000
     },
     "role": {
      "enum": [
       "reference",
       "listing"
      ],
      "type": "string"
     },
     "listingId": {
      "type": "string",
      "maxLength": 80
     },
     "mediaType": {
      "enum": [
       "image/png",
       "image/jpeg",
       "image/webp",
       "image/gif"
      ],
      "type": "string"
     },
     "productId": {
      "type": "string",
      "maxLength": 80
     },
     "fileBase64": {
      "type": "string",
      "maxLength": 2200000
     }
    },
    "additionalProperties": false
   },
   "maxItems": 8
  },
  "listings": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "sku": {
      "type": "string",
      "maxLength": 80
     },
     "url": {
      "type": "string",
      "maxLength": 2000

… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pairs": [
   {
    "detail": "The image files match. Matching files are not proof of counterfeiting.",
    "distance": 0,
    "listingId": "L-1",
    "productId": "P-1",
    "listingUrl": "",
    "referenceId": "R-1",
    "retrievedAt": "",
    "referenceUrl": "",
    "listingImageId": "I-1",
    "distanceSupplied": false,
    "visualSimilarity": "identical",
    "counterfeitConfirmed": false,
    "referenceRetrievedAt": ""
   }
  ],
  "status": "compared",
  "findings": [],
  "checkedAt": "2026-11-04T11:00:00.000Z",
  "limitations": [
   "Listings, brand names, and images are taken from the request or from one public page the caller named.",
   "A public page is fetched with one HTTP GET. Login pages and CAPTCHAs are not bypassed.",
   "Image similarity is the mean color difference after both images are drawn at 16 by 16. A difference of 12 or less is similar. It is not proof of counterfeiting.",
   "A brand name in a listing is not a finding of trademark infringement.",
   "No seller account is accessed and no listing is removed."
  ],
  "requestsSent": 0,
  "listingRemoved": false,
  "accountAccessed": false,
  "captchaBypassed": false,
  "legalConclusion": false,
  "counterfeitConfirmed": false,
  "authenticationBypassed": false,
  "infringementDetermined": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-product-image-similarity-check-e40a2fbd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
