# Nero Labs Bulk Image Converter

> Nero Labs Bulk Image Converter is a paid API for AI agents from x402-agent-tools.nerolabs.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-12-03).

Downloads up to 20 images from URLs and converts them to WebP, JPEG, PNG, or AVIF with optional resizing, compression, and EXIF stripping, returning converted file links and before/after size metrics.

## Facts

- Endpoint: POST https://x402-agent-tools.nerolabs.workers.dev/image-convert?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nero-labs-bulk-image-converter-9e164c97
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ai8qDy4ElukVuMZlwwZZC

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 nero-labs-bulk-image-converter-9e164c97 -d '<json body>'
```

Example prompt: Convert these 5 product images to WebP format, shrink anything wider than 1200px, set quality to 75, and strip the EXIF data: [image URL list].

## When to prefer this

Choose this endpoint when you need to batch-convert multiple images (up to 20) in a single call with format conversion, resizing, and EXIF stripping combined. Ideal for e-commerce pipelines, CMS media workflows, or web performance optimization where you want before/after size metrics without standing up your own image processing infrastructure. Priced per image at $0.002 USDC with no charge for failed conversions.

## Known failure modes

- Invalid or unreachable image URL returns an error status for that row
- Unsupported input format (e.g. PDF) may fail conversion
- More than 20 URLs in a single call will be rejected
- Image dimensions exceeding 16384px are rejected
- Network timeouts fetching remote images
- Corrupt or truncated image files fail with an error status per row

## How this service works

Downloads up to 20 images and converts them to WebP (default), JPEG, PNG or AVIF, optionally resized to a maximum width or height, EXIF stripped and photos turned the right way up. Returns a link to each converted file with its measured width, height and size before and after. $0.002 per image converted; a call where nothing converts is not charged. Runs nerolabs/bulk-image-converter.

## Output

A JSON object with a 'rows' array and a 'count'. Each row includes the source URL, converted file URL, output format, width, height, original bytes, converted bytes, saved percent, original format, and status ('ok' or error). Only successful conversions are charged.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "fit": {
   "enum": [
    "inside",
    "cover",
    "contain",
    "fill"
   ],
   "type": "string",
   "default": "inside",
   "description": "How to fit when both maxWidth and maxHeight are set."
  },
  "format": {
   "enum": [
    "webp",
    "jpeg",
    "png",
    "avif",
    "keep"
   ],
   "type": "string",
   "default": "webp",
   "description": "Output format; 'keep' only resizes or compresses."
  },
  "quality": {
   "type": "integer",
   "default": 80,
   "maximum": 100,
   "minimum": 1,
   "description": "1 to 100; lower is smaller."
  },
  "maxWidth": {
   "type": "integer",
   "maximum": 16384,
   "minimum": 1,
   "description": "Shrink anything wider, keeping proportions. Never enlarges."
  },
  "imageUrls": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Direct image links (jpg, png, webp, gif, avif, tiff, heic, svg). Up to 20 per call."
  },
  "maxHeight": {
   "type": "integer",
   "maximum": 16384,
   "minimum": 1,
   "description": "Shrink anything taller, keeping proportions."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "rows": [
   {
    "width": 550,
    "format": "webp",
    "height": 368,
    "status": "ok",
    "rowNumber": 3,
    "sourceUrl": "https://www.gstatic.com/webp/gallery/1.jpg",
    "convertedUrl": "https://api.apify.com/v2/key-value-stores/1BngUfUBMduDF3PpJ/records/00003-SKU-102.webp?signature=f6CW4V8JWHwSDf1KBEnZ",
    "savedPercent": 14,
    "originalBytes": 44891,
    "originalWidth": 550,
    "convertedBytes": 38614,
    "originalFormat": "jpeg",
    "originalHeight": 368
   },
   {
    "width": 550,
    "format": "webp",
    "height": 404,
    "status": "ok",
    "rowNumber": 4,
    "sourceUrl": "https://www.gstatic.com/webp/gallery/2.jpg",
    "convertedUrl": "https://api.apify.com/v2/key-value-stores/1BngUfUBMduDF3PpJ/records/00004-SKU-103.webp?signature=hnADOOA8eN4lepFpHs8T",
    "savedPercent": 3.8,
    "originalBytes": 88316,
    "originalWidth": 550,
    "convertedBytes": 84954,
    "originalFormat": "jpeg",
    "originalHeight": 404
   }
  ],
  "count": 2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nero-labs-bulk-image-converter-9e164c97/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent-tools.nerolabs.workers.dev](https://www.zero.xyz/host/x402-agent-tools.nerolabs.workers.dev/llms.txt)
