{
  "format": "delx/intent-card/v1",
  "id": "image-result-contract-check-api",
  "intent": "Image Result Contract Check for an agent workflow",
  "title": "Image Result Contract Check API for agents",
  "description": "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.",
  "keywords": [
    "Image Result Contract Check API",
    "Image Result Contract Check for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/image-result-contract-check-api",
  "machine_url": "https://commerce.delx.ai/intents/image-result-contract-check-api.json",
  "recommendation": {
    "tool_name": "util_image_result_contract_check",
    "service_name": "Image Result Contract Check",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/image-result-contract-check",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "result": {
          "type": "object"
        },
        "max_size_bytes": {
          "type": "integer",
          "minimum": 1,
          "maximum": 104857600,
          "default": 20971520
        },
        "max_width": {
          "type": "integer",
          "minimum": 1,
          "maximum": 32768,
          "default": 8192
        },
        "max_height": {
          "type": "integer",
          "minimum": 1,
          "maximum": 32768,
          "default": 8192
        }
      },
      "required": [
        "result"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "result": {
        "url": "https://cdn.example.com/output.webp",
        "sha256": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
        "content_type": "image/webp",
        "size_bytes": 245760,
        "width": 1024,
        "height": 1024
      }
    },
    "example_output": {
      "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
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/image-result-contract-check -m POST -H 'x-delx-source: intent-card-image-result-contract-check-api' --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}}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-image-result-contract-check-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/image-result-contract-check"
  }
}
