Liveness probe. Returns {status:"ok"}.
Lists every supported image operation and its range/meaning.
Returns this documentation as a JSON object.
Process a remote image. Body:
{
"url": "https://example.com/photo.jpg",
"ops": { "width": 800, "height": 600, "fit": "cover",
"quality": 85, "format": "webp", "rotate": 90,
"brightness": 10, "contrast": 5, "blur": 2 }
}Returns raw processed image bytes. url must be publicly reachable.
Same as POST, convenient for quick browser/curl tests.
curl -X POST https://YOUR-WORKER.workers.dev/api/process \
-H 'Content-Type: application/json' \
-d '{"url":"https://example.com/photo.jpg","ops":{"width":800,"format":"webp","quality":80}}' \
--output out.webp