{"servers":[{"url":"https://api.modellix.ai/api/v1/kling/kolors-virtual-try-on-v1"}],"post":{"description":"[Core Function] Kolors Virtual Try-On V1 is a legacy AI fashion and virtual try-on model. [Strengths] Maintained primarily for backward compatibility and stable API contracts. [Best For] Existing legacy e-commerce integrations that have not yet migrated to the newer try-on pipeline. [Limitations] Do NOT use this for new creations. It is a legacy model maintained for backward compatibility. [Routing] Only use if explicitly requested; otherwise use Kolors Virtual Try-On V1.5.","operationId":"kolorsVirtualTryOnV1Async","requestBody":{"content":{"application/json":{"examples":{"base64_format":{"summary":"Base64 encoded images","value":{"cloth_image":"iVBORw0KGgoAAAANSUhEUgAAAAUA...","human_image":"iVBORw0KGgoAAAANSUhEUgAAAAUA..."}},"mixed_format":{"summary":"Mixed URL and Base64","value":{"cloth_image":"iVBORw0KGgoAAAANSUhEUgAAAAUA...","human_image":"https://example.com/model.jpg"}},"url_format":{"summary":"URL format images","value":{"cloth_image":"https://example.com/tshirt.jpg","human_image":"https://example.com/person.jpg"}}},"schema":{"description":"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).","properties":{"cloth_image":{"description":"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","example":"https://example.com/tshirt.jpg","minLength":1,"type":"string"},"human_image":{"description":"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","example":"https://example.com/person.jpg","minLength":1,"type":"string"}},"required":["human_image","cloth_image"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"example":{"code":0,"data":{"get_result":{"method":"GET","url":"https://api.modellix.ai/api/v1/tasks/task-vto-abc123"},"model_id":"model-123","status":"pending","task_id":"task-vto-abc123"},"message":"success"},"schema":{"properties":{"code":{"description":"Response code, 0 indicates success","example":0,"type":"integer"},"data":{"description":"Detailed data about the submitted asynchronous task.","properties":{"get_result":{"description":"API information to query the task result","properties":{"method":{"description":"HTTP method","example":"GET","type":"string"},"url":{"description":"Full URL to query the task result","example":"https://api.modellix.ai/api/v1/tasks/task-abc123","type":"string"}},"type":"object"},"model_id":{"description":"Model ID","example":"model-123","type":"string"},"status":{"description":"Task status","enum":["pending","processing"],"example":"pending","type":"string"},"task_id":{"description":"Unique task identifier","example":"task-abc123","type":"string"}},"required":["status","task_id","model_id"],"type":"object"},"message":{"description":"Response message","example":"success","type":"string"}},"required":["code","message","data"],"type":"object"}}},"description":"Task submitted successfully"},"400":{"content":{"application/json":{"example":{"code":400,"message":"Invalid parameters: parameter 'image' is required"},"schema":{"properties":{"code":{"description":"Error code (equals HTTP status code)","example":400,"type":"integer"},"message":{"description":"Error message in format 'Category: detail'","example":"Invalid parameters: parameter 'image' is required","type":"string"}},"required":["code","message"],"type":"object"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"example":{"code":401,"message":"Authentication failed: invalid API key"},"schema":{"properties":{"code":{"description":"Error code (equals HTTP status code)","example":400,"type":"integer"},"message":{"description":"Error message in format 'Category: detail'","example":"Invalid parameters: parameter 'image' is required","type":"string"}},"required":["code","message"],"type":"object"}}},"description":"Unauthorized - Invalid or missing API Key"},"429":{"content":{"application/json":{"example":{"code":429,"message":"Rate limit exceeded: 100 requests per minute, retry after 60 seconds"},"schema":{"properties":{"code":{"description":"Error code (equals HTTP status code)","example":400,"type":"integer"},"message":{"description":"Error message in format 'Category: detail'","example":"Invalid parameters: parameter 'image' is required","type":"string"}},"required":["code","message"],"type":"object"}}},"description":"Too many requests - Rate limit exceeded","headers":{"X-RateLimit-Limit":{"description":"Maximum requests per minute","schema":{"example":100,"type":"integer"}},"X-RateLimit-Remaining":{"description":"Remaining quota in current window","schema":{"example":0,"type":"integer"}},"X-RateLimit-Reset":{"description":"Rate limit window reset time (Unix timestamp)","schema":{"example":1704067260,"type":"integer"}}}},"500":{"content":{"application/json":{"example":{"code":500,"message":"Internal server error"},"schema":{"properties":{"code":{"description":"Error code (equals HTTP status code)","example":400,"type":"integer"},"message":{"description":"Error message in format 'Category: detail'","example":"Invalid parameters: parameter 'image' is required","type":"string"}},"required":["code","message"],"type":"object"}}},"description":"Internal server error"}},"summary":"Kolors Virtual Try-On V1","x-mint":{"href":"kling/kolors-virtual-try-on-v1"}}}