Visual Diff API
## What it does Send two images and get back: - **`similarity`** — SSIM structural similarity score, `0.0` (different) to `1.0` (identical) - **`diff_regions`** — bounding boxes (`x, y, width, height`) of every changed area - **`visual_png_base64`** *(optional)* — a PNG of the second image with diff regions boxed in red ## Use cases - **Visual regression testing** — catch unintended UI changes…
Visual Diff API endpoints
| Method | Endpoint | Description |
|---|---|---|
| health | ||
| GET |
health_health_get /health |
|
| compare | ||
| POST |
compare_compare_post /compare |
|
Visual Diff API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO | $5 / month | — |
|