# x402atlas Identicon Generator

> x402atlas Identicon Generator is a paid API for AI agents from visuals.use.x402atlas.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-17).

Generates a deterministic, mirrored identicon avatar from a UTF-8 seed string, returned as base64-encoded SVG or PNG inside a JSON response.

## Facts

- Endpoint: POST https://visuals.use.x402atlas.com/identicon?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402atlas-identicon-generator-9e5fbe6d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NryYgC_cuRK6l3EtJdsI1

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402atlas-identicon-generator-9e5fbe6d -d '<json body>'
```

Example prompt: Generate a deterministic identicon avatar for the seed '0xabc123def456' and give me back the base64-encoded SVG so I can display it as a profile picture.

## When to prefer this

Choose this endpoint when you need a lightweight, reproducible avatar or placeholder image derived purely from a string (username, email, wallet address, UUID) without storing any images or requiring user uploads. It is ideal for blockchain/Web3 UIs where wallet addresses need visual identifiers, or any app needing consistent default avatars. Prefer this over random avatar generators when determinism matters — the same seed must always yield the same image.

## Known failure modes

- Empty or missing seed string returns an error
- Invalid or unsupported output format specification causes a bad request
- Network or payment authorization failure (x402 micropayment not settled) blocks the request
- Extremely long seed strings may be rejected or truncated
- Malformed UTF-8 input may cause encoding errors

## How this service works

Identicon generator — turn an exact UTF-8 seed into a deterministic mirrored avatar returned as base64-encoded SVG or PNG in JSON.

## Output

A JSON object containing a base64-encoded image (SVG or PNG) of the generated identicon. The image is a deterministic, mirrored geometric pattern derived exclusively from the provided UTF-8 seed — identical inputs always produce identical outputs.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "seed": {
   "type": "string",
   "minLength": 1,
   "description": "Exact non-empty UTF-8 seed, at most 1024 encoded bytes; never echoed in the response."
  },
  "size": {
   "type": "integer",
   "default": 512,
   "maximum": 2048,
   "minimum": 64,
   "description": "Exact width and height of the square output canvas in pixels."
  },
  "format": {
   "enum": [
    "svg",
    "png"
   ],
   "type": "string",
   "default": "svg",
   "description": "Artifact format encoded into content_base64."
  },
  "background": {
   "type": "string",
   "default": "#ffffff",
   "pattern": "^#[0-9a-fA-F]{6}$",
   "description": "Opaque #RRGGBB canvas color; rejected unless a derived palette color reaches 4.5:1 contrast."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "kind": "identicon",
  "width": 128,
  "format": "svg",
  "height": 128,
  "sha256": "e2f996520ac504a0b206b194d86269acdb87cbae5652ee1a9a90236d0d281e55",
  "media_type": "image/svg+xml",
  "content_base64": "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjgiIGhlaWdodD0iMTI4IiB2aWV3Qm94PSIwIDAgMTI4IDEyOCIgc2hhcGUtcmVuZGVyaW5nPSJjcmlzcEVkZ2VzIj4KPHJlY3Qgd2lkdGg9IjEyOCIgaGVpZ2h0PSIxMjgiIGZpbGw9IiNmZmZmZmYiLz4KPHBhdGggZmlsbD0iIzkwMjM0MiIgZD0iTTE5IDE5aDE4djE4aC0xOHpNNTUgMTloMTh2MThoLTE4ek05MSAxOWgxOHYxOGgtMTh6TTM3IDM3aDU0djE4aC01NHpNMzcgNTVoNTR2MThoLTU0ek01NSA3M2gxOHYxOGgtMTh6TTE5IDkxaDE4djE4aC0xOHpNNTUgOTFoMTh2MThoLTE4ek05MSA5MWgxOHYxOGgtMTh6Ii8+Cjwvc3ZnPgo=",
  "render_version": "mirror-grid-v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402atlas-identicon-generator-9e5fbe6d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from visuals.use.x402atlas.com](https://www.zero.xyz/host/visuals.use.x402atlas.com/llms.txt)
