# s2ar Image Certify

> s2ar Image Certify is a paid API for AI agents from api.s2ar.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Compress an image and verify that a vision model can still read it, returning a signed, publicly verifiable certificate

## Facts

- Endpoint: GET https://api.s2ar.dev/x402/v1/certify?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/s2ar-image-certify-1583c15d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_swIhOHdgom8i4xw6g7pBr

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 s2ar-image-certify-1583c15d
```

Example prompt: Compress this image at https://example.com/photo.jpg and certify that a vision model can still read it — I need a signed record I can share to prove it passes OCR mode.

## When to prefer this

Choose this endpoint when you need both compression and AI-readability validation in a single step with a cryptographically signed output — ideal for audit trails, compliance workflows, or any scenario where you must prove to a third party that a compressed image still passes vision model parsing.

## Known failure modes

- Image URL is unreachable or returns a non-image content type
- Image exceeds the 4 MB size limit
- Unsupported image format (not PNG, JPEG, or WebP)
- Vision model fails to parse even the original image
- Invalid probe mode value (must be recon, ocr, or auto)
- Network timeout fetching the remote image
- Payment not included or insufficient USDC balance

## How this service works

Compress an image and verify a vision model still reads it — a signed record anyone can check. GET ?image_url=

## Output

A signed certificate record confirming whether the vision model successfully read the compressed image, including the compression result, the model's interpretation, and a tamper-evident signature that third parties can independently verify.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "probe": {
       "type": "string",
       "description": "recon (default), ocr, or auto"
      },
      "image_url": {
       "type": "string",
       "description": "https URL of a PNG, JPEG or WebP up to 4 MB"
      },
      "target_model": {
       "type": "string",
       "description": "the model whose reading must hold (default: the house witness)"
      }
     },
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/s2ar-image-certify-1583c15d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.s2ar.dev](https://www.zero.xyz/host/api.s2ar.dev/llms.txt)
