Virtual Try-On Query API Reference
Virtual Try-On Query API
POST
/ai/virtual/tryon-results
Retrieve the results of virtual try-on sessions.
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
task_id | String | Yes | The task Id obtained in /ai/virtual/tryon |
Sample Request
Response Parameters
Parameter | Type | Description | |||||
---|---|---|---|---|---|---|---|
rescode | Number | The returned result code, where 200 indicates success. For detailed error codes, please refer to the error code list | |||||
data | Object | task result of the virtual try on | |||||
taskResult | Object[] | List of all sub task result | |||||
taskResult | Object | detail sub task result | |||||
result | Object | task result content | |||||
imageList | Object[] | A list of generated model try-on photos. Currently, 8 images are generated for each garment. | |||||
imageUrl | String | URL of the try-on results. | |||||
clothes | String | URL of the clothes used for the virtual try-on. | |||||
taskStatus | String | the status of the sub-task, including finished, submitted, failed, running | |||||
taskStatus | String | the status of the task, including finished, submitted, failed, running | |||||
taskId | String | the taskId of the query task | |||||
requestId | String | A unique request ID used for troubleshooting | |||||
success | Boolean | The status of the returned request, indicating whether the request was successful | |||||
resMessage | String | result message, usually success, otherwise will contain some failure reason description |
Sample Response
Last updated