# Delx Image Transform

> Delx Image Transform is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-10).

Resize or convert a single base64-encoded PNG, JPEG, or WebP image to a specified max dimension and output format, returning a durable artifact with a SHA-256 receipt

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/image-transform?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-image-transform-c8967294
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1W2gmAr05VG63qhNnVAEu

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-image-transform-c8967294 -d '<json body>'
```

Example prompt: Take this base64-encoded PNG image and resize it so the longest side is no more than 512 pixels, convert it to WebP format with a quality of 80, and give me back the transformed image.

## When to prefer this

Choose this endpoint when you need a simple, auditable, pay-per-call image resize or format conversion without any API key, subscription, or AI upscaling. It is ideal for agents that handle one image at a time and require a SHA-256 receipt for auditability. Prefer it over SaaS image transformation services when privacy matters (no input retention) and micropayment billing via x402/USDC is acceptable.

## Known failure modes

- Image exceeds 6 MiB decoded size — returns an error indicating the input limit was exceeded
- Invalid base64 encoding or unsupported image format — returns a parse or format error
- max_dimension value not in the allowed enum [256,512,768,1024,1536,2048] — returns a validation error
- quality value outside the 40–95 range — returns a validation error
- Payment not received or insufficient USDC balance — returns a 402 Payment Required response
- Network timeout or server error — returns a 5xx response with no receipt issued

## 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

Returns a durable transformed image (WebP, PNG, or JPEG) in base64 or as a downloadable artifact, along with a SHA-256 hash receipt confirming the output integrity. No input is retained after processing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "quality": {
   "type": "integer",
   "default": 85,
   "maximum": 95,
   "minimum": 40,
   "description": "JPEG/WebP quality. PNG ignores this field."
  },
  "image_base64": {
   "type": "string",
   "maxLength": 8388608,
   "minLength": 1,
   "description": "One base64-encoded PNG, JPEG, or WebP image; decoded input is limited to 6 MiB. Data-URI prefixes are accepted."
  },
  "max_dimension": {
   "enum": [
    256,
    512,
    768,
    1024,
    1536,
    2048
   ],
   "type": "integer",
   "default": 1024
  },
  "output_format": {
   "enum": [
    "webp",
    "png",
    "jpeg"
   ],
   "type": "string",
   "default": "webp"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bytes": 42132,
  "model": "pillow",
  "width": 1024,
  "height": 576,
  "sha256": "2d6c7c2b3f3c8e1e7b0d3a5b6e7f8a9b1234567890abcdef1234567890abcdef",
  "provider": "first-party",
  "image_url": "https://api.delx.ai/api/v1/generated-image-transforms/2d6c7c2b3f3c8e1e7b0d3a5b6e7f8a9b.webp",
  "media_type": "image/webp",
  "transform_id": "8e2f4a7d4f3d42b5a2c8f4ecb2b6d5a1",
  "output_format": "webp",
  "sale_price_usdc": 0.001
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-image-transform-c8967294/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)
