Virtual try-on
kling_virtual_try_onDress the person in humanImage in clothes from images: a dress (dressInput), or a top (upperInput) and / or bottoms (lowerInput). Kling checks the photos first and refuses unsuitable ones. ~5 credits. A job, like kling_omni_image. POST /images/virtual-try-on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | The Kling account email. Optional: by default the account with the most free job slots; results name the account used. Pass it whenever an input belongs to one account (an uploaded file, a voice, an element, your own avatar or motion, a task_id). | ||
| dressInput | No | A dress (not with upperInput / lowerInput): a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| humanImage | Yes | A real photo of a person, full or upper body (Kling refuses AI-generated illustrations): a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| imageCount | No | Images, 1-4 (default 1). | |
| lowerInput | No | Bottoms: a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). | |
| upperInput | No | A top: a public https URL, best one from kling_upload_asset (Kling must be able to fetch it). |