Skip to main content
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 messageStatus codeNotes
Unable to read image422The image file could not be read or processed. Check if the file is valid and accessible.
Image resolution too large422Image resolution exceeds the maximum allowed limit. Resize the image to a smaller resolution.
Failed to compute hand landmarks.422Unable to detect hand landmarks in the image. Ensure the hand is clearly visible and properly positioned.
Invalid crop region422The specified crop region is invalid or out of bounds. Check the crop coordinates.
Failed to perform nail segmentation422Nail segmentation failed. Ensure the hand image is clear and nails are visible.
Failed to postprocess nail segmentation422Post-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.