# fastapi.online — Image Invert Colors

> fastapi.online — Image Invert Colors 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-15).

Inverts the colors of an uploaded image (PNG, JPEG, or WebP), producing a negative-style result

## Facts

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

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-invert-colors-c740c733 -d '<json body>'
```

Example prompt: Can you invert the colors of this image for me? I want a negative/inverted version of my photo.png — just upload the file and get back the color-flipped result.

## When to prefer this

Choose this endpoint when you need a straightforward, per-call color inversion of an image with no signup required, paying only $0.001 USDC per call via crypto. Ideal for lightweight automation pipelines that occasionally need to negate image colors without subscribing to a full image editing SaaS.

## Known failure modes

- Unsupported file format submitted — only PNG, JPEG, and WebP are accepted
- File too large for processing — may return a payload error
- Corrupted or malformed image binary — returns an error response
- Payment not fulfilled (x402) — returns 402 Payment Required before processing

## 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

Returns a processed image file with all pixel color values inverted (each channel value replaced by 255 minus its original value), effectively producing a color negative of the input image.

## 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-invert-colors-c740c733/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)
