当前位置: 首页 > news >正文

文登网站建设软文推广怎么写

文登网站建设,软文推广怎么写,wordpress评论区插件,厦门seo起梦网络科技阿里云声音复刻 个性化人声定制 阿里云个性化人声定制是智能语音交互产品自学习平台下的一部分 使用方式#xff1a;https://help.aliyun.com/document_detail/456006.html 方式一#xff1a;控制台界面定制使用方式 方式二#xff1a;通过OpenAPI定制#xff1a;在该页…阿里云声音复刻 个性化人声定制 阿里云个性化人声定制是智能语音交互产品自学习平台下的一部分 使用方式https://help.aliyun.com/document_detail/456006.html 方式一控制台界面定制使用方式 方式二通过OpenAPI定制在该页面有不同开发语言的示例代码开发者使用openAPI概览注意只有四个API方法和声音克隆的API方法有所不同 Java示例代码 package com.alibaba.nls.ptts;import com.aliyuncs.CommonRequest; import com.aliyuncs.CommonResponse; import com.aliyuncs.DefaultAcsClient; import com.aliyuncs.IAcsClient; import com.aliyuncs.exceptions.ClientException; import com.aliyuncs.exceptions.ServerException; import com.aliyuncs.http.MethodType; import com.aliyuncs.http.ProtocolType; import com.aliyuncs.profile.DefaultProfile;public class PttsDemo {//域名private static final String DOMAIN nls-measure.cn-shanghai.aliyuncs.com;// API版本private static final String API_VERSION 2019-09-05;private static IAcsClient client;static {String accessKeyId 请替换为您自己的accessKeyId;String accessKeySecret 请替换为您自己的accessKeySecret;// 创建DefaultAcsClient实例并初始化DefaultProfile profile DefaultProfile.getProfile(,accessKeyId,accessKeySecret);client new DefaultAcsClient(profile);}public static void main(String[] args) throws InterruptedException {//20句音频此处为了方便演示接口的调用提前准备好了音频的url在您集成时可以在用户录制的过程中将音频进行存储String[] urls {viwf/1.wav, dycw/2.wav, dopl/3.wav, anfd/4.wav, cyoy/5.wav, dsjw/6.wav,vevd/7.wav, ulno/8.wav, kwlw/9.wav, lafu/10.wav, uozh/11.wav, gdpp/12.wav, lisa/13.wav,bmvv/14.wav, ijzx/15.wav, kdla/16.wav, govf/17.wav, kcid/18.wav, srdx/19.wav, stol/20.wav};//训练的基本信息voiceName请替换成您自己的命名String voiceName 示例voice;String scenario story;String gender female;//Step1: 获取需要朗读的文本CommonRequest getDemonstrationRequest buildRequest(GetDemonstrationForCustomizedVoice);getDemonstrationRequest.putQueryParameter(Scenario, scenario);String getDemonstrationResponse sendRequest(getDemonstrationRequest);System.out.println(|获取需要朗读的内容|response getDemonstrationResponse);//Step2: 采集用户朗读的音频进行音频检测for (int i 1; i 20; i) {String audioUrl audioRecordUrlPrefix urls[i - 1];CommonRequest audioDetectRequest buildRequest(CustomizedVoiceAudioDetect);audioDetectRequest.putQueryParameter(Scenario, scenario);audioDetectRequest.putQueryParameter(VoiceName, voiceName);audioDetectRequest.putQueryParameter(RecordUrl, audioUrl);audioDetectRequest.putQueryParameter(AudioRecordId, String.valueOf(i));String audioDetectResponse sendRequest(audioDetectRequest);System.out.println(|音频检测|[ i ]response audioDetectResponse);}//Step3: 20句音频检测完成后提交训练CommonRequest submitTrainRequest buildRequest(SubmitCustomizedVoice);submitTrainRequest.putQueryParameter(VoiceName, voiceName);submitTrainRequest.putQueryParameter(Gender, gender);submitTrainRequest.putQueryParameter(Scenario, scenario);String submitTrainResponse sendRequest(submitTrainRequest);System.out.println(|提交训练|response submitTrainResponse);//Step4: 轮询训练结果CommonRequest queryTrainResultRequest buildRequest(ListCustomizedVoice);queryTrainResultRequest.putQueryParameter(VoiceName, voiceName);String queryTrainResultResponse sendRequest(queryTrainResultRequest);System.out.println(|查询训练结果|response queryTrainResultResponse);}private static String audioRecordUrlPrefix https://static-aliyun-doc.oss-cn-hangzhou.aliyuncs.com/file-manage-files/zh-CN/20221118/;private static CommonRequest buildRequest(String popApiName) {CommonRequest request new CommonRequest();request.setSysMethod(MethodType.POST);request.setSysDomain(DOMAIN);request.setSysVersion(API_VERSION);request.setSysAction(popApiName);request.setSysProtocol(ProtocolType.HTTPS);return request;}private static String sendRequest(CommonRequest request) {try {CommonResponse response client.getCommonResponse(request);return response.getData();} catch (ServerException e) {e.printStackTrace();} catch (ClientException e) {e.printStackTrace();}return null;} }阿里云个人化人声定制控制台 https://nls-portal.console.aliyun.com/pttssettingnew 非开发者使用指南 https://help.aliyun.com/document_detail/451766.html?spma2c4g.432038.0.0.496f4906w8EQFD 声音克隆定制 阿里云产品帮助中心搜索声音克隆https://help.aliyun.com/?spma2c4g.456006.J_3207526240.2.6a5842e8QI7zZj 方法一通过控制台进行人声克隆 登录智能媒体服务控制台。在顶部左上角根据实际情况选择地域。在左侧导航栏选择****智能生产制作** *人声克隆***。单击定制声音根据提示完成定制人声操作。 方法二通过OpenAPI进行人声克隆 调用接口CreateCustomizedVoiceJob配置参数VoiceId创建人声克隆任务。 调用接口GetDemonstrationForCustomizedVoiceJob根据实际场景配置参数Scenario获取需要朗读的20条示范文本及音频。 根据步骤 2获取到的示范文本及音频进行训练并录制并将录制的语音上传至OSS。上传方式请参见上传文件。 调用接口DetectAudioForCustomizedVoiceJob提交已经训练好的音频进行音频检测。 重要 需要调用20次该接口每次调用时提交对应的音频共20条音频。 调用接口SubmitCustomizedVoiceJob提交人声克隆训练任务系统开始进行语音训练。 API参考 人声克隆相关接口 openApI门户https://next.api.aliyun.com/api/ICE/2020-11-09/CreateCustomizedVoiceJob?tabDEMOlangJAVA SDK开发包使用方法https://help.aliyun.com/document_detail/262200.html?spma2c4g.378655.0.0.534f5068p0WEYq 运行实例注意区分SDK版本
http://wiki.neutronadmin.com/news/397101/

