Image API โ€“ Portal

Convert JPG/PNG to AVIF or WebP via a simple HTTP API. Create an access key below, then POST your image to https://imageapi.onepixel.pt/api.php.

๐Ÿ“ฆ

WordPress plugin available

Convert your entire media library to AVIF / WebP โ€” locally or via this API โ€” and serve them automatically.

v1.0.6 ยท 26.2 KB ยท updated 2026-04-19
Download .zip

Create access key

Existing keys

KeyLabelCreatedLast usedUses
04439bbb1be534bf07ed2db31b85a340bc8f1824d7d2642e 2026-04-19 00:11:56 2026-04-19 01:11:08 3073

Usage

POST multipart/form-data to https://imageapi.onepixel.pt/api.php with these fields:

The response body is the converted binary image with the appropriate Content-Type.

cURL example

curl -X POST https://imageapi.onepixel.pt/api.php \
  -F "key=YOUR_KEY" \
  -F "format=avif" \
  -F "quality=55" \
  -F "[email protected]" \
  --output photo.avif

AVIF encoded with libavif/aom ยท WebP encoded with libwebp (sharp YUV).