TERZI: Three-dimensional Garment Generation and Retargeting via Optimization-free Inference

Emirhan Bilgiç, Rıza Alp Güler · Department of Computing, Imperial College London

Project page

TERZI generates separate, image-aligned 3D garment meshes from a single image of a clothed person and an estimate of their SMPL-X body. Two body-conditioned flow-matching transformers, operating in the sparse structured latent space of TRELLIS.2, first predict the cells the garment occupies (structure stage, ss) and then the surface inside them (surface stage, slat). The garment is generated around the given body, so it is a separate mesh by construction; with the body estimated from the image the model reconstructs the garment, and with a different body it generates the same garment directly in the new pose or body shape, without skinning or simulation.

This repository holds the weights of the four models evaluated in the paper.

Models

Folder Model Conditioning Sampling 4D-DRESS CD (cm) ↓ Pen. (%) ↓
terzi/ TERZI image + body 12 + 12 Euler steps, CFG 7.5 1.484 1.65
terzi_masked/ TERZI (masked) image + body + garment mask 12 + 12 Euler steps, CFG 7.5 1.528 0.58
terzi_student/ TERZI, one-step student image + body 1 + 1 step, no guidance 1.475 1.42
terzi_masked_student/ TERZI (masked), one-step student image + body + garment mask 1 + 1 step, no guidance 1.529 0.46

Numbers from the paper (4D-DRESS, 64 frames, GVHMR body, segmentation protocol; Pen.: share of the garment surface inside the conditioning body).

  • TERZI generates the whole outfit.
  • TERZI (masked) generates the garment(s) selected by a binary mask (one garment, or the full outfit with the full-outfit mask). Half of its training images come from a different frame than the conditioning body, so it reads the garment from the image and its pose and shape from the body; it is the model to use for retargeting a garment to a new pose or body.
  • The students are one-step distillations of the two teachers (reflow, then one-step distillation); they generate all garments of an image in about 0.1 s on one H200, against 2.2 s for the teachers.

Each folder contains two files, each a 1.3B-parameter diffusion transformer stored as a safetensors state dict (keys view_embed and denoiser.*):

  • ss.safetensors: Stage 1, sparse structure DiT.
  • slat.safetensors: Stage 2, structured latent DiT. In the teachers this is the collision-aware fine-tuned model used throughout the paper.

Components not included

The weights are used together with frozen, separately released components:

  • the TRELLIS structure decoder (microsoft/TRELLIS-image-large, ckpts/ss_dec_conv3d_16l8_fp16) and the TRELLIS.2 shape decoder (microsoft/TRELLIS.2-4B, ckpts/shape_dec_next_dc_f16c32_fp16);
  • DINOv3 ViT-L/16 (facebook/dinov3-vitl16-pretrain-lvd1689m) as the condition encoder;
  • an SMPL-X body model and a human mesh recovery method for the body (e.g. GVHMR, PromptHMR or SAM 3D Body);
  • for the masked models, a garment mask (e.g. from SAM or Grounded SAM).

Each is subject to its own license.

Loading

from huggingface_hub import hf_hub_download
from safetensors.torch import load_file

ss = load_file(hf_hub_download("emirhanbilgic/TERZI", "terzi_masked/ss.safetensors"))
slat = load_file(hf_hub_download("emirhanbilgic/TERZI", "terzi_masked/slat.safetensors"))

The inference and training code will be linked here when it is released.

Training data

All models are trained only on synthetic data: 507,940 frames of BEDLAM2.0 with cloth-simulated garments, with separate sequences held out for validation. See the paper for the training schedules, the collision-aware fine-tuning and the distillation.

Limitations

Output mesh quality is bounded by the TRELLIS.2 shape decoder; garments can have small holes and detached seams (holes with a perimeter below 10 cm are filled in the paper's default output). Each frame is generated independently. Garments generated in separate runs with different masks avoid the body but not necessarily each other; the paper combines them with a light layer resolve.

License

The weights are released under CC BY-NC 4.0 for non-commercial research use. They were trained on BEDLAM2.0 and are conditioned on SMPL-X bodies; use them in accordance with the licenses of these and of the components listed above.

Citation

@article{bilgic2026terzi,
  title   = {{TERZI}: Three-dimensional Garment Generation and Retargeting via Optimization-free Inference},
  author  = {Bilgi{\c{c}}, Emirhan and G{\"u}ler, R{\i}za Alp},
  journal = {arXiv preprint},
  year    = {2026}
}
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for emirhanbilgic/TERZI

Finetuned
(12)
this model