Sign in

Delivery endpoints are public. Uploads require authentication.

randimg

Loading…

Upload

Drop images here, or click to browse
Converted to WebP in this browser. Identical content is deduplicated.

Preview

Random image from the library

Endpoints

GET /randomPublic. Streams image bytes; usable directly as an <img src>.
GET /random?type=redirectPublic. 302 to the image, which the edge caches.
GET /random?type=jsonPublic. Returns {name, url, width, height, bytes}.
GET /i/{name}Public. Content-addressed and immutably cacheable.
POST /uploadAuthenticated. Multipart field files holding WebP images; scripts may send an X-Upload-Token header.
POST /reloadAuthenticated. Reconciles the index with the R2 bucket.
GET /stats · /listPublic. /stats adds storage and session details only when authenticated.
The password is the Worker secret ADMIN_PASSWORD; change it with wrangler secret put ADMIN_PASSWORD.