Get started/2 of 24

Quickstart

Create a key and convert your first image with cURL, Node, or Python.

  1. 1Create an API key in your dashboard under API.
  2. 2Save it as COMPRESTACK_API_KEY.
  3. 3Call the API with cURL, Node, or Python — or import Postman.
  4. 4Send your first image. Allow up to 5 minutes for large batches.
curl https://api.comprestack.com/api/v1/convert \
  -H "Authorization: Bearer $COMPRESTACK_API_KEY" \
  -F "files[]=@photo.jpg" \
  -F "format=webp"