# SmartAppToHelpSeniorsAPI **Repository Path**: youngzm339/SmartAppToHelpSeniorsAPI ## Basic Information - **Project Name**: SmartAppToHelpSeniorsAPI - **Description**: 基于Azure AI平台的AI实现 - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-11-18 - **Last Updated**: 2022-11-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: Python, Django, Azure, AI ## README # SmartAppToHelpSeniorsAPI ![SmartAppToHelpSeniorsAPI](https://azurecomcdn.azureedge.net/cvt-342af4abf51292fe470c0f54c8b878f696465f7b08177b0a21f80ffab347bd93/images/page/home/december-hero-desktop.webp) [![License](https://img.shields.io/github/license/youngzm339/SmartAppToHelpSeniorsAPI)](https://github.com/youngzm339/SmartAppToHelpSeniorsAPI/blob/master/LICENSE) [![Issues](https://img.shields.io/github/issues/youngzm339/SmartAppToHelpSeniorsAPI)](https://github.com/youngzm339/SmartAppToHelpSeniorsAPI/issues) [![Stars](https://img.shields.io/github/stars/youngzm339/SmartAppToHelpSeniorsAPI)](https://github.com/youngzm339/SmartAppToHelpSeniorsAPI) ## AI implementations based on Azure AI platform 基于Azure AI平台的AI实现 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. 本项目基于Azure AI 平台做了许多AI的实现。在使用之前,请确保已经正确引入了KEY和其它参数,请查阅代码以了解你可能需要的参数。 ## Principles for Developers 开发者原则 This is part of an project for the 2023 Microsoft Imagine Cup from team Void Adventure at Henan University of Technology,China. 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. 这是中国河南工业大学Void Adventure团队为2023年微软创新杯所做的项目的一部分。 在使用这个项目时,你应该确保遵循MIT许可,并且不要使用这个项目来参加2023年的微软创新杯。 # ### # ### ## Interface 接口 baseURL: is.your.com # ######### ### Speech to Text 语音转文字 #### Request Address 请求地址: https://is.your.com/api/speech/speech2text #### Request Method 请求方式: POST ; enctype='multipart/form-data' |key|vaule| |---|---| |audio_input|[audiofile](.mp3 or .wav)| #### Example of request 请求实例: audio_input:[123.wav] #### Example of response 响应的返回实例: ``` { "code": "200", "msg": "成功", "data": "这是语音生成的内容。" } ``` # ######### ### Text to Speech 文字转语音 #### Request Address 请求地址: https://is.your.com/api/speech/text2speech #### Request Method 请求方式: POST ; enctype='multipart/form-data' |key|vaule| |---|---| |text_input|"str"| #### Example of request 请求实例: text_input:"语音生成" #### Example of response 响应的返回实例: [5123123213.wav] # ######### ### Customized Q&A #### Request Address 请求地址: https://is.your.com/api/speech/talk #### Request Method 请求方式: POST ; enctype='multipart/form-data' |key|vaule| |---|---| |text_input|"str"| #### Example of request 请求实例: text_input:"支付宝怎么打开健康码" #### Example of response 响应的返回实例: ``` { "code": "200", "msg": "成功", "input": "怎么打开健康码", "data": "首先打开【支付宝】客户端,然后在上方搜索栏搜索“健康码”,点击上方的【出示健康码】按钮,接着点击下方的【立即查看】按钮,申领电子健康卡后,点击上方的【电子健康卡】位置,进入【居民电子健康码】页面,再点击右上角的【…】图标,在弹出的选项栏点击【添加到桌面】选项,最后点击【立即添加】按钮即可。" } ``` # ######### ### Customized Q&A Audio #### Request Address 请求地址: https://is.your.com/api/speech/talk_audio #### Request Method 请求方式: POST ; enctype='multipart/form-data' |key|vaule| |---|---| |text_input|"str"| #### Example of request 请求实例: text_input:"支付宝怎么打开健康码" #### Example of response 响应的返回实例: [5123123213.wav] # ######### ### Image Analysis 图像分析 #### Request Address 请求地址: https://is.your.com/api/cv/image4analysis #### Request Method 请求方式: POST ; enctype='multipart/form-data' |key|vaule| |---|---| |img_input|图像文件| #### Example of response 响应的返回实例: ``` { "code": "200", "msg": "成功", "caption": "a sign on a pole", "caption-cn": "杆子上的标志", "tags": [ "text", "outdoor", "sky", "sign", "street" ] } ```