Search…
Emotion Classifier
Classify text across 27 types of emotion.

Classify emotion

post
https://example.forefront.link
Classify emotion

Example request

cURL
Python
1
curl https://example.forefront.link \
2
-H 'Content-Type: application/json' \
3
-H 'Authorization: Bearer YOUR_API_KEY' \
4
-d '{
5
"text": "This is the text I wanted to be classified..."
6
}'
Copied!
1
import requests
2
3
headers = {"Authorization": "Bearer <INSERT_YOUR_TOKEN>"}
4
5
data = {
6
"text": "This is the text I wanted to be classified..."
7
}
8
9
res = requests.post(
10
"https://vanilla-gpt-j-forefront.forefront.link",
11
json=data,
12
headers=headers
13
)}'
Copied!

Example emotion classifications

The following examples are unedited and generated by just providing the text to be classified.
Last modified 13d ago