@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
|
@@ -3,7 +3,7 @@ export declare class EcomVideoRecreationRequestInputProductInfo extends $dara.Mo
|
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
5
|
* The product category.
|
|
6
|
-
* Example:
|
|
6
|
+
* Example: Womenswear/Sun-protective clothing
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
* Women\\"s clothing/sun protection clothing
|
|
@@ -12,7 +12,7 @@ export declare class EcomVideoRecreationRequestInputProductInfo extends $dara.Mo
|
|
|
12
12
|
/**
|
|
13
13
|
* @remarks
|
|
14
14
|
* The actual product information (SKU, brand, color, material, size, specifications, logo, and usage), used to constrain voiceover facts.
|
|
15
|
-
* Example: Light
|
|
15
|
+
* Example: Light yellow, cooling fabric, sun protection to the back of the hand, UPF50+
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* Light moon yellow, cool-touch fabric, sun protection extending to the back of the hand, UPF50+
|
|
@@ -20,8 +20,8 @@ export declare class EcomVideoRecreationRequestInputProductInfo extends $dara.Mo
|
|
|
20
20
|
detail?: string;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
*
|
|
24
|
-
* Example: Light
|
|
23
|
+
* The name of the target product. This parameter is required for product replacement mode. Maximum length: 200 characters.
|
|
24
|
+
* Example: Light yellow cooling sun-protective jacket
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* Light moon yellow cool-touch sun protection clothing
|
|
@@ -41,7 +41,7 @@ export declare class EcomVideoRecreationRequestInputProductInfo extends $dara.Mo
|
|
|
41
41
|
export declare class EcomVideoRecreationRequestInput extends $dara.Model {
|
|
42
42
|
/**
|
|
43
43
|
* @remarks
|
|
44
|
-
* The description or supplementary constraints for the target person in person replacement mode. 1 to 500 characters.
|
|
44
|
+
* 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.
|
|
45
45
|
* Example: The target person is an adult male. Retain the original clothing and actions.
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
@@ -58,24 +58,24 @@ export declare class EcomVideoRecreationRequestInput extends $dara.Model {
|
|
|
58
58
|
mode?: string;
|
|
59
59
|
/**
|
|
60
60
|
* @remarks
|
|
61
|
-
* The URLs of
|
|
61
|
+
* 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.
|
|
62
62
|
* Example: ["https://example.com/person.jpg"]
|
|
63
63
|
*/
|
|
64
64
|
personReferenceImageUrls?: string[];
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
* The
|
|
67
|
+
* 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.
|
|
68
68
|
* Example: ["https://example.com/product.png"]
|
|
69
69
|
*/
|
|
70
70
|
productImageUrls?: string[];
|
|
71
71
|
/**
|
|
72
72
|
* @remarks
|
|
73
|
-
* The target product information.
|
|
73
|
+
* The target product information. Specify this parameter to improve voiceover accuracy.
|
|
74
74
|
*/
|
|
75
75
|
productInfo?: EcomVideoRecreationRequestInputProductInfo;
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The HTTP(S) URL of the reference video. The video duration must be
|
|
78
|
+
* 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.
|
|
79
79
|
*
|
|
80
80
|
* This parameter is required.
|
|
81
81
|
*
|
|
@@ -97,10 +97,10 @@ export declare class EcomVideoRecreationRequestInput extends $dara.Model {
|
|
|
97
97
|
export declare class EcomVideoRecreationRequestOutput extends $dara.Model {
|
|
98
98
|
/**
|
|
99
99
|
* @remarks
|
|
100
|
-
* The target duration in seconds.
|
|
100
|
+
* 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.
|
|
101
101
|
*
|
|
102
102
|
* @example
|
|
103
|
-
*
|
|
103
|
+
* -1
|
|
104
104
|
*/
|
|
105
105
|
duration?: number;
|
|
106
106
|
/**
|
|
@@ -133,7 +133,7 @@ export declare class EcomVideoRecreationRequestOutput extends $dara.Model {
|
|
|
133
133
|
export declare class EcomVideoRecreationRequest extends $dara.Model {
|
|
134
134
|
/**
|
|
135
135
|
* @remarks
|
|
136
|
-
* The input parameters for video
|
|
136
|
+
* The input parameters for video multiplication.
|
|
137
137
|
*
|
|
138
138
|
* This parameter is required.
|
|
139
139
|
*/
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class EcomVideoRecreationResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The asynchronous task ID
|
|
5
|
+
* The asynchronous task ID used to query results with QueryAsyncTaskResult.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* task_778fa8bd21804828a5d147050e30edac
|
|
@@ -22,7 +22,7 @@ export declare class EcomVideoRecreationResponseBodyData extends $dara.Model {
|
|
|
22
22
|
export declare class EcomVideoRecreationResponseBody extends $dara.Model {
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The result code. `success` indicates success. An error code is returned upon failure.
|
|
25
|
+
* The result code. A value of `success` indicates success. An error code is returned upon failure.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* success
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class EcomVideoRecreationShrinkRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The input parameters for video
|
|
5
|
+
* The input parameters for video multiplication.
|
|
6
6
|
*
|
|
7
7
|
* This parameter is required.
|
|
8
8
|
*/
|
|
@@ -23,7 +23,7 @@ export declare class ImageMattingRequest extends $dara.Model {
|
|
|
23
23
|
bgColor?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The URL of the original image. The image must be in JPG, JPEG, PNG, BMP, or WEBP format
|
|
26
|
+
* 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"`
|
|
27
27
|
*
|
|
28
28
|
* This parameter is required.
|
|
29
29
|
*
|
|
@@ -10,7 +10,7 @@ export declare class ImageMattingResponseBodyData extends $dara.Model {
|
|
|
10
10
|
height?: number;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The URL of the matting result
|
|
13
|
+
* The URL of the image matting result.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* http://dashscope-7c2c.oss-cn-shanghai.aliyuncs.com/xxx.jpg
|
|
@@ -18,7 +18,7 @@ export declare class ImageMattingResponseBodyData extends $dara.Model {
|
|
|
18
18
|
imageUrl?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The
|
|
21
|
+
* The quality score of the image matting result.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* 0.11
|
|
@@ -86,7 +86,6 @@ export declare class ImageMattingResponseBody extends $dara.Model {
|
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
88
|
* Indicates whether the call is successful. Valid values:
|
|
89
|
-
*
|
|
90
89
|
* - true: Successful.
|
|
91
90
|
* - false: Failed.
|
|
92
91
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageMattingResponseBody.js","sourceRoot":"","sources":["../../src/models/ImageMattingResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAyC3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,QAAQ;YAClB,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACvE,KAAK,EAAE,QAAQ;SAChB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;YACjB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACzC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvED,oEAuEC;AAED,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ImageMattingResponseBody.js","sourceRoot":"","sources":["../../src/models/ImageMattingResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAyC3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,QAAQ;YAClB,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACvE,KAAK,EAAE,QAAQ;SAChB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;YACjB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACzC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvED,oEAuEC;AAED,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IAwCvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,4BAA4B;YAClC,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtED,4DAsEC"}
|
|
@@ -12,7 +12,7 @@ export declare class ImageRecognitionRequest extends $dara.Model {
|
|
|
12
12
|
imageUrl?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The
|
|
15
|
+
* 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.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* [1,2,3,4]
|
|
@@ -20,7 +20,7 @@ export declare class ImageRecognitionRequest extends $dara.Model {
|
|
|
20
20
|
nonObjectDetectElements?: number[];
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* The
|
|
23
|
+
* 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.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* [1,2,3,4]
|
|
@@ -74,7 +74,7 @@ export declare class ImageRecognitionResponseBodyData extends $dara.Model {
|
|
|
74
74
|
objWatermark?: boolean;
|
|
75
75
|
/**
|
|
76
76
|
* @remarks
|
|
77
|
-
* The
|
|
77
|
+
* The number of products.
|
|
78
78
|
*
|
|
79
79
|
* @example
|
|
80
80
|
* 2
|
|
@@ -82,7 +82,7 @@ export declare class ImageRecognitionResponseBodyData extends $dara.Model {
|
|
|
82
82
|
pdNum?: number;
|
|
83
83
|
/**
|
|
84
84
|
* @remarks
|
|
85
|
-
* The product
|
|
85
|
+
* The proportion of the product in the image.
|
|
86
86
|
*
|
|
87
87
|
* @example
|
|
88
88
|
* 74.15%
|
|
@@ -95,7 +95,7 @@ export declare class ImageRecognitionResponseBodyData extends $dara.Model {
|
|
|
95
95
|
recText?: string[];
|
|
96
96
|
/**
|
|
97
97
|
* @remarks
|
|
98
|
-
* The text
|
|
98
|
+
* The proportion of text in the image.
|
|
99
99
|
*
|
|
100
100
|
* @example
|
|
101
101
|
* 7.52%
|
|
@@ -125,7 +125,7 @@ export declare class ImageRecognitionResponseBodyData extends $dara.Model {
|
|
|
125
125
|
export declare class ImageRecognitionResponseBody extends $dara.Model {
|
|
126
126
|
/**
|
|
127
127
|
* @remarks
|
|
128
|
-
* The error code. This parameter is not returned
|
|
128
|
+
* The error code. This parameter is not returned if the call is successful.
|
|
129
129
|
*
|
|
130
130
|
* @example
|
|
131
131
|
* 200
|
|
@@ -138,7 +138,7 @@ export declare class ImageRecognitionResponseBody extends $dara.Model {
|
|
|
138
138
|
data?: ImageRecognitionResponseBodyData;
|
|
139
139
|
/**
|
|
140
140
|
* @remarks
|
|
141
|
-
* The error message. This parameter is not returned
|
|
141
|
+
* The error message. This parameter is not returned if the call is successful.
|
|
142
142
|
*
|
|
143
143
|
* @example
|
|
144
144
|
* OK
|
|
@@ -12,7 +12,7 @@ export declare class ImageRecognitionShrinkRequest extends $dara.Model {
|
|
|
12
12
|
imageUrl?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The
|
|
15
|
+
* 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.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* [1,2,3,4]
|
|
@@ -20,7 +20,7 @@ export declare class ImageRecognitionShrinkRequest extends $dara.Model {
|
|
|
20
20
|
nonObjectDetectElementsShrink?: string;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* The
|
|
23
|
+
* 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.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* [1,2,3,4]
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageRemovalProResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The URL of the result image. This parameter is returned in synchronous mode.
|
|
5
|
+
* The URL of the erasure result image. This parameter is returned in synchronous mode.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 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
|
|
@@ -10,7 +10,7 @@ export declare class ImageRemovalProResponseBodyData extends $dara.Model {
|
|
|
10
10
|
imageUrl?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The asynchronous task ID. This parameter is returned in asynchronous mode and is used to query
|
|
13
|
+
* The asynchronous task ID. This parameter is returned in asynchronous mode and is used to query task results.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* ed9d8504-6141-9fbb-8345-4fa36433483f
|
|
@@ -45,7 +45,7 @@ export declare class ImageRemovalProResponseBody extends $dara.Model {
|
|
|
45
45
|
code?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The
|
|
48
|
+
* The Intelligent Eraser Pro result.
|
|
49
49
|
*/
|
|
50
50
|
data?: ImageRemovalProResponseBodyData;
|
|
51
51
|
/**
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageRemoveRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* 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
|
|
5
|
+
* 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.
|
|
6
6
|
*
|
|
7
7
|
* This parameter is required.
|
|
8
8
|
*
|
|
@@ -13,7 +13,7 @@ export declare class ImageRemoveRequest extends $dara.Model {
|
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
15
|
* The specific removal area. This parameter must be used with the editor. The input format is RLE.
|
|
16
|
-
* If
|
|
16
|
+
* 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.
|
|
17
17
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
@@ -22,9 +22,9 @@ export declare class ImageRemoveRequest extends $dara.Model {
|
|
|
22
22
|
mask?: string;
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The elements to remove from the non-subject area of the image (1=transparent text blocks, 2=specific names, 3=text, 4=
|
|
25
|
+
* 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.
|
|
26
26
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
27
|
-
* Refer to the product description for details
|
|
27
|
+
* Refer to the product description for details about each type.
|
|
28
28
|
*
|
|
29
29
|
* @example
|
|
30
30
|
* [1,2]
|
|
@@ -32,9 +32,9 @@ export declare class ImageRemoveRequest extends $dara.Model {
|
|
|
32
32
|
nonObjectRemoveElements?: number[];
|
|
33
33
|
/**
|
|
34
34
|
* @remarks
|
|
35
|
-
* The elements to remove from the image subject (1=transparent text blocks, 2=specific names, 3=text, 4=
|
|
35
|
+
* 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.
|
|
36
36
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
37
|
-
* Refer to the product description for details
|
|
37
|
+
* Refer to the product description for details about each type.
|
|
38
38
|
* Image subject: The core product area in the image.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
@@ -43,7 +43,7 @@ export declare class ImageRemoveRequest extends $dara.Model {
|
|
|
43
43
|
objectRemoveElements?: number[];
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* 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
|
|
46
|
+
* 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.
|
|
47
47
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
48
48
|
*
|
|
49
49
|
* @example
|
|
@@ -52,7 +52,7 @@ export declare class ImageRemoveRequest extends $dara.Model {
|
|
|
52
52
|
position?: string;
|
|
53
53
|
/**
|
|
54
54
|
* @remarks
|
|
55
|
-
* 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
|
|
55
|
+
* 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.
|
|
56
56
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
@@ -61,7 +61,7 @@ export declare class ImageRemoveRequest extends $dara.Model {
|
|
|
61
61
|
userImage?: string[];
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The user-specified text to remove. Multiple text inputs are supported. The input format is ["xx","yy"]. This parameter is
|
|
64
|
+
* 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.
|
|
65
65
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageRemoveResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The height of the result image in pixels.
|
|
5
|
+
* The height of the result image, in pixels.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 800
|
|
@@ -29,7 +29,7 @@ export declare class ImageRemoveResponseBodyData extends $dara.Model {
|
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The width of the result image in pixels.
|
|
32
|
+
* The width of the result image, in pixels.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* 800
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageRemoveShrinkRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* 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
|
|
5
|
+
* 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.
|
|
6
6
|
*
|
|
7
7
|
* This parameter is required.
|
|
8
8
|
*
|
|
@@ -13,7 +13,7 @@ export declare class ImageRemoveShrinkRequest extends $dara.Model {
|
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
15
|
* The specific removal area. This parameter must be used with the editor. The input format is RLE.
|
|
16
|
-
* If
|
|
16
|
+
* 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.
|
|
17
17
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
@@ -22,9 +22,9 @@ export declare class ImageRemoveShrinkRequest extends $dara.Model {
|
|
|
22
22
|
mask?: string;
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The elements to remove from the non-subject area of the image (1=transparent text blocks, 2=specific names, 3=text, 4=
|
|
25
|
+
* 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.
|
|
26
26
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
27
|
-
* Refer to the product description for details
|
|
27
|
+
* Refer to the product description for details about each type.
|
|
28
28
|
*
|
|
29
29
|
* @example
|
|
30
30
|
* [1,2]
|
|
@@ -32,9 +32,9 @@ export declare class ImageRemoveShrinkRequest extends $dara.Model {
|
|
|
32
32
|
nonObjectRemoveElementsShrink?: string;
|
|
33
33
|
/**
|
|
34
34
|
* @remarks
|
|
35
|
-
* The elements to remove from the image subject (1=transparent text blocks, 2=specific names, 3=text, 4=
|
|
35
|
+
* 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.
|
|
36
36
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
37
|
-
* Refer to the product description for details
|
|
37
|
+
* Refer to the product description for details about each type.
|
|
38
38
|
* Image subject: The core product area in the image.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
@@ -43,7 +43,7 @@ export declare class ImageRemoveShrinkRequest extends $dara.Model {
|
|
|
43
43
|
objectRemoveElementsShrink?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* 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
|
|
46
|
+
* 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.
|
|
47
47
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
48
48
|
*
|
|
49
49
|
* @example
|
|
@@ -52,7 +52,7 @@ export declare class ImageRemoveShrinkRequest extends $dara.Model {
|
|
|
52
52
|
position?: string;
|
|
53
53
|
/**
|
|
54
54
|
* @remarks
|
|
55
|
-
* 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
|
|
55
|
+
* 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.
|
|
56
56
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
@@ -61,7 +61,7 @@ export declare class ImageRemoveShrinkRequest extends $dara.Model {
|
|
|
61
61
|
userImageShrink?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The user-specified text to remove. Multiple text inputs are supported. The input format is ["xx","yy"]. This parameter is
|
|
64
|
+
* 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.
|
|
65
65
|
* When multiple parameters are specified, the priority order is: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageTranslationPlusResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The asynchronous task ID. Use
|
|
5
|
+
* The asynchronous task ID. Use this ID to poll for results through the queryTaskResult API operation.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* task-abc123
|
|
@@ -22,7 +22,7 @@ export declare class ImageTranslationPlusResponseBodyData extends $dara.Model {
|
|
|
22
22
|
export declare class ImageTranslationPlusResponseBody extends $dara.Model {
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The error code. This parameter is not returned
|
|
25
|
+
* The error code. This parameter is not returned if the call is successful.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* 200
|
|
@@ -35,7 +35,7 @@ export declare class ImageTranslationPlusResponseBody extends $dara.Model {
|
|
|
35
35
|
data?: ImageTranslationPlusResponseBodyData;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The error message. This parameter is not returned
|
|
38
|
+
* The error message. This parameter is not returned if the call is successful.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* OK
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageTranslationProRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* 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
|
|
5
|
+
* 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.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* true
|
|
@@ -23,7 +23,7 @@ export declare class ImageTranslationProRequest extends $dara.Model {
|
|
|
23
23
|
* Image requirements:
|
|
24
24
|
* - Image URL: Must be publicly accessible.
|
|
25
25
|
* - Format: png, jpeg, jpg, bmp, or webp.
|
|
26
|
-
* - Pixels:
|
|
26
|
+
* - Pixels: Both width and height must not exceed 4000.
|
|
27
27
|
* - File size: The original file must be 10 MB or smaller.
|
|
28
28
|
*
|
|
29
29
|
* This parameter is required.
|
|
@@ -34,7 +34,7 @@ export declare class ImageTranslationProRequest extends $dara.Model {
|
|
|
34
34
|
imageUrl?: string;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* Specifies whether to translate text on the image subject. This parameter is optional. Default value: false.
|
|
37
|
+
* 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.
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
40
|
* false
|
|
@@ -42,7 +42,7 @@ export declare class ImageTranslationProRequest extends $dara.Model {
|
|
|
42
42
|
includingProductArea?: boolean;
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The source language code. This parameter is required. For supported language directions, see [Language
|
|
45
|
+
* 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).
|
|
46
46
|
*
|
|
47
47
|
* This parameter is required.
|
|
48
48
|
*
|
|
@@ -52,7 +52,7 @@ export declare class ImageTranslationProRequest extends $dara.Model {
|
|
|
52
52
|
sourceLanguage?: string;
|
|
53
53
|
/**
|
|
54
54
|
* @remarks
|
|
55
|
-
* The target language code. This parameter is required. For supported language directions, see [Language
|
|
55
|
+
* 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).
|
|
56
56
|
*
|
|
57
57
|
* This parameter is required.
|
|
58
58
|
*
|
|
@@ -62,7 +62,7 @@ export declare class ImageTranslationProRequest extends $dara.Model {
|
|
|
62
62
|
targetLanguage?: string;
|
|
63
63
|
/**
|
|
64
64
|
* @remarks
|
|
65
|
-
* Specifies whether to translate brand names on
|
|
65
|
+
* 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.
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
68
68
|
* false
|