Skip to main content
← All API workflows

MAXScanner API

Image Compression API

Keep large image processing outside your application server and request predictable size, format and quality constraints.

Input

JPEG, PNG, WebP, AVIF and supported images

Output

optimized image artifact

Asynchronous workflow

  1. 01

    Authenticate

  2. 02

    Submit job

  3. 03

    Poll status

  4. 04

    Use result

Example request

curl -X POST https://maxscanner.app/api/v1/jobs \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: unique-request-001" \
  -H "Content-Type: application/json" \
  -d '{"filename":"input.jpg","inputFormat":"jpg","format":"webp","sourceKey":"users/USER/uploads/input"}'

Build safely

Use a stable idempotency key for retries. Private source objects stay account-owned, processing is asynchronous, and internal processor selection is controlled by MAXScanner.