cURL
curl --request POST \ --url https://api.getvalenceai.com/emotionprediction \ --header 'x-api-key: <api-key>'
For real-time emotion classification of short files, the file’s singular classified emotion is returned.
file_path
prediction [string]