
🇺🇸 English

🇺🇸 English
- Chat Models
- Chat
- OpenAI-Realtime
- Completions
- Audio
- Image generation
- Embeddings
- Models
- Help
- Anthropic
- Suno
- Udio
- Midjourney API
- Flux
- Recraft
- Ideogram
- Luma
- Runway
- Kling-API
- Replicate
- MiniMax
kolors-virtual-try-on
POST
/kling/v1/images/kolors-virtual-try-on
Last modified:2025-02-05 11:37:05
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
string
optional
Header Params
string
optional
Authorization
string
optional
Default:
{{YOUR_API_KEY}}
Body Params application/json
model_name
enum<string>
optional
Allowed values:
kolors-virtual-try-on-v1kolors-virtual-try-on-v1-5
Default:
kolors-virtual-try-on-v1
human_image
string
required
cloth_image
string
required
callback_url
string <uri>
optional
Example
{
"model_name": "kolors-virtual-try-on-v1-5",
"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"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST '/kling/v1/images/kolors-virtual-try-on' \
--header 'Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"model_name": "kolors-virtual-try-on-v1-5",
"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"
}'
Responses
🟢200成功
application/json
Body
object {0}
Example
{}
Modified at 2025-02-05 11:37:05