Virtual Try On
Official Documentation: https://app.klingai.com/cn/dev/document-api/apiReference/model/functionalityTry
Endpoint
POST http://v98store.com/kling/v1/images/kolors-virtual-try-on cURL Command
curl -X POST 'http://v98store.com/kling/v1/images/kolors-virtual-try-on' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{ "model_name": "kolors-virtual-try-on-v1", "human_image": "https://p7.itc.cn/images01/20231015/b2d93ec7ae7146bebcadf3c07bfbee96.jpeg", "cloth_image": "https://p1-kling.klingai.com/kcdn/cdn-kcdn112452/kling-api-document/try-on.jpeg" }' Parameters
| Name | In | Description | Required |
|---|---|---|---|
| Content-Type | header | Yes | |
| Accept | header | Yes | |
| Authorization | header | Yes |
Request Body
Example
{
"model_name": "kolors-virtual-try-on-v1",
"human_image": "https://p7.itc.cn/images01/20231015/b2d93ec7ae7146bebcadf3c07bfbee96.jpeg",
"cloth_image": "https://p1-kling.klingai.com/kcdn/cdn-kcdn112452/kling-api-document/try-on.jpeg"
} Responses
200 -
Example
{
"code": 0,
"message": "SUCCEED",
"request_id": "35150828-7d51-4e1f-8e8a-12fcca65c235",
"data": {
"task_id": "815335657866002502",
"task_status": "submitted",
"created_at": 1762419687825,
"updated_at": 1762419687825
}
}