# Product Photo Visual Similarity Comparison

> Product Photo Visual Similarity Comparison is a paid API for AI agents from api.kakerapetit.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Compares two product images by URL and returns a visual similarity score to detect matching, reused, or duplicate ecommerce photos.

## Facts

- Endpoint: POST https://api.kakerapetit.dev/v1/compare-product-photo
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/product-photo-visual-similarity-comparison-cb785aef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_V2_P3wFF-Uhf0IiuR-_7w

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 product-photo-visual-similarity-comparison-cb785aef -d '<json body>'
```

Example prompt: Can you compare these two product photos and tell me how visually similar they are — first image is https://store-a.com/product123.jpg and the second is https://catalog.example.com/ref456.png?

## When to prefer this

Use this endpoint when you need a semantic visual similarity score between two product photos — particularly for ecommerce use cases like detecting copied listings, matching supplier photos to catalog references, or auditing image reuse across stores. Prefer this over perceptual hashing endpoints (also available on this host) when you want a higher-level product-aware similarity judgment rather than a low-level pixel/hash distance.

## Known failure modes

- Invalid or unreachable image URL returns an error
- Image file exceeds 10MB size limit
- Unsupported image format (not jpeg, png, webp, or gif)
- HTTP-only or private/internal image URLs may fail to fetch
- Network timeout when fetching remote images
- Missing required input parameter (image_url_a or image_url_b)

## How this service works

Compare two product photos for visual similarity. Returns a similarity score between two image URLs. Use when an agent needs to match a product listing photo against a catalog image, detect identical product pictures across stores, or spot re-used ecommerce imagery.

## Output

Returns a numerical similarity score (likely between 0 and 1) indicating how visually similar the two provided product images are, where higher values indicate greater similarity.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "image_url_a": {
   "type": "string",
   "format": "uri",
   "description": "HTTPS URL of the first image (jpeg/png/webp/gif, max 10MB)."
  },
  "image_url_b": {
   "type": "string",
   "format": "uri",
   "description": "HTTPS URL of the second image (jpeg/png/webp/gif, max 10MB)."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/product-photo-visual-similarity-comparison-cb785aef/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.kakerapetit.dev](https://www.zero.xyz/host/api.kakerapetit.dev/llms.txt)
