Node.js сжимает изображения, сгенерированные ИИ, для загрузки в облако: повторение правил удержания арендаторов
DEV · 13.11.2026 · 23:24
Студия игр сталкивается с задачей не только загрузки изображений, но и доказательства их принадлежности и соблюдения правил хранения через определенный период времени. Решение включает…
Оригинал
Node.js Compresses AI-Generated Images for Cloud Upload: Replaying Tenant Retention
For a game studio storing AI-generated training images, the difficult question is not how to upload bytes. It is how to prove, six months later, why an artifact still exists, which tenant owns it, and which retention rule produced that outcome. Short answer: compress the image with Sharp, derive the object key from validated tenant and job identifiers, keep the object private, and persist the policy version beside the upload record. Replaying the same policy inputs should produce the same reten