# RelayStation Image Grayscale Converter

> RelayStation Image Grayscale Converter is a paid API for AI agents from api.relaystation.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Converts any image to grayscale, priced per megapixel, accepting any common input format.

## Facts

- Endpoint: POST https://api.relaystation.ai/v1/image/grayscale
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/relaystation-image-grayscale-converter-4f236ba7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Yap2sbOJkLZzscNil-2CA

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 relaystation-image-grayscale-converter-4f236ba7 -d '<json body>'
```

Example prompt: Convert this product photo to grayscale — just strip out all the color and give me the black-and-white version of the image.

## When to prefer this

Choose this endpoint when you need a simple, reliable, per-megapixel-billed image-to-grayscale conversion without needing to manage image processing libraries locally. It is ideal for agents handling arbitrary input image formats where format negotiation is undesirable, and when micropayment-based pay-per-use billing via x402 is preferred over subscription APIs.

## Known failure modes

- Unsupported or corrupt image format returns an error
- Image too large or exceeding megapixel limits may be rejected
- Network timeout for very large image uploads
- Insufficient USDC balance or x402 payment failure
- Malformed request body or missing image data

## How this service works

$0.0003/MP. Convert any image to grayscale — one call, any input format. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

## Output

Returns a grayscale version of the submitted image in the same or compatible output format, with all color channels removed and luminance preserved. Billed at $0.0003 per megapixel with a $0.01 minimum via x402 micropayment; any overpay is auto-credited.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "properties": {}
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## More

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