POST
/
v1
/
image-facial-emotions
curl -X POST https://api.woolball.xyz/v1/image-facial-emotions \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -F "image=@face.jpg"
{
  "data": [
    {
      "label": "happy",
      "score": 0.92
    },
    {
      "label": "neutral",
      "score": 0.08
    }
  ]
}

Analyze facial expressions in images to detect emotions.

Body

image
string
required

Image file containing faces to analyze

Response

data
array

List of detected emotions

Status Codes

200
object

OK - Successful request

400
object

Bad Request - Validation error occurred

401
object

Unauthorized - Authentication failed

402
object

Payment Required

curl -X POST https://api.woolball.xyz/v1/image-facial-emotions \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -F "image=@face.jpg"
{
  "data": [
    {
      "label": "happy",
      "score": 0.92
    },
    {
      "label": "neutral",
      "score": 0.08
    }
  ]
}