DELXCOMMERCE Live contract

AI media generation · image

QR Codes for Agents

QR code generation API for agents at $0.001 USDC. Call when you need a PNG or SVG QR from text or a URL for tickets, onboarding links, or receipts—without installing a QR library. Returns a self-contained data URI plus SHA-256 receipt via x402 on Base; the encoded destination is never fetched or validated. No API key, no subscription.

x402qr-codeqrcodeqr-code-apiqr-code-generationqr-code-generatorgenerate-qr-code

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/qr-code -m POST -H 'x-delx-source: product-page' --max-amount 0.001 -b '{"data":"https://delx.ai","format":"png","error_correction":"M"}'
InputPOST /api/v1/x402/qr-code
{
  "data": "https://delx.ai",
  "format": "png",
  "error_correction": "M"
}
Delivered resultapplication/json
{
  "schema": "delx/qr-code/v1",
  "scope": "qr_code",
  "qr_id": "qr_8b4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f",
  "format": "png",
  "media_type": "image/png",
  "data_uri": "data:image/png;base64,<bounded-png>",
  "bytes": 438,
  "sha256": "8b4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f901234567890abcdef1234567890ab",
  "input_sha256": "a6e8f7c3d9b2a1e0f6c5d4b3a29180706050403020100ffeeddccbbaa99887766",
  "version": 2,
  "modules": 33,
  "error_correction": "M",
  "provider": "first-party",
  "model": "qrcode-python",
  "upstream_cost_usd": 0,
  "sale_price_usdc": 0.001,
  "gross_margin_usd": 0.001,
  "attribution": "QR rendered locally by Delx; the encoded destination is supplied by the caller and is not fetched or validated."
}

Machine-readable evidence

Inspect before paying.