音声認識( mimi ASR )を行う
post/recognize/fairy
Request
- Base URLhttps://asr.mimi.fd.ai/v1
- URLhttps://asr.mimi.fd.ai/v1/recognize/fairy
- 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 でない場合は、この指定を省略できない。
x-mimi-input-languagestring
入力音声の言語コード。mimi ASR では日本語 ( ja ) のみ指定可能。
Request body audio/x-pcm
Response
200
Example response
{
"response": [
{
"pronunciation": "ローニャク",
"result": "老若",
"time": [
650
]
}
],
"session_id": "d2ba5a54-e5ac-11e9-abfd-42010a9200a5",
"status": "recog-finished",
"type": "asr#mimilvcsr"
}Changes
No recorded changes to this operation across all 1 revision of this API.