Professional Emotion Detection for Business and Enterprise
The Emotion Server API is designed for developers and businesses seeking reliable emotion detection:
The Emotion Server API detects text sentiment across 14 categories, each represented with its emoji:
Deploy via Docker:
# For Raspberry Pi (32-bit ARM)
docker pull stevef1uk/emotion-emotion-service:arm
# For Apple Silicon (M1/M2/M3)
docker pull stevef1uk/emotion-service:arm64
# For standard x86_64 (Linux/Windows)
docker pull stevef1uk/emotion-service:amd64
# Run the container
docker run -d -p 8000:8000 stevef1uk/emotion-service:arm64
Send a POST request (fast path):
curl -s -X POST http://localhost:8000/predict \
-H "Content-Type: application/json" \
-d '{"text": "Iโm so happy to see you!"}'
Response (fastest โ confidence fixed at 1.0):
{
"text": "Iโm so happy to see you!",
"emotion": "happiness",
"confidence": 1,
"emoji": "๐"
}
Optional: request accurate confidence (slower):
curl -s -X POST 'http://localhost:8000/predict?accurate=1' \
-H 'Content-Type: application/json' \
-d '{"text":"I am so happy today!"}' | jq .
# Default (fast path): /predict โ confidence fixed at 1.0 (fastest)
# Accurate (slower): /predict?accurate=1 โ confidence is the model's real probability
Detailed endpoint (public URL):
curl -s -X POST https://stevef1uk--emotion-server-serve.modal.run/predict_detailed \
-H "Content-Type: application/json" \
-d '{"text":"Im indifferent to the whole thing"}'
Response:
{
"predicted_emotion": "neutral",
"confidence": 0.75,
"all_emotions": {
"anger": 0.00,
"confusion": 0.15,
"desire": 0.00,
"disgust": 0.06,
"fear": 0.00,
"guilt": 0.00,
"happiness": 0.01,
"love": 0.00,
"neutral": 0.75,
"sadness": 0.02,
"sarcasm": 0.00,
"shame": 0.01,
"surprise": 0.00
}
}
For a complete Docker Compose setup with a Gradio UI and MCP server as well as a tool to test the service against your input files, see the companion repo: emotion-service-demo on GitHub.
Demo Application: Watch the video below to see the Emotion Service API in action with a real-time dashboard showing emotion analysis of synthetic social media data:
Accuracy and speed compared across models (226 samples):
Model | Accuracy | Samples | Time (s) |
---|---|---|---|
Emotion Server API | 0.6018 | 226 | 5.33 |
Hugging Face | 0.3938 | 226 | 0.48 |
OpenAI | 0.3894 | 226 | 154.51 |
These results highlight Emotion Server APIโs balance of accuracy and efficiency compared to alternatives.
The Emotion Server API delivers secure, fast, and cost-effective emotion detection for enterprises and startups. Unlike cloud-only solutions, it runs locally within your environment, ensuring sensitive data is never exposed externally. With licensing options for indie developers, startups, and large enterprises, Emotion Server API is flexible and ready to scale with your needs.
โฌ99 / instance / year
For hobbyists and Raspberry Pi projects. Annual renewal required.
โฌ499 / 5 instances / year
Ideal for startups and small commercial deployments.
โฌ2,499 / year
Unlimited instances with access to critical updates and fixes.
Contact us
Custom licensing for OEM integrations. Terms available upon request.
โฌ10,000 one-off
Permanent, royalty-free license with source code access.
Note: All prices are subject to French TVA at the applicable rate (currently 20%).
๐ For licensing questions or bulk purchases, please contact: [email protected]
French VAT Number: FR05902395201
For licensing inquiries, support, or technical assistance, please email [email protected] more details on GitHub.
Stay updated with the latest news and updates: