image compression api

Compress images by URL without running image workers

Point Skymage at an existing public image, then request compressed WebP or AVIF output with explicit width, crop, and quality parameters for every product, CMS, avatar, or gallery surface.


https://demo.skymage.net/v1/assets.example.com/uploads/hero.jpg
  ?w=1280
  &f=avif
  &q=82

// Same source, different compression targets
?w=480&h=360&fit=cover&f=webp&q=80
?w=960&fit=inside&f=avif&q=84
?w=96&h=96&fit=cover&f=webp&q=78
compression controls

Compression should be tied to the rendered image slot

A useful image compression API does not apply one quality setting everywhere. It lets your app choose dimensions, format, quality, and crop for each output.

Format conversion

Request WebP or AVIF variants from the same origin image without a separate export workflow.

Quality by surface

Use different quality targets for thumbnails, product cards, avatars, heroes, and gallery detail.

Cacheable outputs

Keep compressed variants stable behind predictable URLs so repeat traffic stays fast.

api patterns

Expose compression as URL parameters your app can own

Build Skymage URLs in components, helpers, serializers, or CMS templates. Your application keeps layout intent visible while Skymage handles compression and delivery.

OutputSkymage compression URL
Product card?w=520&h=650&fit=cover&f=webp&q=82
CMS hero?w=1440&h=810&fit=cover&f=avif&q=84
Avatar?w=96&h=96&fit=cover&f=webp&q=78
Gallery detail?w=1600&fit=inside&f=avif&q=85
proof path

A first compression API test should prove four things

Origin fit

The API can transform image URLs you already expose publicly.

Byte savings

Compressed variants reduce transfer compared with the current source.

Visual quality

Product detail, text edges, faces, or gallery zoom quality still pass review.

Rollout scope

One helper or template can reuse the winning compression pattern.

free check

Find the first image compression API URL to test

Send one public page or image path. The free audit will identify the first source image, compression parameters to try, and whether Skymage fits your current origin.

deploy

Start shipping lighter images.

Create a Skymage CDN URL, prepend it to your existing image URLs, and let the edge handle optimization, transforms, and delivery.

No credit card required. 14-day free trial.

Test one image-heavy page first. Paste a URL for a free check, or start a trial with the same tracked source.
Full form Start trial