Developers

Convert API

Convert between JPEG, PNG, WebP, and AVIF in your browser — no software to install. Try it without code first on the free convert tool.

POST/v1/images/transform
curl https://api.pixpoo.com/v1/images/transform \
  -H "x-api-key: pxp_xxxxxxxx" \
  -F file=@photo.jpg \
  -F format=avif \
  -F quality=80

Parameters

filefilerequired

The source image (multipart upload). Use "url" instead to fetch from a remote address.

formatstringrequired

Target format: jpeg, png, webp, avif, gif, or tiff.

qualityinteger

1–100. Defaults to 82.

Response

The same image re-encoded in the requested format.

Prefer JSON with a base64 payload instead of raw bytes? Use /v1/images/transform/json with the same parameters.

← Back to API documentation