# Pixo Tools Image Resize

> Pixo Tools Image Resize is a paid API for AI agents from api.pixo.tools, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Resizes an uploaded image to specified dimensions via a simple file upload

## Facts

- Endpoint: POST https://api.pixo.tools/v1/image/resize
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pixo-tools-image-resize-22474f6a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BeXMTyJqqUC0onfzZxPhR

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 pixo-tools-image-resize-22474f6a -d '<json body>'
```

Example prompt: Can you resize this image file to 800x600 pixels for me?

## When to prefer this

Use this endpoint when you need to resize or scale an image to specific dimensions via a simple file upload with per-call micropayment pricing. Prefer over client-side resizing when you need server-side reliability. Pixo Tools also offers companion endpoints for image compression/conversion if both resize and format change are needed.

## Known failure modes

- Invalid or corrupted image file returns error
- Unsupported image format rejected
- Missing file body returns 400 bad request
- Payment not provided or insufficient triggers 402 response
- File too large may exceed processing limits

## How this service works

Resize an image

## Output

Returns the resized image as a binary file output in the appropriate image format, scaled to the requested dimensions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "file"
 ],
 "properties": {
  "fit": {
   "enum": [
    "contain",
    "cover",
    "fill"
   ],
   "type": "string"
  },
  "file": {
   "type": "string"
  },
  "width": {
   "type": "integer"
  },
  "colors": {
   "type": "integer",
   "description": "PNG only, default 256"
  },
  "format": {
   "enum": [
    "jpeg",
    "png",
    "webp"
   ],
   "type": "string",
   "description": "Target format; defaults to the input format"
  },
  "height": {
   "type": "integer"
  },
  "quality": {
   "type": "integer",
   "description": "JPEG/WebP only, default 90"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "string",
 "format": "binary"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pixo-tools-image-resize-22474f6a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.pixo.tools](https://www.zero.xyz/host/api.pixo.tools/llms.txt)
