Clean response data
Receive the model score, an adjusted score, and the API version in one predictable object.
Send one portrait and receive a consistent score through a straightforward JSON interface. It is designed for teams that want a dependable integration without maintaining their own face-analysis pipeline.
The response stays compact, the optional outputs are explicit, and image handling is consistent across requests.
Receive the model score, an adjusted score, and the API version in one predictable object.
Submit raw base64, a data URI, or a public HTTPS image URL—whichever fits your workflow.
Ask for a face crop, boundary box, or gender result only when your interface needs it.
Machine-readable error codes make invalid images and unavailable results easier to handle well.
Choose a clear portrait to see the same fields your application can receive. The private access token remains on the server.
This preview is for integration testing. A score is a model estimate, not an objective judgment about a person.
Attractiveness score
Authenticate with a bearer token, send exactly one image source, and read the result from the JSON response.
https://api.rate-my-photo.com/attractivenessUse face_image for base64 data or face_image_url for a public web address. Only one can be sent per request.
Boundary boxes are included by default. Face crops and gender are opt-in fields controlled by simple booleans.
A successful request returns scores. Validation and processing failures use an error.code and a plain-language message.
curl -X POST https://api.rate-my-photo.com/attractiveness \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"face_image_url": "https://example.com/portrait.jpg",
"return_boundary_box": true,
"return_face_base64": false,
"return_gender": true
}'
{
"api_version": "1.1",
"score": 7.42,
"score_adjusted": 8.11,
"boundary_box": {
"x": 113,
"y": 89,
"width": 142,
"height": 180
},
"gender": "female"
}
Tell us what you are building and the request volume you expect. We will help you choose a practical starting plan.
The details teams usually want before their first production request.
score is the direct model result. score_adjusted applies the service’s presentation adjustment. Keep your choice consistent across your interface so users can compare results meaningfully.NO_FACE_DETECTED. Your interface can use that code to ask for a clearer, front-facing portrait without parsing the message text.