Diffusion virtual try-on (VTO) models produce convincing garment transfers from a single product photograph, but at hundreds of milliseconds to seconds per image every deployment today is offline or falls back to AR mirrors that need a rigged 3D asset per product. We present LiveMirror, a live-camera try-on mirror that renders a flat garment photograph onto a moving person with a diffusion model on one 16 GB consumer GPU. Its core is asynchronous keyframe try-on: generation never blocks the display, every displayed frame is an optical-flow warp of the latest generated keyframe, and keyframes are replaced only through a cross-fade. The display runs at camera rate (25 FPS at 720p) while a new try-on arrives every 370-490 ms; we measure the residual flicker, give a stage-by-stage latency budget, and report which accelerations (step count, consistency LoRA, tiny decoder, compilation) keep garment prints intact. We then show that the same GPU fixes the model's biggest cultural blind spot: try-on models trained on VITON-HD and DressCode render a knee-length kurta or sherwani as a torso-length top or a dress over bare legs. A thigh-covering mask, self-supervised pairs built automatically from 24.9k on-model e-commerce photographs, and 3.2 GPU-hours of attention-only fine-tuning of CatVTON halve the perceptual error on ethnic wear (LPIPS 0.137 to 0.077 on IndoFashion, 0.135 to 0.073 on Atlas; 200 held-out pairs per source) with no regression on Western tops. A two-pass hem-aware mask then removes the remaining failure, recoloured trousers below the hem, on all but 3-4% of pairs at no training cost; in the mirror the hem comes from the previous keyframe for free. The adapted model beats FASHN VTON 1.5 on every aggregate ethnic-wear metric at about 20× lower inference cost, and its weights drop straight into the mirror.
Figures & tables
Figure 1: Why inference-time fixes fail on ethnic wear. Person, kurta, and CatVTON (VITON-HD weights) outputs with the upper mask (kurta becomes a shirt), the overall mask (dress prior: bare legs), and our long mask without fine-tuning (correct hem, but the hidden trouser band becomes skin). The base model has no concept of a long garment over trousers.
Figure 2: asynchronous keyframe try-on on a time axis. Orange: the display loop emits a frame every 33 ms; each is an optical-flow warp of the latest keyframe, and a new keyframe enters only through a six-frame cross-fade (darker). Blue: the generator takes the latest frame whenever it becomes free and runs for 370–490 ms without ever blocking the display. Generation latency sets the age of the garment on screen, not the frame rate.
Figure 3: LiveMirror frame path. The grey column captures, tracks, and crops every camera frame into a shared buffer. The orange lane is the display loop and runs on every frame; the blue lane is the generator and runs asynchronously on the latest frame, producing a try-on keyframe every 370–490 ms (stage times are for the shipped setting, Table 2 ). Between keyframes the latest result is warped to the current frame with DIS optical flow, and a new keyframe enters only through a 6-frame cross-fade, so the display never waits for the generator (asynchronous keyframe try-on, Section 3.1 ).
Configuration
FPS
Gen ms
Age ms
Gens
Flicker
/45 s
warp
key
LCM 4 + TAESD, DIS flow
28.7
344
545
123
2.1
8.4
same, RAFT-small flow
21.8
354
599
121
2.9
8.6
same, no warp
29.1
329
519
130
0.0
9.7
10 steps CFG 2.5 + TAESD, DIS
14.9
599
886
74
3.5
12.6
FASHN 1.5, 576×864 , 8 steps, DIS
4.7
1820
2515
24
13.7
24.0
Table 1: Asynchronous keyframe try-on on a synthetic 1280×720 two-person video , 45 s headless runs, RTX 4080. “Age” is how old the try-on result shown in a frame is; flicker is the mean absolute 8-bit change inside the garment mask between consecutive displayed frames, split into warp-only frames and frames where a new keyframe enters. Base CatVTON vitonhd weights at 384×512 unless noted.
Setting
ms
UNet
Dec.
Print quality
vhd LCM 4 + TAESD
305
160
4
text blotchy, florals mushy
vhd LCM 6 + TAESD
370
230
4
better, text mostly legible
vhd LCM 6 + full VAE
408
226
45
legible text, defined florals
vhd 10 DDIM + CFG 2.5 + TAESD
635
496
4
sharp but tinted
mix 576×768 LCM 8 + full VAE
1023
750
102
best, 2.5 × slower
mix 576×768 8 DDIM + CFG
1275
1049
8
grey tint
Table 2: Speed versus print quality for one 384×512 try-on on the RTX 4080 (real camera crops, two people, four garments with text and floral prints; vhd = VITON-HD weights, mix = VITON-HD+DressCode weights at the stated resolution). Verdicts are from zoomed side-by-side inspection.
Stage
Now ms
Target
How
capture, track, crop
20–25
≤ 15
TensorRT detector, track every 2nd frame
agnostic mask
70
≤ 25
one light parser, run at 512
VAE encode (2 images)
41
≤ 15
tiny encoder; cache garment latent
denoiser (4 steps, no CFG)
138
≤ 180
1–2-step distilled student; cached garment KV
decode
3.5
≤ 10
full VAE acceptable at 384, TAESD at 720p
paste, flow, display
10
≤ 15
DIS “ultrafast”
Table 3: Latency budget of one keyframe at 384×512 (RTX 4080, LCM 4 steps, TAESD; measured with CUDA synchronisation) and the stage targets that would be needed for a 300 ms keyframe at 720p.
Figure 4: Self-supervised pair construction. One on-model photograph yields a (person, card, mask) triplet with the photograph itself as the target, so training is a reconstruction: put the garment back at the right length and draw the trousers the long mask hid. The card is cut from the person by the parser and inpainted where the hands occluded it; the mask part comes from the keyword rule. The dashed box is the quality filter.
Source
Type
Card
Mask
Pairs
A / B
VITON-HD
Western
flat-lay
upper
11,647
1 × / 1 ×
Atlas
ethnic
cut-out
long , upper
1,221
501@8 × / 4 ×
IndoFashion
ethnic
cut-out
long , upper
23,646
– / 1 ×
Total
36,514
Table 4: Training pairs after the quality filter. All sources are public. “Card” is the garment conditioning image; “A / B” gives the sampling in each run.
Figure 5: Training triplets (person, garment card, mask overlay in red). Top: VITON-HD flat-lay pairs with the upper mask. Middle and bottom: Atlas and IndoFashion self-supervised pairs with the long mask. The cut-out keeps the garment in the person’s pose; hand holes are inpainted.
Atlas (ethnic)
IndoFashion (ethnic)
VITON-HD (Western)
Checkpoint
PSNR ↑
SSIM ↑
LPIPS ↓
LBF ↑
fail ↓
PSNR ↑
SSIM ↑
LPIPS ↓
LBF ↑
fail ↓
PSNR ↑
SSIM ↑
LPIPS ↓
FASHN 1.5 (masked) †
19.49
0.841
0.152 ± .08
0.374 ± .37
54%
20.82
0.840
0.119 ± .06
0.478 ± .36
40%
20.59
0.855
0.116 ± .04
CatVTON base ( vitonhd )
20.20
0.835
0.135 ± .07
0.389 ± .21
33%
20.25
0.821
0.137 ± .07
0.417 ± .24
32%
20.30
0.844
0.130 ± .06
Run A ( ftA , EMA)
21.65
0.850
0.083 ± .04
0.503 ± .24
19%
21.57
0.829
0.088 ± .05
0.497 ± .25
21%
20.62
0.844
0.114 ± .06
Run B ( ftB , EMA)
22.65
0.862
0.073 ± .04
0.547 ± .25
17%
22.60
0.845
0.077 ± .05
0.558 ± .26
16%
20.32
0.842
0.117 ± .06
Run B + hem (two-pass)
23.84
0.869
0.065 ± .04
0.713 ± .20
4.2%
23.48
0.851
0.070 ± .05
0.715 ± .20
2.5%
20.31
0.842
0.117 ± .06
Table 5: Held-out reconstruction (200 pairs per source, 10 DDIM steps, CFG 2.5, 384×512 ; mean, with the per-pair standard deviation in small type for LPIPS and LBF). Lower LPIPS and higher PSNR/SSIM are better. Lower-band fidelity (LBF) is defined for long pairs only and is always measured on the long band; “fail” is the fraction of long pairs with LBF <0.3 , i.e. the trousers were repainted in another colour. “+hem” is the two-pass hem-aware mask of Section 4.2 , which changes nothing on the upper -only VITON-HD pairs. Run B improves every ethnic-wear metric over the base, Run A, and FASHN without regressing on VITON-HD; the hem-aware mask then removes most of the remaining trouser failures, and training with the cut mask (Run C) adds nothing. † FASHN uses its own parser-based mask for the tops category; garments its parser labels as outerwear (some sherwanis, Nehru jackets) are left unmasked and copied, which flatters its scores on those pairs.
Figure 6: Held-out ethnic-wear reconstructions. Columns: person, garment card, CatVTON base, Run A, Run B. Row 1: the base model renders the boy’s sherwani as a dress with bare legs; Runs A and B restore the trousers (the invented colour, red instead of gold, is the trouser-recolouring failure that the hem-aware mask of Section 4.2 removes; Figure 7 ). Row 2: a kurta over white trousers; the base invents bare legs. Row 3: the base model loses the body shape and hem; Run B recovers both. Row 4: an anarkali with dupatta ; the base makes the dupatta a second skirt, Run B keeps it as a drape.
Figure 7: Hem-aware two-pass mask (Run B, held-out pairs). Columns: person, card, output with the plain long mask, output with the mask cut 30 px below the hem found in the first pass. The plain mask hides the trousers down to the knee and the model repaints them in an invented colour (brown or ochre under cream and white kurtas, teal under the green suit); the second pass sees the real trousers just below the hem and keeps them.
LPIPS ↓
LBF ↑
fail ↓
Type
n
FASHN
Base
Run B
B+hem
FASHN
Base
Run B
B+hem
FASHN
Base
Run B
B+hem
Women’s kurta
94
0.138
0.128
0.063
0.061
0.291
0.463
0.627
0.660
61%
20%
6%
3%
Men’s kurta
51
0.098
0.139
0.082
0.066
0.727
0.381
0.503
0.785
12%
43%
26%
2%
Sherwani †
14
0.105
0.130
0.088
0.060
0.825
0.240
0.292
0.836
7%
71%
43%
0%
Nehru jacket †
41
0.105
0.156
0.099
0.099
–
–
–
–
–
–
–
–
Table 6: Per-garment-type breakdown on the 200 IndoFashion held-out pairs. LPIPS (lower is better), lower-band fidelity (LBF, higher is better) and trouser-failure rate (LBF <0.3 ) for FASHN, base CatVTON, Run B, and Run B with the hem-aware mask. Nehru jackets use the upper mask, so LBF is undefined and the hem-aware mask changes nothing. † FASHN’s parser leaves some sherwanis and Nehru jackets unmasked, so part of its score on those rows is copying.