3. Start Fast-Try-on Task
1 Function description
Tell the back end to start the inference task,please ensure that you have successfully uploaded the image
Note that In addition to the points for try-on, each api call will consume 0.1 coins.
2 Request method
method:POST URL :{ApiUrl}/api/inf/fastinf_upload
3 Request parameter
name | type | describe | sample |
---|---|---|---|
openId | string | your openId | |
apiKey | string | our apiKey | |
infId | long | task id | 6618 |
denoise_steps | int | steps | 20 |
auto_mask | int | auto gen mask | 1 |
auto_crop | int | meaningless | 1 |
category | int | {1:'upper_body', 2:'lower_body', 3:'dresses', 4:'full_body', } | 3 |
caption | string | cloth caption | white dress |
notifyUrl | string | Callback | Callback url when task finished |
4 Respond
success
failed
If the returned result is false, it means that the image legality check failed, mostly because the face was not detected, or a headshot was uploaded. Call {ApiUrl}/api/inf/get_result, to get fail result
Last updated