# Agent Tollgate Engine – Web Image Transform

> Agent Tollgate Engine – Web Image Transform is a paid API for AI agents from skinwinking.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-31).

Fetches a public image URL and returns a resized, reformatted, and quality-adjusted image as a base64-encoded data URI via pay-per-call x402 micropayment.

## Facts

- Endpoint: GET https://skinwinking.com/api/v1/web/image-transform?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-tollgate-engine-web-image-transform-68e25ef3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RlXXRqtVkQktf4t-aALN-

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 agent-tollgate-engine-web-image-transform-68e25ef3
```

Example prompt: Can you fetch the image at https://example.com/photo.jpg, resize it to 800×600, convert it to WebP at quality 85, and use scale-down fit so it doesn't get stretched?

## When to prefer this

Choose this endpoint when you need lightweight, pay-per-call image resizing and format conversion without setting up your own image pipeline. It is ideal for agents that occasionally need to transform remote images on demand, particularly when output as a base64 data URI is convenient for downstream embedding. It supports WebP and AVIF output which is useful for web-performance optimization.

## Known failure modes

- Invalid or inaccessible image URL returns an error (non-200 source, private URL, or CORS block)
- Requested dimensions exceed maximum of 4096px in either axis
- Unsupported format string causes a validation error
- Payment not received or x402 handshake fails, blocking the request
- Source image is too large or times out during fetch
- Malformed URL query parameter causes schema validation failure

## How this service works

50 pay-per-call tools for agents over x402 (USDC on Base, Polygon, Solana): crypto market data, token audits, indicators, swap routing, web extraction, DNS/WHOIS/email checks, FX, weather and AI text/image tools.

## Output

A JSON object containing the transformed image as a base64 data URI string (e.g. 'data:image/webp;base64,...'), the MIME content type (e.g. 'image/webp'), the size in bytes, and a boolean 'transformed' field confirming the operation succeeded.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "fit": {
       "type": "string",
       "default": "scale-down",
       "description": "scale-down, contain, cover, crop or pad"
      },
      "url": {
       "type": "string",
       "description": "Public image URL"
      },
      "width": {
       "type": "integer",
       "maximum": 4096,
       "minimum": 1
      },
      "format": {
       "type": "string",
       "default": "webp",
       "description": "webp, avif, jpeg, png or auto"
      },
      "height": {
       "type": "integer",
       "maximum": 4096,
       "minimum": 1
      },
      "quality": {
       "type": "integer",
       "default": 85,
       "maximum": 100,
       "minimum": 1
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bytes": 7682,
  "image": "data:image/webp;base64,...",
  "contentType": "image/webp",
  "transformed": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-tollgate-engine-web-image-transform-68e25ef3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from skinwinking.com](https://www.zero.xyz/host/skinwinking.com/llms.txt)
