[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-93389":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":15,"starSnapshotCount":15,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},93389,"wardrobe","tandpfun\u002Fwardrobe","tandpfun","Your clothes, extracted and organized with gpt-image.","",null,"JavaScript",1313,188,3,0,64,833,384,104.79,"MIT License",false,"main",true,[],"2026-07-22 04:02:09","\u003Cdiv align=\"center\">\n\n# Wardrobe\n\nYour clothes, extracted and organized with gpt-image.\n\n[![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-191919?style=flat-square)](LICENSE)\n[![Node 22+](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fnode-22%2B-191919?style=flat-square)](package.json)\n\n[See the original post →](https:\u002F\u002Fx.com\u002Fcdngdev\u002Fstatus\u002F2076812846793650485)\n\n\u003C\u002Fdiv>\n\n![Wardrobe gallery](docs\u002Fscreenshots\u002Fgallery.png)\n\n![Modeled wardrobe editor](docs\u002Fscreenshots\u002Feditor.png)\n\n## Quick start\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Ftandpfun\u002Fwardrobe.git\ncd wardrobe\nnpm install\ncp .env.example .env\nnpm run dev\n```\n\n⚠️ The importer stays disabled until you add `OPENAI_API_KEY` to `.env` and place a PNG reference photo of yourself at `data\u002Fmodel-reference.png`.\n\nOpen [localhost:5173](http:\u002F\u002Flocalhost:5173).\n\n## Import with Codex\n\nThis repo includes two Codex skills: one imports clothes and generates modeled item photos; the other styles complete outfits and generates a modeled lookbook.\n\n```text\n$import-clothes Import the clothes from ~\u002FPictures\u002Foutfits, create modeled photos, and add them to this wardrobe.\n$generate-outfits Create modeled outfit ideas from my wardrobe.\n```\n\nOpen the cloned repo in Codex and run either prompt. The import skill asks for a local model-reference PNG when needed, reviews every cutout and modeled photo, then writes to `data\u002Flibrary.json` and `data\u002Fimported\u002F`. The outfit skill asks how many looks to create, then curates, generates, verifies, and saves the complete collection under `data\u002F`.\n\n### For agents\n\nIf you are setting up Wardrobe for a user, ask how they want to import their clothes:\n\n- **Codex:** Ask for a folder or camera-roll location and a model-reference PNG, then extract, model, and import the individual pieces by following [the bundled import skill](.agents\u002Fskills\u002Fimport-clothes\u002FSKILL.md). Afterward, offer to create a requested number of modeled looks with [the outfit-generation skill](.agents\u002Fskills\u002Fgenerate-outfits\u002FSKILL.md).\n- **Web UI:** Help the user configure their own `OPENAI_API_KEY` and `data\u002Fmodel-reference.png`, then let them import through the app.\n\n## What it does\n\n- Detects every garment in a photo with the OpenAI Responses API\n- Extracts clean product cutouts with the OpenAI Images API\n- Generates an optional modeled editorial preview\n- Keeps originals, jobs, generated images, and the JSON database local in `data\u002F`\n- Supports drag, drop, paste, editing, review, regeneration, and approval\n\n## Configuration\n\n| Variable | Default |\n| --- | --- |\n| `OPENAI_API_KEY` | Required |\n| `OPENAI_VISION_MODEL` | `gpt-5.4-mini` |\n| `OPENAI_IMAGE_MODEL` | `gpt-image-2` |\n| `OPENAI_IMAGE_QUALITY` | `high` |\n| `WARDROBE_MODEL_REFERENCE` | `data\u002Fmodel-reference.png` |\n| `WARDROBE_DATA_DIR` | `data` |\n\n## License\n\n[MIT](LICENSE)\n","Wardrobe 是一个基于 AI 的个人衣橱数字化管理工具，利用 GPT-Vision 识别照片中的服装单品，并通过 GPT-Image 生成建模效果图，实现衣物的自动提取、结构化存储与虚拟搭配。核心功能包括服装检测与抠图、模特化图像生成、本地 JSON 数据库管理、拖拽式编辑及批量搭配生成；技术上依赖 OpenAI 多模态 API（gpt-5.4-mini 和 gpt-image-2），所有数据与生成结果均本地存储。适用于时尚爱好者、穿搭博主或需高效管理实体衣橱的个人用户，支持从手机相册或文件夹批量导入衣物并生成虚拟造型参考。",2,"2026-07-17 02:30:09","CREATED_QUERY"]