Where to store AI-generated images and thumbnails with signed URLs and lifecycle cleanup A developer outlined a storage architecture for AI-generated images and thumbnails that uses private object storage with content-hash keys, short-lived signed URLs, and lifecycle rules to expire temporary renders. The approach stores permanent assets under tenant-scoped keys so snapshots can be restored by repointing a manifest, while a lifecycle rule sweeps the tmp/ prefix after one day, since no hourly expiry exists in this class of products. Use private object storage with content-hash keys and short-lived signed URLs for AI-generated images and thumbnails, and let a lifecycle rule sweep the throwaway derivatives. For a Node.js app that renders art per tenant — a game backend where every guild, season event and store listing gets a banner plus three thumbnail sizes — that is the shape I'd copy. The deciding constraint is not the storage line on the invoice. It's retention and deletion: whose renders you keep, for how long, and how fast you can restore one selected snapshot after a batch job regenerates four thousand assets from a bad prompt. Bytes are cheap. Restores are not. Yes, with one condition: object storage only stays simple if you treat keys as immutable and access as temporary. The version most apps start with is the app server's own disk, or a blob column because it keeps everything in one transaction, with a public folder in front for delivery. It works until the second tenant shows up. Then a support request arrives asking to purge one studio's assets and keep everybody else's, and the answer turns into a shell script over a directory tree while the CDN keeps serving copies that nobody can invalidate per tenant. Restoring "the banners as they were before Tuesday's batch" is worse, because the disk only holds the current file. The generation cost is already sunk, the pixels are gone, and the only record that a previous version existed is a log line. Object storage fixes the delete story and the restore story at the same time, but only because of the key layout, not because of the product you pick. Each render gets its own key. A snapshot is a list of keys. Deletion is a prefix scan plus a batch delete, and it reaches the actual bytes rather than a row that points at them — which is the part GDPR Article 17 requests care about. Infrai's storage is worth a look for this leg specifically because it's a plain REST API: no SDK to install, no client library version to pin, so the Node service that uploads, a Python resizer and a Go batch worker all speak the same HTTP contract. Here's the layout I'd defend in review. Every permanent object lives at tenants/