Try on Clothes Refiner API leverages advanced AI to intelligently enhance virtual try-on images, delivering highly realistic results with precise details and vibrant colors for a truly immersive online fitting experience.
https://www.ailabapi.com/api/portrait/enhance/try-on-clothes-refinerPOSTmultipart/form-dataJPG JPEG PNG BMP| Field | Required | Type | Description |
|---|---|---|---|
ailabapi-api-key | YES | string | Application API KEY. Get API KEY |
| Field | Required | Type | Scope | Description |
|---|---|---|---|---|
task_type | YES | string | async | Task Type. “async: Asynchronous tasks. |
person_image | YES | file | Model image for calling the Try on Clothes API. | |
top_garment | YES | file | Top clothing image for calling the Try on Clothes API. | |
coarse_image | YES | file | Result image obtained from calling the Try on Clothes API. | |
gender | YES | string | woman, man | Gender of the person_image. woman`: Female.` man: Male. |
bottom_garment | NO | file | Bottom clothing image for calling the Try on Clothes API. |
| Field | Type | Scope | Description |
|---|---|---|---|
task_type | string | async | Task Type. “async: Asynchronous tasks. |
task_id | string | Asynchronous task ID. Please use this field when calling the Querying Async Task Results API. |
Querying Async Task Results Response| Field | Type | Scope | Description |
|---|---|---|---|
task_status | integer | 0, 1, 2 | Asynchronous task status. 0`: The task is queued.` 1: Asynchronous processing. “2: Processing was successful. |
output | object | ||
+image_url | string | Result image URL. | |
usage | object | ||
+image_count | integer | Number of generated images. |
API Key for authentication
Task Type.
async: Asynchronous tasks."async"
Model image for calling the Try on Clothes API.
Top clothing image for calling the Try on Clothes API.
Result image obtained from calling the Try on Clothes API.
Gender of the person_image.
woman: Female.man: Male."man"
Bottom clothing image for calling the Try on Clothes API.
Success
The response is of type object.