Transform
Ten chainable URL parameters resize, crop, and rotate on the fly. Smart crop keeps subjects in frame.
OpenImage API
Refract transforms, optimizes, and delivers images from your own origin, driven entirely by URL parameters. No re-upload, no build step.
https://demo.refract.dev/hero.jpg?w=1200&fm=auto&q=80
What Refract does
Point Refract at an existing image origin. Originals are fetched on demand and cached at the edge, never stored permanently.
Ten chainable URL parameters resize, crop, and rotate on the fly. Smart crop keeps subjects in frame.
Open
fm=auto negotiates AVIF, WebP, then JPEG from the request Accept header. Average 62% payload reduction versus source JPEG.
Open
41 edge locations. Cached response p50 21 ms, 98.6% cache hit ratio; cold transform p50 89 ms, p99 340 ms.
OpenLive transform
Seven parameters a browser can genuinely apply mutate the render in the same frame and rewrite the URL beneath it. fm, q, and dpr are negotiated server-side and ride the URL, tagged.
w — width, px
h — height, px
fit — resize mode
crop — strategy
rot — rotation
blur — 0 to 100
bg — background fill
BEFORE — source
AFTER — transformed
?w=600&fit=cover&crop=smart
?w=600&fit=contain&bg=eaeaea
?w=600&rot=90
?w=600&blur=40
Measured
62%
Average payload cut
21 ms
Median cached response
98.6%
Cache hit ratio
99.95%
Uptime SLA (Scale)