3. Start 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/public_inf
3 Request parameter
name | type | describe | sample |
---|---|---|---|
openId | string | your openId | |
apiKey | string | our apiKey | |
clothId | long | which cloth | 208 |
infId | long | task id | 2880 |
bmi | float | user's bmi | 22.2 |
skin | float | skin color (-100:auto 0--6 white--black) | -100 |
notifyUrl | string | callback function address |
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