v1

latestOpenAPI 3.1.02026-07-26793302.3 KB

Virtual Try-On

post/kling/v1/images/kolors-virtual-try-on

Request body

callback_urlstring

Webhook URL for task status notifications.

model_name'kolors-virtual-try-on-v1' | 'kolors-virtual-try-on-v1-5'

Virtual try-on model version.

human_imagestring required

Person image to dress. Accepts an image URL or raw Base64 string (no data: prefix). Formats: JPG, JPEG, PNG. Max 10 MB, minimum 300×300 px.

cloth_imagestring required

Clothing image for the try-on. Accepts an image URL or raw Base64 string (no data: prefix). Formats: JPG, JPEG, PNG. Max 10 MB, minimum 300×300 px. Supports tops, bottoms, and one-piece dresses. The v1-5 model also accepts a combined top+bottom image stitched together.

Response

Successful Response

codeinteger required

Error code; specifically define the error code

messagestring required

error message

request_idstring required

Request ID, system-generated, for tracking requests, troubleshooting issues