Website · Demo coming soon
Twistfit: outfit matching by personal colour
A fashion website that suggests outfits from your wardrobe and renders a try-on image with Flux.
Twistfit is a fashion website (Next.js and FastAPI) with a seasonal personal-colour quiz, a personal wardrobe and an outfit try-on feature. Users upload clothing photos to their wardrobe; when they pick an occasion or a style, the system assembles a matching outfit for their personal colours and calls Flux to render a model wearing it. A demo of the try-on feature is coming soon on this page.
Visit the website- Group
- Website
- Demo
- Demo coming soon
- Core stack
- Next.js · React · TypeScript
Demo coming soon
A demo of this project is being prepared. Meanwhile, you can visit the real website.
twistfit.orgProblem
Choosing clothes that suit your personal colours, the occasion and your style takes time, and it is hard to picture an outfit on a body before deciding.
Approach
Each wardrobe item is tagged (category, style, occasion) by Gemini on upload, with dominant colours extracted by image processing; users review and edit the tags before saving. When a try-on is requested, the backend picks an outfit by a weighted score (colour against the user's seasonal palette 50%, style 30%, occasion 20%), with a small penalty for items already used often. The chosen items are merged into one reference image and sent to the Flux API together with the model photo to render the try-on. Each user has a limit of 5 try-ons per day, refunded if the job fails before reaching Flux.
Highlights
- Outfits are scored by personal colour, style and occasion rather than picked at random.
- Several garments are merged into one reference image, with one Flux call per angle (front, and side when provided).
- Jobs run in the background with a pending, processing, done or failed status stored in Postgres, with no Redis or Celery.
- The daily quota is reserved safely under concurrent requests and refunded when the failure happens before the paid Flux call.
- Gemini tags clothing photos, and users review the tags before saving.