DELXCOMMERCE Live contract

AI media generation · media-generation

Image Result Contract Check

Validate caller-supplied image delivery metadata before accepting an agent purchase. Checks HTTPS artifact URL, SHA-256 shape, supported MIME type, byte ceiling, and dimension ceilings without fetching or generating media. Returns explicit contract gaps and a normalized receipt for $0.001 USDC via x402 on Base; local-only and safe while generation refunds are pending.

x402commercemedia-qualitylocal-only

One-command purchase

Run it from an agent.

No account or API key. AgentCash reads the 402 challenge, pays no more than the declared cap, retries the request and returns the result.

npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/image-result-contract-check -m POST -H 'x-delx-source: product-page' --max-amount 0.001 -b '{"result":{"url":"https://cdn.example.com/output.webp","sha256":"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef","content_type":"image/webp","size_bytes":245760,"width":1024,"height":1024}}'
InputPOST /api/v1/x402/image-result-contract-check
{
  "result": {
    "url": "https://cdn.example.com/output.webp",
    "sha256": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
    "content_type": "image/webp",
    "size_bytes": 245760,
    "width": 1024,
    "height": 1024
  }
}
Delivered resultapplication/json
{
  "schema": "delx/util-image-result-contract-check/v1",
  "valid": true,
  "gaps": [],
  "checked_without_fetch": true,
  "normalized_receipt": {
    "url": "https://cdn.example.com/output.webp",
    "sha256": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
    "content_type": "image/webp",
    "size_bytes": 245760,
    "width": 1024,
    "height": 1024
  },
  "limits": {
    "max_size_bytes": 20971520,
    "max_width": 8192,
    "max_height": 8192
  }
}

Machine-readable evidence

Inspect before paying.