CometAPI Kling Virtual Try-On API를 사용해 인물 이미지와 의류 이미지로 스타일과 핏을 제어하며 사실적인 옷 갈아입기 영상을 생성합니다.
curl --request POST \
--url https://api.cometapi.com/kling/v1/images/kolors-virtual-try-on \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"human_image": "https://assets.christiandior.com/is/image/diorprod/LOOK_F_25_1_LOOK_095_E04?$lookDefault_GH-GHC$&crop=568,0,1864,2000&bfc=on&qlt=85",
"cloth_image": "https://assets.christiandior.com/is/image/diorprod/511R59A1166X3389_E01?$default_GHC$&crop=501,147,998,1572&bfc=on&qlt=85"
}
'{
"code": 123,
"message": "<string>",
"request_id": "<string>",
"data": {
"task_id": "<string>",
"task_status": "<string>",
"task_status_msg": "<string>",
"created_at": 123,
"updated_at": 123,
"task_result": {
"images": [
{
"url": "<string>"
}
]
}
}
}human_image 1개와 cloth_image 1개를 제공하세요kolors-virtual-try-on-v1 또는 kolors-virtual-try-on-v1-5부터 시작하세요작업 폴링
Bearer token authentication. Use your CometAPI key.
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.
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.
Webhook URL for task status notifications.
Virtual try-on model version.
kolors-virtual-try-on-v1, kolors-virtual-try-on-v1-5 curl --request POST \
--url https://api.cometapi.com/kling/v1/images/kolors-virtual-try-on \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"human_image": "https://assets.christiandior.com/is/image/diorprod/LOOK_F_25_1_LOOK_095_E04?$lookDefault_GH-GHC$&crop=568,0,1864,2000&bfc=on&qlt=85",
"cloth_image": "https://assets.christiandior.com/is/image/diorprod/511R59A1166X3389_E01?$default_GHC$&crop=501,147,998,1572&bfc=on&qlt=85"
}
'{
"code": 123,
"message": "<string>",
"request_id": "<string>",
"data": {
"task_id": "<string>",
"task_status": "<string>",
"task_status_msg": "<string>",
"created_at": 123,
"updated_at": 123,
"task_result": {
"images": [
{
"url": "<string>"
}
]
}
}
}