# GeekVault Image Resize

> GeekVault Image Resize is a paid API for AI agents from api.geekvault.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-30).

Resizes an uploaded image file, returning the resized image as binary data, paid per call via x402/USDC.

## Facts

- Endpoint: POST https://api.geekvault.dev/img-tools/v1/resize?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/geekvault-image-resize-cd995029
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zp40lYpnCr_HifMGSyVrs

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 geekvault-image-resize-cd995029 -d '<json body>'
```

Example prompt: Can you resize this image file I'm uploading to a smaller size — I need it scaled down for a web thumbnail, and I want to pay per use without signing up for anything?

## When to prefer this

Choose this endpoint when you need a simple, no-signup, pay-per-call image resize operation using USDC micropayments on Base via x402. Ideal for agents that need occasional image resizing without managing API keys or subscriptions, or for workflows that need to keep costs proportional to usage.

## Known failure modes

- Missing or invalid 'file' field in multipart form data returns a 400 error
- Unsupported image format may result in processing failure
- Oversized input file may be rejected or time out
- Payment failure via x402/USDC results in 402 Payment Required before processing begins
- Corrupted binary data in input may produce garbled or error output

## How this service works

Network, docs, image, web, and dev utility tools paid per call via x402. No signup, no API keys, no subscriptions — just USDC on Base.

## Output

Returns a binary image file (as an array of bytes in application/octet-stream format) representing the resized version of the uploaded input image.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "file"
 ],
 "properties": {
  "file": {
   "type": "array"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "file"
 ],
 "properties": {
  "file": {
   "type": "array",
   "items": {
    "type": "integer",
    "format": "binary",
    "minimum": 0
   },
   "contentMediaType": "application/octet-stream"
  }
 },
 "description": "Cuerpo multipart/form-data con un único campo `file` (la imagen).\nSolo se usa para documentar el schema OpenAPI, nunca se instancia."
}
```

## More

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