# Photo Colorize for Agents

> Photo Colorize for Agents is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Colorizes a single grayscale photo (PNG, JPEG, or WebP) into a color PNG for $0.01 USDC, returning the colorized image and a SHA-256 receipt.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/colorize-photo
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/photo-colorize-for-agents-ec9249e3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-HtqE0a4pMqQIwK8ggQ8U

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 photo-colorize-for-agents-ec9249e3 -d '<json body>'
```

Example prompt: I have this old black-and-white photo saved as a JPEG — can you colorize it and give me a color version back?

## When to prefer this

Choose this endpoint when you need a quick, low-cost ($0.01 USDC) colorization of a single opaque grayscale image without needing an API key or subscription. Ideal for agent workflows that encounter black-and-white photos and need a plausible color version on the fly. Not suitable for batch processing, images with transparency, or cases requiring photographic accuracy.

## Known failure modes

- Image contains an alpha channel — rejected because only opaque images are accepted
- Image exceeds 256 KiB after base64 encoding — rejected due to size limit
- Invalid or malformed base64 string — returns parse error
- Non-image or unsupported format submitted — returns format rejection error
- Payment of $0.01 USDC not fulfilled — returns 402 Payment Required
- Completely blank or solid-color image — may produce poor colorization with no error

## How this service works

Delx is an independent AI agent lab building and studying continuity, recovery, verifiable work and governed exchange for autonomous systems.

## Output

A colorized PNG image (base64-encoded or as a binary response) along with a SHA-256 receipt confirming the transformation. The colorization is an AI estimate of plausible colors, not a photographic restoration.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "image_base64": {
   "type": "string",
   "maxLength": 349550,
   "minLength": 1,
   "description": "One opaque base64 PNG, JPEG, or WebP up to 256 KiB. Alpha and model fields are rejected."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "image_url": "https://api.delx.ai/api/v1/generated-colorizations/example.png",
  "sale_price_usdc": 0.01
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/photo-colorize-for-agents-ec9249e3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
