public class VrsClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
Constructor and Description |
---|
VrsClient(Credential credential,
String region) |
VrsClient(Credential credential,
String region,
ClientProfile profile) |
Modifier and Type | Method and Description |
---|---|
CancelVRSTaskResponse |
CancelVRSTask(CancelVRSTaskRequest req)
声音复刻取消任务接口
|
CreateVRSTaskResponse |
CreateVRSTask(CreateVRSTaskRequest req)
本接口服务对提交音频进行声音复刻任务创建接口,异步返回复刻结果。
• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
• 签名方法参考 公共参数 中签名方法v3。
|
DescribeVRSTaskStatusResponse |
DescribeVRSTaskStatus(DescribeVRSTaskStatusRequest req)
在调用声音复刻创建任务请求接口后,有回调和轮询两种方式获取识别结果。
• 当采用回调方式时,识别完成后会将结果通过 POST 请求的形式通知到用户在请求时填写的回调 URL,具体请参见 声音复刻结果回调 。
• 当采用轮询方式时,需要主动提交任务ID来轮询识别结果,共有任务成功、等待、执行中和失败四种结果,具体信息请参见下文说明。
• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
• 签名方法参考 公共参数 中签名方法v3。
|
DetectEnvAndSoundQualityResponse |
DetectEnvAndSoundQuality(DetectEnvAndSoundQualityRequest req)
本接口用于检测音频的环境和音频质量。
• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
• 签名方法参考 公共参数 中签名方法v3。
|
DownloadVRSModelResponse |
DownloadVRSModel(DownloadVRSModelRequest req)
下载声音复刻离线模型
|
GetTrainingTextResponse |
GetTrainingText(GetTrainingTextRequest req)
本接口用于获取声音复刻训练文本信息。
请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
• 签名方法参考 公共参数 中签名方法v3。
|
GetVRSVoiceTypesResponse |
GetVRSVoiceTypes(GetVRSVoiceTypesRequest req)
查询复刻音色
|
call, callOctetStream, getClientProfile, getCredential, getRegion, getRegionBreaker, internalRequest, internalRequest, internalRequestRaw, processResponseJson, processResponseSSE, retry, setClientProfile, setCredential, setRegion, setRegionBreaker
public VrsClient(Credential credential, String region)
public VrsClient(Credential credential, String region, ClientProfile profile)
public CancelVRSTaskResponse CancelVRSTask(CancelVRSTaskRequest req) throws TencentCloudSDKException
req
- CancelVRSTaskRequestTencentCloudSDKException
public CreateVRSTaskResponse CreateVRSTask(CreateVRSTaskRequest req) throws TencentCloudSDKException
req
- CreateVRSTaskRequestTencentCloudSDKException
public DescribeVRSTaskStatusResponse DescribeVRSTaskStatus(DescribeVRSTaskStatusRequest req) throws TencentCloudSDKException
req
- DescribeVRSTaskStatusRequestTencentCloudSDKException
public DetectEnvAndSoundQualityResponse DetectEnvAndSoundQuality(DetectEnvAndSoundQualityRequest req) throws TencentCloudSDKException
req
- DetectEnvAndSoundQualityRequestTencentCloudSDKException
public DownloadVRSModelResponse DownloadVRSModel(DownloadVRSModelRequest req) throws TencentCloudSDKException
req
- DownloadVRSModelRequestTencentCloudSDKException
public GetTrainingTextResponse GetTrainingText(GetTrainingTextRequest req) throws TencentCloudSDKException
req
- GetTrainingTextRequestTencentCloudSDKException
public GetVRSVoiceTypesResponse GetVRSVoiceTypes(GetVRSVoiceTypesRequest req) throws TencentCloudSDKException
req
- GetVRSVoiceTypesRequestTencentCloudSDKException
Copyright © 2024. All rights reserved.