GET
Get Nail
Retrieves the nail try-on generation status and output for a given predictionId returned by POST Generate Nail.
Note
Call this endpoint using the predictionId returned by POST Generate Nail. If status is not SUCCESS, retry after a short delay.
Parameters
predictionIdstring
Identifier of the nail try-on generation request returned by POST Generate Nail (_id). Use it to fetch status and output.
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 |
|---|---|---|
| Unable to read image | 422 | The image file could not be read or processed. Check if the file is valid and accessible. |
| Image resolution too large | 422 | Image resolution exceeds the maximum allowed limit. Resize the image to a smaller resolution. |
| Failed to compute hand landmarks. | 422 | Unable to detect hand landmarks in the image. Ensure the hand is clearly visible and properly positioned. |
| Invalid crop region | 422 | The specified crop region is invalid or out of bounds. Check the crop coordinates. |
| Failed to perform nail segmentation | 422 | Nail segmentation failed. Ensure the hand image is clear and nails are visible. |
| Failed to postprocess nail segmentation | 422 | Post-processing of nail segmentation failed. The segmentation result could not be finalized. |
GET/nail-vto/{predictionId}
curl -X GET "https://api.pixelbin.io/service/private/misc/v1.0/nail-vto/{predictionId}" \
-H "Authorization: Bearer {accesskey}"
Response
No example available.