@alicloud/aidge20260428 5.5.0 → 5.7.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 +520 -490
- package/dist/client.js +595 -490
- package/dist/client.js.map +1 -1
- package/dist/models/AiTryOnRequest.d.ts +42 -0
- package/dist/models/AiTryOnRequest.js +64 -0
- package/dist/models/AiTryOnRequest.js.map +1 -0
- package/dist/models/AiTryOnResponse.d.ts +19 -0
- package/dist/models/AiTryOnResponse.js +69 -0
- package/dist/models/AiTryOnResponse.js.map +1 -0
- package/dist/models/AiTryOnResponseBody.d.ts +90 -0
- package/dist/models/AiTryOnResponseBody.js +120 -0
- package/dist/models/AiTryOnResponseBody.js.map +1 -0
- package/dist/models/AssetOptimizeLiteRequest.d.ts +2 -2
- package/dist/models/AssetOptimizeLiteResponseBody.d.ts +1 -3
- package/dist/models/AssetOptimizeLiteResponseBody.js +0 -2
- package/dist/models/AssetOptimizeLiteResponseBody.js.map +1 -1
- package/dist/models/AssetOptimizeProRequest.d.ts +5 -5
- package/dist/models/AssetOptimizeProResponseBody.d.ts +4 -4
- package/dist/models/AssetOptimizeProShrinkRequest.d.ts +5 -5
- package/dist/models/CategoryAttributeMatchRequest.d.ts +5 -5
- package/dist/models/CategoryAttributeMatchResponseBody.d.ts +5 -5
- package/dist/models/CategoryAttributeMatchShrinkRequest.d.ts +5 -5
- package/dist/models/CategoryMatchRequest.d.ts +7 -7
- package/dist/models/CategoryMatchResponseBody.d.ts +8 -8
- package/dist/models/DiduiAreaDeductionRequest.d.ts +2 -2
- package/dist/models/DiduiAreaDeductionResponseBody.d.ts +4 -4
- package/dist/models/DiduiAreaDeductionShrinkRequest.d.ts +1 -1
- package/dist/models/DocumentTranslateRequest.d.ts +1 -1
- package/dist/models/DocumentTranslateResponseBody.d.ts +3 -3
- package/dist/models/EcomVideoRecreationRequest.d.ts +12 -12
- package/dist/models/EcomVideoRecreationResponseBody.d.ts +2 -2
- package/dist/models/EcomVideoRecreationShrinkRequest.d.ts +1 -1
- package/dist/models/ImageMattingRequest.d.ts +1 -1
- package/dist/models/ImageMattingResponseBody.d.ts +2 -3
- package/dist/models/ImageMattingResponseBody.js.map +1 -1
- package/dist/models/ImageRecognitionRequest.d.ts +2 -2
- package/dist/models/ImageRecognitionResponseBody.d.ts +5 -5
- package/dist/models/ImageRecognitionShrinkRequest.d.ts +2 -2
- package/dist/models/ImageRemovalProRequest.d.ts +2 -2
- package/dist/models/ImageRemovalProResponseBody.d.ts +3 -3
- package/dist/models/ImageRemoveRequest.d.ts +9 -9
- package/dist/models/ImageRemoveResponseBody.d.ts +2 -2
- package/dist/models/ImageRemoveShrinkRequest.d.ts +9 -9
- package/dist/models/ImageTranslationPlusResponseBody.d.ts +3 -3
- package/dist/models/ImageTranslationProRequest.d.ts +6 -6
- package/dist/models/ImageTranslationProResponseBody.d.ts +14 -14
- package/dist/models/ImageTranslationStandardRequest.d.ts +2 -2
- package/dist/models/ImageTranslationStandardResponseBody.d.ts +7 -7
- package/dist/models/LanguageDetectRequest.d.ts +2 -2
- package/dist/models/LanguageDetectResponseBody.d.ts +3 -3
- package/dist/models/MaterialInspectionRequest.d.ts +5 -5
- package/dist/models/MaterialInspectionResponseBody.d.ts +6 -11
- package/dist/models/MaterialInspectionResponseBody.js.map +1 -1
- package/dist/models/MerchandisePlacementDetectionRequest.d.ts +5 -5
- package/dist/models/MerchandisePlacementDetectionResponseBody.d.ts +9 -9
- package/dist/models/PackageWeightSizeCheckRequest.d.ts +1 -1
- package/dist/models/PackageWeightSizeCheckResponseBody.d.ts +4 -4
- package/dist/models/PrepaidTextTranslateRequest.d.ts +3 -3
- package/dist/models/PrepaidTextTranslateResponseBody.d.ts +6 -6
- package/dist/models/PrepaidTextTranslateShrinkRequest.d.ts +3 -3
- package/dist/models/ProductHotspotDetectionResponseBody.d.ts +2 -2
- package/dist/models/SizeChartDetectResponseBody.d.ts +3 -4
- package/dist/models/SizeChartDetectResponseBody.js.map +1 -1
- package/dist/models/SizeChartExtractRequest.d.ts +2 -2
- package/dist/models/SizeChartExtractResponseBody.d.ts +1 -1
- package/dist/models/SizeChartExtractShrinkRequest.d.ts +2 -2
- package/dist/models/SubmitProductMatchRequest.d.ts +77 -0
- package/dist/models/SubmitProductMatchRequest.js +70 -0
- package/dist/models/SubmitProductMatchRequest.js.map +1 -0
- package/dist/models/SubmitProductMatchResponse.d.ts +19 -0
- package/dist/models/SubmitProductMatchResponse.js +69 -0
- package/dist/models/SubmitProductMatchResponse.js.map +1 -0
- package/dist/models/SubmitProductMatchResponseBody.d.ts +80 -0
- package/dist/models/SubmitProductMatchResponseBody.js +90 -0
- package/dist/models/SubmitProductMatchResponseBody.js.map +1 -0
- package/dist/models/TextCorrectResponseBody.d.ts +1 -1
- package/dist/models/TextTranslateRequest.d.ts +13 -16
- package/dist/models/TextTranslateRequest.js.map +1 -1
- package/dist/models/TextTranslateResponseBody.d.ts +2 -2
- package/dist/models/TextTranslateShrinkRequest.d.ts +13 -16
- package/dist/models/TextTranslateShrinkRequest.js.map +1 -1
- package/dist/models/VideoTranslationRequest.d.ts +2 -2
- package/dist/models/VideoTranslationResponseBody.d.ts +1 -1
- package/dist/models/VideoTranslationShrinkRequest.d.ts +2 -2
- package/dist/models/VirtualTryOnResponseBody.d.ts +3 -3
- package/dist/models/VisionFlowRequest.d.ts +15 -15
- package/dist/models/VisionFlowResponseBody.d.ts +1 -1
- package/dist/models/VisionFlowShrinkRequest.d.ts +15 -15
- package/dist/models/model.d.ts +9 -0
- package/dist/models/model.js +22 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +610 -490
- package/src/models/AiTryOnRequest.ts +61 -0
- package/src/models/AiTryOnResponse.ts +40 -0
- package/src/models/AiTryOnResponseBody.ts +145 -0
- package/src/models/AssetOptimizeLiteRequest.ts +2 -2
- package/src/models/AssetOptimizeLiteResponseBody.ts +1 -3
- package/src/models/AssetOptimizeProRequest.ts +5 -5
- package/src/models/AssetOptimizeProResponseBody.ts +4 -4
- package/src/models/AssetOptimizeProShrinkRequest.ts +5 -5
- package/src/models/CategoryAttributeMatchRequest.ts +5 -5
- package/src/models/CategoryAttributeMatchResponseBody.ts +5 -5
- package/src/models/CategoryAttributeMatchShrinkRequest.ts +5 -5
- package/src/models/CategoryMatchRequest.ts +7 -7
- package/src/models/CategoryMatchResponseBody.ts +8 -8
- package/src/models/DiduiAreaDeductionRequest.ts +2 -2
- package/src/models/DiduiAreaDeductionResponseBody.ts +4 -4
- package/src/models/DiduiAreaDeductionShrinkRequest.ts +1 -1
- package/src/models/DocumentTranslateRequest.ts +1 -1
- package/src/models/DocumentTranslateResponseBody.ts +3 -3
- package/src/models/EcomVideoRecreationRequest.ts +12 -12
- package/src/models/EcomVideoRecreationResponseBody.ts +2 -2
- package/src/models/EcomVideoRecreationShrinkRequest.ts +1 -1
- package/src/models/ImageMattingRequest.ts +1 -1
- package/src/models/ImageMattingResponseBody.ts +2 -3
- package/src/models/ImageRecognitionRequest.ts +2 -2
- package/src/models/ImageRecognitionResponseBody.ts +5 -5
- package/src/models/ImageRecognitionShrinkRequest.ts +2 -2
- package/src/models/ImageRemovalProRequest.ts +2 -2
- package/src/models/ImageRemovalProResponseBody.ts +3 -3
- package/src/models/ImageRemoveRequest.ts +9 -9
- package/src/models/ImageRemoveResponseBody.ts +2 -2
- package/src/models/ImageRemoveShrinkRequest.ts +9 -9
- package/src/models/ImageTranslationPlusResponseBody.ts +3 -3
- package/src/models/ImageTranslationProRequest.ts +6 -6
- package/src/models/ImageTranslationProResponseBody.ts +14 -14
- package/src/models/ImageTranslationStandardRequest.ts +2 -2
- package/src/models/ImageTranslationStandardResponseBody.ts +7 -7
- package/src/models/LanguageDetectRequest.ts +2 -2
- package/src/models/LanguageDetectResponseBody.ts +3 -3
- package/src/models/MaterialInspectionRequest.ts +5 -5
- package/src/models/MaterialInspectionResponseBody.ts +6 -11
- package/src/models/MerchandisePlacementDetectionRequest.ts +5 -5
- package/src/models/MerchandisePlacementDetectionResponseBody.ts +9 -9
- package/src/models/PackageWeightSizeCheckRequest.ts +1 -1
- package/src/models/PackageWeightSizeCheckResponseBody.ts +4 -4
- package/src/models/PrepaidTextTranslateRequest.ts +3 -3
- package/src/models/PrepaidTextTranslateResponseBody.ts +6 -6
- package/src/models/PrepaidTextTranslateShrinkRequest.ts +3 -3
- package/src/models/ProductHotspotDetectionResponseBody.ts +2 -2
- package/src/models/SizeChartDetectResponseBody.ts +3 -4
- package/src/models/SizeChartExtractRequest.ts +2 -2
- package/src/models/SizeChartExtractResponseBody.ts +1 -1
- package/src/models/SizeChartExtractShrinkRequest.ts +2 -2
- package/src/models/SubmitProductMatchRequest.ts +102 -0
- package/src/models/SubmitProductMatchResponse.ts +40 -0
- package/src/models/SubmitProductMatchResponseBody.ts +116 -0
- package/src/models/TextCorrectResponseBody.ts +1 -1
- package/src/models/TextTranslateRequest.ts +13 -16
- package/src/models/TextTranslateResponseBody.ts +2 -2
- package/src/models/TextTranslateShrinkRequest.ts +13 -16
- package/src/models/VideoTranslationRequest.ts +2 -2
- package/src/models/VideoTranslationResponseBody.ts +1 -1
- package/src/models/VideoTranslationShrinkRequest.ts +2 -2
- package/src/models/VirtualTryOnResponseBody.ts +3 -3
- package/src/models/VisionFlowRequest.ts +15 -15
- package/src/models/VisionFlowResponseBody.ts +1 -1
- package/src/models/VisionFlowShrinkRequest.ts +15 -15
- package/src/models/model.ts +9 -0
|
@@ -85,7 +85,7 @@ export class DiduiAreaDeductionResponseBodyDataResult extends $dara.Model {
|
|
|
85
85
|
export class DiduiAreaDeductionResponseBodyData extends $dara.Model {
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The number of downstream
|
|
88
|
+
* The number of downstream calls.
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* 1
|
|
@@ -117,7 +117,7 @@ export class DiduiAreaDeductionResponseBodyData extends $dara.Model {
|
|
|
117
117
|
latencyMs?: number;
|
|
118
118
|
/**
|
|
119
119
|
* @remarks
|
|
120
|
-
* The workflow description
|
|
120
|
+
* The workflow description.
|
|
121
121
|
*
|
|
122
122
|
* @example
|
|
123
123
|
* Success
|
|
@@ -154,7 +154,7 @@ export class DiduiAreaDeductionResponseBodyData extends $dara.Model {
|
|
|
154
154
|
status?: string;
|
|
155
155
|
/**
|
|
156
156
|
* @remarks
|
|
157
|
-
*
|
|
157
|
+
* Indicates whether the workflow execution is successful.
|
|
158
158
|
*
|
|
159
159
|
* @example
|
|
160
160
|
* True
|
|
@@ -247,7 +247,7 @@ export class DiduiAreaDeductionResponseBody extends $dara.Model {
|
|
|
247
247
|
requestId?: string;
|
|
248
248
|
/**
|
|
249
249
|
* @remarks
|
|
250
|
-
* Indicates whether the call
|
|
250
|
+
* Indicates whether the call is successful.
|
|
251
251
|
*
|
|
252
252
|
* @example
|
|
253
253
|
* True
|
|
@@ -12,7 +12,7 @@ export class DiduiAreaDeductionShrinkRequest extends $dara.Model {
|
|
|
12
12
|
productsShrink?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The ID of the customer-specific SKU vector
|
|
15
|
+
* The ID of the customer-specific SKU vector database that determines which database is used for recall. The database must be created in advance through the database creation process.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* rag_xxx
|
|
@@ -19,7 +19,7 @@ export class DocumentTranslateRequest extends $dara.Model {
|
|
|
19
19
|
fileType?: string;
|
|
20
20
|
/**
|
|
21
21
|
* @remarks
|
|
22
|
-
* The glossary ID. Specify this parameter when you need the
|
|
22
|
+
* The intervention glossary ID. Specify this parameter when you need the intervention feature. Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for brand name protection and similar scenarios.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* glossary_1
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DocumentTranslateResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The unique identifier of the asynchronous task
|
|
8
|
+
* The unique identifier of the asynchronous task. Use this ID to query the task status and results.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 6071a030-5c92-9df1-96d0-44952343439a
|
|
@@ -57,7 +57,7 @@ export class DocumentTranslateResponseBody extends $dara.Model {
|
|
|
57
57
|
message?: string;
|
|
58
58
|
/**
|
|
59
59
|
* @remarks
|
|
60
|
-
* The unique identity
|
|
60
|
+
* The unique request identity. Use this ID for troubleshooting and Tracing Analysis.
|
|
61
61
|
*
|
|
62
62
|
* @example
|
|
63
63
|
* 39E8A74B-F99E-1195-A5FF-3ECC5F94F304
|
|
@@ -65,7 +65,7 @@ export class DocumentTranslateResponseBody extends $dara.Model {
|
|
|
65
65
|
requestId?: string;
|
|
66
66
|
/**
|
|
67
67
|
* @remarks
|
|
68
|
-
* Indicates whether the call is successful.
|
|
68
|
+
* Indicates whether the call is successful. true: The call is successful. false: The call failed.
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
71
71
|
* True
|
|
@@ -6,7 +6,7 @@ export class EcomVideoRecreationRequestInputProductInfo extends $dara.Model {
|
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
8
|
* The product category.
|
|
9
|
-
* Example:
|
|
9
|
+
* Example: Womenswear/Sun-protective clothing
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* Women\\"s clothing/sun protection clothing
|
|
@@ -15,7 +15,7 @@ export class EcomVideoRecreationRequestInputProductInfo extends $dara.Model {
|
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
17
|
* The actual product information (SKU, brand, color, material, size, specifications, logo, and usage), used to constrain voiceover facts.
|
|
18
|
-
* Example: Light
|
|
18
|
+
* Example: Light yellow, cooling fabric, sun protection to the back of the hand, UPF50+
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* Light moon yellow, cool-touch fabric, sun protection extending to the back of the hand, UPF50+
|
|
@@ -23,8 +23,8 @@ export class EcomVideoRecreationRequestInputProductInfo extends $dara.Model {
|
|
|
23
23
|
detail?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
*
|
|
27
|
-
* Example: Light
|
|
26
|
+
* The name of the target product. This parameter is required for product replacement mode. Maximum length: 200 characters.
|
|
27
|
+
* Example: Light yellow cooling sun-protective jacket
|
|
28
28
|
*
|
|
29
29
|
* @example
|
|
30
30
|
* Light moon yellow cool-touch sun protection clothing
|
|
@@ -58,7 +58,7 @@ export class EcomVideoRecreationRequestInputProductInfo extends $dara.Model {
|
|
|
58
58
|
export class EcomVideoRecreationRequestInput extends $dara.Model {
|
|
59
59
|
/**
|
|
60
60
|
* @remarks
|
|
61
|
-
* The description or supplementary constraints for the target person in person replacement mode. 1 to 500 characters.
|
|
61
|
+
* The description or supplementary constraints for the target person in person replacement mode. The value must be 1 to 500 characters in length. This parameter is required if PersonReferenceImageUrls is not provided.
|
|
62
62
|
* Example: The target person is an adult male. Retain the original clothing and actions.
|
|
63
63
|
*
|
|
64
64
|
* @example
|
|
@@ -75,24 +75,24 @@ export class EcomVideoRecreationRequestInput extends $dara.Model {
|
|
|
75
75
|
mode?: string;
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The URLs of
|
|
78
|
+
* The URLs of reference images for the target person in person replacement mode. You can specify 1 to 5 images, which must be of the same person. Arrange the images in the following order: facial close-up, front view, 45-degree view, side view, and back view.
|
|
79
79
|
* Example: ["https://example.com/person.jpg"]
|
|
80
80
|
*/
|
|
81
81
|
personReferenceImageUrls?: string[];
|
|
82
82
|
/**
|
|
83
83
|
* @remarks
|
|
84
|
-
* The
|
|
84
|
+
* The URLs of target product images. This parameter is required for product replacement mode. You can upload 1 to 8 images for the same SKU. Use images with a clear subject, no occlusion, and a clean background.
|
|
85
85
|
* Example: ["https://example.com/product.png"]
|
|
86
86
|
*/
|
|
87
87
|
productImageUrls?: string[];
|
|
88
88
|
/**
|
|
89
89
|
* @remarks
|
|
90
|
-
* The target product information.
|
|
90
|
+
* The target product information. Specify this parameter to improve voiceover accuracy.
|
|
91
91
|
*/
|
|
92
92
|
productInfo?: EcomVideoRecreationRequestInputProductInfo;
|
|
93
93
|
/**
|
|
94
94
|
* @remarks
|
|
95
|
-
* The HTTP(S) URL of the reference video. The video duration must be
|
|
95
|
+
* The HTTP(S) URL of the reference video. The video duration must be 2 to 360 seconds. The URL must remain accessible during task execution. A validity period of at least 24 hours is recommended.
|
|
96
96
|
*
|
|
97
97
|
* This parameter is required.
|
|
98
98
|
*
|
|
@@ -143,10 +143,10 @@ export class EcomVideoRecreationRequestInput extends $dara.Model {
|
|
|
143
143
|
export class EcomVideoRecreationRequestOutput extends $dara.Model {
|
|
144
144
|
/**
|
|
145
145
|
* @remarks
|
|
146
|
-
* The target duration in seconds.
|
|
146
|
+
* The target duration in seconds. Set to ``"auto"`` (default) to let the system decide. For product replacement, specify an integer from 5 to 60. For person replacement, only `"auto"` is supported.
|
|
147
147
|
*
|
|
148
148
|
* @example
|
|
149
|
-
*
|
|
149
|
+
* -1
|
|
150
150
|
*/
|
|
151
151
|
duration?: number;
|
|
152
152
|
/**
|
|
@@ -193,7 +193,7 @@ export class EcomVideoRecreationRequestOutput extends $dara.Model {
|
|
|
193
193
|
export class EcomVideoRecreationRequest extends $dara.Model {
|
|
194
194
|
/**
|
|
195
195
|
* @remarks
|
|
196
|
-
* The input parameters for video
|
|
196
|
+
* The input parameters for video multiplication.
|
|
197
197
|
*
|
|
198
198
|
* This parameter is required.
|
|
199
199
|
*/
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class EcomVideoRecreationResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The asynchronous task ID
|
|
8
|
+
* The asynchronous task ID used to query results with QueryAsyncTaskResult.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* task_778fa8bd21804828a5d147050e30edac
|
|
@@ -35,7 +35,7 @@ export class EcomVideoRecreationResponseBodyData extends $dara.Model {
|
|
|
35
35
|
export class EcomVideoRecreationResponseBody extends $dara.Model {
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The result code. `success` indicates success. An error code is returned upon failure.
|
|
38
|
+
* The result code. A value of `success` indicates success. An error code is returned upon failure.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* success
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class EcomVideoRecreationShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The input parameters for video
|
|
8
|
+
* The input parameters for video multiplication.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*/
|
|
@@ -26,7 +26,7 @@ export class ImageMattingRequest extends $dara.Model {
|
|
|
26
26
|
bgColor?: string;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The URL of the original image. The image must be in JPG, JPEG, PNG, BMP, or WEBP format
|
|
29
|
+
* The URL of the original image. The image must be in JPG, JPEG, PNG, BMP, or WEBP format. The resolution must be between 256 × 256 and 3000 × 3000 pixels. The file size cannot exceed 10 MB.<br>**Example**: `"https://ae01.alicdn.com/kf/S342f0070dc9f4be09a6cbed34e90dc8fs.jpg"`
|
|
30
30
|
*
|
|
31
31
|
* This parameter is required.
|
|
32
32
|
*
|
|
@@ -13,7 +13,7 @@ export class ImageMattingResponseBodyData extends $dara.Model {
|
|
|
13
13
|
height?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The URL of the matting result
|
|
16
|
+
* The URL of the image matting result.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* http://dashscope-7c2c.oss-cn-shanghai.aliyuncs.com/xxx.jpg
|
|
@@ -21,7 +21,7 @@ export class ImageMattingResponseBodyData extends $dara.Model {
|
|
|
21
21
|
imageUrl?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The
|
|
24
|
+
* The quality score of the image matting result.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 0.11
|
|
@@ -108,7 +108,6 @@ export class ImageMattingResponseBody extends $dara.Model {
|
|
|
108
108
|
/**
|
|
109
109
|
* @remarks
|
|
110
110
|
* Indicates whether the call is successful. Valid values:
|
|
111
|
-
*
|
|
112
111
|
* - true: Successful.
|
|
113
112
|
* - false: Failed.
|
|
114
113
|
*
|
|
@@ -15,7 +15,7 @@ export class ImageRecognitionRequest extends $dara.Model {
|
|
|
15
15
|
imageUrl?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The
|
|
18
|
+
* The element types to detect on the non-subject area of the image (1: watermark, 2: logo, 3: text, 4: text-containing color block). You can select multiple element types. This parameter and ObjectDetectElements cannot both be empty.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* [1,2,3,4]
|
|
@@ -23,7 +23,7 @@ export class ImageRecognitionRequest extends $dara.Model {
|
|
|
23
23
|
nonObjectDetectElements?: number[];
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The
|
|
26
|
+
* The element types to detect on the image subject (1: watermark, 2: logo, 3: text, 4: text-containing color block). You can select multiple element types.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* [1,2,3,4]
|
|
@@ -77,7 +77,7 @@ export class ImageRecognitionResponseBodyData extends $dara.Model {
|
|
|
77
77
|
objWatermark?: boolean;
|
|
78
78
|
/**
|
|
79
79
|
* @remarks
|
|
80
|
-
* The
|
|
80
|
+
* The number of products.
|
|
81
81
|
*
|
|
82
82
|
* @example
|
|
83
83
|
* 2
|
|
@@ -85,7 +85,7 @@ export class ImageRecognitionResponseBodyData extends $dara.Model {
|
|
|
85
85
|
pdNum?: number;
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The product
|
|
88
|
+
* The proportion of the product in the image.
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* 74.15%
|
|
@@ -98,7 +98,7 @@ export class ImageRecognitionResponseBodyData extends $dara.Model {
|
|
|
98
98
|
recText?: string[];
|
|
99
99
|
/**
|
|
100
100
|
* @remarks
|
|
101
|
-
* The text
|
|
101
|
+
* The proportion of text in the image.
|
|
102
102
|
*
|
|
103
103
|
* @example
|
|
104
104
|
* 7.52%
|
|
@@ -168,7 +168,7 @@ export class ImageRecognitionResponseBodyData extends $dara.Model {
|
|
|
168
168
|
export class ImageRecognitionResponseBody extends $dara.Model {
|
|
169
169
|
/**
|
|
170
170
|
* @remarks
|
|
171
|
-
* The error code. This parameter is not returned
|
|
171
|
+
* The error code. This parameter is not returned if the call is successful.
|
|
172
172
|
*
|
|
173
173
|
* @example
|
|
174
174
|
* 200
|
|
@@ -181,7 +181,7 @@ export class ImageRecognitionResponseBody extends $dara.Model {
|
|
|
181
181
|
data?: ImageRecognitionResponseBodyData;
|
|
182
182
|
/**
|
|
183
183
|
* @remarks
|
|
184
|
-
* The error message. This parameter is not returned
|
|
184
|
+
* The error message. This parameter is not returned if the call is successful.
|
|
185
185
|
*
|
|
186
186
|
* @example
|
|
187
187
|
* OK
|
|
@@ -15,7 +15,7 @@ export class ImageRecognitionShrinkRequest extends $dara.Model {
|
|
|
15
15
|
imageUrl?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The
|
|
18
|
+
* The element types to detect on the non-subject area of the image (1: watermark, 2: logo, 3: text, 4: text-containing color block). You can select multiple element types. This parameter and ObjectDetectElements cannot both be empty.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* [1,2,3,4]
|
|
@@ -23,7 +23,7 @@ export class ImageRecognitionShrinkRequest extends $dara.Model {
|
|
|
23
23
|
nonObjectDetectElementsShrink?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The
|
|
26
|
+
* The element types to detect on the image subject (1: watermark, 2: logo, 3: text, 4: text-containing color block). You can select multiple element types.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* [1,2,3,4]
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ImageRemovalProResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The URL of the result image. This parameter is returned in synchronous mode.
|
|
8
|
+
* The URL of the erasure result image. This parameter is returned in synchronous mode.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* https://aib-image.oss-ap-southeast-1.aliyuncs.com/ai_desc%2F250cc947-9cd5-4df0-9c23-44eba5d0dfc30.jpg?OSSAccessKeyId=LTAI5tSEGjGp5wixZgHLc3bV&Expires=4999655814&Signature=shvGNDmkyv9MLTw4%2BOxYglJCpAE%3D
|
|
@@ -13,7 +13,7 @@ export class ImageRemovalProResponseBodyData extends $dara.Model {
|
|
|
13
13
|
imageUrl?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The asynchronous task ID. This parameter is returned in asynchronous mode and is used to query
|
|
16
|
+
* The asynchronous task ID. This parameter is returned in asynchronous mode and is used to query task results.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* ed9d8504-6141-9fbb-8345-4fa36433483f
|
|
@@ -63,7 +63,7 @@ export class ImageRemovalProResponseBody extends $dara.Model {
|
|
|
63
63
|
code?: string;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* The
|
|
66
|
+
* The Intelligent Eraser Pro result.
|
|
67
67
|
*/
|
|
68
68
|
data?: ImageRemovalProResponseBodyData;
|
|
69
69
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ImageRemoveRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The URL of the original image. The image must be in JPG, JPEG, PNG, BMP, or WEBP format, with a resolution between 256 × 256 and 3000 × 3000 pixels, and a file size no
|
|
8
|
+
* The URL of the original image. The image must be in JPG, JPEG, PNG, BMP, or WEBP format, with a resolution between 256 × 256 and 3000 × 3000 pixels, and a file size of no more than 10 MB.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -16,7 +16,7 @@ export class ImageRemoveRequest extends $dara.Model {
|
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
18
|
* The specific removal area. This parameter must be used with the editor. The input format is RLE.
|
|
19
|
-
* If
|
|
19
|
+
* If specified, this parameter takes priority and the remove_non_product_area_elements and remove_product_area_elements parameters are ignored. This parameter is optional, but at least one of the following parameters must be specified: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, or UserImage.
|
|
20
20
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
@@ -25,9 +25,9 @@ export class ImageRemoveRequest extends $dara.Model {
|
|
|
25
25
|
mask?: string;
|
|
26
26
|
/**
|
|
27
27
|
* @remarks
|
|
28
|
-
* The elements to remove from the non-subject area of the image (1=transparent text blocks, 2=specific names, 3=text, 4=
|
|
28
|
+
* The elements to remove from the non-subject area of the image (1 = transparent text blocks, 2 = specific names, 3 = text, 4 = image blemishes). You can select multiple element types. This parameter is optional, but at least one of the following parameters must be specified: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, or UserImage.
|
|
29
29
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
30
|
-
* Refer to the product description for details
|
|
30
|
+
* Refer to the product description for details about each type.
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* [1,2]
|
|
@@ -35,9 +35,9 @@ export class ImageRemoveRequest extends $dara.Model {
|
|
|
35
35
|
nonObjectRemoveElements?: number[];
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The elements to remove from the image subject (1=transparent text blocks, 2=specific names, 3=text, 4=
|
|
38
|
+
* The elements to remove from the image subject (1 = transparent text blocks, 2 = specific names, 3 = text, 4 = image blemishes). You can select multiple element types. This parameter is optional, but at least one of the following parameters must be specified: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, or UserImage.
|
|
39
39
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
40
|
-
* Refer to the product description for details
|
|
40
|
+
* Refer to the product description for details about each type.
|
|
41
41
|
* Image subject: The core product area in the image.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
@@ -46,7 +46,7 @@ export class ImageRemoveRequest extends $dara.Model {
|
|
|
46
46
|
objectRemoveElements?: number[];
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* The specific removal area. This parameter must be used with the editor. The input format is four-point coordinates [xx,yy,zz,dd]. This parameter is
|
|
49
|
+
* The specific removal area. This parameter must be used with the editor. The input format is four-point coordinates [xx,yy,zz,dd]. This parameter is optional, but at least one of the following parameters must be specified: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, or UserImage.
|
|
50
50
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
51
51
|
*
|
|
52
52
|
* @example
|
|
@@ -55,7 +55,7 @@ export class ImageRemoveRequest extends $dara.Model {
|
|
|
55
55
|
position?: string;
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The user-specified image element links to remove. Multiple image links are supported. The input format is ["https://ae01.alicdn.com/kf/S342f0070dc9f4be09a6cbed34e90dc8fs.jpg","https://ae01.alicdn.com/kf/S342f0070dc9f4be09a6cbed34e90dc8fs.jpg"]. This parameter is
|
|
58
|
+
* The user-specified image element links to remove. Multiple image links are supported. The input format is ["https://ae01.alicdn.com/kf/S342f0070dc9f4be09a6cbed34e90dc8fs.jpg","https://ae01.alicdn.com/kf/S342f0070dc9f4be09a6cbed34e90dc8fs.jpg"]. This parameter is optional, but at least one of the following parameters must be specified: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, or UserImage.
|
|
59
59
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
60
60
|
*
|
|
61
61
|
* @example
|
|
@@ -64,7 +64,7 @@ export class ImageRemoveRequest extends $dara.Model {
|
|
|
64
64
|
userImage?: string[];
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
* The user-specified text to remove. Multiple text inputs are supported. The input format is ["xx","yy"]. This parameter is
|
|
67
|
+
* The user-specified text to remove. Multiple text inputs are supported. The input format is ["xx","yy"]. This parameter is optional, but at least one of the following parameters must be specified: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, or UserImage.
|
|
68
68
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ImageRemoveResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The height of the result image in pixels.
|
|
8
|
+
* The height of the result image, in pixels.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 800
|
|
@@ -30,7 +30,7 @@ export class ImageRemoveResponseBodyData extends $dara.Model {
|
|
|
30
30
|
usageMap?: { [key: string]: number };
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The width of the result image in pixels.
|
|
33
|
+
* The width of the result image, in pixels.
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
36
|
* 800
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ImageRemoveShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The URL of the original image. The image must be in JPG, JPEG, PNG, BMP, or WEBP format, with a resolution between 256 × 256 and 3000 × 3000 pixels, and a file size no
|
|
8
|
+
* The URL of the original image. The image must be in JPG, JPEG, PNG, BMP, or WEBP format, with a resolution between 256 × 256 and 3000 × 3000 pixels, and a file size of no more than 10 MB.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -16,7 +16,7 @@ export class ImageRemoveShrinkRequest extends $dara.Model {
|
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
18
|
* The specific removal area. This parameter must be used with the editor. The input format is RLE.
|
|
19
|
-
* If
|
|
19
|
+
* If specified, this parameter takes priority and the remove_non_product_area_elements and remove_product_area_elements parameters are ignored. This parameter is optional, but at least one of the following parameters must be specified: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, or UserImage.
|
|
20
20
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
@@ -25,9 +25,9 @@ export class ImageRemoveShrinkRequest extends $dara.Model {
|
|
|
25
25
|
mask?: string;
|
|
26
26
|
/**
|
|
27
27
|
* @remarks
|
|
28
|
-
* The elements to remove from the non-subject area of the image (1=transparent text blocks, 2=specific names, 3=text, 4=
|
|
28
|
+
* The elements to remove from the non-subject area of the image (1 = transparent text blocks, 2 = specific names, 3 = text, 4 = image blemishes). You can select multiple element types. This parameter is optional, but at least one of the following parameters must be specified: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, or UserImage.
|
|
29
29
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
30
|
-
* Refer to the product description for details
|
|
30
|
+
* Refer to the product description for details about each type.
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* [1,2]
|
|
@@ -35,9 +35,9 @@ export class ImageRemoveShrinkRequest extends $dara.Model {
|
|
|
35
35
|
nonObjectRemoveElementsShrink?: string;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The elements to remove from the image subject (1=transparent text blocks, 2=specific names, 3=text, 4=
|
|
38
|
+
* The elements to remove from the image subject (1 = transparent text blocks, 2 = specific names, 3 = text, 4 = image blemishes). You can select multiple element types. This parameter is optional, but at least one of the following parameters must be specified: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, or UserImage.
|
|
39
39
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
40
|
-
* Refer to the product description for details
|
|
40
|
+
* Refer to the product description for details about each type.
|
|
41
41
|
* Image subject: The core product area in the image.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
@@ -46,7 +46,7 @@ export class ImageRemoveShrinkRequest extends $dara.Model {
|
|
|
46
46
|
objectRemoveElementsShrink?: string;
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* The specific removal area. This parameter must be used with the editor. The input format is four-point coordinates [xx,yy,zz,dd]. This parameter is
|
|
49
|
+
* The specific removal area. This parameter must be used with the editor. The input format is four-point coordinates [xx,yy,zz,dd]. This parameter is optional, but at least one of the following parameters must be specified: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, or UserImage.
|
|
50
50
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
51
51
|
*
|
|
52
52
|
* @example
|
|
@@ -55,7 +55,7 @@ export class ImageRemoveShrinkRequest extends $dara.Model {
|
|
|
55
55
|
position?: string;
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The user-specified image element links to remove. Multiple image links are supported. The input format is ["https://ae01.alicdn.com/kf/S342f0070dc9f4be09a6cbed34e90dc8fs.jpg","https://ae01.alicdn.com/kf/S342f0070dc9f4be09a6cbed34e90dc8fs.jpg"]. This parameter is
|
|
58
|
+
* The user-specified image element links to remove. Multiple image links are supported. The input format is ["https://ae01.alicdn.com/kf/S342f0070dc9f4be09a6cbed34e90dc8fs.jpg","https://ae01.alicdn.com/kf/S342f0070dc9f4be09a6cbed34e90dc8fs.jpg"]. This parameter is optional, but at least one of the following parameters must be specified: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, or UserImage.
|
|
59
59
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
60
60
|
*
|
|
61
61
|
* @example
|
|
@@ -64,7 +64,7 @@ export class ImageRemoveShrinkRequest extends $dara.Model {
|
|
|
64
64
|
userImageShrink?: string;
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
* The user-specified text to remove. Multiple text inputs are supported. The input format is ["xx","yy"]. This parameter is
|
|
67
|
+
* The user-specified text to remove. Multiple text inputs are supported. The input format is ["xx","yy"]. This parameter is optional, but at least one of the following parameters must be specified: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, or UserImage.
|
|
68
68
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ImageTranslationPlusResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The asynchronous task ID. Use
|
|
8
|
+
* The asynchronous task ID. Use this ID to poll for results through the queryTaskResult API operation.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* task-abc123
|
|
@@ -35,7 +35,7 @@ export class ImageTranslationPlusResponseBodyData extends $dara.Model {
|
|
|
35
35
|
export class ImageTranslationPlusResponseBody extends $dara.Model {
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The error code. This parameter is not returned
|
|
38
|
+
* The error code. This parameter is not returned if the call is successful.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* 200
|
|
@@ -48,7 +48,7 @@ export class ImageTranslationPlusResponseBody extends $dara.Model {
|
|
|
48
48
|
data?: ImageTranslationPlusResponseBodyData;
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
* The error message. This parameter is not returned
|
|
51
|
+
* The error message. This parameter is not returned if the call is successful.
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* OK
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ImageTranslationProRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Specifies whether to use asynchronous mode. Default value: false (synchronous mode). When set to true, the API immediately returns a TaskId. Use the query translation result API to
|
|
8
|
+
* Specifies whether to use asynchronous mode. Default value: false (synchronous mode). When set to true, the API immediately returns a TaskId. Use the query translation result API to obtain the final result.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* true
|
|
@@ -26,7 +26,7 @@ export class ImageTranslationProRequest extends $dara.Model {
|
|
|
26
26
|
* Image requirements:
|
|
27
27
|
* - Image URL: Must be publicly accessible.
|
|
28
28
|
* - Format: png, jpeg, jpg, bmp, or webp.
|
|
29
|
-
* - Pixels:
|
|
29
|
+
* - Pixels: Both width and height must not exceed 4000.
|
|
30
30
|
* - File size: The original file must be 10 MB or smaller.
|
|
31
31
|
*
|
|
32
32
|
* This parameter is required.
|
|
@@ -37,7 +37,7 @@ export class ImageTranslationProRequest extends $dara.Model {
|
|
|
37
37
|
imageUrl?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* Specifies whether to translate text on the image subject. This parameter is optional. Default value: false.
|
|
40
|
+
* Specifies whether to translate text on the image subject. This parameter is optional. Default value: false. This helps you protect information and avoid translating embedded information such as product names.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* false
|
|
@@ -45,7 +45,7 @@ export class ImageTranslationProRequest extends $dara.Model {
|
|
|
45
45
|
includingProductArea?: boolean;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The source language code. This parameter is required. For supported language directions, see [Language
|
|
48
|
+
* The source language code. This parameter is required. For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
49
49
|
*
|
|
50
50
|
* This parameter is required.
|
|
51
51
|
*
|
|
@@ -55,7 +55,7 @@ export class ImageTranslationProRequest extends $dara.Model {
|
|
|
55
55
|
sourceLanguage?: string;
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The target language code. This parameter is required. For supported language directions, see [Language
|
|
58
|
+
* The target language code. This parameter is required. For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
59
59
|
*
|
|
60
60
|
* This parameter is required.
|
|
61
61
|
*
|
|
@@ -65,7 +65,7 @@ export class ImageTranslationProRequest extends $dara.Model {
|
|
|
65
65
|
targetLanguage?: string;
|
|
66
66
|
/**
|
|
67
67
|
* @remarks
|
|
68
|
-
* Specifies whether to translate brand names on
|
|
68
|
+
* Specifies whether to translate brand names on images. This parameter is optional. Default value: false. This helps you protect brand name information from being translated.
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
71
71
|
* false
|