Skip to main content
POST
/
kolors-virtual-try-on-v1-5
/
async
curl --request POST \
  --url https://api.modellix.ai/api/v1/image-to-image/kling/kolors-virtual-try-on-v1-5/async \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "human_image": "https://example.com/model.jpg",
  "cloth_image": "https://example.com/dress.jpg"
}
'
{
  "code": 0,
  "message": "success",
  "data": {
    "status": "pending",
    "task_id": "task-vto-v15-abc123",
    "model_id": "kolors-virtual-try-on-v1-5"
  }
}

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json

Note: This is an asynchronous model with typical processing time of 15-60 seconds. Generated images are valid for 30 days only - please save promptly. V1 supports single garment try-on. V1.5 (Recommended) additionally supports 'top+bottom' combination try-on with higher quality output. This model does NOT support: prompt, negative_prompt, n, aspect_ratio, resolution, image_fidelity, image_reference, or model_name parameters (model_name is automatically injected by system).

human_image
string
required

Human image for virtual try-on (URL or Base64 encoded, do not include 'data:' prefix for Base64). Supported formats: .jpg, .jpeg, .png. Maximum size: 10MB. Minimum dimensions: 300x300px. Recommend clear frontal or side view full-body photos

Minimum string length: 1
Example:

"https://example.com/person.jpg"

cloth_image
string
required

Clothing reference image (URL or Base64 encoded, do not include 'data:' prefix for Base64). Supports product photos or white-background clothing images. V1 supports: single top, single bottom, dress. V1.5 supports: single garments OR 'top+bottom' combination (merged into one white-background image). Supported formats: .jpg, .jpeg, .png. Maximum size: 10MB. Minimum dimensions: 300x300px

Minimum string length: 1
Example:

"https://example.com/tshirt.jpg"

Response

Task submitted successfully

code
integer
required

Response code, 0 indicates success

Example:

0

message
string
required

Response message

Example:

"success"

data
object
required