# 24K Labs Image Grayscale/Sepia Converter

> 24K Labs Image Grayscale/Sepia 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, returning the transformed image.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/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-sepia-converter-ca3de75d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aw0zdI0d9rQaGkoR86dQc

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-sepia-converter-ca3de75d -d '<json body>'
```

Example prompt: Can you convert this image to grayscale for me? Here's the image URL: https://example.com/photo.jpg — I want a plain black-and-white version.

## When to prefer this

Choose this endpoint when you need a quick, low-cost ($0.002 USDC) grayscale or sepia conversion without setting up a full image-processing pipeline. Ideal for agents automating document workflows, design tasks, or content pipelines that need color-stripped image variants on demand.

## Known failure modes

- Invalid or inaccessible image URL returns an error
- Unsupported image format may cause processing failure
- Network timeout if the source image is very large
- Missing required image input returns a 400 bad request

## How this service works

Convert an image to grayscale (or sepia).

## Output

Returns the processed image data (likely base64-encoded PNG or JPEG) with the original colors removed or tinted sepia, ready to display or save.

## 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-sepia-converter-ca3de75d/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)
