--- title: Virtual Try-On (OOTDiffusion) emoji: 👗 colorFrom: green colorTo: gray sdk: gradio sdk_version: 4.20.0 app_file: app.py pinned: false license: apache-2.0 short_description: Upload a person + garment image → AI virtual try-on tags: - fashion - virtual-try-on - diffusion - image-generation - OOTDiffusion hardware: t4-small --- # Virtual Try-On Space This Space uses **OOTDiffusion** (`levihsu/OOTDiffusion`) to generate realistic virtual try-on images. ## How to use 1. Upload a **person photo** (clear, front-facing works best) 2. Upload a **garment image** (flat-lay or product photo) 3. Select the garment category 4. Click **Generate Try-On** ## Notes - GPU hardware (`t4-small` or better) is recommended for full diffusion quality - On CPU-only Spaces a quick composite preview is shown instead - Best results: person photo with neutral background, garment on white background