π©πTry on Clothes
Experience ultra-realistic AI-powered Try-On, transforming flat clothing images and portraits into accurate, life-like previews of garment fit and style.
You get 10 API units just by validating your email.
No credit card required.
- API Units: 10/month
- API Limit Type: HARD
- Total Endpoints: 2
Table of Contents
- ππ©πTry on Clothes API
- β¨Features
- πUse-Cases
- πAPI Documentation
- πEndpoint
- π¦Request
- β οΈStatus Codes & Error Handling
- πSEO Keywords
π©πTry on Clothes API
The Try on Clothes API enables developers to virtually dress a person by overlaying clothing items on a portrait image. This API processes a full-body, front-view portrait along with a separate clothing image, and applies the clothing according to the specified type (upper body, lower body, or full body). If the results do not fully meet your expectations, consider using the Try on Clothes Refiner for enhancements or the Try on Clothes Pro for advanced processing.
Features
- Virtual Try-On: Combines a userβs portrait with clothing images to simulate a try-on experience.
- Asynchronous Processing: Returns a task ID for later retrieval, ensuring efficient handling of image processing without blocking.
- Flexible Clothing Types: Supports different clothing placements including upper body, lower body, or full body.
- High-Quality Image Handling: Optimized for clear, full-body images with specific pose requirements to maintain realism.
Use-Cases
- E-Commerce Virtual Fitting Rooms: Allow customers to preview how clothing items would look on them before purchase.
- Fashion Styling Apps: Enable users to experiment with different outfits and combinations.
- Digital Wardrobe & Personalization: Integrate into apps for personalized styling recommendations and outfit planning.
- Social Media & Content Creation: Create engaging try-on visuals for fashion influencers and online campaigns.
Request
Image Requirements
Portrait Image:
- Formats: JPG, JPEG, PNG
- Max Size: 3 MB
- Resolution: Less than 4096Γ4096 px
- Pose: Full-body front view with hands fully visible. Avoid side views, seated/lying poses, or group photos.
Clothing Image:
- Formats: JPG, JPEG, PNG
- Max Size: 3 MB
- Resolution: Less than 4096Γ4096 px
- Pose: Full-body front view, flat-lay image with clear, well-aligned clothing.
- Additional Guidance: Use clothing items with minimal patterns and prints. The clothing item should occupy most of the image frame without any obstructions or overlapping layers.
Request Body Fields
Field | Required | Type | Options | Description |
---|---|---|---|---|
task_type | Yes | string | async | Indicates that the task will be processed asynchronously. |
person_image | Yes | file | β | The portrait image of the person. Must meet the portrait image requirements. |
clothes_image | Yes | file | β | The clothing image. Must meet the clothing image requirements. |
clothes_type | Yes | string | upper_body , lower_body , full_body | Specifies the type of clothing to be applied: upper body, lower body, or full body clothing. |
Response
{
"task_type": "async",
"task_id": "string",
"request_id": "string",
"log_id": "string",
"error_code": 0,
"error_detail": {
"status_code": 0,
"code": "string",
"code_message": "string",
"message": "string"
},
"error_msg": "string"
}
Status Codes & Error Handling
Field | Description |
---|---|
error_code | 0 indicates success; any non-zero value denotes a specific error (e.g., invalid image or pose, file size issues). |
error_msg | A short, descriptive message explaining any error encountered. |
status_code | Standard HTTP status codes (e.g., 200 for success, 400 for client error). Use in conjunction with error_code for debugging. |
API Playground (Try the APIs)
API.market Guarantee
Only pay for API calls with OK(2XX) status code.
Cancel Anytime
Mange all your API subscriptions.
24/7 Customer Support
Just reach our using the chat window on the right corner.
Refunds policy
30 days return for unused API quota for any reason
β N/A Β· 0 ReviewsBack to top
Similar SaaS APIs
Loading...