GetTitleGenerate_机器翻译_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

接口说明

注意 该接口已计划下线,不建议继续调用。

流控信息

当前云产品API请求速率暂未透出。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
alimt:GetTitleGenerate
Get
全部资源
*

请求参数

字段名称字段详情
Titlestring

标题内容

示例值:10pcs 80ml Kitchen Disposable
Languagestring
示例值:en参考取值来源:
    GetDetectLanguage
Platformstring

商品标题所属平台,支持 ae/icbu

示例值:ae
CategoryIdstring

类目 ID,如没有类目数据则传入 0

示例值:127896018
HotWordsstring

热词

示例值:None,Plastic
Attributesstring

商品属性,请如示例传入 JSON 数据

示例值:{2:"None",10:"Plastic"}
Extrastring
示例值:{ "product_id": "1", "platform": "ae" }

返回参数

字段名称字段详情
Codeinteger<int32>

状态码,正常返回 200

示例值:200
Messagestring

错误的时候,返回错误信息

示例值:ok
RequestIdstring

请求唯一串

示例值:DC2DCCC9-C3DF-4F59-8D8E-78185729F16D
Dataobject

返回内容

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
101
System.RequestTimeOut
The request has timed out.诊断
102
System.Error
A system error occurred.诊断
103
System.UrlDecodingError
An error occurred while decoding the URL. Verify that the specified URL is encoded.诊断
104
System.ParameterError
Some required parameters are missing.诊断
105
System.LanguageNotSupported
The specified language pair is not supported.诊断
106
System.LanguageDetectError
An error occurred while detecting the language.诊断
107
System.TranslateError
An error occurred while translating.诊断
108
System.StringTooLong
The maximum length of the specified string is exceeded.诊断
109
System.subNotPermission
The sub-account is not authorized to perform the operation.诊断
110
System.AccountNotActivated
The account has not activated the service.诊断
111
System.SubServiceFailed
Sub-account service failed.诊断
112
System.TranslateServiceCallFailed
Failed to call the translation service.诊断
113
System.AccountNotActivatedOrInArrears
The service is not activated or the account has an outstanding balance.诊断
199
System.unknownError
An unknown error occurred.诊断

变更历史

暂无变更历史

相关示例

阿里翻译标题优化
2022-01-26