# Delx Commerce — Image Result Contract Check

> Delx Commerce — Image Result Contract Check is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Validates an image generation result object against size and dimension constraints, returning a normalized receipt with metadata and any detected gaps.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/image-result-contract-check?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-image-result-contract-check-f7f867cc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_V0lIdeKf4ZQcQMKA2Vehh

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 delx-commerce-image-result-contract-check-f7f867cc -d '<json body>'
```

Example prompt: Check whether this image result object is valid and within 8192x8192 pixels and 20MB — I need to confirm the dimensions, hash, and content type before accepting the delivery.

## When to prefer this

Use this endpoint when you need to programmatically verify that an image result object returned by an AI image generation service meets specific size and dimension constraints before accepting delivery or triggering payment. It is purpose-built for agent-to-agent commerce workflows using the x402 pay-per-result pattern on Delx Commerce, and provides a normalized receipt with a sha256 hash for auditability — making it ideal when you need tamper-evident verification without re-fetching the image.

## Known failure modes

- Missing or malformed result object returns validation error
- Image dimensions or size exceed specified maximums — reported in gaps array
- Invalid max_width/max_height/max_size_bytes parameter types cause schema rejection
- Result object missing required fields returns gaps with specific missing fields listed
- Network or service error returns non-200 response

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object indicating whether the image result is valid (true/false), a list of any gaps (constraint violations), the applied limits (max_width, max_height, max_size_bytes), and a normalized receipt containing the image URL, width, height, sha256 hash, size_bytes, and content_type. Also indicates whether the check was performed without fetching the remote file.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "result": {
   "type": "object"
  },
  "max_width": {
   "type": "integer",
   "default": 8192,
   "maximum": 32768,
   "minimum": 1
  },
  "max_height": {
   "type": "integer",
   "default": 8192,
   "maximum": 32768,
   "minimum": 1
  },
  "max_size_bytes": {
   "type": "integer",
   "default": 20971520,
   "maximum": 104857600,
   "minimum": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "gaps": [],
  "valid": true,
  "limits": {
   "max_width": 8192,
   "max_height": 8192,
   "max_size_bytes": 20971520
  },
  "schema": "delx/util-image-result-contract-check/v1",
  "normalized_receipt": {
   "url": "https://cdn.example.com/output.webp",
   "width": 1024,
   "height": 1024,
   "sha256": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
   "size_bytes": 245760,
   "content_type": "image/webp"
  },
  "checked_without_fetch": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-image-result-contract-check-f7f867cc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
