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

Convert AVIF images to JPEG. Useful when you have an AVIF (Apple Photos exports, modern CDN deliveries) and need a format older tooling can read.

Reads an AVIF image and returns the same picture as a JPEG. Transparency is flattened over opaque white because JPEG has no alpha channel. Useful when you receive an AVIF (Apple Photos exports, modern CDNs, screenshots from new browsers) and need to feed it into tooling that doesn't speak AVIF — image editors, OCR pipelines, design tools, browsers below Chrome 85 / Safari 16. Quality is 1–100 (default 80). The AVIF source was already lossy unless it was encoded losslessly — re-encoding to JPEG won't *recover* detail, only convert to a different lossy format. Choose `avif-to-png` instead if you need a lossless intermediate.

Inputs

NameTypeDefaultDescription
image*fileInput AVIF bytes.
qualitynumber (1…100)80JPEG quality 1–100 (default 80).

Response

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