Overview
Rewind has a unified image pipeline that handles artwork for all domains. Images are fetched from source APIs, stored in Cloudflare R2, and served through Cloudflare Images for on-the-fly transforms.CDN URLs
All image responses include animage object:
Image transforms
Sized images use Cloudflare’s/cdn-cgi/image/<options>/<R2 key> path. Transform options are comma-separated in the path; the v query parameter is only a cache buster.
Original images omit the transform path:
ThumbHash
Every image includes athumbhash, a compact placeholder (20-30 bytes, base64-encoded) that can be decoded client-side into a blurry preview image. This enables instant placeholder rendering before the full image loads.
See thumbhash.io for decoder libraries.
Color extraction
Each image has two extracted colors:dominant_color: the most common color in the image (hex).accent_color: a secondary color that contrasts with the dominant color (hex).