# fastapi.online Image Grayscale Converter

> fastapi.online Image Grayscale Converter is a paid API for AI agents from api.fastapi.online, paid per call via x402, $0.001/call, status down (last checked 2026-09-16).

Converts a color image (PNG, JPEG, or WebP) to grayscale by removing all color information

## Facts

- Endpoint: POST https://api.fastapi.online/image-grayscale
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastapi-online-image-grayscale-converter-bc64f278
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IKhF3gs_kaHFCqnkhoSp7

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 fastapi-online-image-grayscale-converter-bc64f278 -d '<json body>'
```

Example prompt: Can you convert this color JPEG photo to grayscale for me? Here's the image file.

## When to prefer this

Choose this endpoint when you need a simple, pay-per-call grayscale conversion with no signup required and crypto micro-payment support (x402). Ideal for agents needing lightweight image preprocessing without managing subscriptions or API keys. Best for single-image, low-cost transformations where simplicity and no-auth access matter.

## Known failure modes

- Unsupported file format (non-PNG/JPEG/WebP) returns an error
- Corrupted or malformed image binary causes processing failure
- Oversized image files may exceed payload or processing limits
- Missing or empty file field returns a validation error

## How this service works

Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.

## Output

A grayscale version of the submitted image file, returned as a binary image with color channels removed. The image retains its original dimensions and format structure but all pixel color data is converted to luminance values.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "file": {
   "type": "string",
   "format": "binary",
   "description": "Image file (PNG/JPEG/WebP)"
  }
 }
}
```

## More

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