POST
Get Eyewear Recommendation
Retrieves the result of a previously submitted eyewear recommendation job using predictionId.
Parameters
predictionIdstring
Identifier returned by Generate Eyewear Recommendation. Used to fetch the status and recommendation output for that request.
Note
Call this endpoint with the predictionId returned by Generate Eyewear Recommendation. If the job is still processing, poll until status becomes SUCCESS.
Output Errors
This API can return HTTP 200 with
status: "SUCCESS" even if something fails, in these cases output contains an error key with error message and status_code: 422.| Error message | Status code | Notes |
|---|---|---|
| Image resolution too large | 422 | Image resolution exceeds the maximum allowed limit. Resize the image to a smaller resolution. |
| Face not found | 422 | No face detected in the provided image. Ensure the image contains a clear, visible face. |
POST/eyewear-recommendation/{predictionId}
curl -X POST "https://api.pixelbin.io/service/private/misc/v1.0/eyewear-recommendation/{predictionId}" \
-H "Authorization: Bearer {accesskey}"
Response
No example available.