README of supported languages: English | 简体中文
This project does a number of AI implementations based on Azure AI platform. Before using it, please make sure you have introduced the KEY and other parameters correctly, check the code for the parameters you may need.
You may need to read Azure Cognitive Services documentation to get a general idea of the features before using this project.
This is part of an project for participate in the 2023 Microsoft Imagine Cup.
By using this project, you should ensure that you follow the MIT license and DO NOT use this project to participate in the 2023 Microsoft Imagine Cup.
baseURL: example.com
https://example.com/api/speech/speech2text
HTTP POST with multipart/form-data Content-Type
key | vaule |
---|---|
audio_input | [audiofile](.mp3 or .wav) |
audio_input:[123.wav]
{
"code": "200",
"msg": "成功",
"data": "这是语音生成的内容。"
}
https://example.com/api/speech/text2speech
HTTP POST with multipart/form-data Content-Type
key | vaule |
---|---|
text_input | "str" |
text_input:"语音生成"
[5123123213.wav]
https://example.com/api/speech/talk
HTTP POST with multipart/form-data Content-Type
key | vaule |
---|---|
text_input | "str" |
text_input:"支付宝怎么打开健康码"
{
"code": "200",
"msg": "成功",
"input": "怎么打开健康码",
"data": "首先打开【支付宝】客户端,然后在上方搜索栏搜索“健康码”,点击上方的【出示健康码】按钮,接着点击下方的【立即查看】按钮,申领电子健康卡后,点击上方的【电子健康卡】位置,进入【居民电子健康码】页面,再点击右上角的【…】图标,在弹出的选项栏点击【添加到桌面】选项,最后点击【立即添加】按钮即可。"
}
https://example.com/api/speech/talk_audio
HTTP POST with multipart/form-data Content-Type
key | vaule |
---|---|
text_input | "str" |
text_input:"支付宝怎么打开健康码"
[5123123213.wav]
https://example.com/api/cv/image4analysis
HTTP POST with multipart/form-data Content-Type
key | vaule |
---|---|
img_input | Image file |
{
"code": "200",
"msg": "成功",
"caption": "a sign on a pole",
"caption-cn": "杆子上的标志",
"tags": [
"text",
"outdoor",
"sky",
"sign",
"street"
]
}