# 24K Labs Image Grayscale Converter

> 24K Labs Image Grayscale Converter is a paid API for AI agents from api.24klabs.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Converts a color image to grayscale or sepia tone via a simple POST request.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/v1/image-grayscale
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/24k-labs-image-grayscale-converter-abd723aa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EOEppYai6SV64AZ2Z9jC5

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 24k-labs-image-grayscale-converter-abd723aa -d '<json body>'
```

Example prompt: Can you convert this image to grayscale — here's the URL: https://example.com/photo.jpg?

## When to prefer this

Choose this endpoint when you need a simple, paid-per-call grayscale or sepia conversion without managing image processing infrastructure. It is ideal for agents that need deterministic color-removal transforms in an automated pipeline, especially within the x402 micropayment ecosystem where per-call billing is acceptable.

## Known failure modes

- Invalid or inaccessible image URL returns an error
- Unsupported image format may cause processing failure
- Large images may time out or exceed size limits
- Missing required image input returns a 400 bad request
- Payment failure via x402 protocol prevents processing

## How this service works

Convert an image to grayscale (or sepia).

## Output

Returns a processed image (grayscale or sepia) as binary data or a URL, depending on the API response format. The original image colors are removed or shifted to the selected tone.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "image_b64": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "format": "PNG"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/24k-labs-image-grayscale-converter-abd723aa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.24klabs.ai](https://www.zero.xyz/host/api.24klabs.ai/llms.txt)
