StyleScore API

Garments and colour, never bodies. Machine-readable spec: /api/openapi.json.

Authenticate

curl -H "Authorization: Bearer $STYLESCORE_KEY" https://stylescore.sensifai.com/api/v1/wardrobe

Create keys on the dashboard under Settings. Only POST /api/v1/analyses is billed, and only once the analysis is delivered.

Analyse a photo

curl -X POST -H "Authorization: Bearer $STYLESCORE_KEY" \
  -F [email protected] -F occasion=interview -F temperature_c=8 -F rain=true \
  https://stylescore.sensifai.com/api/v1/analyses
# 202 {"job_id":"...","poll":"/api/v1/jobs/..."}
curl -H "Authorization: Bearer $STYLESCORE_KEY" https://stylescore.sensifai.com/api/v1/analyses/JOB_ID

Score an outfit with no photo (free)

curl -X POST -H "Authorization: Bearer $STYLESCORE_KEY" -H "Content-Type: application/json" \
  -d '{"occasion":"business_casual","garments":[{"category":"blazer","hex":"#1f2a44"},{"category":"chinos","hex":"#d3bf9d"}]}' \
  https://stylescore.sensifai.com/api/v1/score