Convert Image

Convert JPG, PNG and WEBP with a REST API

The Convert Image API changes one image into JPG, JPEG, PNG, GIF or WEBP. Send a public image URL, a project id and output_format. Browser conversion can also target AVIF and runs on your device for about 100 images.

Convert Image

POST /convert-image

  • Authorization header with your API key
  • Formats: API output_format values: jpg, jpeg, png, gif, webp. The browser tool also outputs AVIF when the browser can encode it.
  • Limit: The browser converter accepts about 100 images, 25 MB each. The API example converts one image URL.
curl -X POST https://picnie.com/api/v1/convert-image \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "project_id": "1",
    "image_url": "https://picnie.com/data/raw_images/demo_bg1.jpg",
    "output_format": "webp"
  }'

Questions

REST, no SDK

Call the endpoint from any HTTP client.

Create an API key, then use the reference and Postman collection.