TERZI: Three-dimensional Garment Generation and Retargeting via Optimization-free Inference
Virtual try-on, animation and garment retargeting need clothing as an independent asset, yet single-image methods either fuse body and clothing into one surface or recover garments through per-subject optimization taking 10--46 minutes per image followed by post-hoc collision fixes. We present TERZI, a generative framework that reconstructs decomposable 3D garment meshes conditioned on a given parametric body model and on garment appearance extracted from a single image. Two body-conditioned flow-matching transformers, operating in a sparse structured 3D latent space, first predict the cells the garment occupies, then the surface geometry inside them. The garments are separate from the conditioning body by construction, and image masks select an individual garment or the complete outfit. The image determines which garment is generated, and the body determines its pose and shape. With the body estimated from the image, the model reconstructs the garment; with a different body, the same model generates the garment directly in the new pose or body shape, without skinning or simulation. A differentiable penetration penalty between the decoded garment surface and the conditioning body makes the generator itself collision-aware, so no separate collision-correction stage is needed at inference. Trained only on synthetic data, our method generalizes to real, in-the-wild images and achieves state-of-the-art accuracy on generation and retargeting (garment Chamfer distance 1.48 cm vs 1.88 cm for the strongest baseline on 4D-DRESS). A distilled one-step student generates an outfit in 0.1 s, with comparable accuracy. We commit to releasing the training code, model weights, and config files for full reproducibility. Project page: https://emirhanbilgic.github.io/TERZI/