An AI agent that catalogs your closet, garment by garment
Wardrobe turns photos of your clothes into a local, editable library of product cutouts and modeled outfit previews using OpenAI's vision and image models.

What it does: You point it at a folder of clothing photos (or drag, drop, and paste into the web UI) and it detects each garment with the OpenAI Responses API, then extracts clean product-style cutouts with the image API. It can also generate modeled editorial previews of individual pieces and full outfits, using a reference photo of you. Everything, originals, generated images, job state, and the JSON database, stays in a local data/ directory.
The interesting bit: The repo ships as a Codex-friendly project: two bundled agent skills handle importing clothes and generating outfit lookbooks end to end, including reviewing every cutout and verifying results before writing to disk. It is glue code in the pleasant sense, a well-organized pipeline around OpenAI’s APIs rather than novel ML, and it leans into that by being agent-operable.
Key highlights
- Garment detection via the Responses API, cutouts and modeled photos via the image API
- Two Codex skills:
$import-clothesand$generate-outfits, with review and verification steps - Web UI supports drag, drop, paste, editing, regeneration, and approval of each item
- All data kept local in
data/; only the API calls leave your machine - Configurable vision and image models, quality, and reference photo via environment variables
Caveats
- Requires your own
OPENAI_API_KEY, so every import and generation costs API money - The importer stays disabled until you supply the key and a PNG reference photo of yourself
Verdict: Worth a look if you want a tidy, self-hosted catalog of your clothes and enjoy the agent-driven workflow. Skip it if you object to sending your camera roll and a photo of yourself through a commercial image API.
Frequently asked
- What is tandpfun/wardrobe?
- Wardrobe turns photos of your clothes into a local, editable library of product cutouts and modeled outfit previews using OpenAI's vision and image models.
- Is wardrobe open source?
- Yes — tandpfun/wardrobe is open source, released under the MIT license.
- What language is wardrobe written in?
- tandpfun/wardrobe is primarily written in JavaScript.
- How popular is wardrobe?
- tandpfun/wardrobe has 2.3k stars on GitHub.
- Where can I find wardrobe?
- tandpfun/wardrobe is on GitHub at https://github.com/tandpfun/wardrobe.