asciify.art — Public API

Machine-readable spec at /openapi.json · Catalog at /.well-known/api-catalog · MCP card at /.well-known/mcp/server-card.json

No authentication required. Public IP-based rate limit of 10 requests/min applies to /api/mcp.

POST/api/text

Generate a FIGlet-style ASCII text banner.

{
  "text": "HELLO",
  "font": "Standard"
}

POST/api/gallery

Submit an ASCII artwork to the public gallery.

{
  "asciiArt": "...",
  "title": "my artwork",
  "color": "green"
}

POST/api/export/html

Export ASCII art as a downloadable zipped HTML+CSS bundle (includes phosphor glow + CRT scanlines).

{
  "asciiArt": "...",
  "textColor": "#00ff41",
  "backgroundColor": "#0a0a0a"
}

GET/api/health

Liveness probe. Returns `{ status: "ok" }`.

GET/api/version

Build version and deployment timestamp.

POST/api/mcp

Model Context Protocol endpoint (Streamable HTTP). JSON-RPC 2.0. Rate limited to 10 req/min per IP. Tools: generate_text_banner, list_text_fonts, list_gallery, get_gallery_item, generate_and_publish_banner. See /.well-known/mcp/server-card.json for the full card.

MCP toolgenerate_and_publish_banner

Generates an ASCII banner server-side and publishes it to the public gallery. Only server-rendered output is stored — no arbitrary ASCII injection. Double rate limit per IP: 10 publishes / 10 minutes and 10 publishes / 7 days. Profanity filter applies.