# fastapi.online — Pixel Art Generator

> fastapi.online — Pixel Art Generator is a paid API for AI agents from api.fastapi.online, paid per call via x402, $0.012/call, status down (last checked 2026-09-15).

Generates pixel art images from a text subject description, with optional seed for reproducibility.

## Facts

- Endpoint: POST https://api.fastapi.online/generate-pixel-art
- Price: $0.012/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-pixel-art-generator-1477e708
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DPTS5WObYlCZ7efvNcRDE

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-pixel-art-generator-1477e708 -d '<json body>'
```

Example prompt: Generate pixel art of a fire-breathing dragon using seed 42.

## When to prefer this

Choose this endpoint when you need quick, affordable pixel art generation from a text prompt, especially for game assets, retro-style graphics, or reproducible art (via seed). It is pay-per-call with no signup required, making it ideal for low-volume or ad-hoc use cases without API key friction.

## Known failure modes

- Subject text exceeds 300 characters — request rejected with validation error
- Missing required 'subject' field — returns 422 Unprocessable Entity
- Payment not provided or insufficient — returns 402 Payment Required
- Model inference timeout — may return 500 or timeout error
- Invalid seed type (non-integer) — returns 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

Returns a pixel art image generated from the provided subject description. If a seed is supplied, the result is reproducible across calls with the same inputs.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "seed": {
   "type": "integer"
  },
  "subject": {
   "type": "string",
   "maxLength": 300,
   "minLength": 1,
   "description": "the subject"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastapi-online-pixel-art-generator-1477e708/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)
