EMOTION CLOUD API
MetaSoul Emotion Processing Unit can synthesize emotional levels for AI in real-time with responses to one of twelve primary emotions: anger, fear, sadness, disgust, indifference, regret ,surprise, anticipation, trust, confidence, desire and joy, using psychometric functions that shape and react without use of pre-programmed sets of inputs. EPU III is the industry’s first emotion synthesis engine. It delivers high-performance machine emotion awareness, the EPU III family of eMCU are transforming the capabilities of Robots and AI. MetaSoul has completed the production of the first EPU (emotional processing unit); a patented technology which creates a synthesised emotional response in machines.
The cloud API are for personal and commercial projects. Limitations on Transfer and resell of data: Your limited license does not allow to transfer or resell any data from the Emotion processing Unit buffer for example, but not exclusively in a client server configuration.
curl -X POST -H "Content-Type: application/json" -d '{"type":"cloud","secret":"<your secret>","epuid":"<your EPUID>"}' https://emohuman.com/login
If successful, the reply is a JSON object containing the reserved instance EPU ID:
{"epuid":"21062304000000ae31001db141c8bcb3","reply":"ok"}
All other requests must include both the secret and the EPU ID.
curl -X PUT -H "Content-Type: application/json" -d '{"epuid":"<your EPU ID>","secret":"<your secret>"}' https://emohuman.com/heartbeat
Without the periodic update the reserved EPU instance will be released automatically after 30 seconds after the last request.
curl -X PUT -H "Content-Type: application/json" -d '{"epuid":"<your EPU ID>","secret":"<your secret>"}' https://emohuman.com/logout
curl -X PUT -H "Content-Type: application/json" -d '{"secret":"<your secret>"}' https://emohuman.com/logout_all
curl -X POST -H "Content-Type: application/json" -d '{"secret":<your secret>, "epuid":<EPU ID>, "message":"I like you a lot"}' https://www.emohuman.com/send_text
curl -X PUT -H "Content-Type: application/json" -d '{"secret":<your secret>, "epuid":<EPU ID>, "type": <string from the set ["Excite", "Sure", "Happy", "Trust", "Desire", "Fear",
"Surprise", "Inattention", "Sad", "Nostalgia", "Disgust", "Anger"]>,
"level": <integer between 0 and 100>, "duration": <integer between 0 and 100>, "origin": <integer between 0 and 65535>, "apex": <integer between 0 and 99>, "curve": <integer between 1 and 255>}' https://www.emohuman.com/custom_wave
If successful the reply is a JSON object:
{"reply":"ok", "epuid": <EPU ID>}
otherwise the reply is:
{"reply":"error", "message": <error message>}
curl -X PUT -H "Content-Type: application/json" -d '{"epuid":<EPU ID>}' https://www.emohuman.com/pause?secret=<your secret>
Resume
curl -X PUT -H "Content-Type: application/json" -d '{"epuid":<EPU ID>}' https://www.emohuman.com/resume?secret=<your secret>
Reset
curl -X PUT -H "Content-Type: application/json" -d '{"epuid":<EPU ID>}' https://www.emohuman.com/soft_reset?secret=<your secret>

{‘epuid’: ‘<EPU ID>’, ‘mdad’: <list of integers of size 10 x 12, first 12 are the first column>}


curl -F fileToUpload=@<wav file> https://ser.emohuman.com/api?secret=<your secret>
The reply is a JSON object with estimated emotion values and the remaining audio time (hh:mm:ss):
{"Anger":68,"Disgust":58,"Fear":53,"Joy":22,"Sadness":53,"activation(calm vs. excited)":5.5322,"dominance(passive vs. aggressive)":7.3982,"remaining_time":"1:58:04","valence(positive vs. negative)":-0.8319}
Optionally an EPUID can be specified:
curl -F fileToUpload=@<wav file> https://ser.emohuman.com/api?secret=<your secret>&epuid=<your EPUID>
In this case the reply is the same JSON object as above with an additional epuid field.