Get a key, point at your origin
Create an API key and connect the image origin you already have. Nothing is uploaded and nothing is copied — Refract just needs to know where to fetch from.
Four minutes, three steps, and then it is just URLs for the rest of your life. You do not install a pipeline and you do not move your images anywhere — Refract fetches the original from the origin you already run, transforms it on request, and caches the result at the edge.
Below is the whole ingredient list, set the way a carton sets one: every accepted value written out, the one default the brief actually states printed once, and nine honest em dashes where a default was never specified — because a label that guesses is a label nobody believes again. Three of the ten are marked with an asterisk; they are done on our side, not in your browser, and the small print at the bottom says exactly what that means.
yes, the asterisk has its own paragraph. everything here does.
Create an API key and connect the image origin you already have. Nothing is uploaded and nothing is copied — Refract just needs to know where to fetch from.
Append parameters to the path and ask for the image back:
https://demo.refract.dev/hero.jpg?w=1200&fm=auto&q=80
The same URL, built for you:
import { refract } from "@refract/js";
const url = refract("hero.jpg", {
width: 1200,
format: "auto",
quality: 80,
});
// -> https://demo.refract.dev/hero.jpg?w=1200&fm=auto&q=80
There is nothing left to install. Create a key, append a parameter, and ask for the image back.
See pricing