A shaft of hard directional light falling through an archway across a dark plaster wall.
URL-driven image API

Every image, transformed by its URL.

Point Refract at an image you already host. It resizes, optimizes, and delivers from the edge, one query string at a time.

Start building
Request https://demo.refract.dev/hero.jpg?w=1200&fm=auto&q=80
A tall empty chair beside a window at the right of the frame, low sun raking across a bare dark floor.

Transform

Ten chainable URL parameters reshape any image. Smart crop keeps the subject in frame.

Ten chainable parameters
A coastal horizon at last light, long tonal gradients from deep shadow to a single bright band on the water.

Optimize

fm=auto negotiates AVIF, WebP, or JPEG from the request, around 62% lighter than the source JPEG.

62% average payload reduction
A high aerial of a lone road curving between dark cliffs and open sea in hard low afternoon light.

Deliver

Cached at 41 edge locations and served in a median 21 ms.

41 edge locations · 21 ms cached p50
Live transform

Move a value. The frame answers.

A smooth ceramic vessel on a dark surface beside hard window light, the source still.
The same ceramic vessel, redrawn by the parameters currently set on the slate.
fit
crop
rot
https://demo.refract.dev/still.jpg?w=1200&fm=auto&q=80 Negotiated
62% Average payload reduction
21 ms Median cached response
98.6% Cache hit ratio
99.95% Uptime SLA on Scale
A dark stone stairwell climbing toward a single hard shaft of light from above.

Start with a single URL.

Start building