Skip to main content
POST
/
aitryon-refiner
/
async
AI Try-On Refiner
curl --request POST \
  --url https://modellixapi.jpushoa.com/api/v1/image-to-image/alibaba/aitryon-refiner/async \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "coarse_image_url": "<string>",
  "person_image_url": "<string>"
}
'
{
  "code": 0,
  "message": "success",
  "data": {
    "status": "pending",
    "task_id": "task-abc123",
    "model_id": "qwen-mt-image",
    "duration": 150
  }
}

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json
coarse_image_url
string<uri>
required

AI try-on image to refine

person_image_url
string<uri>
required

Original model person image

top_garment_url
string<uri>

Original top garment image

bottom_garment_url
string<uri>

Original bottom garment image

gender
enum<string>

Model gender

Available options:
MALE,
FEMALE

Response

Task submitted successfully

code
integer
required

Response code, 0 indicates success

Example:

0

message
string
required

Response message

Example:

"success"

data
object
required