v1

latestOpenAPI 3.1.02026-07-22122760.2 KB

Detect emotion in an audio file

Analyze an audio file and return a whole-file emotion label plus a per-window emotion time series.

post/api/velma-2-emotion-batch

Response

Emotion detection completed successfully

emotionstring required

The emotion label for the whole file. Always present and non-null.

Example response

{
  "emotion": "Happy",
  "time_series": [
    {
      "duration_ms": 15000,
      "emotion": "Happy"
    }
  ]
}