xtract.bot
POST /api/heic-to-jpeg

Convert HEIC / HEIF (the iPhone capture format) to JPEG. Configurable quality, edge-cached, no desktop tool needed.

Takes an HEIC or HEIF image and returns the same picture as a JPEG. JPEG quality is configurable (default 80). HEIC is the default iPhone capture format. Android phones and most desktop tools cannot open it natively, so converting to JPEG is the typical first step before any further processing. Animated HEIC sequences are not supported — only the primary image is converted. Limits to be aware of: - Maximum image size: 5 megapixels. - iPhone tile-grid captures (full-resolution photos with the HDR gain map) are rejected with a clear error pointing you to re-export the photo at a lower resolution first.

Inputs

NameTypeDefaultDescription
image*fileHEIC or HEIF image bytes.
qualitynumber (1…100)80JPEG encoder quality (0–100).

Response

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