# Delx Commerce — Seeded Color Hex Generator

> Delx Commerce — Seeded Color Hex Generator is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Deterministically generates a hex color code from a seed string, with no data retention and verifiable delivery via x402 micropayment

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/seeded-color-hex?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-seeded-color-hex-generator-737e4561
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f2w-6Zr_W-9J9ECrbfZ8B

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 delx-commerce-seeded-color-hex-generator-737e4561 -d '<json body>'
```

Example prompt: Generate a consistent hex color for the seed string 'alice@example.com' — I need the same color every time for that user.

## When to prefer this

Choose this endpoint when you need a reproducible, deterministic hex color from a string seed with cryptographic evidence of computation and no data retention — ideal for agent workflows requiring auditable, pay-per-use color assignment without standing API keys or subscriptions. Prefer over random color generators when consistency across calls matters.

## Known failure modes

- Empty or missing seed field — may return validation error
- Seed exceeding 8192 characters — rejected with input too large error
- Payment failure or invalid x402 payment header — 402 Payment Required with no result
- Network timeout — no result returned, retry safe since idempotent
- Malformed JSON body — 400 Bad Request

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

A JSON object containing: a hex color code (e.g. '#671c49'), an accessibility_checked flag (boolean), the schema version, operation name, status ('pass'), and evidence metadata including whether input was retained (always false), the SHA-256 hash of the input, and the number of external calls made (always 0).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "seed": {
   "type": "string",
   "maxLength": 8192,
   "description": "Seed supplied to Seeded Color Hex; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "color": "#671c49",
   "accessibility_checked": false
  },
  "schema": "delx/util-seeded-color-hex/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "575b2cdd9c7910d696c1b5ebe12756afd26e90b0e8bf6508be2f4075242d8483",
   "external_calls": 0
  },
  "operation": "seeded_decision:seeded_color_hex"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-seeded-color-hex-generator-737e4561/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
