POST
Generate Eyewear Recommendation
Creates an eyewear recommendation job from an input image and recommendation type. Use the returned URL to retrieve results.
Request body
input.imagestring
Face image file used to generate eyewear recommendations. Upload as multipart/form-data (JPG/PNG); use a clear, front-facing photo for best results.
input.recommendation_typestring
Recommendation preset that controls the model/pipeline used. Must match one of the supported enum values.
Note
After submitting a request, use the returned
_id (predictionId) or urls.get to fetch the recommendation result from Get Eyewear Recommendation.POST/eyewear-recommendation/aiStylist/generate
curl -X POST "https://api.pixelbin.io/service/private/misc/v1.0/eyewear-recommendation/aiStylist/generate" \
-H "Authorization: Bearer {accesskey}" \
-F "input.image=@<path/to/file>" \
-F "input.recommendation_type=ai_eyewear_studio"
Response
No example available.