Perfume recognition from a photo
Send a photo of a perfume bottle and the model returns the exact perfume out of 2,017, with a score, the five closest candidates, and its full record on request.
c-20261122Image → perfume
POST /v1/vision/identify
curl -X POST "https://api.ourscent.online/v1/vision/identify?k=5" \
-H "Authorization: Bearer os_live_…" \
-H "Content-Type: image/jpeg" \
--data-binary @bottle.jpgExample response
JSON
{
"model": "c-20261122",
"candidates": [
{
"perfume_id": "Khamrah-Lattafa-Perfumes-Lattafa-Perfumes",
"score": 0.91,
"name": "Khamrah",
"name_ar": "خمرة",
"brand": { "id": "lattafa", "name": "Lattafa", "name_ar": "لطافة" },
"thumbnail_url": "https://ourscent.online/perfume-images/…/w400.webp"
},
{ "perfume_id": "Khamrah-Qahwa-Lattafa-Perfumes-Lattafa-Perfumes", "score": 0.06, "…": "…" }
],
"request_id": "req_8f2c…"
}JSON
{
"error": {
"code": "insufficient_credits",
"message": "No credits left on this account. Top up or upgrade.",
"request_id": "req_41ab…"
}
}Your first key in two minutes
Sign in with your OurScent account, create a test key, send your first call.