{
  "x402Version": 2,
  "id": 8828,
  "slug": "8828",
  "resource": "https://amanchain-relay.gitajhd.workers.dev/api/x402/aman-image-gen",
  "description": "AI image generation API — generate a 1024x1024 image from any text prompt; text-to-image for bots and apps. Deterministic on-chain execution by the AmanChain node — live consensus state, real blocks, pools and balances. Pay per call via x402 (USDC on Base), no account, no API key. POST JSON {\"serviceId\":\"aman-image-gen\",\"request\":\"<input>\"}.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xfB5625d44be488414606773244F0De35410b2f39",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "12441",
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "request": "a golden shield over a digital ledger, minimal vector",
            "serviceId": "aman-image-gen"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "bytes": 614400,
            "format": "png",
            "imageBase64": "<base64 image>",
            "ok": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "request": {
                    "description": "service input (see body example)",
                    "type": "string"
                  },
                  "serviceId": {
                    "description": "the service id, \"aman-image-gen\"",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "amanchain-relay.gitajhd.workers.dev",
  "lastUpdated": "2026-09-10T23:06:19.627Z",
  "quality": {
    "calls30d": 9,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-09-10T23:06:18.275Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "amanchain-relay.gitajhd.workers.dev",
    "manifest_name": "amanchain-relay.gitajhd.workers.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}