相关文章:

  • 网站优化协议wordpress qqoq主题
  • dnf盗号网站怎么做网站地图提交给百度
  • 崇左北京网站建设网站建设对图片有哪些要求
  • 郑州网站建设更好建立网站有什么要求
  • 多少钱做网站策划大型活动公司
  • 长春 网站 设计公司深圳黄页信息网
  • 刚做还网站第一时间抓取vscode怎么做网页
  • 企业网站建设内容规划wordpress 游戏网页
  • 微信官方网站首页成都网站建设 冠辰网站建设
  • 好看的网站色彩搭配wordpress主题tstyle
  • 自适应网站是什么五易网络
  • 郑州响应式建站高新区规划建设局网站
  • 重庆网站备案公司新丝路网站建设
  • 网站统计 中文域名去大连需要下载哪些软件
  • 学编程做网站wordpress迁移修改域名
  • 叫外包公司做网站不肯给源代码的网站开发如何找甲方
  • php网站开发实战教程安徽外经建设集团网站
  • 多用户智能网站建设源码在线教育网站开发文档
  • 关于网站开发的文献设计素材网站情人节
  • 凡科网做网站贵吗怎么自己创建一个网站
  • 纺织面料做哪个网站好山西建设注册中心网站
  • 齐齐哈尔企业网站排名优化合肥市蜀山区做个网站多少钱
  • 武邑网站建设价格app开发定制开发
  • 网站用户反馈托管管理系统app
  • 网站升级建设费用吗福州哪里会网站制作的
  • 手机靓号网站建设线上线下相结合的营销模式
  • 网站开发用什么系统比较好360免费wifi怎么安装
  • 南通做网站优化个人网站备案能做什么内容
  • 自己做电视视频网站关于网站建设的论坛
  • 建设银行长沙招聘网站wordpress get_most_viewed