感情認識を行う
post/analyze/categorical
Request
- Base URLhttps://emo.mimi.fd.ai/v1
- URLhttps://emo.mimi.fd.ai/v1/analyze/categorical
- Authnone required
Headers
Authorizationstring required
Content-Typestring required
音声データフォーマット。指定したタイプのデータとしてリクエストボディを送信する。ヘッダなしリニアPCM( x-pcm )かFLAC( x-flac )のいずれかで指定。audio/x-pcm;bit=16;rate=(整数†);channels=1 または audio/x-flac または audio/x-flac;rate=(整数†) 。いずれの場合も、音声の形式は 符号付き整数(16bit リトルエンディアン), 1ch である必要がある。 † rate= に続く部分には 16000 や 48000 などのサンプリングレートを整数で指定する。サンプリングレートが 16kHz でない場合は、この指定を省略できない。
Request body audio/x-pcm
Response
200
Example response
{
"type": "emo#categorial",
"session_id": "b758067a-2b33-11ec-8865-42010a92003c",
"status": "recog-finished",
"response": {
"scores": {
"neutral": 0.6329927786316619,
"happiness": 0.00023493017127678665,
"sadness": 0.3173239610473178,
"anger": 0.0005972573319338948,
"disgust": 0.048851056812642006
},
"interval": {
"end": 6271
},
"label": "neutral"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.