xtract.bot
POST /api/image-heic-to-ascii

Convert an HEIC/HEIF (the iPhone capture format) to ASCII art. Configurable width, character ramp, invert mode. Plain text or coloured HTML output.

Decodes an HEIC/HEIF image and renders it as ASCII art — plain text or per-character coloured HTML. Same options and output formats as `image-png-to-ascii`. Inherits the same input limits as the other HEIC tools: maximum 5 megapixels, no tile-grid iPhone captures.

Inputs

NameTypeDefaultDescription
image*fileHEIC bytes.
widthnumber (8…400)80Output character columns (default 80).
rampstring"standard"Preset name (standard|blocks|detailed) or a custom ramp string of at least two characters.
invertbooleanfalseFlip the luminance→character mapping.
formatenum (text | html)"text"`text` for plain ASCII; `html` for a coloured <pre> document.

Response

Modes: text, json. Cache: yes (24h TTL).