tencentcloud-sdk-nodejs-tmt 4.1.134 → 4.1.189
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
|
@@ -187,36 +187,15 @@ export interface FileTranslateRequest {
|
|
|
187
187
|
*/
|
|
188
188
|
export interface ImageTranslateLLMRequest {
|
|
189
189
|
/**
|
|
190
|
-
*
|
|
190
|
+
* <p>图片数据的Base64字符串,经Base64编码后不超过 9M,分辨率建议600*800以上,支持PNG、JPG、JPEG格式。</p>
|
|
191
191
|
*/
|
|
192
192
|
Data: string;
|
|
193
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
|
-
-
|
|
194
|
+
* <p>目标语言,支持语言列表:</p><ul><li>中文:zh</li><li>繁体(中国台湾):zh-TW</li><li>繁体(中国香港):zh-HK</li><li>英文:en</li><li>日语:ja</li><li>韩语:ko</li><li>泰语:th</li><li>越南语:vi</li><li>俄语:ru</li><li>德语:de</li><li>法语:fr</li><li>阿拉伯语:ar</li><li>西班牙语:es</li><li>意大利语:it</li><li>印度尼西亚语:id</li><li>马来西亚语:ms</li><li>葡萄牙语:pt</li><li>土耳其语:tr<br>-</li></ul>
|
|
215
195
|
*/
|
|
216
196
|
Target: string;
|
|
217
197
|
/**
|
|
218
|
-
*
|
|
219
|
-
|
|
198
|
+
* <p>输入图 Url。 使用Url的时候,Data参数需要传入""。 图片限制:小于 10MB,分辨率建议600*800以上,格式支持 jpg、jpeg、png。</p>
|
|
220
199
|
*/
|
|
221
200
|
Url?: string;
|
|
222
201
|
}
|
|
@@ -685,32 +664,31 @@ export interface ImageTranslateRequest {
|
|
|
685
664
|
*/
|
|
686
665
|
export interface ImageTranslateLLMResponse {
|
|
687
666
|
/**
|
|
688
|
-
*
|
|
689
|
-
|
|
667
|
+
* <p>图片数据的Base64字符串,输出格式为JPG。</p>
|
|
690
668
|
*/
|
|
691
669
|
Data?: string;
|
|
692
670
|
/**
|
|
693
|
-
*
|
|
671
|
+
* <p>原文本主要源语言。</p>
|
|
694
672
|
*/
|
|
695
673
|
Source?: string;
|
|
696
674
|
/**
|
|
697
|
-
*
|
|
675
|
+
* <p>目标翻译语言。</p>
|
|
698
676
|
*/
|
|
699
677
|
Target?: string;
|
|
700
678
|
/**
|
|
701
|
-
*
|
|
679
|
+
* <p>图片中的全部原文本。</p>
|
|
702
680
|
*/
|
|
703
681
|
SourceText?: string;
|
|
704
682
|
/**
|
|
705
|
-
*
|
|
683
|
+
* <p>图片中全部译文。</p>
|
|
706
684
|
*/
|
|
707
685
|
TargetText?: string;
|
|
708
686
|
/**
|
|
709
|
-
*
|
|
687
|
+
* <p>逆时针图片角度,取值范围为0-359</p>
|
|
710
688
|
*/
|
|
711
689
|
Angle?: number;
|
|
712
690
|
/**
|
|
713
|
-
*
|
|
691
|
+
* <p>翻译详情信息</p>
|
|
714
692
|
*/
|
|
715
693
|
TransDetails?: Array<TransDetail>;
|
|
716
694
|
/**
|