tencentcloud-sdk-nodejs-tmt 4.1.37 → 4.1.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-tmt",
3
- "version": "4.1.37",
3
+ "version": "4.1.38",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -186,6 +186,34 @@ export interface FileTranslateRequest {
186
186
  * ImageTranslateLLM请求参数结构体
187
187
  */
188
188
  export interface ImageTranslateLLMRequest {
189
+ /**
190
+ * 图片数据的Base64字符串,经Base64编码后不超过 9M,分辨率建议600*800以上,支持PNG、JPG、JPEG格式。
191
+ */
192
+ Data: string;
193
+ /**
194
+ * 目标语言,支持语言列表:
195
+
196
+ - 中文:zh
197
+ - 繁体(台湾):zh-TW
198
+ - 繁体(香港):zh-HK
199
+ - 英文:en
200
+ - 日语:ja
201
+ - 韩语:ko
202
+ - 泰语:th
203
+ - 越南语:vi
204
+ - 俄语:ru
205
+ - 德语:de
206
+ - 法语:fr
207
+ - 阿拉伯语:ar
208
+ - 西班牙语:es
209
+ - 意大利语:it
210
+ - 印度尼西亚语:id
211
+ - 马来西亚语:ms
212
+ - 葡萄牙语:pt
213
+ - 土耳其语:tr
214
+ -
215
+ */
216
+ Target: string;
189
217
  /**
190
218
  * 输入图 Url。 使用Url的时候,Data参数需要传入""。 图片限制:小于 10MB,分辨率建议600*800以上,格式支持 jpg、jpeg、png。
191
219
 
@@ -622,6 +650,27 @@ export interface ImageTranslateRequest {
622
650
  * ImageTranslateLLM返回参数结构体
623
651
  */
624
652
  export interface ImageTranslateLLMResponse {
653
+ /**
654
+ * 图片数据的Base64字符串,输出格式为JPG。
655
+
656
+ */
657
+ Data?: string;
658
+ /**
659
+ * 原文本主要源语言。
660
+ */
661
+ Source?: string;
662
+ /**
663
+ * 目标翻译语言。
664
+ */
665
+ Target?: string;
666
+ /**
667
+ * 图片中的全部原文本。
668
+ */
669
+ SourceText?: string;
670
+ /**
671
+ * 图片中全部译文。
672
+ */
673
+ TargetText?: string;
625
674
  /**
626
675
  * 逆时针图片角度,取值范围为0-359
627
676
  */