@alicloud/aidge20260428 5.4.0 → 5.6.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 +548 -456
- package/dist/client.js +623 -456
- package/dist/client.js.map +1 -1
- package/dist/models/AssetOptimizeLiteRequest.d.ts +2 -2
- package/dist/models/AssetOptimizeLiteResponseBody.d.ts +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 +2 -2
- 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 +4 -4
- package/dist/models/ImageRecognitionResponseBody.d.ts +5 -5
- package/dist/models/ImageRecognitionShrinkRequest.d.ts +4 -4
- 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 +10 -10
- package/dist/models/ImageTranslationProResponseBody.d.ts +11 -11
- package/dist/models/ImageTranslationStandardRequest.d.ts +4 -4
- 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/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/TextTranslateRequest.d.ts +6 -15
- package/dist/models/TextTranslateRequest.js.map +1 -1
- package/dist/models/TextTranslateResponseBody.d.ts +5 -5
- package/dist/models/TextTranslateShrinkRequest.d.ts +6 -15
- package/dist/models/TextTranslateShrinkRequest.js.map +1 -1
- package/dist/models/VideoTranslationRequest.d.ts +1 -1
- package/dist/models/VideoTranslationShrinkRequest.d.ts +1 -1
- package/dist/models/VirtualTryOnRequest.d.ts +51 -0
- package/dist/models/VirtualTryOnRequest.js +64 -0
- package/dist/models/VirtualTryOnRequest.js.map +1 -0
- package/dist/models/VirtualTryOnResponse.d.ts +19 -0
- package/dist/models/VirtualTryOnResponse.js +69 -0
- package/dist/models/VirtualTryOnResponse.js.map +1 -0
- package/dist/models/VirtualTryOnResponseBody.d.ts +77 -0
- package/dist/models/VirtualTryOnResponseBody.js +93 -0
- package/dist/models/VirtualTryOnResponseBody.js.map +1 -0
- 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 +8 -0
- package/dist/models/model.js +19 -3
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +638 -456
- package/src/models/AssetOptimizeLiteRequest.ts +2 -2
- package/src/models/AssetOptimizeLiteResponseBody.ts +1 -1
- 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 +2 -2
- 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 +4 -4
- package/src/models/ImageRecognitionResponseBody.ts +5 -5
- package/src/models/ImageRecognitionShrinkRequest.ts +4 -4
- 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 +10 -10
- package/src/models/ImageTranslationProResponseBody.ts +11 -11
- package/src/models/ImageTranslationStandardRequest.ts +4 -4
- 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/SubmitProductMatchRequest.ts +102 -0
- package/src/models/SubmitProductMatchResponse.ts +40 -0
- package/src/models/SubmitProductMatchResponseBody.ts +116 -0
- package/src/models/TextTranslateRequest.ts +6 -15
- package/src/models/TextTranslateResponseBody.ts +5 -5
- package/src/models/TextTranslateShrinkRequest.ts +6 -15
- package/src/models/VideoTranslationRequest.ts +1 -1
- package/src/models/VideoTranslationShrinkRequest.ts +1 -1
- package/src/models/VirtualTryOnRequest.ts +70 -0
- package/src/models/VirtualTryOnResponse.ts +40 -0
- package/src/models/VirtualTryOnResponseBody.ts +114 -0
- 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 +8 -0
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CategoryMatchResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The matched category
|
|
5
|
+
* The ID of the matched category.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 1522
|
|
@@ -10,7 +10,7 @@ export declare class CategoryMatchResponseBodyData extends $dara.Model {
|
|
|
10
10
|
categoryId?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The matched category
|
|
13
|
+
* The name of the matched category.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 位置和活动跟踪器
|
|
@@ -18,7 +18,7 @@ export declare class CategoryMatchResponseBodyData extends $dara.Model {
|
|
|
18
18
|
categoryName?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The full path of the category, separated by
|
|
21
|
+
* The full path of the category, separated by forward slashes (/).
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* 宠物用品/猫用品/猫挂饰、项圈、牵引带/位置和活动跟踪器
|
|
@@ -26,7 +26,7 @@ export declare class CategoryMatchResponseBodyData extends $dara.Model {
|
|
|
26
26
|
categoryPath?: string;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The
|
|
29
|
+
* The match confidence score. Valid values: 0 to 100.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* 96
|
|
@@ -34,7 +34,7 @@ export declare class CategoryMatchResponseBodyData extends $dara.Model {
|
|
|
34
34
|
confidence?: number;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* Indicates whether the matching is successful.
|
|
37
|
+
* Indicates whether the category matching is successful.
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
40
|
* true
|
|
@@ -42,10 +42,10 @@ export declare class CategoryMatchResponseBodyData extends $dara.Model {
|
|
|
42
42
|
matchSuccessful?: boolean;
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The
|
|
45
|
+
* The reason for the category match.
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
|
-
* The product
|
|
48
|
+
* The core product is a cat collar with AirTag positioning functionality, belonging to the \\"Location and Activity Trackers\\" category. The leaf node semantically matches its tracking functionality and cat-use attributes precisely
|
|
49
49
|
*/
|
|
50
50
|
reason?: string;
|
|
51
51
|
/**
|
|
@@ -90,7 +90,7 @@ export declare class CategoryMatchResponseBody extends $dara.Model {
|
|
|
90
90
|
message?: string;
|
|
91
91
|
/**
|
|
92
92
|
* @remarks
|
|
93
|
-
* The request ID, which uniquely identifies the
|
|
93
|
+
* The request ID, which uniquely identifies the request.
|
|
94
94
|
*
|
|
95
95
|
* @example
|
|
96
96
|
* 2157065A-D6C8-1F3E-A4D0-B1234567890
|
|
@@ -54,7 +54,7 @@ export declare class DiduiAreaDeductionRequestProductsBoxes extends $dara.Model
|
|
|
54
54
|
export declare class DiduiAreaDeductionRequestProducts extends $dara.Model {
|
|
55
55
|
/**
|
|
56
56
|
* @remarks
|
|
57
|
-
* The
|
|
57
|
+
* The instance boxes for the current SKU. The coordinate range is 0 to 1000.
|
|
58
58
|
*
|
|
59
59
|
* This parameter is required.
|
|
60
60
|
*/
|
|
@@ -90,7 +90,7 @@ export declare class DiduiAreaDeductionRequest extends $dara.Model {
|
|
|
90
90
|
products?: DiduiAreaDeductionRequestProducts[];
|
|
91
91
|
/**
|
|
92
92
|
* @remarks
|
|
93
|
-
* The ID of the customer-specific SKU vector
|
|
93
|
+
* 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.
|
|
94
94
|
*
|
|
95
95
|
* @example
|
|
96
96
|
* rag_xxx
|
|
@@ -55,7 +55,7 @@ export declare class DiduiAreaDeductionResponseBodyDataResult extends $dara.Mode
|
|
|
55
55
|
export declare class DiduiAreaDeductionResponseBodyData extends $dara.Model {
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The number of downstream
|
|
58
|
+
* The number of downstream calls.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
61
|
* 1
|
|
@@ -87,7 +87,7 @@ export declare class DiduiAreaDeductionResponseBodyData extends $dara.Model {
|
|
|
87
87
|
latencyMs?: number;
|
|
88
88
|
/**
|
|
89
89
|
* @remarks
|
|
90
|
-
* The workflow description
|
|
90
|
+
* The workflow description.
|
|
91
91
|
*
|
|
92
92
|
* @example
|
|
93
93
|
* Success
|
|
@@ -124,7 +124,7 @@ export declare class DiduiAreaDeductionResponseBodyData extends $dara.Model {
|
|
|
124
124
|
status?: string;
|
|
125
125
|
/**
|
|
126
126
|
* @remarks
|
|
127
|
-
*
|
|
127
|
+
* Indicates whether the workflow execution is successful.
|
|
128
128
|
*
|
|
129
129
|
* @example
|
|
130
130
|
* True
|
|
@@ -183,7 +183,7 @@ export declare class DiduiAreaDeductionResponseBody extends $dara.Model {
|
|
|
183
183
|
requestId?: string;
|
|
184
184
|
/**
|
|
185
185
|
* @remarks
|
|
186
|
-
* Indicates whether the call
|
|
186
|
+
* Indicates whether the call is successful.
|
|
187
187
|
*
|
|
188
188
|
* @example
|
|
189
189
|
* True
|
|
@@ -9,7 +9,7 @@ export declare class DiduiAreaDeductionShrinkRequest extends $dara.Model {
|
|
|
9
9
|
productsShrink?: string;
|
|
10
10
|
/**
|
|
11
11
|
* @remarks
|
|
12
|
-
* The ID of the customer-specific SKU vector
|
|
12
|
+
* 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.
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
15
|
* rag_xxx
|
|
@@ -16,7 +16,7 @@ export declare class DocumentTranslateRequest extends $dara.Model {
|
|
|
16
16
|
fileType?: string;
|
|
17
17
|
/**
|
|
18
18
|
* @remarks
|
|
19
|
-
* The glossary ID. Specify this parameter when you need the glossary feature. Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value).
|
|
19
|
+
* The glossary ID. Specify this parameter when you need the glossary 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 scenarios such as brand name protection.
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
22
22
|
* glossary_1
|
|
@@ -34,7 +34,7 @@ export declare class DocumentTranslateRequest extends $dara.Model {
|
|
|
34
34
|
targetLanguage?: string;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* The OSS URL
|
|
37
|
+
* The OSS URL of the document to be translated.
|
|
38
38
|
*
|
|
39
39
|
* This parameter is required.
|
|
40
40
|
*
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class DocumentTranslateResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The unique identifier of the asynchronous task
|
|
5
|
+
* The unique identifier of the asynchronous task. Use this ID to query the task status and result.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 6071a030-5c92-9df1-96d0-44952343439a
|
|
@@ -44,7 +44,7 @@ export declare class DocumentTranslateResponseBody extends $dara.Model {
|
|
|
44
44
|
message?: string;
|
|
45
45
|
/**
|
|
46
46
|
* @remarks
|
|
47
|
-
* The unique request identity, used for troubleshooting and
|
|
47
|
+
* The unique request identity, used for troubleshooting and Tracing Analysis.
|
|
48
48
|
*
|
|
49
49
|
* @example
|
|
50
50
|
* 39E8A74B-F99E-1195-A5FF-3ECC5F94F304
|
|
@@ -52,7 +52,7 @@ export declare class DocumentTranslateResponseBody extends $dara.Model {
|
|
|
52
52
|
requestId?: string;
|
|
53
53
|
/**
|
|
54
54
|
* @remarks
|
|
55
|
-
* Indicates whether the call
|
|
55
|
+
* Indicates whether the call is successful. true: The call is successful. false: The call failed.
|
|
56
56
|
*
|
|
57
57
|
* @example
|
|
58
58
|
* True
|
|
@@ -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 list of non-subject element types to detect. Valid values: 1 (background), 2 (border), 3 (watermark), 4 (splice).
|
|
15
|
+
* The list of non-subject element types to detect. Valid values: 1 (background), 2 (border), 3 (watermark), and 4 (splice).
|
|
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 list of subject element types to detect. Valid values: 1 (product subject), 2 (model), 3 (text), 4 (logo).
|
|
23
|
+
* The list of subject element types to detect. Valid values: 1 (product subject), 2 (model), 3 (text), and 4 (logo).
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* [1,2,3,4]
|
|
@@ -44,7 +44,7 @@ export declare class ImageRecognitionRequest extends $dara.Model {
|
|
|
44
44
|
returnCharacter?: number;
|
|
45
45
|
/**
|
|
46
46
|
* @remarks
|
|
47
|
-
* Specifies whether to return text
|
|
47
|
+
* Specifies whether to return text property information. Valid values: 1 (return) and 0 (do not return).
|
|
48
48
|
*
|
|
49
49
|
* @example
|
|
50
50
|
* 1
|
|
@@ -60,7 +60,7 @@ export declare class ImageRecognitionRequest extends $dara.Model {
|
|
|
60
60
|
returnProductNum?: number;
|
|
61
61
|
/**
|
|
62
62
|
* @remarks
|
|
63
|
-
* Specifies whether to return product
|
|
63
|
+
* Specifies whether to return product property information. Valid values: 1 (return) and 0 (do not return).
|
|
64
64
|
*
|
|
65
65
|
* @example
|
|
66
66
|
* 1
|
|
@@ -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 area 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 the text area 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 list of non-subject element types to detect. Valid values: 1 (background), 2 (border), 3 (watermark), 4 (splice).
|
|
15
|
+
* The list of non-subject element types to detect. Valid values: 1 (background), 2 (border), 3 (watermark), and 4 (splice).
|
|
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 list of subject element types to detect. Valid values: 1 (product subject), 2 (model), 3 (text), 4 (logo).
|
|
23
|
+
* The list of subject element types to detect. Valid values: 1 (product subject), 2 (model), 3 (text), and 4 (logo).
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* [1,2,3,4]
|
|
@@ -44,7 +44,7 @@ export declare class ImageRecognitionShrinkRequest extends $dara.Model {
|
|
|
44
44
|
returnCharacter?: number;
|
|
45
45
|
/**
|
|
46
46
|
* @remarks
|
|
47
|
-
* Specifies whether to return text
|
|
47
|
+
* Specifies whether to return text property information. Valid values: 1 (return) and 0 (do not return).
|
|
48
48
|
*
|
|
49
49
|
* @example
|
|
50
50
|
* 1
|
|
@@ -60,7 +60,7 @@ export declare class ImageRecognitionShrinkRequest extends $dara.Model {
|
|
|
60
60
|
returnProductNum?: number;
|
|
61
61
|
/**
|
|
62
62
|
* @remarks
|
|
63
|
-
* Specifies whether to return product
|
|
63
|
+
* Specifies whether to return product property information. Valid values: 1 (return) and 0 (do not return).
|
|
64
64
|
*
|
|
65
65
|
* @example
|
|
66
66
|
* 1
|
|
@@ -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
|