
Clothes Changer
starting from
API Overview
Create outfit-changing tasks with or without masks
Price: 0.1 PTC per task
API Console
Log in to explore more features! Click to Log In
API Reference (4)
| API Description | API Endpoint | Request Method | Stability | Parameter Description |
|---|---|---|---|---|
Create clothes changer task without mask | POST | Stable | View Details | |
Document Details Create Unmasked Outfit Change Task Request Parameters Header ParametersAuthorizationstringRequired Example Value: Bearer {{YOUR_API_KEY}}Request Body multipart/form-dataclothes_imagestringRequired Clothing image dressing_model_imagestringRequired Dressed model image clothes_img_seg_labelsstringRequired Use a string to mark the types of clothing in the target clothing image that are used to replace the clothing in the model image (different types are separated by commas). Supported types: “0” - face, “1” - hair, “2” - hat, “3” - sunglasses, “4” - left arm area, “5” - right arm area, “6” - left leg area, “7” - right leg area, “8” - left shoe, “9” - right shoe, “10” - top, “11” - skirt, “12” - pants, “13” - dress, “14” - belt, “15” - bag, “16” - scarf model_img_seg_labelsstringRequired Use a string to indicate the types of clothing expected to be replaced in the model image (separate different types with commas). Supported types: “0” - face, “1” - hair, “2” - hat, “3” - sunglasses, “4” - left arm area, “5” - right arm area, “6” - left leg area, “7” - right leg area, “8” - left shoe, “9” - right shoe, “10” - top, “11” - skirt, “12” - pants, “13” - dress, “14” - belt, “15” - bag, “16” - scarf | ||||
Get clothes changer task without mask | GET | Stable | View Details | |
Document Details View unmasked outfit change task Request Parameters Header ParametersAuthorizationstringRequired Example Value: Bearer {{YOUR_API_KEY}}Query Parameterstask_idstringRequired Task ID | ||||
Create clothes changer task with mask | POST | Stable | View Details | |
Document Details Create Masked Dress-up Task Request Parameters Header ParametersAuthorizationstringRequired Example Value: Bearer {{YOUR_API_KEY}}Request Body multipart/form-dataclothes_imagestringRequired Clothing image clothes_mask_imagestringRequired Clothing mask image dressing_model_imagestringRequired Dressed model image dressing_model_mask_imagestringRequired Clothing Model Mask Image | ||||
Get clothes changer task with mask | GET | Stable | View Details | |
Document Details View masked outfit change task Request Parameters Header ParametersAuthorizationstringRequired Example Value: Bearer {{YOUR_API_KEY}}Query Parameterstask_idstringRequired Task ID | ||||
API Pricing
| Model | Description | 302.AI Price |
|---|
Create clothes changer task without mask | Create clothes changer task without mask |
|
Create clothes changer task without mask | Get clothes changer task without mask |
|
Create clothes changer task with mask | Create clothes changer task with mask |
|
Get clothes changer task with mask | Get clothes changer task with mask |
|