Virtual Try On API

Place garments onto our AI fashion model images from the Kling AI try on generator with our free demo, then build an AI virtual fitting room for your store with the Virtual Try On API. Start creating with PiAPI today!

Fashion Generator

Place garments onto model images using Kling Virtual Try-On via PiAPI.

Configuration

Select the model for content generation.

📁

Upload Files

Click or drag a file (JPEG, JPG, PNG)

Preset example

Preview Example

Example for Model Image (click to view)

Image URL or upload for the person wearing the outfit. The image should clearly show the person following Kling's model guidelines.

📁

Upload Files

Click or drag a file (JPG, PNG)

Follow the garment image guidelines for best Virtual Try On results.

Preset example

Preview Example

Example for Dress Garment Image (Full-body, optional) (click to view)

Full-body garment image. Only PNG and JPG are supported. Do not combine with upper/lower inputs in the same request.

📁

Upload Files

Click or drag a file (JPG, PNG)

Follow the garment image guidelines for best Virtual Try On results.

Upper-body garment image (e.g. tops, jackets). Only PNG and JPG are supported. Do not combine with dress_input in the same request.

📁

Upload Files

Click or drag a file (JPG, PNG)

Follow the garment image guidelines for best Virtual Try On results.

Lower-body garment image (e.g. pants, skirts). Only PNG and JPG are supported. Do not combine with dress_input in the same request.

Number of outputs to generate (1–4). Final price is $0.07 × batch_size.

Result

Idle
Sample Virtual Try On result image

This shows preset sample previews. Sign in and click 'Generate image' to create your own.

Logs

No logs yet

How AI Virtual Fitting Rooms Work

Follow these 2 steps to turn flat product photos into realistic AI virtual try-on experiences for your shoppers.

1

Upload model and garment images

Start by uploading a clear photo of your model along with a front-facing garment image. For best results, use clean backgrounds and consistent lighting so the AI can accurately place the clothing.

2

Generate try-on previews and integrate the API

Generate AI try-on images directly in the playground to validate quality, then call the Virtual Try-On API from your ecommerce store to power product detail pages, lookbooks, and virtual fitting room experiences at scale.

Virtual Try On API Pricing

"Pay-as-you-go" Option

Standard

Virtual Try-On Image Generation

$0.07/image

Final generation price is $0.07 * Batch Size.

Virtual Try On API FAQ