Wears & Tears · technical pipeline

How a photo becomes a worn outfit

One real closet item and one real daily selfie from the same account on 26 July 2026, traced through every queue hop, model call, crop and write that actually produced them. Every number here is read from the production row it describes.

01

Photo captured

I/O · client boundaryBrowser

Technical

Client · PWA
accepts
JPEG · PNG · WebP, up to 8 MB
downscaled to
≤ 1280px long edge, re-encoded JPEG
minimum
200 × 200px, re-checked server-side
daily quota
3 free · 20 paid · 100 pooled
The wardrobe photo exactly as uploaded
the real upload — 960 × 1280 JPEG

app/lib/image-guardrails.server.ts · app/lib/image.client.ts

What the user sees

03:34

Closet

Photograph your clothes — laid flat or in a mirror selfie — and the AI will catalogue each item.

ClosetTodayInsightsProfile
Closet — before the first photo

An empty closet and one camera button. The user photographs a shirt; the phone shrinks the picture before it ever leaves the device, so the upload finishes even on a weak connection.

01 / 20