varg-tryon-video
Installation
SKILL.md
Flat-lay to try-on video
Open-source try-on models (OOTDiffusion, IDM-VTON, CatVTON) make stills and most carry research licences; nobody ships a clean video path. On varg it is two steps: a try-on still, then image-to-video with fit-check motion. Fit causes about half of apparel returns, so the video must show the real drape and say the size.
1. Clean the inputs
- Garment: flat-lay or ghost-mannequin photo, 1000 px or more (resolution is the biggest quality factor), tags and measurement labels removed (the model reads them as print). Write a garment-truth caption of only what is visible: fabric, colours, print or stripe pattern, buttons, pockets, logo text and position, hem length.
- Model: a full-body photo (head to shoes, arms relaxed, plain room), a generated one or a consenting real person. Keep one model per product line; for more shots, make a 4-view sheet (front, 45°, side, close-up) with
varg-character-design.
2. Dress the model (still)
curl -s -X POST https://api.varg.ai/v2/image -H "Authorization: Bearer $VARG_API_KEY" -H "Content-Type: application/json" \
-d '{"model":"bria_fibo_edit_1_5_virtual_try_on","files":[{"url":"MODEL_URL"},{"url":"GARMENT_URL"}],
"prompt":"Dress the woman in the cardigan from the second image, worn open over her white t-shirt. Keep her face, hair, pose, jeans, sneakers and the room unchanged."}'
4 credits. For two garments or accessories, add up to three garment images. For prints, logos or embroidery Bria softens, try nano_banana_2_1 or gpt_image_2_5 with both images and: "preserve all visible text, graphics, prints and seams; do not add text, logos or accessories; full body, hem visible" (test notes). Compare against the garment-truth caption before animating.