Go Pro
Pricing

Image Conversion API

Convert between AVIF, JPG, PNG, and WebP with a single POST request. Server-side processing, no browser required.

curl -X POST https://iloveavif.com/api/v1/convert \
  -H "X-API-Key: ilav_YOUR_KEY" \
  -F "file=@photo.jpg" \
  -F "format=avif" \
  -F "quality=75" \
  --output photo.avif

Why Use the iLoveAVIF API?

Fast

Server-side WASM conversion on Cloudflare's edge network. Sub-second response times worldwide.

Simple

One endpoint, three parameters. Send a file, get a converted image back. No SDKs required.

Private

Images are processed in memory and never stored. No logs, no third parties, no retention.

Reliable

Runs on Cloudflare Workers with automatic failover. 99.9% uptime with global edge deployment.

Supported Formats

Input → OutputAVIFJPGPNGWebP
AVIF
JPG
PNG
WebP

Simple Pricing

Pro

$4.99/month
  • 1,000 API requests per day
  • All 16 format conversions
  • Quality control (1–100)
  • Up to 10MB per file
  • Unlimited browser conversions
  • 50MB file uploads in browser
Get Started

Frequently Asked Questions

No. The iLoveAVIF API is a standard REST endpoint. You can call it with curl, fetch, requests, or any HTTP client — no SDK or library required.

The API accepts AVIF, JPG, PNG, and WebP as input and can convert to any of those four formats. That gives you 16 possible input/output combinations.

The API is available exclusively to Pro subscribers ($4.99/month). The Pro plan includes 1,000 API requests per day plus unlimited browser conversions and 50MB file uploads.

Most conversions complete in under 1 second. The API runs on Cloudflare's edge network using WASM, so requests are processed at the nearest data center worldwide.

Start Converting in Minutes

Sign up, create an API key, and make your first request — all in under five minutes.