# workbot1.oddsys.org Image Transform

> workbot1.oddsys.org Image Transform is a paid API for AI agents from workbot1.oddsys.org, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-10).

Crop, resize, convert to greyscale, and re-encode images (PNG/JPEG/WebP) in a single deterministic API call

## Facts

- Endpoint: POST https://workbot1.oddsys.org/image?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/workbot1-oddsys-org-image-transform-47279668
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_75JclYfyzWxRzr_l2T9Di

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 workbot1-oddsys-org-image-transform-47279668 -d '<json body>'
```

Example prompt: Take this PNG image, crop it to 800×600 starting at offset (100, 50), resize the result to 400×300, convert it to greyscale, and give me back a JPEG.

## When to prefer this

Choose this endpoint when you need to apply one or more of crop, resize, greyscale conversion, and format re-encoding to an image in a single deterministic call without spinning up a local image processing library. Ideal for AI agent pipelines that need to normalize image dimensions or formats before passing them to downstream services. Prefer over client-side libraries when running in serverless or constrained environments.

## Known failure modes

- Invalid or unsupported image format returns an error
- Crop region extends outside image boundaries — returns error
- Unsupported output format specifier — returns error
- Malformed or missing image data in request body — returns 400
- Attempting to upscale may be rejected or no-op depending on policy

## How this service works

Modify an image in one call: crop, resize, convert to greyscale, and re-encode (PNG/JPEG/WebP) — applied in that order, any combination. Deterministic, no upscaling surprises.

## Output

Returns the transformed image as encoded binary data (PNG, JPEG, or WebP depending on the requested output format). Transformations — crop, resize, greyscale, re-encode — are applied in that fixed order, with any combination allowed. No upscaling is performed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "crop": {
   "type": "object",
   "required": [
    "width",
    "height"
   ],
   "properties": {
    "top": {
     "type": "number"
    },
    "left": {
     "type": "number"
    },
    "width": {
     "type": "number"
    },
    "height": {
     "type": "number"
    }
   },
   "description": "Crop region in source pixels; applied first."
  },
  "format": {
   "enum": [
    "png",
    "jpeg",
    "webp"
   ],
   "type": "string",
   "description": "Output encoding (default: source format)."
  },
  "resize": {
   "type": "object",
   "properties": {
    "fit": {
     "type": "string"
    },
    "width": {
     "type": "number"
    },
    "height": {
     "type": "number"
    }
   },
   "description": "Target size; fit: cover|contain|fill|inside|outside (default inside)."
  },
  "quality": {
   "type": "number",
   "description": "JPEG/WebP quality 1-100 (default 80)."
  },
  "delivery": {
   "enum": [
    "inline",
    "url"
   ],
   "type": "string",
   "description": "inline (default) = base64 in the response body; url = a short-lived download link (expires after ~15 min or a small download budget) — hand it to a user or client script instead of carrying the bytes."
  },
  "downloads": {
   "type": "number",
   "description": "url delivery only: download budget before the link dies (1-3, default 2)."
  },
  "greyscale": {
   "type": "boolean",
   "description": "Convert to greyscale."
  },
  "imageBase64": {
   "type": "string",
   "description": "Base64-encoded source image (png/jpeg/webp/gif/tiff)."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/workbot1-oddsys-org-image-transform-47279668/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from workbot1.oddsys.org](https://www.zero.xyz/host/workbot1.oddsys.org/llms.txt)
