mocoVoice API (1.8.0)
書き起こしAPIでは、音声ファイルをアップロードし、書き起こしを開始し、その結果を取得することができます。
辞書APIでは、書き起こし精度を高めるために、辞書を作成し、単語を登録することができます。
https://api.mocomoco.ai/
音声ファイルの言語コードを指定する。(例: 'ja')
複数の言語コードは配列で指定できる。(例: ['en', 'ja'])
詳細の言語コードは、FAQの対応言語を参照。
書き起こしモデル(任意、未指定時は、default) 話者分離強化モデルの場合は、diarization-highを入力
- mocoVoice APIサーバー
https://api.mocomoco.ai/api/v1/transcriptions/upload
- curl
- Python
- JavaScript
- Go
curl -i -X POST \
https://api.mocomoco.ai/api/v1/transcriptions/upload \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"filename": "string",
"dictionary_id": "string",
"language": null,
"transcription_model": "default",
"num_speakers": "string",
"max_speakers": "string",
"min_speakers": "string",
"words": [
{
"word": "string",
"reading": "string"
}
]
}'{ "transcription_id": "string", "dictionary_id": "string", "team_id": "string", "audio_upload_url": "string", "transcription_model": "string" }
- mocoVoice APIサーバー
https://api.mocomoco.ai/api/v1/transcriptions/{transcription_id}/transcribe
- curl
- Python
- JavaScript
- Go
curl -i -X POST \
'https://api.mocomoco.ai/api/v1/transcriptions/{transcription_id}/transcribe' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'{ "transcription_id": "string", "dictionary_id": "string", "team_id": "string", "name": "string", "user": { "user_id": "string", "name": "string" }, "transcription_path": "string", "audio_path": "string", "transcription_model": "string", "status": "string", "speaking_duration": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
- mocoVoice APIサーバー
https://api.mocomoco.ai/api/v1/transcriptions
- curl
- Python
- JavaScript
- Go
curl -i -X GET \
'https://api.mocomoco.ai/api/v1/transcriptions?page=1' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'[ { "transcription_id": "string", "dictionary_id": "string", "team_id": "string", "name": "string", "user": { … }, "transcription_path": "string", "audio_path": "string", "transcription_model": "string", "status": "string", "speaking_duration": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ]
- mocoVoice APIサーバー
https://api.mocomoco.ai/api/v1/transcriptions/{transcription_id}
- curl
- Python
- JavaScript
- Go
curl -i -X GET \
'https://api.mocomoco.ai/api/v1/transcriptions/{transcription_id}' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'{ "transcription_id": "string", "dictionary_id": "string", "team_id": "string", "name": "string", "user": { "user_id": "string", "name": "string" }, "transcription_path": "string", "audio_path": "string", "transcription_model": "string", "status": "string", "speaking_duration": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
- mocoVoice APIサーバー
https://api.mocomoco.ai/api/v1/transcriptions/{transcription_id}
- curl
- Python
- JavaScript
- Go
curl -i -X DELETE \
'https://api.mocomoco.ai/api/v1/transcriptions/{transcription_id}' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'- mocoVoice APIサーバー
https://api.mocomoco.ai/api/v1/transcriptions/{transcription_id}/summary
- curl
- Python
- JavaScript
- Go
curl -i -X GET \
'https://api.mocomoco.ai/api/v1/transcriptions/{transcription_id}/summary' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'{ "transcription_id": "string", "summarized_text": "string", "status": "string" }
- mocoVoice APIサーバー
https://api.mocomoco.ai/api/v1/transcriptions/{transcription_id}/summary
- curl
- Python
- JavaScript
- Go
curl -i -X POST \
'https://api.mocomoco.ai/api/v1/transcriptions/{transcription_id}/summary' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'{ "transcription_id": "string", "is_async": true, "status_url": "string" }
- mocoVoice APIサーバー
https://api.mocomoco.ai/api/v1/transcriptions/{transcription_id}/emotion
- curl
- Python
- JavaScript
- Go
curl -i -X GET \
'https://api.mocomoco.ai/api/v1/transcriptions/{transcription_id}/emotion' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'{ "transcription_id": "string", "emotions": [], "status": "string" }
- mocoVoice APIサーバー
https://api.mocomoco.ai/api/v1/transcriptions/{transcription_id}/emotion
- curl
- Python
- JavaScript
- Go
curl -i -X POST \
'https://api.mocomoco.ai/api/v1/transcriptions/{transcription_id}/emotion' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'{ "transcription_id": "string", "is_async": true, "status_url": "string" }
- mocoVoice APIサーバー
https://api.mocomoco.ai/api/v1/transcriptions/{transcription_id}/translate
- curl
- Python
- JavaScript
- Go
curl -i -X GET \
'https://api.mocomoco.ai/api/v1/transcriptions/{transcription_id}/translate' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'{ "transcription_id": "string", "translated_text": "string", "status": "string" }
- mocoVoice APIサーバー
https://api.mocomoco.ai/api/v1/transcriptions/{transcription_id}/translate
- curl
- Python
- JavaScript
- Go
curl -i -X POST \
'https://api.mocomoco.ai/api/v1/transcriptions/{transcription_id}/translate' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"language": "string"
}'{ "transcription_id": "string", "is_async": true, "status_url": "string" }
- mocoVoice APIサーバー
https://api.mocomoco.ai/api/v1/dictionaries
- curl
- Python
- JavaScript
- Go
curl -i -X GET \
'https://api.mocomoco.ai/api/v1/dictionaries?page=1' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'[ { "dictionary_id": "string", "team_id": "string", "name": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ]
- mocoVoice APIサーバー
https://api.mocomoco.ai/api/v1/dictionaries
- curl
- Python
- JavaScript
- Go
curl -i -X POST \
https://api.mocomoco.ai/api/v1/dictionaries \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"name": "string",
"words": [
{
"word": "string",
"reading": "string"
}
],
"is_temporary": false
}'{ "dictionary_id": "string", "team_id": "string", "name": "string", "words": [ { … } ], "is_temporary": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
- mocoVoice APIサーバー
https://api.mocomoco.ai/api/v1/dictionaries/{dictionary_id}
- curl
- Python
- JavaScript
- Go
curl -i -X GET \
'https://api.mocomoco.ai/api/v1/dictionaries/{dictionary_id}' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'{ "dictionary_id": "string", "team_id": "string", "name": "string", "words": [ { … } ], "is_temporary": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
- mocoVoice APIサーバー
https://api.mocomoco.ai/api/v1/dictionaries/{dictionary_id}
- curl
- Python
- JavaScript
- Go
curl -i -X PATCH \
'https://api.mocomoco.ai/api/v1/dictionaries/{dictionary_id}' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"name": "string",
"is_temporary": true
}'{ "dictionary_id": "string", "team_id": "string", "name": "string", "words": [ { … } ], "is_temporary": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
- mocoVoice APIサーバー
https://api.mocomoco.ai/api/v1/dictionaries/{dictionary_id}
- curl
- Python
- JavaScript
- Go
curl -i -X DELETE \
'https://api.mocomoco.ai/api/v1/dictionaries/{dictionary_id}' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'- mocoVoice APIサーバー
https://api.mocomoco.ai/api/v1/dictionaries/{dictionary_id}/words
- curl
- Python
- JavaScript
- Go
curl -i -X POST \
'https://api.mocomoco.ai/api/v1/dictionaries/{dictionary_id}/words' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"word": "string",
"reading": "string"
}'{ "word_id": "string", "dictionary_id": "string", "word": "string", "reading": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
- mocoVoice APIサーバー
https://api.mocomoco.ai/api/v1/dictionaries/{dictionary_id}/words/bulk
- curl
- Python
- JavaScript
- Go
curl -i -X POST \
'https://api.mocomoco.ai/api/v1/dictionaries/{dictionary_id}/words/bulk' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '[
{
"word": "string",
"reading": "string"
}
]'[ { "word_id": "string", "dictionary_id": "string", "word": "string", "reading": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ]
- mocoVoice APIサーバー
https://api.mocomoco.ai/api/v1/dictionaries/{dictionary_id}/words/{word_id}
- curl
- Python
- JavaScript
- Go
curl -i -X GET \
'https://api.mocomoco.ai/api/v1/dictionaries/{dictionary_id}/words/{word_id}' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'{ "word_id": "string", "dictionary_id": "string", "word": "string", "reading": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
- mocoVoice APIサーバー
https://api.mocomoco.ai/api/v1/dictionaries/{dictionary_id}/words/{word_id}
- curl
- Python
- JavaScript
- Go
curl -i -X DELETE \
'https://api.mocomoco.ai/api/v1/dictionaries/{dictionary_id}/words/{word_id}' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'- mocoVoice APIサーバー
https://api.mocomoco.ai/api/v1/dictionaries/{dictionary_id}/blacklist_words
- curl
- Python
- JavaScript
- Go
curl -i -X POST \
'https://api.mocomoco.ai/api/v1/dictionaries/{dictionary_id}/blacklist_words' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"pattern": "string",
"replacement": "string"
}'{ "blacklist_word_id": "string", "dictionary_id": "string", "pattern": "string", "replacement": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
- mocoVoice APIサーバー
https://api.mocomoco.ai/api/v1/dictionaries/{dictionary_id}/blacklist_words/bulk
- curl
- Python
- JavaScript
- Go
curl -i -X POST \
'https://api.mocomoco.ai/api/v1/dictionaries/{dictionary_id}/blacklist_words/bulk' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '[
{
"pattern": "string",
"replacement": "string"
}
]'[ { "blacklist_word_id": "string", "dictionary_id": "string", "pattern": "string", "replacement": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ]
- mocoVoice APIサーバー
https://api.mocomoco.ai/api/v1/dictionaries/{dictionary_id}/blacklist_words/{blacklist_word_id}
- curl
- Python
- JavaScript
- Go
curl -i -X GET \
'https://api.mocomoco.ai/api/v1/dictionaries/{dictionary_id}/blacklist_words/{blacklist_word_id}' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'{ "blacklist_word_id": "string", "dictionary_id": "string", "pattern": "string", "replacement": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
- mocoVoice APIサーバー
https://api.mocomoco.ai/api/v1/dictionaries/{dictionary_id}/blacklist_words/{blacklist_word_id}
- curl
- Python
- JavaScript
- Go
curl -i -X DELETE \
'https://api.mocomoco.ai/api/v1/dictionaries/{dictionary_id}/blacklist_words/{blacklist_word_id}' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'