If the Try on Clothes does not fully meet your expectations, you might consider using the Try on Clothes Refiner to enhance its results, or alternatively, the Try on Clothes Pro for a more advanced option.
https://www.ailabapi.com/api/portrait/editing/try-on-clothesPOSTmultipart/form-dataJPG JPEG PNG![]() ![]() |
Non-Front Full-Body Shot (Avoid uploading side views, sitting poses, lying down poses, or half-body photos.) Group Photo Clothing Obstruction (Avoid holding items, bags, etc.) Lighting Too Dark / Blurry |
![]() ![]() ![]() ![]() |
JPG JPEG PNG![]() ![]() ![]() ![]() |
![]() ![]() ![]() ![]() |
Multiple Clothing Items Non-Front View Folded Obstruction Clothing Wrinkles |
![]() ![]() ![]() ![]() |
| 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 | Portrait image. | |
clothes_image | YES | file | Clothing image. | |
clothes_type | YES | string | upper_body, lower_body, full_body | Clothing Types. upper_body`: Upper body clothing.` lower_body: Lower body clothing. “full_body: Full body clothing. |
| 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. |
data | object | ||
+image | string | Result image URL. |
API Key for authentication
Success
The response is of type object.