检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
用API,该API获取用户的Token,Token可以用于调用其他API时鉴权。 您还可以通过这个视频教程了解如何构造请求调用API:https://bbs.huaweicloud.com/videos/102987。 请求URI 请求URI由如下部分组成: {URI-schem
需要有麦克风,且要保障1米以内的拾音效果。 扬声器 需要有扬声器。 触摸屏 需要有触摸屏。 带宽 4M以上。 由于浏览器的安全策略限制,仅支持通过“https://域名”方式访问,否则无法正常加载运行智能交互WebSDK。 智能交互界面对浏览器的要求,如表2所示。 表2 浏览器适配详情 操作系统类型
图2 获取项目ID 调用API获取项目ID 您还能通过调用查询指定条件下的项目信息API获取项目ID。 获取项目ID的接口为“GET https://{Endpoint}/v3/projects/”,其中{Endpoint}为IAM的终端节点可以从地区和终端节点获取。接口的认证鉴权请参见认证鉴权。
"segment_url" : { "audio_uploading_url" : [ "https://my-bucket/data0.wav" ], "txt_uploading_url" : [ "https://my-bucket/data0.txt" ] }, "package_url"
URI(product_query_url,query参数按照Key的字典序排列)+ x-hw-mss-time) 示例: URL https://api.example.com/v1/products?live_id=111&limit=10&offset=0 Key:GCT
URI(product_query_url,query参数按照Key的字典序排列)+ x-hw-mss-time) 示例: URL https://api.example.com/v1/products?live_id=111&limit=10&offset=0 Key:GCT
心软的神终于又拿起了拯救世人的手术刀, 天才眼科医生陶勇,医术高超的他,一天甚至可以做八十六台手术, 到现在为止,让一点五万患者重获光明。 他却被自己治愈的患者砍伤,无法再拿起手术刀。 可他忍着剧痛,日复一日做手部康复训练, 在每一日的痛苦哀嚎背后,是他想要重回手术台,救助更多患者的决心。
响应Body参数 参数 参数类型 描述 error_code String 错误码。 error_msg String 错误描述。 请求示例 https://example.com/rest/v1/***/digital-human-training-manage/user/jobs?q
"training_data_uploading_url" : "https://my-bucket/data.zip", "segment_uploading_url" : { "audio_uploading_url" : [ "https://my-bucket/data0.wav"
"training_video_upload_url" : [ "https://example.com/efc5300ecdba4ea48d1ff13a9d907bc0_trainingVideo?param1=XXX¶m2=YYY", "https://example.com/efc5300
”,则调用接口时将“X-Auth-Token: ABCDEFJ....”加到请求消息头即可,如下所示。 1 2 3 POST https://iam.cn-north-4.myhuaweicloud.com/v3.0/OS-USER/users Content-Type:
"training_data_uploading_url" : "https://my-bucket/data.zip", "segment_uploading_url" : { "audio_uploading_url" : [ "https://my-bucket/data0.wav"
"training_data_uploading_url" : "https://my-bucket/data.zip", "segment_uploading_url" : { "audio_uploading_url" : [ "https://my-bucket/data0.wav"
"training_video_upload_url" : [ "https://example.com/efc5300ecdba4ea48d1ff13a9d907bc0_trainingVideo?parma1=XXX¶m2=YYY", "https://example.com/efc5300
true, "files" : [ { "download_url" : "https://aaa" }, { "download_url" : "https://bbb" } ] } SDK代码示例 SDK代码示例如下。 Java Python Go
URI(product_query_url,query参数按照Key的字典序排列)+ x-hw-mss-time) 示例: URL https://api.example.com/v1/products?live_id=111&limit=10&offset=0 Key:GCT
参数 参数类型 描述 error_code String 错误码。 error_msg String 错误描述。 请求示例 POST https://{endpoint}/v1/6a6a1f8354f64dd9b9a614def7b59d83/files { "file_name"
URI(product_query_url,query参数按照Key的字典序排列)+ x-hw-mss-time) 示例: URL https://api.example.com/v1/products?live_id=111&limit=10&offset=0 Key:GCT
令:ffmpeg -i 视频文件名。 图3 检查视频是否是hevc编码 需要先安装ffmpeg,安装方法如下。 ffmpeg下载地址:https://github.com/BtbN/FFmpeg-Builds/releases。 ffmpeg解压后,将其下bin目录加入系统环境变量。
参数 参数类型 描述 error_code String 错误码。 error_msg String 错误描述。 请求示例 POST https://metastudio.cn-north-4.myhuaweicloud.com/v1/70b76xxxxxx34253880af5