@alicloud/aidge20260428 3.1.0 → 3.1.1

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.
@@ -1,13 +1,16 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
2
  export declare class TextTranslateRequest extends $dara.Model {
3
3
  /**
4
+ * @remarks
5
+ * The business scenario identifier. Optional. Valid values: e-commerce-title, e-commerce-description, e-commerce-chat, e-commerce-cpv, novel, game. If not specified or invalid, the general translation strategy is used by default.
6
+ *
4
7
  * @example
5
8
  * MyCompany-Chat
6
9
  */
7
10
  bizName?: string;
8
11
  /**
9
12
  * @remarks
10
- * The format type of the source text. This parameter is optional. Valid values: text (plain text format) and html (web page format that preserves HTML tags).
13
+ * The format type of the source text. Optional. Supports text (plain text format) and html (web page format, preserving HTML tags).
11
14
  *
12
15
  * @example
13
16
  * text
@@ -15,7 +18,7 @@ export declare class TextTranslateRequest extends $dara.Model {
15
18
  formatType?: string;
16
19
  /**
17
20
  * @remarks
18
- * The intervention glossary ID. This parameter is optional. The glossary must be created separately in the console and its ID provided here. If the glossary ID is empty, the translation result is not modified.
21
+ * The intervention glossary ID. Optional. The glossary must be created separately in the console and its ID provided. If the glossary ID is empty, the translation result is not modified.
19
22
  *
20
23
  * @example
21
24
  * glossary_1
@@ -23,7 +26,7 @@ export declare class TextTranslateRequest extends $dara.Model {
23
26
  glossary?: string;
24
27
  /**
25
28
  * @remarks
26
- * The source language code. This parameter is optional. If not specified, the language is automatically detected. You can pass auto for language detection.
29
+ * The source language code. Optional. If not specified, the language is automatically detected. You can pass auto for language detection.
27
30
  *
28
31
  * @example
29
32
  * auto
@@ -31,7 +34,7 @@ export declare class TextTranslateRequest extends $dara.Model {
31
34
  sourceLanguage?: string;
32
35
  /**
33
36
  * @remarks
34
- * The list of texts to translate. This parameter is required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
37
+ * The list of texts to translate. Required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
35
38
  *
36
39
  * This parameter is required.
37
40
  *
@@ -41,7 +44,7 @@ export declare class TextTranslateRequest extends $dara.Model {
41
44
  sourceTextList?: string[];
42
45
  /**
43
46
  * @remarks
44
- * The target language code. This parameter is required. More than 100 language directions are supported. For details, refer to the supported language directions list.
47
+ * The target language code. Required. Supports more than 100 language directions. For details, refer to the supported language directions list.
45
48
  *
46
49
  * This parameter is required.
47
50
  *
@@ -50,6 +53,9 @@ export declare class TextTranslateRequest extends $dara.Model {
50
53
  */
51
54
  targetLanguage?: string;
52
55
  /**
56
+ * @remarks
57
+ * The format of the translation text. **html** (web page format. This setting processes both the source text and translated text in HTML format). **text** (text format. This setting processes both the source text and translated result as plain text without format processing).
58
+ *
53
59
  * @example
54
60
  * e-commerce-title
55
61
  */
@@ -1 +1 @@
1
- {"version":3,"file":"TextTranslateRequest.js","sourceRoot":"","sources":["../../src/models/TextTranslateRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oBAAqB,SAAQ,KAAK,CAAC,KAAK;IAuDnD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACzD,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,QAAQ;SACzB,CAAC;IACJ,CAAC;IAED,QAAQ;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IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/FD,oDA+FC"}
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class TextTranslateResponseBodyDataTranslations extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The number of characters in the source text.
5
+ * The source text character count.
6
6
  *
7
7
  * @example
8
8
  * 11
@@ -21,7 +21,7 @@ export declare class TextTranslateResponseBodyDataTranslations extends $dara.Mod
21
21
  * The translated text.
22
22
  *
23
23
  * @example
24
- * 你好世界
24
+ * Hello World.
25
25
  */
26
26
  translatedText?: string;
27
27
  static names(): {
@@ -65,7 +65,7 @@ export declare class TextTranslateResponseBodyData extends $dara.Model {
65
65
  export declare class TextTranslateResponseBody extends $dara.Model {
66
66
  /**
67
67
  * @remarks
68
- * The response code. Returns "success" for successful calls.
68
+ * The response code. Returns "success" for normal calls.
69
69
  *
70
70
  * @example
71
71
  * success
@@ -78,7 +78,7 @@ export declare class TextTranslateResponseBody extends $dara.Model {
78
78
  data?: TextTranslateResponseBodyData;
79
79
  /**
80
80
  * @remarks
81
- * The error message. Returns "Success" for successful calls. Returns specific error information for exceptions, such as "The parameters contain sensitive information. Try other input."
81
+ * The error message. Returns "Success" for normal calls. Returns specific error information for exceptions, such as "The parameters contain sensitive information. Try other input."
82
82
  *
83
83
  * @example
84
84
  * Success
@@ -1,13 +1,16 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
2
  export declare class TextTranslateShrinkRequest extends $dara.Model {
3
3
  /**
4
+ * @remarks
5
+ * The business scenario identifier. Optional. Valid values: e-commerce-title, e-commerce-description, e-commerce-chat, e-commerce-cpv, novel, game. If not specified or invalid, the general translation strategy is used by default.
6
+ *
4
7
  * @example
5
8
  * MyCompany-Chat
6
9
  */
7
10
  bizName?: string;
8
11
  /**
9
12
  * @remarks
10
- * The format type of the source text. This parameter is optional. Valid values: text (plain text format) and html (web page format that preserves HTML tags).
13
+ * The format type of the source text. Optional. Supports text (plain text format) and html (web page format, preserving HTML tags).
11
14
  *
12
15
  * @example
13
16
  * text
@@ -15,7 +18,7 @@ export declare class TextTranslateShrinkRequest extends $dara.Model {
15
18
  formatType?: string;
16
19
  /**
17
20
  * @remarks
18
- * The intervention glossary ID. This parameter is optional. The glossary must be created separately in the console and its ID provided here. If the glossary ID is empty, the translation result is not modified.
21
+ * The intervention glossary ID. Optional. The glossary must be created separately in the console and its ID provided. If the glossary ID is empty, the translation result is not modified.
19
22
  *
20
23
  * @example
21
24
  * glossary_1
@@ -23,7 +26,7 @@ export declare class TextTranslateShrinkRequest extends $dara.Model {
23
26
  glossary?: string;
24
27
  /**
25
28
  * @remarks
26
- * The source language code. This parameter is optional. If not specified, the language is automatically detected. You can pass auto for language detection.
29
+ * The source language code. Optional. If not specified, the language is automatically detected. You can pass auto for language detection.
27
30
  *
28
31
  * @example
29
32
  * auto
@@ -31,7 +34,7 @@ export declare class TextTranslateShrinkRequest extends $dara.Model {
31
34
  sourceLanguage?: string;
32
35
  /**
33
36
  * @remarks
34
- * The list of texts to translate. This parameter is required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
37
+ * The list of texts to translate. Required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
35
38
  *
36
39
  * This parameter is required.
37
40
  *
@@ -41,7 +44,7 @@ export declare class TextTranslateShrinkRequest extends $dara.Model {
41
44
  sourceTextListShrink?: string;
42
45
  /**
43
46
  * @remarks
44
- * The target language code. This parameter is required. More than 100 language directions are supported. For details, refer to the supported language directions list.
47
+ * The target language code. Required. Supports more than 100 language directions. For details, refer to the supported language directions list.
45
48
  *
46
49
  * This parameter is required.
47
50
  *
@@ -50,6 +53,9 @@ export declare class TextTranslateShrinkRequest extends $dara.Model {
50
53
  */
51
54
  targetLanguage?: string;
52
55
  /**
56
+ * @remarks
57
+ * The format of the translation text. **html** (web page format. This setting processes both the source text and translated text in HTML format). **text** (text format. This setting processes both the source text and translated result as plain text without format processing).
58
+ *
53
59
  * @example
54
60
  * e-commerce-title
55
61
  */
@@ -1 +1 @@
1
- {"version":3,"file":"TextTranslateShrinkRequest.js","sourceRoot":"","sources":["../../src/models/TextTranslateShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IAuDzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,cAAc,EAAE,gBAAgB;YAChC,oBAAoB,EAAE,gBAAgB;YACtC,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,cAAc,EAAE,QAAQ;YACxB,oBAAoB,EAAE,QAAQ;YAC9B,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,QAAQ;SACzB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtFD,gEAsFC"}
1
+ {"version":3,"file":"TextTranslateShrinkRequest.js","sourceRoot":"","sources":["../../src/models/TextTranslateShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IA6DzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,cAAc,EAAE,gBAAgB;YAChC,oBAAoB,EAAE,gBAAgB;YACtC,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,cAAc,EAAE,QAAQ;YACxB,oBAAoB,EAAE,QAAQ;YAC9B,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,QAAQ;SACzB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5FD,gEA4FC"}
@@ -20,6 +20,12 @@ export { ImageTranslationProResponseBodyDataGenFilesResultList } from './ImageTr
20
20
  export { ImageTranslationProResponseBodyDataGenFiles } from './ImageTranslationProResponseBody';
21
21
  export { ImageTranslationProResponseBodyDataResultList } from './ImageTranslationProResponseBody';
22
22
  export { ImageTranslationProResponseBodyData } from './ImageTranslationProResponseBody';
23
+ export { ImageTranslationStandardResponseBodyDataEditInfoGoodsRects } from './ImageTranslationStandardResponseBody';
24
+ export { ImageTranslationStandardResponseBodyDataEditInfoTextAreasTextsImageRect } from './ImageTranslationStandardResponseBody';
25
+ export { ImageTranslationStandardResponseBodyDataEditInfoTextAreasTextsTextRect } from './ImageTranslationStandardResponseBody';
26
+ export { ImageTranslationStandardResponseBodyDataEditInfoTextAreasTexts } from './ImageTranslationStandardResponseBody';
27
+ export { ImageTranslationStandardResponseBodyDataEditInfoTextAreas } from './ImageTranslationStandardResponseBody';
28
+ export { ImageTranslationStandardResponseBodyDataEditInfo } from './ImageTranslationStandardResponseBody';
23
29
  export { ImageTranslationStandardResponseBodyData } from './ImageTranslationStandardResponseBody';
24
30
  export { LanguageDetectResponseBodyData } from './LanguageDetectResponseBody';
25
31
  export { MaterialInspectionResponseBodyDataResultSteps } from './MaterialInspectionResponseBody';
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CategoryMatchResponse = exports.CategoryMatchResponseBody = exports.CategoryMatchRequest = exports.CategoryAttributeMatchResponse = exports.CategoryAttributeMatchResponseBody = exports.CategoryAttributeMatchShrinkRequest = exports.CategoryAttributeMatchRequest = exports.AssetOptimizeProResponse = exports.AssetOptimizeProResponseBody = exports.AssetOptimizeProShrinkRequest = exports.AssetOptimizeProRequest = exports.AssetOptimizeLiteResponse = exports.AssetOptimizeLiteResponseBody = exports.AssetOptimizeLiteRequest = exports.VisionFlowResponseBodyData = exports.VideoTranslationResponseBodyData = exports.TextTranslateResponseBodyData = exports.TextTranslateResponseBodyDataTranslations = exports.TextCorrectResponseBodyData = exports.SizeChartExtractResponseBodyData = exports.SizeChartDetectResponseBodyData = exports.QueryAsyncTaskResultResponseBodyData = exports.PackageWeightSizeCheckResponseBodyData = exports.MaterialInspectionResponseBodyData = exports.MaterialInspectionResponseBodyDataResult = exports.MaterialInspectionResponseBodyDataResultSteps = exports.LanguageDetectResponseBodyData = exports.ImageTranslationStandardResponseBodyData = exports.ImageTranslationProResponseBodyData = exports.ImageTranslationProResponseBodyDataResultList = exports.ImageTranslationProResponseBodyDataGenFiles = exports.ImageTranslationProResponseBodyDataGenFilesResultList = exports.ImageTranslationProResponseBodyDataGenFilesEditInfo = exports.ImageTranslationProResponseBodyDataGenFilesEditInfoTextAreas = exports.ImageTranslationProResponseBodyDataGenFilesEditInfoTextAreasTexts = exports.ImageTranslationProResponseBodyDataGenFilesEditInfoTextAreasTextsTextRect = exports.ImageTranslationProResponseBodyDataGenFilesEditInfoTextAreasTextsImageRect = exports.ImageTranslationProResponseBodyDataGenFilesEditInfoGoodsRects = exports.ImageRemoveResponseBodyData = exports.ImageRemovalProResponseBodyData = exports.ImageRecognitionResponseBodyData = exports.ImageMattingResponseBodyData = exports.ImageCroppingResponseBodyData = exports.DocumentTranslateResponseBodyData = exports.CategoryMatchResponseBodyData = exports.CategoryAttributeMatchResponseBodyData = exports.CategoryAttributeMatchResponseBodyDataUsageMap = exports.CategoryAttributeMatchResponseBodyDataAttributes = exports.AssetOptimizeProResponseBodyData = exports.AssetOptimizeLiteResponseBodyData = void 0;
4
- exports.TextTranslateShrinkRequest = exports.TextTranslateRequest = exports.TextCorrectResponse = exports.TextCorrectResponseBody = exports.TextCorrectRequest = exports.SizeChartExtractResponse = exports.SizeChartExtractResponseBody = exports.SizeChartExtractShrinkRequest = exports.SizeChartExtractRequest = exports.SizeChartDetectResponse = exports.SizeChartDetectResponseBody = exports.SizeChartDetectRequest = exports.QueryAsyncTaskResultResponse = exports.QueryAsyncTaskResultResponseBody = exports.QueryAsyncTaskResultRequest = exports.PackageWeightSizeCheckResponse = exports.PackageWeightSizeCheckResponseBody = exports.PackageWeightSizeCheckRequest = exports.MaterialInspectionResponse = exports.MaterialInspectionResponseBody = exports.MaterialInspectionRequest = exports.LanguageDetectResponse = exports.LanguageDetectResponseBody = exports.LanguageDetectRequest = exports.ImageTranslationStandardResponse = exports.ImageTranslationStandardResponseBody = exports.ImageTranslationStandardRequest = exports.ImageTranslationProResponse = exports.ImageTranslationProResponseBody = exports.ImageTranslationProRequest = exports.ImageRemoveResponse = exports.ImageRemoveResponseBody = exports.ImageRemoveShrinkRequest = exports.ImageRemoveRequest = exports.ImageRemovalProResponse = exports.ImageRemovalProResponseBody = exports.ImageRemovalProRequest = exports.ImageRecognitionResponse = exports.ImageRecognitionResponseBody = exports.ImageRecognitionShrinkRequest = exports.ImageRecognitionRequest = exports.ImageMattingResponse = exports.ImageMattingResponseBody = exports.ImageMattingRequest = exports.ImageCroppingResponse = exports.ImageCroppingResponseBody = exports.ImageCroppingRequest = exports.DocumentTranslateResponse = exports.DocumentTranslateResponseBody = exports.DocumentTranslateRequest = void 0;
5
- exports.VisionFlowResponse = exports.VisionFlowResponseBody = exports.VisionFlowShrinkRequest = exports.VisionFlowRequest = exports.VideoTranslationResponse = exports.VideoTranslationResponseBody = exports.VideoTranslationShrinkRequest = exports.VideoTranslationRequest = exports.TextTranslateResponse = exports.TextTranslateResponseBody = void 0;
3
+ exports.CategoryAttributeMatchRequest = exports.AssetOptimizeProResponse = exports.AssetOptimizeProResponseBody = exports.AssetOptimizeProShrinkRequest = exports.AssetOptimizeProRequest = exports.AssetOptimizeLiteResponse = exports.AssetOptimizeLiteResponseBody = exports.AssetOptimizeLiteRequest = exports.VisionFlowResponseBodyData = exports.VideoTranslationResponseBodyData = exports.TextTranslateResponseBodyData = exports.TextTranslateResponseBodyDataTranslations = exports.TextCorrectResponseBodyData = exports.SizeChartExtractResponseBodyData = exports.SizeChartDetectResponseBodyData = exports.QueryAsyncTaskResultResponseBodyData = exports.PackageWeightSizeCheckResponseBodyData = exports.MaterialInspectionResponseBodyData = exports.MaterialInspectionResponseBodyDataResult = exports.MaterialInspectionResponseBodyDataResultSteps = exports.LanguageDetectResponseBodyData = exports.ImageTranslationStandardResponseBodyData = exports.ImageTranslationStandardResponseBodyDataEditInfo = exports.ImageTranslationStandardResponseBodyDataEditInfoTextAreas = exports.ImageTranslationStandardResponseBodyDataEditInfoTextAreasTexts = exports.ImageTranslationStandardResponseBodyDataEditInfoTextAreasTextsTextRect = exports.ImageTranslationStandardResponseBodyDataEditInfoTextAreasTextsImageRect = exports.ImageTranslationStandardResponseBodyDataEditInfoGoodsRects = exports.ImageTranslationProResponseBodyData = exports.ImageTranslationProResponseBodyDataResultList = exports.ImageTranslationProResponseBodyDataGenFiles = exports.ImageTranslationProResponseBodyDataGenFilesResultList = exports.ImageTranslationProResponseBodyDataGenFilesEditInfo = exports.ImageTranslationProResponseBodyDataGenFilesEditInfoTextAreas = exports.ImageTranslationProResponseBodyDataGenFilesEditInfoTextAreasTexts = exports.ImageTranslationProResponseBodyDataGenFilesEditInfoTextAreasTextsTextRect = exports.ImageTranslationProResponseBodyDataGenFilesEditInfoTextAreasTextsImageRect = exports.ImageTranslationProResponseBodyDataGenFilesEditInfoGoodsRects = exports.ImageRemoveResponseBodyData = exports.ImageRemovalProResponseBodyData = exports.ImageRecognitionResponseBodyData = exports.ImageMattingResponseBodyData = exports.ImageCroppingResponseBodyData = exports.DocumentTranslateResponseBodyData = exports.CategoryMatchResponseBodyData = exports.CategoryAttributeMatchResponseBodyData = exports.CategoryAttributeMatchResponseBodyDataUsageMap = exports.CategoryAttributeMatchResponseBodyDataAttributes = exports.AssetOptimizeProResponseBodyData = exports.AssetOptimizeLiteResponseBodyData = void 0;
4
+ exports.SizeChartExtractResponseBody = exports.SizeChartExtractShrinkRequest = exports.SizeChartExtractRequest = exports.SizeChartDetectResponse = exports.SizeChartDetectResponseBody = exports.SizeChartDetectRequest = exports.QueryAsyncTaskResultResponse = exports.QueryAsyncTaskResultResponseBody = exports.QueryAsyncTaskResultRequest = exports.PackageWeightSizeCheckResponse = exports.PackageWeightSizeCheckResponseBody = exports.PackageWeightSizeCheckRequest = exports.MaterialInspectionResponse = exports.MaterialInspectionResponseBody = exports.MaterialInspectionRequest = exports.LanguageDetectResponse = exports.LanguageDetectResponseBody = exports.LanguageDetectRequest = exports.ImageTranslationStandardResponse = exports.ImageTranslationStandardResponseBody = exports.ImageTranslationStandardRequest = exports.ImageTranslationProResponse = exports.ImageTranslationProResponseBody = exports.ImageTranslationProRequest = exports.ImageRemoveResponse = exports.ImageRemoveResponseBody = exports.ImageRemoveShrinkRequest = exports.ImageRemoveRequest = exports.ImageRemovalProResponse = exports.ImageRemovalProResponseBody = exports.ImageRemovalProRequest = exports.ImageRecognitionResponse = exports.ImageRecognitionResponseBody = exports.ImageRecognitionShrinkRequest = exports.ImageRecognitionRequest = exports.ImageMattingResponse = exports.ImageMattingResponseBody = exports.ImageMattingRequest = exports.ImageCroppingResponse = exports.ImageCroppingResponseBody = exports.ImageCroppingRequest = exports.DocumentTranslateResponse = exports.DocumentTranslateResponseBody = exports.DocumentTranslateRequest = exports.CategoryMatchResponse = exports.CategoryMatchResponseBody = exports.CategoryMatchRequest = exports.CategoryAttributeMatchResponse = exports.CategoryAttributeMatchResponseBody = exports.CategoryAttributeMatchShrinkRequest = void 0;
5
+ exports.VisionFlowResponse = exports.VisionFlowResponseBody = exports.VisionFlowShrinkRequest = exports.VisionFlowRequest = exports.VideoTranslationResponse = exports.VideoTranslationResponseBody = exports.VideoTranslationShrinkRequest = exports.VideoTranslationRequest = exports.TextTranslateResponse = exports.TextTranslateResponseBody = exports.TextTranslateShrinkRequest = exports.TextTranslateRequest = exports.TextCorrectResponse = exports.TextCorrectResponseBody = exports.TextCorrectRequest = exports.SizeChartExtractResponse = void 0;
6
6
  var AssetOptimizeLiteResponseBody_1 = require("./AssetOptimizeLiteResponseBody");
7
7
  Object.defineProperty(exports, "AssetOptimizeLiteResponseBodyData", { enumerable: true, get: function () { return AssetOptimizeLiteResponseBody_1.AssetOptimizeLiteResponseBodyData; } });
8
8
  var AssetOptimizeProResponseBody_1 = require("./AssetOptimizeProResponseBody");
@@ -48,7 +48,19 @@ Object.defineProperty(exports, "ImageTranslationProResponseBodyDataResultList",
48
48
  var ImageTranslationProResponseBody_10 = require("./ImageTranslationProResponseBody");
49
49
  Object.defineProperty(exports, "ImageTranslationProResponseBodyData", { enumerable: true, get: function () { return ImageTranslationProResponseBody_10.ImageTranslationProResponseBodyData; } });
50
50
  var ImageTranslationStandardResponseBody_1 = require("./ImageTranslationStandardResponseBody");
51
- Object.defineProperty(exports, "ImageTranslationStandardResponseBodyData", { enumerable: true, get: function () { return ImageTranslationStandardResponseBody_1.ImageTranslationStandardResponseBodyData; } });
51
+ Object.defineProperty(exports, "ImageTranslationStandardResponseBodyDataEditInfoGoodsRects", { enumerable: true, get: function () { return ImageTranslationStandardResponseBody_1.ImageTranslationStandardResponseBodyDataEditInfoGoodsRects; } });
52
+ var ImageTranslationStandardResponseBody_2 = require("./ImageTranslationStandardResponseBody");
53
+ Object.defineProperty(exports, "ImageTranslationStandardResponseBodyDataEditInfoTextAreasTextsImageRect", { enumerable: true, get: function () { return ImageTranslationStandardResponseBody_2.ImageTranslationStandardResponseBodyDataEditInfoTextAreasTextsImageRect; } });
54
+ var ImageTranslationStandardResponseBody_3 = require("./ImageTranslationStandardResponseBody");
55
+ Object.defineProperty(exports, "ImageTranslationStandardResponseBodyDataEditInfoTextAreasTextsTextRect", { enumerable: true, get: function () { return ImageTranslationStandardResponseBody_3.ImageTranslationStandardResponseBodyDataEditInfoTextAreasTextsTextRect; } });
56
+ var ImageTranslationStandardResponseBody_4 = require("./ImageTranslationStandardResponseBody");
57
+ Object.defineProperty(exports, "ImageTranslationStandardResponseBodyDataEditInfoTextAreasTexts", { enumerable: true, get: function () { return ImageTranslationStandardResponseBody_4.ImageTranslationStandardResponseBodyDataEditInfoTextAreasTexts; } });
58
+ var ImageTranslationStandardResponseBody_5 = require("./ImageTranslationStandardResponseBody");
59
+ Object.defineProperty(exports, "ImageTranslationStandardResponseBodyDataEditInfoTextAreas", { enumerable: true, get: function () { return ImageTranslationStandardResponseBody_5.ImageTranslationStandardResponseBodyDataEditInfoTextAreas; } });
60
+ var ImageTranslationStandardResponseBody_6 = require("./ImageTranslationStandardResponseBody");
61
+ Object.defineProperty(exports, "ImageTranslationStandardResponseBodyDataEditInfo", { enumerable: true, get: function () { return ImageTranslationStandardResponseBody_6.ImageTranslationStandardResponseBodyDataEditInfo; } });
62
+ var ImageTranslationStandardResponseBody_7 = require("./ImageTranslationStandardResponseBody");
63
+ Object.defineProperty(exports, "ImageTranslationStandardResponseBodyData", { enumerable: true, get: function () { return ImageTranslationStandardResponseBody_7.ImageTranslationStandardResponseBodyData; } });
52
64
  var LanguageDetectResponseBody_1 = require("./LanguageDetectResponseBody");
53
65
  Object.defineProperty(exports, "LanguageDetectResponseBodyData", { enumerable: true, get: function () { return LanguageDetectResponseBody_1.LanguageDetectResponseBodyData; } });
54
66
  var MaterialInspectionResponseBody_1 = require("./MaterialInspectionResponseBody");
@@ -151,8 +163,8 @@ var ImageTranslationProResponse_1 = require("./ImageTranslationProResponse");
151
163
  Object.defineProperty(exports, "ImageTranslationProResponse", { enumerable: true, get: function () { return ImageTranslationProResponse_1.ImageTranslationProResponse; } });
152
164
  var ImageTranslationStandardRequest_1 = require("./ImageTranslationStandardRequest");
153
165
  Object.defineProperty(exports, "ImageTranslationStandardRequest", { enumerable: true, get: function () { return ImageTranslationStandardRequest_1.ImageTranslationStandardRequest; } });
154
- var ImageTranslationStandardResponseBody_2 = require("./ImageTranslationStandardResponseBody");
155
- Object.defineProperty(exports, "ImageTranslationStandardResponseBody", { enumerable: true, get: function () { return ImageTranslationStandardResponseBody_2.ImageTranslationStandardResponseBody; } });
166
+ var ImageTranslationStandardResponseBody_8 = require("./ImageTranslationStandardResponseBody");
167
+ Object.defineProperty(exports, "ImageTranslationStandardResponseBody", { enumerable: true, get: function () { return ImageTranslationStandardResponseBody_8.ImageTranslationStandardResponseBody; } });
156
168
  var ImageTranslationStandardResponse_1 = require("./ImageTranslationStandardResponse");
157
169
  Object.defineProperty(exports, "ImageTranslationStandardResponse", { enumerable: true, get: function () { return ImageTranslationStandardResponse_1.ImageTranslationStandardResponse; } });
158
170
  var LanguageDetectRequest_1 = require("./LanguageDetectRequest");
@@ -1 +1 @@
1
- {"version":3,"file":"model.js","sourceRoot":"","sources":["../../src/models/model.ts"],"names":[],"mappings":";;;;;AAAA,iFAAoF;AAA3E,kJAAA,iCAAiC,OAAA;AAC1C,+EAAkF;AAAzE,gJAAA,gCAAgC,OAAA;AACzC,2FAAwG;AAA/F,sKAAA,gDAAgD,OAAA;AACzD,2FAAsG;AAA7F,oKAAA,8CAA8C,OAAA;AACvD,2FAA8F;AAArF,4JAAA,sCAAsC,OAAA;AAC/C,yEAA4E;AAAnE,0IAAA,6BAA6B,OAAA;AACtC,iFAAoF;AAA3E,kJAAA,iCAAiC,OAAA;AAC1C,yEAA4E;AAAnE,0IAAA,6BAA6B,OAAA;AACtC,uEAA0E;AAAjE,wIAAA,4BAA4B,OAAA;AACrC,+E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A2B,OAAA;AACpC,qEAAoE;AAA3D,kIAAA,uBAAuB,OAAA;AAChC,qEAAoE;AAA3D,kIAAA,uBAAuB,OAAA;AAChC,iFAAgF;AAAvE,8IAAA,6BAA6B,OAAA;AACtC,+EAA8E;AAArE,4IAAA,4BAA4B,OAAA;AACrC,uEAAsE;AAA7D,oIAAA,wBAAwB,OAAA;AACjC,2DAA0D;AAAjD,wHAAA,kBAAkB,OAAA;AAC3B,qEAAoE;AAA3D,kIAAA,uBAAuB,OAAA;AAChC,6DAA4D;AAAnD,0HAAA,mBAAmB,OAAA;AAC5B,+DAA8D;AAArD,4HAAA,oBAAoB,OAAA;AAC7B,2EAA0E;AAAjE,wIAAA,0BAA0B,OAAA;AACnC,yEAAwE;AAA/D,sIAAA,yBAAyB,OAAA;AAClC,iEAAgE;AAAvD,8HAAA,qBAAqB,OAAA;AAC9B,qEAAoE;AAA3D,kIAAA,uBAAuB,OAAA;AAChC,iFAAgF;AAAvE,8IAAA,6BAA6B,OAAA;AACtC,+EAA8E;AAArE,4IAAA,4BAA4B,OAAA;AACrC,uEAAsE;AAA7D,oIAAA,wBAAwB,OAAA;AACjC,yDAAwD;AAA/C,sHAAA,iBAAiB,OAAA;AAC1B,qEAAoE;AAA3D,kIAAA,uBAAuB,OAAA;AAChC,mEAAkE;AAAzD,gIAAA,sBAAsB,OAAA;AAC/B,2DAA0D;AAAjD,wHAAA,kBAAkB,OAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/aidge20260428",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -1415,17 +1415,21 @@ export default class Client extends OpenApi {
1415
1415
  }
1416
1416
 
1417
1417
  /**
1418
- * Image Translation is designed specifically for e-commerce images. It supports more than 100 language directions, accurately processes complex text layouts within images, and ensures that translated content matches the image content. This helps e-commerce platforms and developers easily achieve multilingual conversion and rendering of image content.
1418
+ * The image translation product is designed for e-commerce images. It supports more than 100 language directions (including bridging), accurately processes complex text layouts within images, and ensures that translated content matches the image content. This helps e-commerce platforms and developers easily achieve multilingual conversion and presentation of image content. The product also returns layer information such as text position, font, and color within images, facilitating secondary editing of translation results through an image editor.
1419
1419
  *
1420
1420
  * @remarks
1421
- * ## Product Introduction
1422
- * Image Translation is designed specifically for e-commerce images. It supports more than 100 language directions, accurately processes complex text layouts within images, and ensures that translated content matches the image content. This helps e-commerce platforms and developers easily achieve multilingual conversion and rendering of image content.
1423
- * ## Common scenarios
1421
+ * # 1. Product Introduction
1422
+ * The image translation product is designed for e-commerce images. It supports more than 100 language directions (including bridging), accurately processes complex text layouts within images, and ensures that translated content matches the image content. This helps e-commerce platforms and developers easily achieve multilingual conversion and presentation of image content. The product also returns layer information such as text position, font, and color within images, facilitating secondary editing of translation results through an image editor.
1423
+ * # 2. Applicable scenarios
1424
1424
  * E-commerce product images, marketing images, and images for various other scenarios.
1425
- * ## Functions and features
1426
- * - **Product subject information protection**: You can choose whether to translate text on the product subject. This helps protect subject information from being translated, such as embedded information like product names.
1427
- * - **Brand name protection**: You can choose whether to translate brand names on images. This helps protect brand name information from being translated.
1428
- * - **Translation intervention support**: You can customize translation results, including keeping text untranslated (ABC-ABC), specifying translations (ABC-DEF), or removing text (ABC-empty value). This is commonly used for brand name protection and similar scenarios. Pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
1425
+ * # 3. Features
1426
+ * * **Product subject information protection**: Allows you to choose whether to translate text on the product subject. This helps protect subject information from being translated, avoiding translation of embedded information such as product names.
1427
+ *
1428
+ * * **Brand name protection**: Allows you to choose whether to translate brand names on images. This helps protect brand name information from being translated.
1429
+ *
1430
+ * * **Secondary editing after translation (layer information)**: Allows you to choose whether to return layer information such as text position, font, and color. This can be used to connect to an image editor for secondary editing of translation results. For the release progress of the editor SDK package, follow platform notifications.
1431
+ *
1432
+ * * **Translation intervention support**: Allows you to customize translation results, including no translation (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for brand word protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
1429
1433
  *
1430
1434
  * @param request - ImageTranslationStandardRequest
1431
1435
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1458,6 +1462,10 @@ export default class Client extends OpenApi {
1458
1462
  query["TranslatingBrandInTheProduct"] = request.translatingBrandInTheProduct;
1459
1463
  }
1460
1464
 
1465
+ if (!$dara.isNull(request.useImageEditor)) {
1466
+ query["UseImageEditor"] = request.useImageEditor;
1467
+ }
1468
+
1461
1469
  let req = new $OpenApiUtil.OpenApiRequest({
1462
1470
  query: OpenApiUtil.query(query),
1463
1471
  });
@@ -1476,17 +1484,21 @@ export default class Client extends OpenApi {
1476
1484
  }
1477
1485
 
1478
1486
  /**
1479
- * Image Translation is designed specifically for e-commerce images. It supports more than 100 language directions, accurately processes complex text layouts within images, and ensures that translated content matches the image content. This helps e-commerce platforms and developers easily achieve multilingual conversion and rendering of image content.
1487
+ * The image translation product is designed for e-commerce images. It supports more than 100 language directions (including bridging), accurately processes complex text layouts within images, and ensures that translated content matches the image content. This helps e-commerce platforms and developers easily achieve multilingual conversion and presentation of image content. The product also returns layer information such as text position, font, and color within images, facilitating secondary editing of translation results through an image editor.
1480
1488
  *
1481
1489
  * @remarks
1482
- * ## Product Introduction
1483
- * Image Translation is designed specifically for e-commerce images. It supports more than 100 language directions, accurately processes complex text layouts within images, and ensures that translated content matches the image content. This helps e-commerce platforms and developers easily achieve multilingual conversion and rendering of image content.
1484
- * ## Common scenarios
1490
+ * # 1. Product Introduction
1491
+ * The image translation product is designed for e-commerce images. It supports more than 100 language directions (including bridging), accurately processes complex text layouts within images, and ensures that translated content matches the image content. This helps e-commerce platforms and developers easily achieve multilingual conversion and presentation of image content. The product also returns layer information such as text position, font, and color within images, facilitating secondary editing of translation results through an image editor.
1492
+ * # 2. Applicable scenarios
1485
1493
  * E-commerce product images, marketing images, and images for various other scenarios.
1486
- * ## Functions and features
1487
- * - **Product subject information protection**: You can choose whether to translate text on the product subject. This helps protect subject information from being translated, such as embedded information like product names.
1488
- * - **Brand name protection**: You can choose whether to translate brand names on images. This helps protect brand name information from being translated.
1489
- * - **Translation intervention support**: You can customize translation results, including keeping text untranslated (ABC-ABC), specifying translations (ABC-DEF), or removing text (ABC-empty value). This is commonly used for brand name protection and similar scenarios. Pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
1494
+ * # 3. Features
1495
+ * * **Product subject information protection**: Allows you to choose whether to translate text on the product subject. This helps protect subject information from being translated, avoiding translation of embedded information such as product names.
1496
+ *
1497
+ * * **Brand name protection**: Allows you to choose whether to translate brand names on images. This helps protect brand name information from being translated.
1498
+ *
1499
+ * * **Secondary editing after translation (layer information)**: Allows you to choose whether to return layer information such as text position, font, and color. This can be used to connect to an image editor for secondary editing of translation results. For the release progress of the editor SDK package, follow platform notifications.
1500
+ *
1501
+ * * **Translation intervention support**: Allows you to customize translation results, including no translation (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for brand word protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
1490
1502
  *
1491
1503
  * @param request - ImageTranslationStandardRequest
1492
1504
  * @returns ImageTranslationStandardResponse
@@ -2233,24 +2245,24 @@ export default class Client extends OpenApi {
2233
2245
  *
2234
2246
  * @remarks
2235
2247
  * ## Product Introduction
2236
- * Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
2248
+ * Marco MT is an e-commerce translation model trained on over 1 billion\\+ high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
2237
2249
  * ## Common scenarios
2238
- * - Product titles: Marco MT large model translation accurately translates phrases, keywords, and trending words in product titles into the target language, improving product visibility on e-commerce platforms.
2250
+ * - Product titles: Marco MT large model translation accurately translates phrases, keywords, and trending terms in product titles into the target language, improving product visibility on e-commerce platforms.
2239
2251
  * - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco large model translation supports long text translation and HTML format, delivering excellent translation quality and format preservation.
2240
2252
  * - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
2241
- * - Customer service conversations: In customer service scenarios, the model optimizes issues such as missing context and typos, and supports polite expressions for certain language directions.
2242
- * Marco MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
2243
- * ## Features
2244
- * - **Supported language directions** Marco MT large model translation supports translation between more than 100 languages and language detection for 23 languages. For specific language directions, refer to the language mapping table in section 5.6.
2253
+ * - Customer service conversations: In customer service scenarios, it optimizes issues such as missing context and typos, and supports polite expressions for certain language directions.
2254
+ * Marco MT large model translation can also be used for general-purpose translation scenarios, such as office work, meetings, and daily conversations.
2255
+ * ## Functions and features
2256
+ * - **Supported language directions** Marco MT large model translation supports translation between more than 100 languages and language detection for 23 languages. For specific language directions, refer to the language mapping table in Section 5.6.
2245
2257
  * - **Ultra-low hallucination rate and high-speed inference** Marco MT large model translation is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it offers faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
2246
2258
  * - **Supported text format types** Currently supports text and html text types.
2247
- * - **Translation intervention support** Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. Contact the platform for additional capacity.
2259
+ * - **Translation intervention support** Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. For additional capacity, contact the platform.
2248
2260
  * ## Translation quality comparison
2249
2261
  * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
2250
2262
  * |----------|---------------|-----------------------|-----------------------|---------------------|
2251
2263
  * | 75mm 4Pin 0.38A GA81S2U 12V GTX 960 Cooling Fan for Zotac GTX960 Graphics Card Cooling Fan | 75mm 4Pin 0.38A GA81S2U 12V GTX 960, ventilador de enfriamiento para tarjeta gráfica Zotac GTX960. | Ventilador de refrigeración de 75mm 4Pin 0.38A GA81S2U 12V para la tarjeta gráfica Zotac GTX960 Ventilador de enfriamiento GTX 960. | Ventilador de refrigeración para tarjeta gráfica Zotac GTX960, 75mm, 4 pines, 0,38A, GA81S2U, 12V, GTX 960 | Clearer product subject |
2252
2264
  * | New Arrival Classic Style Luxury Brand 6 Hands Swiss Automatic Mechanical Men\\"s Business Steel Watch | Nueva llegada, reloj mecánico automático de lujo con 6 manecillas, estilo clásico, de acero para hombres de negocios | Nueva Llegada Reloj De Acero de Negocios para Hombre con Mecanismo Automático Suizo y 6 Agujas de Estilo Clásico de Marca de Lujo. | Reloj de acero de negocios para hombre, mecánico automático suizo, marca de lujo, estilo clásico, 6 manos, nueva llegada | More complete sentence structure, clearer expression, and more reasonable segmentation |
2253
- * | Men Key Bag Genuine Cow Leather Buckets Key Cases Pouch Zipper Keychain Auto Car Key Case Women Home Key Holder Wallet | Sac à clés pour hommes en cuir de vache véritable, étuis à clés, pochette à fermeture éclair, porte-clés, étui à clé de voiture, porte-clés pour femmes, organisateur de portefeuille | Porte-clés sac en cuir de vache véritable, étuis à clés en forme de seau, pochette à fermeture éclair, porte-clés auto pour voiture, étui à clés pour femmes, organisateur de clés de maison, portefeuille. | Hommes porte-clés en cuir de vache véritable sac/pochette fermature éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | Clearer and more accurate product subject expression as "key bag" rather than "keychain". Other translations may cause ambiguity about the product subject |
2265
+ * | Men Key Bag Genuine Cow Leather Buckets Key Cases Pouch Zipper Keychain Auto Car Key Case Women Home Key Holder Wallet | Sac à clés pour hommes en cuir de vache véritable, étuis à clés, pochette à fermeture éclair, porte-clés, étui à clé de voiture, porte-clés pour femmes, organisateur de portefeuille | Porte-clés sac en cuir de vache véritable, étuis à clés en forme de seau, pochette à fermeture éclair, porte-clés auto pour voiture, étui à clés pour femmes, organisateur de clés de maison, portefeuille. | Hommes porte-clés en cuir de vache véritable sac/pochette fermature éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | Clearer and more precise product subject expression. The product is a "key bag" rather than a "keychain". Other translations may cause ambiguity about the product subject |
2254
2266
  *
2255
2267
  * @param tmpReq - TextTranslateRequest
2256
2268
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2315,24 +2327,24 @@ export default class Client extends OpenApi {
2315
2327
  *
2316
2328
  * @remarks
2317
2329
  * ## Product Introduction
2318
- * Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
2330
+ * Marco MT is an e-commerce translation model trained on over 1 billion\\+ high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
2319
2331
  * ## Common scenarios
2320
- * - Product titles: Marco MT large model translation accurately translates phrases, keywords, and trending words in product titles into the target language, improving product visibility on e-commerce platforms.
2332
+ * - Product titles: Marco MT large model translation accurately translates phrases, keywords, and trending terms in product titles into the target language, improving product visibility on e-commerce platforms.
2321
2333
  * - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco large model translation supports long text translation and HTML format, delivering excellent translation quality and format preservation.
2322
2334
  * - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
2323
- * - Customer service conversations: In customer service scenarios, the model optimizes issues such as missing context and typos, and supports polite expressions for certain language directions.
2324
- * Marco MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
2325
- * ## Features
2326
- * - **Supported language directions** Marco MT large model translation supports translation between more than 100 languages and language detection for 23 languages. For specific language directions, refer to the language mapping table in section 5.6.
2335
+ * - Customer service conversations: In customer service scenarios, it optimizes issues such as missing context and typos, and supports polite expressions for certain language directions.
2336
+ * Marco MT large model translation can also be used for general-purpose translation scenarios, such as office work, meetings, and daily conversations.
2337
+ * ## Functions and features
2338
+ * - **Supported language directions** Marco MT large model translation supports translation between more than 100 languages and language detection for 23 languages. For specific language directions, refer to the language mapping table in Section 5.6.
2327
2339
  * - **Ultra-low hallucination rate and high-speed inference** Marco MT large model translation is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it offers faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
2328
2340
  * - **Supported text format types** Currently supports text and html text types.
2329
- * - **Translation intervention support** Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. Contact the platform for additional capacity.
2341
+ * - **Translation intervention support** Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. For additional capacity, contact the platform.
2330
2342
  * ## Translation quality comparison
2331
2343
  * | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
2332
2344
  * |----------|---------------|-----------------------|-----------------------|---------------------|
2333
2345
  * | 75mm 4Pin 0.38A GA81S2U 12V GTX 960 Cooling Fan for Zotac GTX960 Graphics Card Cooling Fan | 75mm 4Pin 0.38A GA81S2U 12V GTX 960, ventilador de enfriamiento para tarjeta gráfica Zotac GTX960. | Ventilador de refrigeración de 75mm 4Pin 0.38A GA81S2U 12V para la tarjeta gráfica Zotac GTX960 Ventilador de enfriamiento GTX 960. | Ventilador de refrigeración para tarjeta gráfica Zotac GTX960, 75mm, 4 pines, 0,38A, GA81S2U, 12V, GTX 960 | Clearer product subject |
2334
2346
  * | New Arrival Classic Style Luxury Brand 6 Hands Swiss Automatic Mechanical Men\\"s Business Steel Watch | Nueva llegada, reloj mecánico automático de lujo con 6 manecillas, estilo clásico, de acero para hombres de negocios | Nueva Llegada Reloj De Acero de Negocios para Hombre con Mecanismo Automático Suizo y 6 Agujas de Estilo Clásico de Marca de Lujo. | Reloj de acero de negocios para hombre, mecánico automático suizo, marca de lujo, estilo clásico, 6 manos, nueva llegada | More complete sentence structure, clearer expression, and more reasonable segmentation |
2335
- * | Men Key Bag Genuine Cow Leather Buckets Key Cases Pouch Zipper Keychain Auto Car Key Case Women Home Key Holder Wallet | Sac à clés pour hommes en cuir de vache véritable, étuis à clés, pochette à fermeture éclair, porte-clés, étui à clé de voiture, porte-clés pour femmes, organisateur de portefeuille | Porte-clés sac en cuir de vache véritable, étuis à clés en forme de seau, pochette à fermeture éclair, porte-clés auto pour voiture, étui à clés pour femmes, organisateur de clés de maison, portefeuille. | Hommes porte-clés en cuir de vache véritable sac/pochette fermature éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | Clearer and more accurate product subject expression as "key bag" rather than "keychain". Other translations may cause ambiguity about the product subject |
2347
+ * | Men Key Bag Genuine Cow Leather Buckets Key Cases Pouch Zipper Keychain Auto Car Key Case Women Home Key Holder Wallet | Sac à clés pour hommes en cuir de vache véritable, étuis à clés, pochette à fermeture éclair, porte-clés, étui à clé de voiture, porte-clés pour femmes, organisateur de portefeuille | Porte-clés sac en cuir de vache véritable, étuis à clés en forme de seau, pochette à fermeture éclair, porte-clés auto pour voiture, étui à clés pour femmes, organisateur de clés de maison, portefeuille. | Hommes porte-clés en cuir de vache véritable sac/pochette fermature éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | Clearer and more precise product subject expression. The product is a "key bag" rather than a "keychain". Other translations may cause ambiguity about the product subject |
2336
2348
  *
2337
2349
  * @param request - TextTranslateRequest
2338
2350
  * @returns TextTranslateResponse
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ImageTranslationStandardRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the intervention glossary. This parameter is optional. Create the glossary in the console and provide its ID. If the glossary ID is empty, the translation results are not modified.
8
+ * The intervention glossary ID. Optional. You must create the glossary separately in the console and provide its ID. If the provided glossary ID is empty, the translation results will not be modified.
9
9
  *
10
10
  * @example
11
11
  * glossary_1
@@ -13,7 +13,10 @@ export class ImageTranslationStandardRequest extends $dara.Model {
13
13
  glossary?: string;
14
14
  /**
15
15
  * @remarks
16
- * The URL of the original image. This parameter is required. Image requirements: the width and height cannot exceed 4000 × 4000 pixels, the file size cannot exceed 10 MB, and the supported formats are png, jpeg, jpg, bmp, and webp.
16
+ * - Image URL: Must be publicly accessible.
17
+ * - Format: png, jpeg, jpg, bmp, webp
18
+ * - Pixels: Width and height must not exceed 4000
19
+ * - File size: Original file ≤ 10 MB
17
20
  *
18
21
  * This parameter is required.
19
22
  *
@@ -23,7 +26,7 @@ export class ImageTranslationStandardRequest extends $dara.Model {
23
26
  imageUrl?: string;
24
27
  /**
25
28
  * @remarks
26
- * Specifies whether to translate text on the product subject in the image. This parameter is optional. Default value: false. This helps protect information by preventing translation of embedded information such as product names.
29
+ * Specifies whether to translate text on the image subject. Optional. Default value: false. This helps protect information and avoids translating embedded information such as product names.
27
30
  *
28
31
  * @example
29
32
  * false
@@ -31,7 +34,7 @@ export class ImageTranslationStandardRequest extends $dara.Model {
31
34
  includingProductArea?: boolean;
32
35
  /**
33
36
  * @remarks
34
- * The source language code. This parameter is required. For supported language directions, see the supported language directions list.
37
+ * The source language code. Required. For supported language directions, see the supported language direction list.
35
38
  *
36
39
  * This parameter is required.
37
40
  *
@@ -41,7 +44,7 @@ export class ImageTranslationStandardRequest extends $dara.Model {
41
44
  sourceLanguage?: string;
42
45
  /**
43
46
  * @remarks
44
- * The target language code. This parameter is required. For supported language directions, see the supported language directions list.
47
+ * The target language code. Required. For supported language directions, see the supported language direction list.
45
48
  *
46
49
  * This parameter is required.
47
50
  *
@@ -51,12 +54,20 @@ export class ImageTranslationStandardRequest extends $dara.Model {
51
54
  targetLanguage?: string;
52
55
  /**
53
56
  * @remarks
54
- * Specifies whether to translate brand names on the image. This parameter is optional. Default value: false. This helps protect brand name information from being translated.
57
+ * Specifies whether to translate brand names on the image. Optional. Default value: false. This helps protect brand name information from being translated.
55
58
  *
56
59
  * @example
57
60
  * false
58
61
  */
59
62
  translatingBrandInTheProduct?: boolean;
63
+ /**
64
+ * @remarks
65
+ * Specifies whether to return layer information such as text position, font, and color. When set to true, layer information is returned for secondary editing through an image editor. Default value: false.
66
+ *
67
+ * @example
68
+ * false
69
+ */
70
+ useImageEditor?: boolean;
60
71
  static names(): { [key: string]: string } {
61
72
  return {
62
73
  glossary: 'Glossary',
@@ -65,6 +76,7 @@ export class ImageTranslationStandardRequest extends $dara.Model {
65
76
  sourceLanguage: 'SourceLanguage',
66
77
  targetLanguage: 'TargetLanguage',
67
78
  translatingBrandInTheProduct: 'TranslatingBrandInTheProduct',
79
+ useImageEditor: 'UseImageEditor',
68
80
  };
69
81
  }
70
82
 
@@ -76,6 +88,7 @@ export class ImageTranslationStandardRequest extends $dara.Model {
76
88
  sourceLanguage: 'string',
77
89
  targetLanguage: 'string',
78
90
  translatingBrandInTheProduct: 'boolean',
91
+ useImageEditor: 'boolean',
79
92
  };
80
93
  }
81
94