IDM-VTON
IDM VTON is best-in-class clothing virtual try-on in the wild (non-commercial use only)
Avg Run Time: 26.000s
Model Slug: idm-vton
Playground
Input
Enter a URL or choose a file from your computer.
Invalid URL.
image/jpeg, image/png, image/jpg, image/webp (Max 50MB)
Enter a URL or choose a file from your computer.
Invalid URL.
image/jpeg, image/png, image/jpg, image/webp (Max 50MB)
Output
Example Result
Preview and download your result.

API & SDK
Create a Prediction
Send a POST request to create a new prediction. This will return a prediction ID that you'll use to check the result. The request should include your model inputs and API key.
Get Prediction Result
Poll the prediction endpoint with the prediction ID until the result is ready. The API uses long-polling, so you'll need to repeatedly check until you receive a success status.
Readme
Overview
The IDM VTON model enables the realistic visualization of garments on human images by seamlessly overlaying garments while maintaining natural proportions, shadows, and details. This model is designed for fashion innovation, enhancing online retail experiences. .
Technical Specifications
Segmentation and Masking: Uses the provided mask to correctly place the clothing on the target image.
Category-Specific Adjustments: Adjustments should be made based on the type of clothing to provide realistic renderings.
Customization Parameters: Provides adjustable settings such as fine-tuning steps, cropping for resizing, and force_dc to force detailed corrections.
Key Considerations
Garment Fit: IDM VTON does not adjust for physical garment fit; ensure input images represent the desired style.
Background Compatibility: Transparent or plain backgrounds yield the best results, minimizing distractions in the final output.
Lighting Consistency: Match lighting conditions in the garment and human images to maintain realistic compositing
Tips & Tricks
Garment Image:
- Use clear, flat-lay photos of the garment without excessive creases or folds.
- Ensure the garment is centered in the image for accurate placement.
Garment Description:
- Provide specific descriptions to guide the model’s interpretation (e.g., “Red short-sleeve t-shirt with a round neckline”).
Category:
- Choose the correct category for optimal results:
- upper_body for tops, shirts, and jackets.
- lower_body for pants, skirts, and shorts.
- dresses for one-piece garments.
Mask Image:
- Use a black-and-white mask where the garment area is white, and the background is black.
- Keep edges clean to prevent unwanted artifacts.
Steps:
- Adjust between 20–30 for a balance between speed and quality.
- For highly detailed garments, increase steps to 35–40 for finer adjustments.
Crop:
- Enable cropping to focus solely on the human and garment areas if the input image includes unnecessary details.
Force DC:
- Use this option to enhance detailed corrections, especially for intricate patterns or textures.
Seed:
- For reproducible outputs, set a specific seed value. This ensures consistent results when using the same input parameters.
Capabilities
- Visualize how garments appear on a person in various categories (upper_body, lower_body, dresses).
- Create marketing visuals, fashion catalog content, and personalized styling previews with IDM VTON.
- Enhance the shopping experience by offering a realistic virtual try-on solution.
What Can I Use It For?
E-commerce: Revolutionize online retail with realistic virtual try-ons for customers.
Fashion Design: Prototype new designs and visualize garments on mannequins or models.
Content Creation: Develop engaging visuals for advertisements, social media, and product showcases.
Things to Be Aware Of
Layered Outfits: Experiment with different garments sequentially for a layered styling effect on IDM VTON.
Customization:
- Use the steps slider to explore varying levels of detail and refinement.
- Adjust the crop and mask_only settings for focused outputs.
Creative Uses:
- Use force_dc to emphasize garment details like embroidery or unique textures.
- Test with diverse human images, including different poses and body types.
Realistic Outputs:
- Pair similar lighting conditions between garment and human images for consistency.
- Use high-quality garment masks to maintain edge precision and clarity.
Limitations
Complex Garments: Intricate patterns or transparent fabrics may not render perfectly.
Pose Variations: Extreme poses in human images can sometimes lead to artifacts.
Multiple Garments: The model supports a single garment per operation. For multi-layered styling, run the model sequentially.
Output Format JPG
Pricing
Pricing Detail
This model runs at a cost of $0.001540 per second.
The average execution time is 26 seconds, but this may vary depending on your input data.
The average cost per run is $0.040040
Pricing Type: Execution Time
Cost Per Second means the total cost is calculated based on how long the model runs. Instead of paying a fixed fee per run, you are charged for every second the model is actively processing. This pricing method provides flexibility, especially for models with variable execution times, because you only pay for the actual time used.
Related AI Models
You can seamlessly integrate advanced AI capabilities into your applications without the hassle of managing complex infrastructure.
