{
  "x402Version": 2,
  "resources": [
    {
      "resource": "https://relic-forge-api.bakongi.chatgpt.site/api/relic?seed=bronze-key",
      "description": "Generate a deterministic, game-ready CC0 SVG inventory relic icon. Set the required seed and optional shape/palette query parameters. Each successful request costs 0.002 USDC on Base through x402.",
      "type": "http",
      "mimeType": "image/svg+xml",
      "x402Version": 2,
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "amount": "2000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0xAaafB79ee935E21CaCF2582480F598B39C085788",
          "maxTimeoutSeconds": 120,
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ],
      "tags": [
        "game-art",
        "RPG",
        "inventory-icon",
        "SVG",
        "CC0",
        "procedural-art"
      ],
      "metadata": {
        "method": "GET",
        "serviceName": "Relic Forge",
        "mimeType": "image/svg+xml",
        "paymentProtocol": "x402",
        "noAccountRequired": true,
        "noApiKeyRequired": true,
        "auth": "x402 payment required; no API key",
        "pricingPolicy": {
          "unit": "request",
          "minimumUsd": 0.002
        },
        "parameters": [
          {
            "name": "seed",
            "in": "query",
            "required": true,
            "type": "string",
            "example": "bronze-key"
          },
          {
            "name": "shape",
            "in": "query",
            "required": false,
            "type": "string"
          },
          {
            "name": "palette",
            "in": "query",
            "required": false,
            "type": "string"
          }
        ],
        "exampleUrl": "https://relic-forge-api.bakongi.chatgpt.site/api/relic?seed=bronze-key",
        "discoveryUrl": "https://relic-forge-api.bakongi.chatgpt.site/openapi.json",
        "capabilities": [
          "deterministic seed-based SVG generation",
          "game-ready RPG inventory icon",
          "CC0 artwork output"
        ],
        "useWhen": "A game designer or agent needs a deterministic, reusable RPG inventory icon as SVG.",
        "doNotUseWhen": "You need bespoke hand-drawn art, a raster image, or an output that was not verified by your own renderer.",
        "sideEffects": "Read-only request; no account or personal data is required.",
        "family": "game-art"
      }
    },
    {
      "resource": "https://relic-forge-api.bakongi.chatgpt.site/api/qr",
      "description": "Generate a QR Code Model 2 SVG from public text (UTF-8). POST JSON with a text field and optional error-correction level L/M/Q/H; each successful request costs 0.002 USDC on Base through x402.",
      "type": "http",
      "mimeType": "image/svg+xml",
      "x402Version": 2,
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "amount": "2000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4F71b54bdA02913",
          "payTo": "0xAaafB79ee935E21CaCF2582480F598B39C085788",
          "maxTimeoutSeconds": 120,
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ],
      "tags": [
        "utility",
        "QR-code",
        "SVG",
        "vector-graphics",
        "x402"
      ],
      "metadata": {
        "method": "POST",
        "serviceName": "Relic Forge",
        "mimeType": "image/svg+xml",
        "paymentProtocol": "x402",
        "noAccountRequired": true,
        "noApiKeyRequired": true,
        "auth": "x402 payment required; no API key",
        "pricingPolicy": {
          "unit": "request",
          "minimumUsd": 0.002
        },
        "inputMimeTypes": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "text",
            "in": "body",
            "required": true,
            "type": "string",
            "minLength": 1,
            "maxLength": 1024
          },
          {
            "name": "ecl",
            "in": "body",
            "required": false,
            "type": "string",
            "enum": [
              "L",
              "M",
              "Q",
              "H"
            ],
            "default": "M"
          }
        ],
        "exampleUrl": "https://relic-forge-api.bakongi.chatgpt.site/api/qr",
        "discoveryUrl": "https://relic-forge-api.bakongi.chatgpt.site/openapi.json",
        "capabilities": [
          "QR Code Model 2 generation",
          "SVG vector output",
          "UTF-8 public text payload"
        ],
        "useWhen": "An agent needs an SVG QR code for non-sensitive text or a public URL.",
        "doNotUseWhen": "The QR payload contains private, secret, or personal data.",
        "sideEffects": "Read-only generation; POST body must contain only the text that should be encoded.",
        "family": "utility"
      }
    }
  ]
}
