# Image Optimizer & WebP Converter

> Image Optimizer & WebP Converter is a paid API for AI agents from imgopt.use.x402atlas.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Compresses and converts images to optimized formats (including WebP) via a pay-per-call API using the x402 micropayment protocol

## Facts

- Endpoint: POST https://imgopt.use.x402atlas.com/optimize
- 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/image-optimizer-webp-converter-378e84f7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ASLsrQMzbjnWATc24ZoAv

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 image-optimizer-webp-converter-378e84f7 -d '<json body>'
```

Example prompt: Can you optimize this JPEG image and convert it to WebP format so it's compressed and ready for my website?

## When to prefer this

Choose this endpoint when you need lightweight, pay-per-call image optimization without a subscription — ideal for sporadic or low-volume image processing workloads where you only pay $0.01 per image. Best suited for agents automating web asset pipelines, blog publishing workflows, or app asset preparation where WebP conversion and compression are needed on demand.

## Known failure modes

- Unsupported input image format returns an error
- Image URL unreachable or invalid returns 4xx
- Payment not included or invalid returns HTTP 402 challenge
- Image file too large may exceed processing limits
- Malformed request body returns validation error

## How this service works

Convert and compress images to WebP, AVIF, JPEG or PNG. Optimize and shrink photos for web and CDN delivery from any image URL.

## Output

Returns an optimized image file (typically in WebP or another compressed format), along with metadata such as original vs. compressed file size, compression ratio, and output dimensions. The response body contains the processed image binary or a URL to the result.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "format": {
   "enum": [
    "webp",
    "jpeg",
    "jpg",
    "png",
    "avif"
   ],
   "type": "string",
   "description": "Output format: webp, jpeg, jpg, png or avif (default webp)"
  },
  "quality": {
   "type": "integer",
   "maximum": 100,
   "minimum": 1,
   "description": "Encoding quality 1..100 (default 80)"
  },
  "image_url": {
   "type": "string",
   "description": "Absolute http(s) URL of the image to optimize"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/image-optimizer-webp-converter-378e84f7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from imgopt.use.x402atlas.com](https://www.zero.xyz/host/imgopt.use.x402atlas.com/llms.txt)
