How-to · Virtual try-on

How to preview a garment on a person with virtual try-on

Combine a person photo and a garment image to generate a try-on preview that preserves fabric texture, color, and design details. Particularly powerful for inclusive sizing, modest fashion, and Etsy listings where the buyer wants to self-identify with the body type before ordering.

Time
Difficulty
Beginner
Cost
25 credits(~$0.25)
Steps
5

Last reviewed: .

What you need

  • Photo of the person (front-facing, well-lit)
  • Photo of the garment
  • Apiway account

Steps

  1. Open Virtual Try-on

    From the Creative hub, open the Virtual Try-on template. The template is part of the Starter through Scale plans.

    Open in Apiway

  2. Upload the person photo

    Upload a clean photo of the person. Front-facing, well-lit, full-body or three-quarter shots produce the best results. Avoid heavy crops, sunglasses, and busy backgrounds — they reduce composition accuracy.

  3. Upload the garment photo

    Upload the garment to try on. Flat-lay, on-mannequin, on-hanger, or on-model inputs all work. The pipeline segments the garment from its source background and composites it onto the person.

  4. Generate the try-on preview

    Click Generate. Apiway composites the garment onto the person and returns a preview image in your gallery. Generation is typically under a minute.

  5. Iterate with different garments (optional)

    Try the same person photo with multiple garments to build a styled-outfit preview, or try the same garment on multiple body types to build a size-inclusive listing.

Common mistakes

  • Using a heavy-filter Instagram-style person photo

    The pipeline matches lighting on the garment to the lighting in the person photo. Heavy filters (skin smoothing, color grading) bake an unrealistic look into the output. Prefer raw, well-lit photos.

  • Expecting perfect drape on body types far from the source pose

    Virtual try-on works best when the person photo's pose is compatible with how the garment is normally worn (a dress on a standing pose, a t-shirt on relaxed arms). Edge cases like a flared skirt on a seated pose may distort.

Troubleshooting

  • Can I use try-on output in commercial listings?

    Yes — when the person photo is from the Apiway creator marketplace (which ships an explicit commercial-use license) or is your own model photographed under a release, you can use the try-on output in Etsy, Shopify, or Amazon listings. If you sourced the person photo from Pinterest or Instagram, you have copyright and right-of-publicity exposure regardless of the AI tool you use — that's where the marketplace solves the legal question.

  • How accurate is the color fidelity?

    The pipeline preserves the garment's color from the source photo. If the source is a flat-lay shot with the actual fabric color, the output matches. If the source is a generic color-corrected stock photo, the output inherits whatever cast that source has.

See all 17 guides