# Pixo Tools Image Crop

> Pixo Tools Image Crop 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-16).

Crops an uploaded image to specified dimensions or region via a REST API

## Facts

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

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-crop-c8bf8feb -d '<json body>'
```

Example prompt: Crop this product photo to a 512x512 square, trimming from the center — here's the image file.

## When to prefer this

Choose this endpoint when you need a simple, pay-per-call image cropping operation without managing your own image processing infrastructure, especially within a workflow already using the Pixo Tools API family for other image or PDF operations.

## Known failure modes

- Invalid or corrupt image file returns a 4xx error
- Crop coordinates out of bounds returns a validation error
- Unsupported image format rejected
- Payment not provided or insufficient triggers 402 Payment Required
- File too large exceeds upload limits

## How this service works

Crop an image

## Output

Returns a cropped version of the uploaded image file, trimmed or cut to the specified region or dimensions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "file",
  "width",
  "height"
 ],
 "properties": {
  "x": {
   "type": "integer"
  },
  "y": {
   "type": "integer"
  },
  "file": {
   "type": "string"
  },
  "width": {
   "type": "integer"
  },
  "colors": {
   "type": "integer",
   "description": "PNG only, default 256"
  },
  "format": {
   "enum": [
    "jpeg",
    "png",
    "webp"
   ],
   "type": "string"
  },
  "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-crop-c8bf8feb/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)
