Skip to main content
POST
Try on Clothes Pro

Query Task

This is an asynchronous task API. The submission request returns only task_id.Use task_id to call Querying Async Task Results and retrieve the final result. Async task results remain available for 24 hours. Query every 5 seconds.

Authorizations

ailabapi-api-key
string
header
required

API Key for authentication

Body

multipart/form-data

Provide person_image and at least one garment image: top_garment or bottom_garment. Provide both to replace both upper- and lower-body clothing. For full-body garments such as dresses, provide the garment as top_garment only.

person_image
file
required

Portrait image.

  • Image format: JPEG JPG PNG WEBP
  • Image size: No more than 10 MB.
  • Image resolution: Less than 4096x4096px.
top_garment
file
required

Upper Body Clothing Image. Upper body clothing image. For full-body garments such as dresses, only top_garment is required. If you do not want to replace the upper-body clothing, leave this parameter empty.

  • Image format: JPEG JPG PNG WEBP
  • Image size: No more than 10 MB.
  • Image resolution: Less than 4096x4096px.
bottom_garment
file
required

Lower Body Clothing Image. If you do not want to replace the lower-body clothing, leave this parameter empty.

  • Image format: JPEG JPG PNG WEBP
  • Image size: No more than 10 MB.
  • Image resolution: Less than 4096x4096px.

Response

200 - application/json

Success

request_id
string
required

Request ID for debugging.

log_id
string
required

Log ID for debugging.

error_detail
object
required
task_id
string

Task ID for querying Querying Async Task Results.