Image preview
100 %
Back to projects

AI application

TryOn Guinée

TryOn Guinée is a Next.js web app that uses Google Gemini to dress a person in a Guinean outfit. It is used to try on an outfit before buying it, to dress characters for images and videos, and to produce lookbook visuals for designers.

Active development
Context
Personal project
Role
Design, development and AI integration
Date

Overview

TryOn Guinée dresses a person in a Guinean outfit using generative AI. The user picks who wears the outfit (their photo, a saved character or an AI model), then the outfit (catalogue, local fabric or a designer’s photo), the setting and the format.

Problem

Buying a Guinean outfit remotely, especially from the diaspora, means imagining the result without trying it on. Designers, for their part, need regular visuals for social media, and photo shoots are expensive. On top of that, AI models know little about local fabrics such as Kindia’s kendeli or forêt sacrée.

Solution

A three-step studio (who, which outfit, rendering) that sends Gemini the person, then a reference image: the outfit or a fabric swatch. The prompt numbers the images and requires keeping the face and pose, faithfully reproducing the fabric and never reusing a face from a reference image.

Architecture

Next.js 16 (App Router) application in TypeScript and Tailwind CSS 4. A single API route validates files and options, builds the prompt and calls Gemini through the @google/genai SDK; the key stays server-side. Characters are stored in the browser (IndexedDB) and only leave the device when a generation is requested.

Next steps

Pilot with Guinean designers, licensed fabric photos, deployment on Vercel, then designer accounts and a mobile app.

Key points

  • Guinean fabrics are passed to the AI as photo swatches, so the model reproduces the real pattern instead of inventing one.
  • A single server-side prompt, built only from allow-listed values: no free text can hijack it, apart from a note capped at 300 characters.
  • API key kept server-side only, file validation and a per-IP try limit to keep costs under control.

Who wears the outfit

  • An uploaded photo, resized and re-oriented in the browser
  • A configurable AI model: gender, skin tone, build, age, pose
  • Saved characters, re-dressed while keeping the same face

Which outfit

  • Catalogue: abayas, grand boubous, suits, wrappers, dresses
  • Local fabrics (léppi, kendeli, forêt sacrée, bakha) sent to the AI as swatches
  • Photo of an outfit supplied by a designer, with an optional description

Rendering

  • Settings: studio, Conakry street, ceremony, Fouta-Djalon
  • Portrait, square, landscape and 9:16 for Reels and TikTok
  • Before / after comparison and download
Back to projects