public class TtsClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
Constructor and Description |
---|
TtsClient(Credential credential,
String region) |
TtsClient(Credential credential,
String region,
ClientProfile profile) |
Modifier and Type | Method and Description |
---|---|
TextToVoiceResponse |
TextToVoice(TextToVoiceRequest req)
This API is used to convert any text to speech, allowing your devices and applications to talk to users.
|
call, getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegion
public TtsClient(Credential credential, String region)
public TtsClient(Credential credential, String region, ClientProfile profile)
public TextToVoiceResponse TextToVoice(TextToVoiceRequest req) throws TencentCloudSDKException
req
- TextToVoiceRequestTencentCloudSDKException
Copyright © 2023. All rights reserved.