@alicloud/aidge20260428 3.1.0 → 4.0.0
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/dist/client.d.ts +81 -52
- package/dist/client.js +117 -52
- package/dist/client.js.map +1 -1
- package/dist/models/ImageTranslationProRequest.d.ts +11 -8
- package/dist/models/ImageTranslationProRequest.js.map +1 -1
- package/dist/models/ImageTranslationProResponseBody.d.ts +16 -24
- package/dist/models/ImageTranslationProResponseBody.js +0 -2
- package/dist/models/ImageTranslationProResponseBody.js.map +1 -1
- package/dist/models/ImageTranslationStandardRequest.d.ts +14 -6
- package/dist/models/ImageTranslationStandardRequest.js +2 -0
- package/dist/models/ImageTranslationStandardRequest.js.map +1 -1
- package/dist/models/ImageTranslationStandardResponseBody.d.ts +357 -4
- package/dist/models/ImageTranslationStandardResponseBody.js +222 -1
- package/dist/models/ImageTranslationStandardResponseBody.js.map +1 -1
- package/dist/models/MerchandisePlacementDetectionRequest.d.ts +47 -0
- package/dist/models/MerchandisePlacementDetectionRequest.js +64 -0
- package/dist/models/MerchandisePlacementDetectionRequest.js.map +1 -0
- package/dist/models/MerchandisePlacementDetectionResponse.d.ts +19 -0
- package/dist/models/MerchandisePlacementDetectionResponse.js +69 -0
- package/dist/models/MerchandisePlacementDetectionResponse.js.map +1 -0
- package/dist/models/MerchandisePlacementDetectionResponseBody.d.ts +210 -0
- package/dist/models/MerchandisePlacementDetectionResponseBody.js +182 -0
- package/dist/models/MerchandisePlacementDetectionResponseBody.js.map +1 -0
- package/dist/models/QueryAsyncTaskResultResponseBody.d.ts +3 -3
- package/dist/models/TextTranslateRequest.d.ts +7 -1
- package/dist/models/TextTranslateRequest.js.map +1 -1
- package/dist/models/TextTranslateResponseBody.d.ts +4 -4
- package/dist/models/TextTranslateShrinkRequest.d.ts +7 -1
- package/dist/models/TextTranslateShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +13 -0
- package/dist/models/model.js +32 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +124 -52
- package/src/models/ImageTranslationProRequest.ts +11 -8
- package/src/models/ImageTranslationProResponseBody.ts +16 -26
- package/src/models/ImageTranslationStandardRequest.ts +16 -6
- package/src/models/ImageTranslationStandardResponseBody.ts +524 -4
- package/src/models/MerchandisePlacementDetectionRequest.ts +66 -0
- package/src/models/MerchandisePlacementDetectionResponse.ts +40 -0
- package/src/models/MerchandisePlacementDetectionResponseBody.ts +309 -0
- package/src/models/QueryAsyncTaskResultResponseBody.ts +3 -3
- package/src/models/TextTranslateRequest.ts +7 -1
- package/src/models/TextTranslateResponseBody.ts +4 -4
- package/src/models/TextTranslateShrinkRequest.ts +7 -1
- package/src/models/model.ts +13 -0
|
@@ -1,6 +1,9 @@
|
|
|
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. This parameter is 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
|
*/
|
|
@@ -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
|
|
21
|
+
* The intervention glossary ID. This parameter is optional. The glossary must be created separately in the console, and its ID must be provided. If the glossary ID is empty, the translation result is not modified.
|
|
19
22
|
*
|
|
20
23
|
* @example
|
|
21
24
|
* glossary_1
|
|
@@ -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) or **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;
|
|
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"}
|
package/dist/models/model.d.ts
CHANGED
|
@@ -20,11 +20,21 @@ 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';
|
|
26
32
|
export { MaterialInspectionResponseBodyDataResult } from './MaterialInspectionResponseBody';
|
|
27
33
|
export { MaterialInspectionResponseBodyData } from './MaterialInspectionResponseBody';
|
|
34
|
+
export { MerchandisePlacementDetectionResponseBodyDataDataTop1 } from './MerchandisePlacementDetectionResponseBody';
|
|
35
|
+
export { MerchandisePlacementDetectionResponseBodyDataDataTopk } from './MerchandisePlacementDetectionResponseBody';
|
|
36
|
+
export { MerchandisePlacementDetectionResponseBodyDataData } from './MerchandisePlacementDetectionResponseBody';
|
|
37
|
+
export { MerchandisePlacementDetectionResponseBodyData } from './MerchandisePlacementDetectionResponseBody';
|
|
28
38
|
export { PackageWeightSizeCheckResponseBodyData } from './PackageWeightSizeCheckResponseBody';
|
|
29
39
|
export { QueryAsyncTaskResultResponseBodyData } from './QueryAsyncTaskResultResponseBody';
|
|
30
40
|
export { SizeChartDetectResponseBodyData } from './SizeChartDetectResponseBody';
|
|
@@ -80,6 +90,9 @@ export { LanguageDetectResponse } from './LanguageDetectResponse';
|
|
|
80
90
|
export { MaterialInspectionRequest } from './MaterialInspectionRequest';
|
|
81
91
|
export { MaterialInspectionResponseBody } from './MaterialInspectionResponseBody';
|
|
82
92
|
export { MaterialInspectionResponse } from './MaterialInspectionResponse';
|
|
93
|
+
export { MerchandisePlacementDetectionRequest } from './MerchandisePlacementDetectionRequest';
|
|
94
|
+
export { MerchandisePlacementDetectionResponseBody } from './MerchandisePlacementDetectionResponseBody';
|
|
95
|
+
export { MerchandisePlacementDetectionResponse } from './MerchandisePlacementDetectionResponse';
|
|
83
96
|
export { PackageWeightSizeCheckRequest } from './PackageWeightSizeCheckRequest';
|
|
84
97
|
export { PackageWeightSizeCheckResponseBody } from './PackageWeightSizeCheckResponseBody';
|
|
85
98
|
export { PackageWeightSizeCheckResponse } from './PackageWeightSizeCheckResponse';
|
package/dist/models/model.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
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.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.MerchandisePlacementDetectionResponseBodyData = exports.MerchandisePlacementDetectionResponseBodyDataData = exports.MerchandisePlacementDetectionResponseBodyDataDataTopk = exports.MerchandisePlacementDetectionResponseBodyDataDataTop1 = 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.QueryAsyncTaskResultResponseBody = exports.QueryAsyncTaskResultRequest = exports.PackageWeightSizeCheckResponse = exports.PackageWeightSizeCheckResponseBody = exports.PackageWeightSizeCheckRequest = exports.MerchandisePlacementDetectionResponse = exports.MerchandisePlacementDetectionResponseBody = exports.MerchandisePlacementDetectionRequest = 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 = exports.CategoryAttributeMatchRequest = exports.AssetOptimizeProResponse = exports.AssetOptimizeProResponseBody = exports.AssetOptimizeProShrinkRequest = 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 = exports.SizeChartExtractResponseBody = exports.SizeChartExtractShrinkRequest = exports.SizeChartExtractRequest = exports.SizeChartDetectResponse = exports.SizeChartDetectResponseBody = exports.SizeChartDetectRequest = exports.QueryAsyncTaskResultResponse = 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, "
|
|
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");
|
|
@@ -57,6 +69,14 @@ var MaterialInspectionResponseBody_2 = require("./MaterialInspectionResponseBody
|
|
|
57
69
|
Object.defineProperty(exports, "MaterialInspectionResponseBodyDataResult", { enumerable: true, get: function () { return MaterialInspectionResponseBody_2.MaterialInspectionResponseBodyDataResult; } });
|
|
58
70
|
var MaterialInspectionResponseBody_3 = require("./MaterialInspectionResponseBody");
|
|
59
71
|
Object.defineProperty(exports, "MaterialInspectionResponseBodyData", { enumerable: true, get: function () { return MaterialInspectionResponseBody_3.MaterialInspectionResponseBodyData; } });
|
|
72
|
+
var MerchandisePlacementDetectionResponseBody_1 = require("./MerchandisePlacementDetectionResponseBody");
|
|
73
|
+
Object.defineProperty(exports, "MerchandisePlacementDetectionResponseBodyDataDataTop1", { enumerable: true, get: function () { return MerchandisePlacementDetectionResponseBody_1.MerchandisePlacementDetectionResponseBodyDataDataTop1; } });
|
|
74
|
+
var MerchandisePlacementDetectionResponseBody_2 = require("./MerchandisePlacementDetectionResponseBody");
|
|
75
|
+
Object.defineProperty(exports, "MerchandisePlacementDetectionResponseBodyDataDataTopk", { enumerable: true, get: function () { return MerchandisePlacementDetectionResponseBody_2.MerchandisePlacementDetectionResponseBodyDataDataTopk; } });
|
|
76
|
+
var MerchandisePlacementDetectionResponseBody_3 = require("./MerchandisePlacementDetectionResponseBody");
|
|
77
|
+
Object.defineProperty(exports, "MerchandisePlacementDetectionResponseBodyDataData", { enumerable: true, get: function () { return MerchandisePlacementDetectionResponseBody_3.MerchandisePlacementDetectionResponseBodyDataData; } });
|
|
78
|
+
var MerchandisePlacementDetectionResponseBody_4 = require("./MerchandisePlacementDetectionResponseBody");
|
|
79
|
+
Object.defineProperty(exports, "MerchandisePlacementDetectionResponseBodyData", { enumerable: true, get: function () { return MerchandisePlacementDetectionResponseBody_4.MerchandisePlacementDetectionResponseBodyData; } });
|
|
60
80
|
var PackageWeightSizeCheckResponseBody_1 = require("./PackageWeightSizeCheckResponseBody");
|
|
61
81
|
Object.defineProperty(exports, "PackageWeightSizeCheckResponseBodyData", { enumerable: true, get: function () { return PackageWeightSizeCheckResponseBody_1.PackageWeightSizeCheckResponseBodyData; } });
|
|
62
82
|
var QueryAsyncTaskResultResponseBody_1 = require("./QueryAsyncTaskResultResponseBody");
|
|
@@ -151,8 +171,8 @@ var ImageTranslationProResponse_1 = require("./ImageTranslationProResponse");
|
|
|
151
171
|
Object.defineProperty(exports, "ImageTranslationProResponse", { enumerable: true, get: function () { return ImageTranslationProResponse_1.ImageTranslationProResponse; } });
|
|
152
172
|
var ImageTranslationStandardRequest_1 = require("./ImageTranslationStandardRequest");
|
|
153
173
|
Object.defineProperty(exports, "ImageTranslationStandardRequest", { enumerable: true, get: function () { return ImageTranslationStandardRequest_1.ImageTranslationStandardRequest; } });
|
|
154
|
-
var
|
|
155
|
-
Object.defineProperty(exports, "ImageTranslationStandardResponseBody", { enumerable: true, get: function () { return
|
|
174
|
+
var ImageTranslationStandardResponseBody_8 = require("./ImageTranslationStandardResponseBody");
|
|
175
|
+
Object.defineProperty(exports, "ImageTranslationStandardResponseBody", { enumerable: true, get: function () { return ImageTranslationStandardResponseBody_8.ImageTranslationStandardResponseBody; } });
|
|
156
176
|
var ImageTranslationStandardResponse_1 = require("./ImageTranslationStandardResponse");
|
|
157
177
|
Object.defineProperty(exports, "ImageTranslationStandardResponse", { enumerable: true, get: function () { return ImageTranslationStandardResponse_1.ImageTranslationStandardResponse; } });
|
|
158
178
|
var LanguageDetectRequest_1 = require("./LanguageDetectRequest");
|
|
@@ -167,6 +187,12 @@ var MaterialInspectionResponseBody_4 = require("./MaterialInspectionResponseBody
|
|
|
167
187
|
Object.defineProperty(exports, "MaterialInspectionResponseBody", { enumerable: true, get: function () { return MaterialInspectionResponseBody_4.MaterialInspectionResponseBody; } });
|
|
168
188
|
var MaterialInspectionResponse_1 = require("./MaterialInspectionResponse");
|
|
169
189
|
Object.defineProperty(exports, "MaterialInspectionResponse", { enumerable: true, get: function () { return MaterialInspectionResponse_1.MaterialInspectionResponse; } });
|
|
190
|
+
var MerchandisePlacementDetectionRequest_1 = require("./MerchandisePlacementDetectionRequest");
|
|
191
|
+
Object.defineProperty(exports, "MerchandisePlacementDetectionRequest", { enumerable: true, get: function () { return MerchandisePlacementDetectionRequest_1.MerchandisePlacementDetectionRequest; } });
|
|
192
|
+
var MerchandisePlacementDetectionResponseBody_5 = require("./MerchandisePlacementDetectionResponseBody");
|
|
193
|
+
Object.defineProperty(exports, "MerchandisePlacementDetectionResponseBody", { enumerable: true, get: function () { return MerchandisePlacementDetectionResponseBody_5.MerchandisePlacementDetectionResponseBody; } });
|
|
194
|
+
var MerchandisePlacementDetectionResponse_1 = require("./MerchandisePlacementDetectionResponse");
|
|
195
|
+
Object.defineProperty(exports, "MerchandisePlacementDetectionResponse", { enumerable: true, get: function () { return MerchandisePlacementDetectionResponse_1.MerchandisePlacementDetectionResponse; } });
|
|
170
196
|
var PackageWeightSizeCheckRequest_1 = require("./PackageWeightSizeCheckRequest");
|
|
171
197
|
Object.defineProperty(exports, "PackageWeightSizeCheckRequest", { enumerable: true, get: function () { return PackageWeightSizeCheckRequest_1.PackageWeightSizeCheckRequest; } });
|
|
172
198
|
var PackageWeightSizeCheckResponseBody_2 = require("./PackageWeightSizeCheckResponseBody");
|
package/dist/models/model.js.map
CHANGED
|
@@ -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,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uB,OAAA;AAChC,mEAAkE;AAAzD,gIAAA,sBAAsB,OAAA;AAC/B,2DAA0D;AAAjD,wHAAA,kBAAkB,OAAA"}
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -1323,18 +1323,12 @@ export default class Client extends OpenApi {
|
|
|
1323
1323
|
}
|
|
1324
1324
|
|
|
1325
1325
|
/**
|
|
1326
|
-
* Translates images using the Pro edition, which
|
|
1326
|
+
* Translates text in e-commerce images using the Pro edition, which integrates multimodal foundation model technology for more accurate image understanding and significantly improved translation quality.
|
|
1327
1327
|
*
|
|
1328
1328
|
* @remarks
|
|
1329
|
-
* ## Product Introduction
|
|
1330
|
-
*
|
|
1331
|
-
* ##
|
|
1332
|
-
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1333
|
-
* ## Features
|
|
1334
|
-
* - **Product subject protection**: Supports custom selection of whether to translate text on the product subject, helping you protect subject information from being translated, such as embedded information like product names.
|
|
1335
|
-
* - **Post-translation editing**: Supports custom selection of whether to return layout information such as text position, font, and color. This can be used for secondary editing when integrated with an image editor. The editor SDK package is not yet available. Follow platform notifications for updates.
|
|
1336
|
-
* - **Brand name protection**: Supports custom selection of whether to translate brand names on images, helping you protect brand name information from being translated.
|
|
1337
|
-
* - **Translation intervention**: 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 in different scenarios. You can upload up to 100,000 intervention terms. Contact the platform if you need more.
|
|
1329
|
+
* ## Product Introduction.
|
|
1330
|
+
* ## Scenarios.
|
|
1331
|
+
* ## Features.
|
|
1338
1332
|
*
|
|
1339
1333
|
* @param request - ImageTranslationProRequest
|
|
1340
1334
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1393,18 +1387,12 @@ export default class Client extends OpenApi {
|
|
|
1393
1387
|
}
|
|
1394
1388
|
|
|
1395
1389
|
/**
|
|
1396
|
-
* Translates images using the Pro edition, which
|
|
1390
|
+
* Translates text in e-commerce images using the Pro edition, which integrates multimodal foundation model technology for more accurate image understanding and significantly improved translation quality.
|
|
1397
1391
|
*
|
|
1398
1392
|
* @remarks
|
|
1399
|
-
* ## Product Introduction
|
|
1400
|
-
*
|
|
1401
|
-
* ##
|
|
1402
|
-
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1403
|
-
* ## Features
|
|
1404
|
-
* - **Product subject protection**: Supports custom selection of whether to translate text on the product subject, helping you protect subject information from being translated, such as embedded information like product names.
|
|
1405
|
-
* - **Post-translation editing**: Supports custom selection of whether to return layout information such as text position, font, and color. This can be used for secondary editing when integrated with an image editor. The editor SDK package is not yet available. Follow platform notifications for updates.
|
|
1406
|
-
* - **Brand name protection**: Supports custom selection of whether to translate brand names on images, helping you protect brand name information from being translated.
|
|
1407
|
-
* - **Translation intervention**: 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 in different scenarios. You can upload up to 100,000 intervention terms. Contact the platform if you need more.
|
|
1393
|
+
* ## Product Introduction.
|
|
1394
|
+
* ## Scenarios.
|
|
1395
|
+
* ## Features.
|
|
1408
1396
|
*
|
|
1409
1397
|
* @param request - ImageTranslationProRequest
|
|
1410
1398
|
* @returns ImageTranslationProResponse
|
|
@@ -1415,17 +1403,12 @@ export default class Client extends OpenApi {
|
|
|
1415
1403
|
}
|
|
1416
1404
|
|
|
1417
1405
|
/**
|
|
1418
|
-
*
|
|
1406
|
+
* Translates text in images with support for over 100 language pairs (including bridging). This product is designed specifically for e-commerce images, accurately handling complex text layouts within images and ensuring that translated content matches the image context. It 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 integration with image editors for secondary editing of translation results.
|
|
1419
1407
|
*
|
|
1420
1408
|
* @remarks
|
|
1421
|
-
*
|
|
1422
|
-
*
|
|
1423
|
-
*
|
|
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.
|
|
1409
|
+
* # 1. Product Introduction.
|
|
1410
|
+
* # 2. Common scenarios.
|
|
1411
|
+
* # 3. Features.
|
|
1429
1412
|
*
|
|
1430
1413
|
* @param request - ImageTranslationStandardRequest
|
|
1431
1414
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1458,6 +1441,10 @@ export default class Client extends OpenApi {
|
|
|
1458
1441
|
query["TranslatingBrandInTheProduct"] = request.translatingBrandInTheProduct;
|
|
1459
1442
|
}
|
|
1460
1443
|
|
|
1444
|
+
if (!$dara.isNull(request.useImageEditor)) {
|
|
1445
|
+
query["UseImageEditor"] = request.useImageEditor;
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1461
1448
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1462
1449
|
query: OpenApiUtil.query(query),
|
|
1463
1450
|
});
|
|
@@ -1476,17 +1463,12 @@ export default class Client extends OpenApi {
|
|
|
1476
1463
|
}
|
|
1477
1464
|
|
|
1478
1465
|
/**
|
|
1479
|
-
*
|
|
1466
|
+
* Translates text in images with support for over 100 language pairs (including bridging). This product is designed specifically for e-commerce images, accurately handling complex text layouts within images and ensuring that translated content matches the image context. It 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 integration with image editors for secondary editing of translation results.
|
|
1480
1467
|
*
|
|
1481
1468
|
* @remarks
|
|
1482
|
-
*
|
|
1483
|
-
*
|
|
1484
|
-
*
|
|
1485
|
-
* 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.
|
|
1469
|
+
* # 1. Product Introduction.
|
|
1470
|
+
* # 2. Common scenarios.
|
|
1471
|
+
* # 3. Features.
|
|
1490
1472
|
*
|
|
1491
1473
|
* @param request - ImageTranslationStandardRequest
|
|
1492
1474
|
* @returns ImageTranslationStandardResponse
|
|
@@ -1648,6 +1630,96 @@ export default class Client extends OpenApi {
|
|
|
1648
1630
|
return await this.materialInspectionWithOptions(request, runtime);
|
|
1649
1631
|
}
|
|
1650
1632
|
|
|
1633
|
+
/**
|
|
1634
|
+
* Detects and identifies products displayed on store shelves or floor stacks by combining a multimodal large language model (MLLM) with visual vector recall, targeting shelf and floor-stack inspection scenarios in offline retail and channel stores. The service first uses an MLLM to detect bounding boxes and preliminary names for each product in a store photo, then performs similarity recall against a customer-specific SKU vector library to exactly match each product to the customer\\"s own SKUs, and outputs per-product structured results that can be directly integrated with business systems. This is suitable for large-scale, high-concurrency visual recognition pipelines such as remote auditing of in-store displays by headquarters, SKU distribution verification, and display compliance inspection.
|
|
1635
|
+
*
|
|
1636
|
+
* @remarks
|
|
1637
|
+
* ## **Product Introduction**
|
|
1638
|
+
* Display detection is an intelligent store product display recognition capability built on a multimodal large language model (MLLM) combined with visual vector recall. It targets shelf and floor-stack display inspection scenarios in offline retail and channel stores. For store photos of shelves or floor stacks, the service first uses an MLLM to detect the bounding box and preliminary name for each product, then performs similarity recall against a customer-specific SKU vector library to exactly match each product to the customer\\"s own SKUs, and outputs per-product structured results that can be directly integrated with business systems. This is suitable for large-scale, high-concurrency visual recognition pipelines such as remote auditing of in-store displays by headquarters, SKU distribution verification, and display compliance inspection.
|
|
1639
|
+
* ## **Scenarios**
|
|
1640
|
+
* - **Shelf/floor-stack display recognition and inventory**: Identifies each product in a shelf or floor-stack image, matches it to the customer\\"s SKU library, and outputs a per-product list (product name + position + similarity score), replacing manual counting.
|
|
1641
|
+
*
|
|
1642
|
+
* - **Distribution verification/SKU compliance**: Verifies whether stores display specified SKUs as required by headquarters and whether out-of-stock or misplaced items exist, supporting batch automated verification during promotions or new product launches.
|
|
1643
|
+
*
|
|
1644
|
+
* - **Customer-specific SKU library**: Customers upload their own standard SKU images to build a dedicated vector library (isolated by `RagId`). During recognition, retrieval is performed only within that customer\\"s library, ensuring name accuracy and data isolation between customers.
|
|
1645
|
+
* ## **Features**
|
|
1646
|
+
* - **Two-stage detection + retrieval collaboration**: The MLLM detects each product\\"s bounding box and preliminary name across the entire image (semantic-level understanding, adapted for dense displays and partial occlusion). Then visual embedding vectors perform similarity retrieval within the customer\\"s SKU library, overriding the preliminary name with the top-1 precise SKU name to balance recall rate and name accuracy.
|
|
1647
|
+
*
|
|
1648
|
+
* - **Isolated retrieval with dedicated vector libraries**: A dedicated SKU vector library is maintained for each customer by `RagId`. Recognition retrieves only within the corresponding library, ensuring strict isolation between customers. Newly added or updated SKUs take effect in real time.
|
|
1649
|
+
*
|
|
1650
|
+
* - **Per-product structured output**: Output is unified as `Result.Items[]`, with each product independently providing a bounding box, recalled SKU name, SKU code, and similarity score. This facilitates direct integration with downstream inventory/verification systems and supports case-level manual review and traceability.
|
|
1651
|
+
*
|
|
1652
|
+
* - **Supported input formats**: Currently supports image URLs accessible via the public network or OSS. A single shelf or floor-stack image is sufficient for recognition, and the output structure is consistent.
|
|
1653
|
+
*
|
|
1654
|
+
* @param request - MerchandisePlacementDetectionRequest
|
|
1655
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1656
|
+
* @returns MerchandisePlacementDetectionResponse
|
|
1657
|
+
*/
|
|
1658
|
+
async merchandisePlacementDetectionWithOptions(request: $_model.MerchandisePlacementDetectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MerchandisePlacementDetectionResponse> {
|
|
1659
|
+
request.validate();
|
|
1660
|
+
let query = { };
|
|
1661
|
+
if (!$dara.isNull(request.apiId)) {
|
|
1662
|
+
query["ApiId"] = request.apiId;
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
if (!$dara.isNull(request.imageUrl)) {
|
|
1666
|
+
query["ImageUrl"] = request.imageUrl;
|
|
1667
|
+
}
|
|
1668
|
+
|
|
1669
|
+
if (!$dara.isNull(request.ragId)) {
|
|
1670
|
+
query["RagId"] = request.ragId;
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1673
|
+
if (!$dara.isNull(request.type)) {
|
|
1674
|
+
query["Type"] = request.type;
|
|
1675
|
+
}
|
|
1676
|
+
|
|
1677
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1678
|
+
query: OpenApiUtil.query(query),
|
|
1679
|
+
});
|
|
1680
|
+
let params = new $OpenApiUtil.Params({
|
|
1681
|
+
action: "MerchandisePlacementDetection",
|
|
1682
|
+
version: "2026-04-28",
|
|
1683
|
+
protocol: "HTTPS",
|
|
1684
|
+
pathname: "/",
|
|
1685
|
+
method: "POST",
|
|
1686
|
+
authType: "AK",
|
|
1687
|
+
style: "RPC",
|
|
1688
|
+
reqBodyType: "formData",
|
|
1689
|
+
bodyType: "json",
|
|
1690
|
+
});
|
|
1691
|
+
return $dara.cast<$_model.MerchandisePlacementDetectionResponse>(await this.callApi(params, req, runtime), new $_model.MerchandisePlacementDetectionResponse({}));
|
|
1692
|
+
}
|
|
1693
|
+
|
|
1694
|
+
/**
|
|
1695
|
+
* Detects and identifies products displayed on store shelves or floor stacks by combining a multimodal large language model (MLLM) with visual vector recall, targeting shelf and floor-stack inspection scenarios in offline retail and channel stores. The service first uses an MLLM to detect bounding boxes and preliminary names for each product in a store photo, then performs similarity recall against a customer-specific SKU vector library to exactly match each product to the customer\\"s own SKUs, and outputs per-product structured results that can be directly integrated with business systems. This is suitable for large-scale, high-concurrency visual recognition pipelines such as remote auditing of in-store displays by headquarters, SKU distribution verification, and display compliance inspection.
|
|
1696
|
+
*
|
|
1697
|
+
* @remarks
|
|
1698
|
+
* ## **Product Introduction**
|
|
1699
|
+
* Display detection is an intelligent store product display recognition capability built on a multimodal large language model (MLLM) combined with visual vector recall. It targets shelf and floor-stack display inspection scenarios in offline retail and channel stores. For store photos of shelves or floor stacks, the service first uses an MLLM to detect the bounding box and preliminary name for each product, then performs similarity recall against a customer-specific SKU vector library to exactly match each product to the customer\\"s own SKUs, and outputs per-product structured results that can be directly integrated with business systems. This is suitable for large-scale, high-concurrency visual recognition pipelines such as remote auditing of in-store displays by headquarters, SKU distribution verification, and display compliance inspection.
|
|
1700
|
+
* ## **Scenarios**
|
|
1701
|
+
* - **Shelf/floor-stack display recognition and inventory**: Identifies each product in a shelf or floor-stack image, matches it to the customer\\"s SKU library, and outputs a per-product list (product name + position + similarity score), replacing manual counting.
|
|
1702
|
+
*
|
|
1703
|
+
* - **Distribution verification/SKU compliance**: Verifies whether stores display specified SKUs as required by headquarters and whether out-of-stock or misplaced items exist, supporting batch automated verification during promotions or new product launches.
|
|
1704
|
+
*
|
|
1705
|
+
* - **Customer-specific SKU library**: Customers upload their own standard SKU images to build a dedicated vector library (isolated by `RagId`). During recognition, retrieval is performed only within that customer\\"s library, ensuring name accuracy and data isolation between customers.
|
|
1706
|
+
* ## **Features**
|
|
1707
|
+
* - **Two-stage detection + retrieval collaboration**: The MLLM detects each product\\"s bounding box and preliminary name across the entire image (semantic-level understanding, adapted for dense displays and partial occlusion). Then visual embedding vectors perform similarity retrieval within the customer\\"s SKU library, overriding the preliminary name with the top-1 precise SKU name to balance recall rate and name accuracy.
|
|
1708
|
+
*
|
|
1709
|
+
* - **Isolated retrieval with dedicated vector libraries**: A dedicated SKU vector library is maintained for each customer by `RagId`. Recognition retrieves only within the corresponding library, ensuring strict isolation between customers. Newly added or updated SKUs take effect in real time.
|
|
1710
|
+
*
|
|
1711
|
+
* - **Per-product structured output**: Output is unified as `Result.Items[]`, with each product independently providing a bounding box, recalled SKU name, SKU code, and similarity score. This facilitates direct integration with downstream inventory/verification systems and supports case-level manual review and traceability.
|
|
1712
|
+
*
|
|
1713
|
+
* - **Supported input formats**: Currently supports image URLs accessible via the public network or OSS. A single shelf or floor-stack image is sufficient for recognition, and the output structure is consistent.
|
|
1714
|
+
*
|
|
1715
|
+
* @param request - MerchandisePlacementDetectionRequest
|
|
1716
|
+
* @returns MerchandisePlacementDetectionResponse
|
|
1717
|
+
*/
|
|
1718
|
+
async merchandisePlacementDetection(request: $_model.MerchandisePlacementDetectionRequest): Promise<$_model.MerchandisePlacementDetectionResponse> {
|
|
1719
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1720
|
+
return await this.merchandisePlacementDetectionWithOptions(request, runtime);
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1651
1723
|
/**
|
|
1652
1724
|
* An intelligent logistics parcel auditing product built on the synergy of Multimodal Large Language Models (MLLM) and specialized vision algorithms, designed for automated compliance review in the "piece-weight-dimension" stage of e-commerce logistics. The product performs structured auditing across multiple dimensions including bounding box validity, bounding box fit accuracy, and foreign object interference on parcels placed on scanning platforms. It supports different hardware acquisition scenarios such as white background boards and green background boards, and outputs Boolean audit conclusions with Chinese reason descriptions that can be directly integrated into business systems. It is suitable for large-scale, high-concurrency inbound quality inspection pipelines.
|
|
1653
1725
|
*
|
|
@@ -1725,10 +1797,10 @@ export default class Client extends OpenApi {
|
|
|
1725
1797
|
}
|
|
1726
1798
|
|
|
1727
1799
|
/**
|
|
1728
|
-
* API name on the POP gateway
|
|
1800
|
+
* Queries the result of an asynchronous task. The API name on the POP gateway is QueryAsyncTaskResult.
|
|
1729
1801
|
*
|
|
1730
1802
|
* @remarks
|
|
1731
|
-
* API name on the POP gateway
|
|
1803
|
+
* The API name on the POP gateway is QueryAsyncTaskResult.
|
|
1732
1804
|
*
|
|
1733
1805
|
* @param request - QueryAsyncTaskResultRequest
|
|
1734
1806
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1759,10 +1831,10 @@ export default class Client extends OpenApi {
|
|
|
1759
1831
|
}
|
|
1760
1832
|
|
|
1761
1833
|
/**
|
|
1762
|
-
* API name on the POP gateway
|
|
1834
|
+
* Queries the result of an asynchronous task. The API name on the POP gateway is QueryAsyncTaskResult.
|
|
1763
1835
|
*
|
|
1764
1836
|
* @remarks
|
|
1765
|
-
* API name on the POP gateway
|
|
1837
|
+
* The API name on the POP gateway is QueryAsyncTaskResult.
|
|
1766
1838
|
*
|
|
1767
1839
|
* @param request - QueryAsyncTaskResultRequest
|
|
1768
1840
|
* @returns QueryAsyncTaskResultResponse
|
|
@@ -2229,28 +2301,28 @@ export default class Client extends OpenApi {
|
|
|
2229
2301
|
}
|
|
2230
2302
|
|
|
2231
2303
|
/**
|
|
2232
|
-
* 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.
|
|
2304
|
+
* 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-to-multilingual, and English-to-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
2233
2305
|
*
|
|
2234
2306
|
* @remarks
|
|
2235
2307
|
* ## 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.
|
|
2308
|
+
* 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-to-multilingual, and English-to-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
2237
2309
|
* ## Common scenarios
|
|
2238
2310
|
* - 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.
|
|
2239
2311
|
* - 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
2312
|
* - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
|
|
2241
2313
|
* - 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
|
|
2314
|
+
* Marco MT large model translation can also be used for general translation scenarios such as office work, meetings, and daily conversations.
|
|
2243
2315
|
* ## Features
|
|
2244
2316
|
* - **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
2317
|
* - **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
2318
|
* - **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.
|
|
2319
|
+
* - **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. If you need more, contact the platform for assistance.
|
|
2248
2320
|
* ## Translation quality comparison
|
|
2249
2321
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
2250
2322
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
2251
2323
|
* | 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
2324
|
* | 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
|
|
2325
|
+
* | 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 as "key bag" rather than "keychain", avoiding ambiguity about the product type |
|
|
2254
2326
|
*
|
|
2255
2327
|
* @param tmpReq - TextTranslateRequest
|
|
2256
2328
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2311,28 +2383,28 @@ export default class Client extends OpenApi {
|
|
|
2311
2383
|
}
|
|
2312
2384
|
|
|
2313
2385
|
/**
|
|
2314
|
-
* 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.
|
|
2386
|
+
* 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-to-multilingual, and English-to-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
2315
2387
|
*
|
|
2316
2388
|
* @remarks
|
|
2317
2389
|
* ## 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.
|
|
2390
|
+
* 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-to-multilingual, and English-to-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
2319
2391
|
* ## Common scenarios
|
|
2320
2392
|
* - 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.
|
|
2321
2393
|
* - 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
2394
|
* - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
|
|
2323
2395
|
* - 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
|
|
2396
|
+
* Marco MT large model translation can also be used for general translation scenarios such as office work, meetings, and daily conversations.
|
|
2325
2397
|
* ## Features
|
|
2326
2398
|
* - **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
2399
|
* - **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
2400
|
* - **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.
|
|
2401
|
+
* - **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. If you need more, contact the platform for assistance.
|
|
2330
2402
|
* ## Translation quality comparison
|
|
2331
2403
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
2332
2404
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
2333
2405
|
* | 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
2406
|
* | 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
|
|
2407
|
+
* | 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 as "key bag" rather than "keychain", avoiding ambiguity about the product type |
|
|
2336
2408
|
*
|
|
2337
2409
|
* @param request - TextTranslateRequest
|
|
2338
2410
|
* @returns TextTranslateResponse
|
|
@@ -5,12 +5,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ImageTranslationProRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Specifies whether to call the operation
|
|
8
|
+
* Specifies whether to use asynchronous mode. Default value: false (synchronous mode). When set to true, the operation immediately returns a TaskId, and you must call the query translation result operation to obtain the final result.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* true
|
|
9
12
|
*/
|
|
10
13
|
async?: boolean;
|
|
11
14
|
/**
|
|
12
15
|
* @remarks
|
|
13
|
-
* The
|
|
16
|
+
* The glossary ID. Optional. Create a glossary separately in the console and provide its ID. If the glossary ID is empty, the translation results are not modified.
|
|
14
17
|
*
|
|
15
18
|
* @example
|
|
16
19
|
* glossary_1
|
|
@@ -18,7 +21,7 @@ export class ImageTranslationProRequest extends $dara.Model {
|
|
|
18
21
|
glossary?: string;
|
|
19
22
|
/**
|
|
20
23
|
* @remarks
|
|
21
|
-
* The URL of the original image. Required. Image requirements: width and height
|
|
24
|
+
* The URL of the original image. Required. Image requirements: width and height cannot exceed 4000 × 4000 pixels, size cannot exceed 10 MB, and supported formats include png, jpeg, jpg, bmp, and webp.
|
|
22
25
|
*
|
|
23
26
|
* This parameter is required.
|
|
24
27
|
*
|
|
@@ -28,7 +31,7 @@ export class ImageTranslationProRequest extends $dara.Model {
|
|
|
28
31
|
imageUrl?: string;
|
|
29
32
|
/**
|
|
30
33
|
* @remarks
|
|
31
|
-
* Specifies whether to translate text on the image subject. Optional. Default value: false. This helps you protect information and avoid translating embedded information such as product names.
|
|
34
|
+
* Specifies whether to translate text on the image subject body. Optional. Default value: false. This helps you protect information and avoid translating embedded information such as product names.
|
|
32
35
|
*
|
|
33
36
|
* @example
|
|
34
37
|
* false
|
|
@@ -36,7 +39,7 @@ export class ImageTranslationProRequest extends $dara.Model {
|
|
|
36
39
|
includingProductArea?: boolean;
|
|
37
40
|
/**
|
|
38
41
|
* @remarks
|
|
39
|
-
* The source language code. Required. For supported language
|
|
42
|
+
* The source language code. Required. For supported language pairs, see the supported language pair list.
|
|
40
43
|
*
|
|
41
44
|
* This parameter is required.
|
|
42
45
|
*
|
|
@@ -46,7 +49,7 @@ export class ImageTranslationProRequest extends $dara.Model {
|
|
|
46
49
|
sourceLanguage?: string;
|
|
47
50
|
/**
|
|
48
51
|
* @remarks
|
|
49
|
-
* The target language code. Required. For supported language
|
|
52
|
+
* The target language code. Required. For supported language pairs, see the supported language pair list.
|
|
50
53
|
*
|
|
51
54
|
* This parameter is required.
|
|
52
55
|
*
|
|
@@ -56,7 +59,7 @@ export class ImageTranslationProRequest extends $dara.Model {
|
|
|
56
59
|
targetLanguage?: string;
|
|
57
60
|
/**
|
|
58
61
|
* @remarks
|
|
59
|
-
* Specifies whether to translate brand names on the image. Optional. Default value: false. This helps you protect brand name information
|
|
62
|
+
* Specifies whether to translate brand names on the image. Optional. Default value: false. This helps you protect brand name information and avoid unintended translation.
|
|
60
63
|
*
|
|
61
64
|
* @example
|
|
62
65
|
* false
|
|
@@ -64,7 +67,7 @@ export class ImageTranslationProRequest extends $dara.Model {
|
|
|
64
67
|
translatingBrandInTheProduct?: boolean;
|
|
65
68
|
/**
|
|
66
69
|
* @remarks
|
|
67
|
-
* Specifies whether to return layout information such as text position, font, and color.
|
|
70
|
+
* Specifies whether to return layout information such as text position, font, and color. When set to true, layer information is returned, which can be used with an image editor for secondary editing. Default value: false.
|
|
68
71
|
*
|
|
69
72
|
* @example
|
|
70
73
|
* false
|