# Image Toolkit

> Image Toolkit is a paid API for AI agents from imgkit.187.77.111.249.sslip.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Processes images on demand by resizing, converting, compressing, or generating thumbnails from a base64-encoded source image.

## Facts

- Endpoint: POST https://imgkit.187.77.111.249.sslip.io/process
- 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-toolkit-03dc903d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7owmujyWB41OKr0ePdE5K

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-toolkit-03dc903d -d '<json body>'
```

Example prompt: Take this base64-encoded JPEG image and resize it to 300×200 pixels, then convert it to WebP format with a quality of 80.

## When to prefer this

Use this endpoint when you need lightweight, on-demand image transformation (resize, format conversion, compression, or thumbnailing) without spinning up a dedicated image processing service. Ideal for agents that handle user-uploaded images, need to optimize media for web delivery, or must convert formats programmatically. Best suited for single-image operations at low cost ($0.01 per call).

## Known failure modes

- Invalid or malformed base64 image string returns an error
- Unsupported format value outside png/jpeg/webp causes validation failure
- Missing required fields (product or image_b64) results in a 400-level error
- Width/height or size values outside acceptable ranges may be rejected
- Payment failure or insufficient funds returns a 402 response

## How this service works

Image processing on demand: resize, convert, compress, thumbnail.

## Output

Returns a processed image in the requested format (PNG, JPEG, or WebP) after applying the specified operation (resize, convert, compress, or thumbnail). The output is the transformed image data ready for use or further storage.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "product",
  "image_b64"
 ],
 "properties": {
  "size": {
   "type": "integer"
  },
  "width": {
   "type": "integer"
  },
  "format": {
   "enum": [
    "png",
    "jpeg",
    "webp"
   ],
   "type": "string"
  },
  "height": {
   "type": "integer"
  },
  "product": {
   "enum": [
    "resize",
    "convert",
    "compress",
    "thumbnail"
   ],
   "type": "string"
  },
  "quality": {
   "type": "integer"
  },
  "image_b64": {
   "type": "string",
   "description": "Source image, base64"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/image-toolkit-03dc903d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from imgkit.187.77.111.249.sslip.io](https://www.zero.xyz/host/imgkit.187.77.111.249.sslip.io/llms.txt)
