# AdPrompt Color Palette Generator

> AdPrompt Color Palette Generator is a paid API for AI agents from x402.adprompt.io, paid per call via x402, $0.25/call, status unknown (last checked 2026-10-11).

Generates color palettes or color recommendations via the AdPrompt engine, paid per-call using x402 micropayments.

## Facts

- Endpoint: POST https://x402.adprompt.io/v1/colors/generate?utm_source=zero.xyz
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/adprompt-color-palette-generator-d65b4c64
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8SI7rNncU7ARVc-4tcqVX

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 adprompt-color-palette-generator-d65b4c64 -d '<json body>'
```

Example prompt: Generate a vibrant, modern color palette for my fintech startup — I want 5 colors that feel trustworthy and energetic, good for a light-mode dashboard.

## When to prefer this

Choose this endpoint when you need AI-generated color palettes on demand and are willing to pay per call via USDC micropayments using the x402 protocol. Ideal for agents embedded in design workflows, branding tools, or creative pipelines that need programmatic color generation without a monthly subscription. Prefer over static palette databases when you need prompts or descriptions translated into custom color schemes.

## Known failure modes

- 402 Payment Required — no valid x402 payment header supplied; must complete x402 v2 payment challenge first
- 400 Bad Request — malformed or missing input parameters
- 401/403 — invalid or expired payment credential
- 500 Internal Server Error — AdPrompt engine failure
- Timeout — generation taking too long under load

## How this service works

Public x402 API for the full AdPrompt engine and bundle catalog. Paid endpoints return an x402 v2 402 challenge until a valid payment is supplied.

## Output

Returns a generated color palette, likely including color codes (e.g. hex, RGB) and possibly color names or roles (primary, secondary, accent), tailored to the input prompt or parameters. A valid x402 payment must be supplied before results are returned.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "website": {
   "type": "string",
   "description": "If no profile is available, this adds a required paid Brand Scan."
  },
  "profile_id": {
   "type": "string"
  },
  "save_profile": {
   "type": "boolean"
  },
  "wallet_address": {
   "type": "string"
  },
  "manual_business_profile": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "ok",
  "status",
  "product_id",
  "receipt_id",
  "request_id",
  "result_url",
  "report_url"
 ],
 "properties": {
  "ok": {
   "type": "boolean",
   "const": true
  },
  "label": {
   "type": "string"
  },
  "job_id": {
   "type": "string",
   "description": "Present only for the asynchronous video product."
  },
  "status": {
   "type": "string",
   "const": "queued"
  },
  "product_id": {
   "type": "string"
  },
  "receipt_id": {
   "type": "string"
  },
  "report_url": {
   "type": "string",
   "description": "Fetch this once background processing completes for the full AdPrompt-branded report."
  },
  "request_id": {
   "type": "string"
  },
  "result_url": {
   "type": "string",
   "const": "/results"
  },
  "polling_url": {
   "type": "string",
   "description": "Present only for the asynchronous video product."
  },
  "saved_profile": {
   "type": "object",
   "properties": {
    "name": {
     "type": "string"
    },
    "website": {
     "type": "string",
     "format": "uri"
    },
    "profile_id": {
     "type": "string"
    }
   },
   "additionalProperties": true
  },
  "business_context": {
   "type": "object"
  },
  "adprompt_signature": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/adprompt-color-palette-generator-d65b4c64/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.adprompt.io](https://www.zero.xyz/host/x402.adprompt.io/llms.txt)
