public class Client
extends com.aliyun.teaopenapi.Client
_ca, _cert, _connectTimeout, _credential, _disableHttp2, _endpoint, _endpointMap, _endpointRule, _endpointType, _globalParameters, _headers, _httpProxy, _httpsProxy, _key, _maxIdleConns, _method, _network, _noProxy, _openPlatformEndpoint, _productId, _protocol, _readTimeout, _regionId, _signatureAlgorithm, _signatureVersion, _socks5NetWork, _socks5Proxy, _spi, _suffix, _userAgent
构造器和说明 |
---|
Client(com.aliyun.teaopenapi.models.Config config) |
addRequestInterceptor, addResponseInterceptor, addRuntimeOptionsInterceptor, callApi, checkConfig, defaultAny, doRequest, doROARequest, doROARequestWithForm, doRPCRequest, execute, getAccessKeyId, getAccessKeySecret, getBearerToken, getRpcHeaders, getSecurityToken, getType, getUserAgent, setGatewayClient, setRpcHeaders
public String getEndpoint(String productId, String regionId, String endpointRule, String network, String suffix, Map<String,String> endpointMap, String endpoint) throws Exception
Exception
public AddTextFeedbackResponse addTextFeedbackWithOptions(AddTextFeedbackRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
添加文案反馈
request
- AddTextFeedbackRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public AddTextFeedbackResponse addTextFeedback(AddTextFeedbackRequest request) throws Exception
添加文案反馈
request
- AddTextFeedbackRequestException
public BatchGetProjectTaskResponse batchGetProjectTaskWithOptions(BatchGetProjectTaskRequest tmpReq, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
批量查询项目信息
tmpReq
- BatchGetProjectTaskRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public BatchGetProjectTaskResponse batchGetProjectTask(BatchGetProjectTaskRequest request) throws Exception
批量查询项目信息
request
- BatchGetProjectTaskRequestException
public CheckSessionResponse checkSessionWithOptions(CheckSessionRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
检查会话状态
request
- CheckSessionRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public CheckSessionResponse checkSession(CheckSessionRequest request) throws Exception
检查会话状态
request
- CheckSessionRequestException
public CountTextResponse countTextWithOptions(CountTextRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
文本数量统计
request
- CountTextRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public CountTextResponse countText(CountTextRequest request) throws Exception
文本数量统计
request
- CountTextRequestException
public CreateIllustrationTaskResponse createIllustrationTaskWithOptions(String textId, CreateIllustrationTaskRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
创建配图生成任务
request
- CreateIllustrationTaskRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public CreateIllustrationTaskResponse createIllustrationTask(String textId, CreateIllustrationTaskRequest request) throws Exception
创建配图生成任务
request
- CreateIllustrationTaskRequestException
public CreateRealisticPortraitResponse createRealisticPortraitWithOptions(CreateRealisticPortraitRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
写实人像创作
request
- CreateRealisticPortraitRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public CreateRealisticPortraitResponse createRealisticPortrait(CreateRealisticPortraitRequest request) throws Exception
写实人像创作
request
- CreateRealisticPortraitRequestException
public CreateTextTaskResponse createTextTaskWithOptions(CreateTextTaskRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
创建文案生成任务
request
- CreateTextTaskRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public CreateTextTaskResponse createTextTask(CreateTextTaskRequest request) throws Exception
创建文案生成任务
request
- CreateTextTaskRequestException
public GetIllustrationResponse getIllustrationWithOptions(String textId, String illustrationId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
查询配图
headers
- mapruntime
- runtime options for this request RuntimeOptionsException
public GetIllustrationResponse getIllustration(String textId, String illustrationId) throws Exception
查询配图
Exception
public GetIllustrationTaskResponse getIllustrationTaskWithOptions(String textId, String illustrationTaskId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
查询配图任务
headers
- mapruntime
- runtime options for this request RuntimeOptionsException
public GetIllustrationTaskResponse getIllustrationTask(String textId, String illustrationTaskId) throws Exception
查询配图任务
Exception
public GetOssUploadTokenResponse getOssUploadTokenWithOptions(GetOssUploadTokenRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
获取图片上传oss token
request
- GetOssUploadTokenRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public GetOssUploadTokenResponse getOssUploadToken(GetOssUploadTokenRequest request) throws Exception
获取图片上传oss token
request
- GetOssUploadTokenRequestException
public GetProjectTaskResponse getProjectTaskWithOptions(GetProjectTaskRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
获取数据人合成信息
request
- GetProjectTaskRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public GetProjectTaskResponse getProjectTask(GetProjectTaskRequest request) throws Exception
获取数据人合成信息
request
- GetProjectTaskRequestException
public GetTextResponse getTextWithOptions(String textId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
查询文案
headers
- mapruntime
- runtime options for this request RuntimeOptionsException
public GetTextResponse getText(String textId) throws Exception
查询文案
Exception
public GetTextTaskResponse getTextTaskWithOptions(String textTaskId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
查询文案任务
headers
- mapruntime
- runtime options for this request RuntimeOptionsException
public GetTextTaskResponse getTextTask(String textTaskId) throws Exception
查询文案任务
Exception
public GetTextTemplateResponse getTextTemplateWithOptions(GetTextTemplateRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
查询表单配置
request
- GetTextTemplateRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public GetTextTemplateResponse getTextTemplate(GetTextTemplateRequest request) throws Exception
查询表单配置
request
- GetTextTemplateRequestException
public InteractTextResponse interactTextWithOptions(InteractTextRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
营销文案互动问答
request
- InteractTextRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public InteractTextResponse interactText(InteractTextRequest request) throws Exception
营销文案互动问答
request
- InteractTextRequestException
public ListAnchorResponse listAnchorWithOptions(ListAnchorRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
获取数字人模特列表
request
- ListAnchorRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public ListAnchorResponse listAnchor(ListAnchorRequest request) throws Exception
获取数字人模特列表
request
- ListAnchorRequestException
public ListAvatarProjectResponse listAvatarProjectWithOptions(ListAvatarProjectRequest tmpReq, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
批量查询数字人项目启动结果
tmpReq
- ListAvatarProjectRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public ListAvatarProjectResponse listAvatarProject(ListAvatarProjectRequest request) throws Exception
批量查询数字人项目启动结果
request
- ListAvatarProjectRequestException
public ListTextThemesResponse listTextThemesWithOptions(ListTextThemesRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
查询文案主题列表
request
- ListTextThemesRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public ListTextThemesResponse listTextThemes(ListTextThemesRequest request) throws Exception
查询文案主题列表
request
- ListTextThemesRequestException
public ListTextsResponse listTextsWithOptions(ListTextsRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
列举文案
request
- ListTextsRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public ListTextsResponse listTexts(ListTextsRequest request) throws Exception
列举文案
request
- ListTextsRequestException
public ListVoiceModelsResponse listVoiceModelsWithOptions(ListVoiceModelsRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
获取声音模版列表
request
- ListVoiceModelsRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public ListVoiceModelsResponse listVoiceModels(ListVoiceModelsRequest request) throws Exception
获取声音模版列表
request
- ListVoiceModelsRequestException
public OperateAvatarProjectResponse operateAvatarProjectWithOptions(OperateAvatarProjectRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
操作实时数字人项目
request
- OperateAvatarProjectRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public OperateAvatarProjectResponse operateAvatarProject(OperateAvatarProjectRequest request) throws Exception
操作实时数字人项目
request
- OperateAvatarProjectRequestException
public QueryAvatarProjectResponse queryAvatarProjectWithOptions(QueryAvatarProjectRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
查询数字人项目信息
request
- QueryAvatarProjectRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public QueryAvatarProjectResponse queryAvatarProject(QueryAvatarProjectRequest request) throws Exception
查询数字人项目信息
request
- QueryAvatarProjectRequestException
public QueryAvatarResourceResponse queryAvatarResourceWithOptions(QueryAvatarResourceRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
查找资源
request
- QueryAvatarResourceRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public QueryAvatarResourceResponse queryAvatarResource(QueryAvatarResourceRequest request) throws Exception
查找资源
request
- QueryAvatarResourceRequestException
public QuerySessionInfoResponse querySessionInfoWithOptions(QuerySessionInfoRequest tmpReq, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
查询会话信息
tmpReq
- QuerySessionInfoRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public QuerySessionInfoResponse querySessionInfo(QuerySessionInfoRequest request) throws Exception
查询会话信息
request
- QuerySessionInfoRequestException
public QueryTextStreamResponse queryTextStreamWithOptions(String textId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
流式输出文案
headers
- mapruntime
- runtime options for this request RuntimeOptionsException
public QueryTextStreamResponse queryTextStream(String textId) throws Exception
流式输出文案
Exception
public SaveAvatarProjectResponse saveAvatarProjectWithOptions(SaveAvatarProjectRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
保存实时数字人项目
request
- SaveAvatarProjectRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public SaveAvatarProjectResponse saveAvatarProject(SaveAvatarProjectRequest request) throws Exception
保存实时数字人项目
request
- SaveAvatarProjectRequestException
public SelectImageTaskResponse selectImageTaskWithOptions(String taskId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
查询图片任务
headers
- mapruntime
- runtime options for this request RuntimeOptionsException
public SelectImageTaskResponse selectImageTask(String taskId) throws Exception
查询图片任务
Exception
public SelectResourceResponse selectResourceWithOptions(SelectResourceRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
查询离线数字人剩余资源
request
- SelectResourceRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public SelectResourceResponse selectResource(SelectResourceRequest request) throws Exception
查询离线数字人剩余资源
request
- SelectResourceRequestException
public SendTextMsgResponse sendTextMsgWithOptions(SendTextMsgRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
发送文本消息
request
- SendTextMsgRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public SendTextMsgResponse sendTextMsg(SendTextMsgRequest request) throws Exception
发送文本消息
request
- SendTextMsgRequestException
public StartAvatarSessionResponse startAvatarSessionWithOptions(StartAvatarSessionRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
启动会话
request
- StartAvatarSessionRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public StartAvatarSessionResponse startAvatarSession(StartAvatarSessionRequest request) throws Exception
启动会话
request
- StartAvatarSessionRequestException
public StopAvatarSessionResponse stopAvatarSessionWithOptions(StopAvatarSessionRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
停止会话
request
- StopAvatarSessionRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public StopAvatarSessionResponse stopAvatarSession(StopAvatarSessionRequest request) throws Exception
停止会话
request
- StopAvatarSessionRequestException
public StopProjectTaskResponse stopProjectTaskWithOptions(StopProjectTaskRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
视频合成任务停止
request
- StopProjectTaskRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public StopProjectTaskResponse stopProjectTask(StopProjectTaskRequest request) throws Exception
视频合成任务停止
request
- StopProjectTaskRequestException
public SubmitProjectTaskResponse submitProjectTaskWithOptions(SubmitProjectTaskRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
提交离线数字人合成任务
request
- SubmitProjectTaskRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public SubmitProjectTaskResponse submitProjectTask(SubmitProjectTaskRequest request) throws Exception
提交离线数字人合成任务
request
- SubmitProjectTaskRequestException
public TransferPortraitStyleResponse transferPortraitStyleWithOptions(TransferPortraitStyleRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
人像风格变化
request
- TransferPortraitStyleRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public TransferPortraitStyleResponse transferPortraitStyle(TransferPortraitStyleRequest request) throws Exception
人像风格变化
request
- TransferPortraitStyleRequestException
Copyright © 2024. All rights reserved.