Abstract
This work presents GarmentX, a novel framework for generating diverse, high-fidelity, and wearable 3D garments from a single input image. Traditional garment reconstruction methods directly predict 2D pattern edges and their connectivity, an overly unconstrained approach that often leads to severe self-intersections and physically implausible garment structures. In contrast, GarmentX introduces a structured and editable parametric representation compatible with GarmentCode, ensuring that the decoded sewing patterns always form valid, simulation-ready 3D garments while allowing for intuitive modifications of garment shape and style. To achieve this, we employ a masked autoregressive model that sequentially predicts garment parameters, leveraging autoregressive modeling for structured generation while mitigating inconsistencies in direct pattern prediction. Additionally, we introduce GarmentX dataset, a large-scale dataset of 378,682 garment parameter-image pairs, constructed through an automatic data generation pipeline that synthesizes diverse and high-quality garment images conditioned on parametric garment representations. Through integrating our method with GarmentX dataset, we achieve state-of-the-art performance in geometric fidelity and input image alignment, significantly outperforming prior approaches.
Introduction
Creating 3D clothing is a complex challenge in computer vision and graphics. Existing methodologies generally split into two categories: pattern-based and deformation-based. Pattern-based methods attempt to predict 2D sewing patterns (edges and stitches) directly. However, because this approach is unconstrained, models often predict overlapping panels or impossible stitches, resulting in 3D models that fail during physics simulations. Conversely, deformation-based methods warp a pre-made 3D template. While more stable, these are limited by the template's topology, struggling with diverse styles like complex hoodies or asymmetric dresses.
GarmentX addresses this "wearability gap" by generating high-fidelity, wearable 3D garments from a single image. By predicting structured parameters rather than raw geometry, it ensures that every generated garment is "simulation-ready"—meaning it can be digitally sewn and worn without the physics-breaking glitches common in previous methods.
Methodology
The core innovation of GarmentX is the shift from predicting raw pixels or vertices to predicting structured parametric representations.
Parametric Representation
The model predicts a vector of high-level, semantically meaningful attributes such as neckline type, sleeve flare, and skirt length. These parameters are compatible with GarmentCode, a programming-based representation that guarantees the resulting 2D patterns are physically valid.
Masked Autoregressive Model (MAR)
To generate these parameters from an image, the framework utilizes a Masked Autoregressive model. It processes image tokens extracted via DINOv2 and sequentially predicts the garment parameters. Because garment parameters can be continuous (e.g., length) or discrete (e.g., style categories), the model incorporates a diffusion-based MLP. This allows it to handle the complex, multi-modal distribution of fashion styles more precisely than standard classifiers.
The GarmentX Dataset
The researchers introduced the GarmentX dataset, a massive collection of 378,682 garment parameter-image pairs. This dataset was constructed using an automatic pipeline that rendered 3D assets from various angles and then utilized a Canny-conditioned ControlNet to generate photorealistic images. The model was also evaluated on the CLOTH3D and Complex Virtual Dressing Dataset (CVDD) to demonstrate its generalization capabilities to intricate designs.
Results and Discussion
GarmentX sets a new state-of-the-art for single-view 3D garment generation across several key metrics:
- Physical Plausibility: While previous leaders like SewFormer had a 76.3% simulation failure rate, GarmentX achieved a 0% failure rate. Every generated garment is successfully simulatable.
- Accuracy and Speed: It outperformed competitors in Chamfer Distance (CD) and Point-to-Surface (P2S) metrics. Furthermore, inference takes approximately 15 seconds, a 60x speedup over older deformation-based optimization methods.
- Editability: A significant advantage of the parametric approach is intuitive editability. Users can modify the generated 3D model instantly by adjusting specific parameter values.
Key insights from the study include the finding that a Masked Autoregressive approach outperforms standard Diffusion Transformers (DiT), achieving better geometric fidelity with 43% fewer parameters. Additionally, the model demonstrates zero-shot capabilities, handling hand-drawn sketches effectively despite being trained on photorealistic images.
Conclusion
GarmentX bridges the gap between image-based generation and physical wearability. By baking physical constraints into the architecture through parametric representations, it ensures valid outputs for digital fashion applications. Future work will focus on expanding the data pipeline to include clothed humans, aiming for an end-to-end "photo-to-avatar" workflow, and improving the representation of highly irregular decorative elements.
Summary updated