@alicloud/aidge20260428 5.11.0 → 5.12.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 +803 -674
- package/dist/client.js +830 -674
- package/dist/client.js.map +1 -1
- package/dist/models/AddDisplayKnowledgeRequest.d.ts +2 -2
- package/dist/models/AddDisplayKnowledgeResponseBody.d.ts +7 -7
- package/dist/models/AiTryOnRequest.d.ts +3 -3
- package/dist/models/AiTryOnResponseBody.d.ts +2 -4
- package/dist/models/AiTryOnResponseBody.js.map +1 -1
- package/dist/models/AssetOptimizeLiteRequest.d.ts +1 -1
- package/dist/models/AssetOptimizeLiteResponseBody.d.ts +2 -2
- package/dist/models/AssetOptimizeProRequest.d.ts +12 -12
- package/dist/models/AssetOptimizeProResponseBody.d.ts +6 -6
- package/dist/models/AssetOptimizeProShrinkRequest.d.ts +12 -12
- package/dist/models/CategoryAttributeMatchRequest.d.ts +9 -9
- package/dist/models/CategoryAttributeMatchResponseBody.d.ts +13 -13
- package/dist/models/CategoryAttributeMatchShrinkRequest.d.ts +9 -9
- package/dist/models/CategoryMatchRequest.d.ts +10 -10
- package/dist/models/CategoryMatchResponseBody.d.ts +12 -12
- package/dist/models/DeleteDisplayKnowledgeRequest.d.ts +1 -1
- package/dist/models/DeleteDisplayKnowledgeResponseBody.d.ts +8 -8
- package/dist/models/DeleteDisplayKnowledgeShrinkRequest.d.ts +1 -1
- package/dist/models/DiduiAreaDeductionProResponseBody.d.ts +4 -4
- package/dist/models/DiduiAreaDeductionRequest.d.ts +8 -8
- package/dist/models/DiduiAreaDeductionResponseBody.d.ts +6 -6
- package/dist/models/DiduiAreaDeductionShrinkRequest.d.ts +3 -3
- package/dist/models/DocumentTranslateRequest.d.ts +6 -7
- package/dist/models/DocumentTranslateRequest.js.map +1 -1
- package/dist/models/DocumentTranslateResponseBody.d.ts +8 -6
- package/dist/models/DocumentTranslateResponseBody.js.map +1 -1
- package/dist/models/EcomVideoRecreationRequest.d.ts +15 -15
- package/dist/models/EcomVideoRecreationResponseBody.d.ts +1 -1
- package/dist/models/EcomVideoRecreationShrinkRequest.d.ts +2 -2
- package/dist/models/GeneralRephotographyDetectionRequest.d.ts +1 -1
- package/dist/models/GeneralRephotographyDetectionResponseBody.d.ts +11 -11
- package/dist/models/GenerateProductContentRequest.d.ts +37 -3
- package/dist/models/GenerateProductContentRequest.js.map +1 -1
- package/dist/models/GenerateProductContentResponseBody.d.ts +40 -0
- package/dist/models/GenerateProductContentResponseBody.js.map +1 -1
- package/dist/models/ImageCroppingRequest.d.ts +1 -1
- package/dist/models/ImageCroppingResponseBody.d.ts +1 -3
- package/dist/models/ImageCroppingResponseBody.js.map +1 -1
- package/dist/models/ImageMattingAsyncRequest.d.ts +2 -2
- package/dist/models/ImageMattingAsyncResponseBody.d.ts +4 -6
- package/dist/models/ImageMattingAsyncResponseBody.js.map +1 -1
- package/dist/models/ImageMattingRequest.d.ts +5 -6
- package/dist/models/ImageMattingRequest.js.map +1 -1
- package/dist/models/ImageMattingResponseBody.d.ts +26 -7
- package/dist/models/ImageMattingResponseBody.js +2 -0
- package/dist/models/ImageMattingResponseBody.js.map +1 -1
- package/dist/models/ImageRecognitionAsyncRequest.d.ts +10 -35
- package/dist/models/ImageRecognitionAsyncRequest.js.map +1 -1
- package/dist/models/ImageRecognitionAsyncResponseBody.d.ts +5 -7
- package/dist/models/ImageRecognitionAsyncResponseBody.js.map +1 -1
- package/dist/models/ImageRecognitionAsyncShrinkRequest.d.ts +10 -35
- package/dist/models/ImageRecognitionAsyncShrinkRequest.js.map +1 -1
- package/dist/models/ImageRecognitionRequest.d.ts +4 -4
- package/dist/models/ImageRecognitionResponseBody.d.ts +7 -7
- package/dist/models/ImageRecognitionShrinkRequest.d.ts +4 -4
- package/dist/models/ImageRemovalProAsyncRequest.d.ts +2 -3
- package/dist/models/ImageRemovalProAsyncRequest.js.map +1 -1
- package/dist/models/ImageRemovalProAsyncResponseBody.d.ts +5 -5
- package/dist/models/ImageRemovalProRequest.d.ts +2 -3
- package/dist/models/ImageRemovalProRequest.js.map +1 -1
- package/dist/models/ImageRemovalProResponseBody.d.ts +6 -6
- package/dist/models/ImageRemoveAsyncRequest.d.ts +7 -18
- package/dist/models/ImageRemoveAsyncRequest.js.map +1 -1
- package/dist/models/ImageRemoveAsyncResponseBody.d.ts +5 -7
- package/dist/models/ImageRemoveAsyncResponseBody.js.map +1 -1
- package/dist/models/ImageRemoveAsyncShrinkRequest.d.ts +7 -18
- package/dist/models/ImageRemoveAsyncShrinkRequest.js.map +1 -1
- package/dist/models/ImageTranslationPlusAsyncRequest.d.ts +10 -10
- package/dist/models/ImageTranslationPlusAsyncResponseBody.d.ts +6 -6
- package/dist/models/ImageTranslationPlusRequest.d.ts +2 -2
- package/dist/models/ImageTranslationPlusResponseBody.d.ts +5 -5
- package/dist/models/ImageTranslationProAsyncRequest.d.ts +6 -6
- package/dist/models/ImageTranslationProAsyncResponseBody.d.ts +5 -5
- package/dist/models/ImageTranslationProRequest.d.ts +16 -17
- package/dist/models/ImageTranslationProRequest.js.map +1 -1
- package/dist/models/ImageTranslationProResponseBody.d.ts +24 -26
- package/dist/models/ImageTranslationProResponseBody.js.map +1 -1
- package/dist/models/ImageTranslationStandardAsyncRequest.d.ts +2 -2
- package/dist/models/ImageTranslationStandardAsyncResponseBody.d.ts +3 -3
- package/dist/models/ImageTranslationStandardRequest.d.ts +12 -12
- package/dist/models/ImageTranslationStandardResponseBody.d.ts +54 -9
- package/dist/models/ImageTranslationStandardResponseBody.js.map +1 -1
- package/dist/models/ImageUpscaleRequest.d.ts +31 -0
- package/dist/models/ImageUpscaleRequest.js +60 -0
- package/dist/models/ImageUpscaleRequest.js.map +1 -0
- package/dist/models/ImageUpscaleResponse.d.ts +19 -0
- package/dist/models/ImageUpscaleResponse.js +69 -0
- package/dist/models/ImageUpscaleResponse.js.map +1 -0
- package/dist/models/ImageUpscaleResponseBody.d.ts +160 -0
- package/dist/models/ImageUpscaleResponseBody.js +146 -0
- package/dist/models/ImageUpscaleResponseBody.js.map +1 -0
- package/dist/models/QueryDisplayKnowledgeRequest.d.ts +1 -1
- package/dist/models/QueryDisplayKnowledgeResponseBody.d.ts +11 -11
- package/dist/models/QueryDisplayKnowledgeShrinkRequest.d.ts +1 -1
- package/dist/models/SizeChartExtractAsyncRequest.d.ts +3 -3
- package/dist/models/SizeChartExtractAsyncResponseBody.d.ts +2 -2
- package/dist/models/SizeChartExtractAsyncShrinkRequest.d.ts +3 -3
- package/dist/models/TextTranslateAsyncRequest.d.ts +12 -12
- package/dist/models/TextTranslateAsyncResponseBody.d.ts +3 -3
- package/dist/models/TextTranslateAsyncShrinkRequest.d.ts +12 -12
- package/dist/models/UpdateDisplayKnowledgeRequest.d.ts +1 -1
- package/dist/models/UpdateDisplayKnowledgeResponseBody.d.ts +6 -6
- package/dist/models/UpdateDisplayKnowledgeShrinkRequest.d.ts +1 -1
- package/dist/models/VideoTranslationRequest.d.ts +17 -8
- package/dist/models/VideoTranslationRequest.js.map +1 -1
- package/dist/models/VideoTranslationResponseBody.d.ts +6 -4
- package/dist/models/VideoTranslationResponseBody.js.map +1 -1
- package/dist/models/VideoTranslationShrinkRequest.d.ts +17 -8
- package/dist/models/VideoTranslationShrinkRequest.js.map +1 -1
- package/dist/models/VirtualTryOnRequest.d.ts +3 -3
- package/dist/models/VirtualTryOnResponseBody.d.ts +7 -5
- package/dist/models/VirtualTryOnResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +6 -0
- package/dist/models/model.js +18 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +834 -674
- package/src/models/AddDisplayKnowledgeRequest.ts +2 -2
- package/src/models/AddDisplayKnowledgeResponseBody.ts +7 -7
- package/src/models/AiTryOnRequest.ts +3 -3
- package/src/models/AiTryOnResponseBody.ts +2 -4
- package/src/models/AssetOptimizeLiteRequest.ts +1 -1
- package/src/models/AssetOptimizeLiteResponseBody.ts +2 -2
- package/src/models/AssetOptimizeProRequest.ts +12 -12
- package/src/models/AssetOptimizeProResponseBody.ts +6 -6
- package/src/models/AssetOptimizeProShrinkRequest.ts +12 -12
- package/src/models/CategoryAttributeMatchRequest.ts +9 -9
- package/src/models/CategoryAttributeMatchResponseBody.ts +13 -13
- package/src/models/CategoryAttributeMatchShrinkRequest.ts +9 -9
- package/src/models/CategoryMatchRequest.ts +10 -10
- package/src/models/CategoryMatchResponseBody.ts +12 -12
- package/src/models/DeleteDisplayKnowledgeRequest.ts +1 -1
- package/src/models/DeleteDisplayKnowledgeResponseBody.ts +8 -8
- package/src/models/DeleteDisplayKnowledgeShrinkRequest.ts +1 -1
- package/src/models/DiduiAreaDeductionProResponseBody.ts +4 -4
- package/src/models/DiduiAreaDeductionRequest.ts +8 -8
- package/src/models/DiduiAreaDeductionResponseBody.ts +6 -6
- package/src/models/DiduiAreaDeductionShrinkRequest.ts +3 -3
- package/src/models/DocumentTranslateRequest.ts +6 -7
- package/src/models/DocumentTranslateResponseBody.ts +8 -6
- package/src/models/EcomVideoRecreationRequest.ts +15 -15
- package/src/models/EcomVideoRecreationResponseBody.ts +1 -1
- package/src/models/EcomVideoRecreationShrinkRequest.ts +2 -2
- package/src/models/GeneralRephotographyDetectionRequest.ts +1 -1
- package/src/models/GeneralRephotographyDetectionResponseBody.ts +11 -11
- package/src/models/GenerateProductContentRequest.ts +37 -3
- package/src/models/GenerateProductContentResponseBody.ts +40 -0
- package/src/models/ImageCroppingRequest.ts +1 -1
- package/src/models/ImageCroppingResponseBody.ts +1 -3
- package/src/models/ImageMattingAsyncRequest.ts +2 -2
- package/src/models/ImageMattingAsyncResponseBody.ts +4 -6
- package/src/models/ImageMattingRequest.ts +5 -6
- package/src/models/ImageMattingResponseBody.ts +28 -7
- package/src/models/ImageRecognitionAsyncRequest.ts +10 -35
- package/src/models/ImageRecognitionAsyncResponseBody.ts +5 -7
- package/src/models/ImageRecognitionAsyncShrinkRequest.ts +10 -35
- package/src/models/ImageRecognitionRequest.ts +4 -4
- package/src/models/ImageRecognitionResponseBody.ts +7 -7
- package/src/models/ImageRecognitionShrinkRequest.ts +4 -4
- package/src/models/ImageRemovalProAsyncRequest.ts +2 -3
- package/src/models/ImageRemovalProAsyncResponseBody.ts +5 -5
- package/src/models/ImageRemovalProRequest.ts +2 -3
- package/src/models/ImageRemovalProResponseBody.ts +6 -6
- package/src/models/ImageRemoveAsyncRequest.ts +7 -18
- package/src/models/ImageRemoveAsyncResponseBody.ts +5 -7
- package/src/models/ImageRemoveAsyncShrinkRequest.ts +7 -18
- package/src/models/ImageTranslationPlusAsyncRequest.ts +10 -10
- package/src/models/ImageTranslationPlusAsyncResponseBody.ts +6 -6
- package/src/models/ImageTranslationPlusRequest.ts +2 -2
- package/src/models/ImageTranslationPlusResponseBody.ts +5 -5
- package/src/models/ImageTranslationProAsyncRequest.ts +6 -6
- package/src/models/ImageTranslationProAsyncResponseBody.ts +5 -5
- package/src/models/ImageTranslationProRequest.ts +17 -18
- package/src/models/ImageTranslationProResponseBody.ts +24 -26
- package/src/models/ImageTranslationStandardAsyncRequest.ts +2 -2
- package/src/models/ImageTranslationStandardAsyncResponseBody.ts +3 -3
- package/src/models/ImageTranslationStandardRequest.ts +12 -12
- package/src/models/ImageTranslationStandardResponseBody.ts +54 -9
- package/src/models/ImageUpscaleRequest.ts +46 -0
- package/src/models/ImageUpscaleResponse.ts +40 -0
- package/src/models/ImageUpscaleResponseBody.ts +234 -0
- package/src/models/QueryDisplayKnowledgeRequest.ts +1 -1
- package/src/models/QueryDisplayKnowledgeResponseBody.ts +11 -11
- package/src/models/QueryDisplayKnowledgeShrinkRequest.ts +1 -1
- package/src/models/SizeChartExtractAsyncRequest.ts +3 -3
- package/src/models/SizeChartExtractAsyncResponseBody.ts +2 -2
- package/src/models/SizeChartExtractAsyncShrinkRequest.ts +3 -3
- package/src/models/TextTranslateAsyncRequest.ts +12 -12
- package/src/models/TextTranslateAsyncResponseBody.ts +3 -3
- package/src/models/TextTranslateAsyncShrinkRequest.ts +12 -12
- package/src/models/UpdateDisplayKnowledgeRequest.ts +1 -1
- package/src/models/UpdateDisplayKnowledgeResponseBody.ts +6 -6
- package/src/models/UpdateDisplayKnowledgeShrinkRequest.ts +1 -1
- package/src/models/VideoTranslationRequest.ts +17 -8
- package/src/models/VideoTranslationResponseBody.ts +6 -4
- package/src/models/VideoTranslationShrinkRequest.ts +17 -8
- package/src/models/VirtualTryOnRequest.ts +3 -3
- package/src/models/VirtualTryOnResponseBody.ts +7 -5
- package/src/models/model.ts +6 -0
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The business ID of the caller. It is recorded upon acceptance and returned as is when you query the result of the asynchronous task.
|
|
5
|
+
* The business order ID of the caller. It is recorded upon acceptance and returned as is when you query the result of the asynchronous task.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* order-20260928-001
|
|
@@ -10,7 +10,7 @@ export declare class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
|
|
|
10
10
|
bizId?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The image
|
|
13
|
+
* The URL of the image. The image must be in JPG, JPEG, PNG, BMP, or WEBP format. The resolution must be between 256 × 256 and 3000 × 3000 pixels, and the file size cannot exceed 10 MB.
|
|
14
14
|
*
|
|
15
15
|
* This parameter is required.
|
|
16
16
|
*
|
|
@@ -20,30 +20,17 @@ export declare class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
|
|
|
20
20
|
imageUrl?: string;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* The types of elements to
|
|
24
|
-
* - 1: watermark
|
|
25
|
-
* - 2: logo
|
|
26
|
-
* - 3: text
|
|
27
|
-
* - 4: text-containing color block
|
|
28
|
-
* You can specify multiple values. This parameter and ObjectDetectElements cannot be empty at the same time.
|
|
23
|
+
* The types of elements to be detected outside the image subject. Valid values: 1: Watermark. 2: Logo. 3: Text. 4: Text-containing color block. You can specify multiple values. This parameter and ObjectDetectElements cannot be both empty.
|
|
29
24
|
*/
|
|
30
25
|
nonObjectDetectElementsShrink?: string;
|
|
31
26
|
/**
|
|
32
27
|
* @remarks
|
|
33
|
-
* The types of elements to
|
|
34
|
-
* - 1: watermark
|
|
35
|
-
* - 2: logo
|
|
36
|
-
* - 3: text
|
|
37
|
-
* - 4: text-containing color block
|
|
38
|
-
* You can specify multiple values.
|
|
28
|
+
* The types of elements to be detected on the image subject. Valid values: 1: Watermark. 2: Logo. 3: Text. 4: Text-containing color block. You can specify multiple values.
|
|
39
29
|
*/
|
|
40
30
|
objectDetectElementsShrink?: string;
|
|
41
31
|
/**
|
|
42
32
|
* @remarks
|
|
43
|
-
* Specifies whether to return the marginalization distance of the subject. Valid values:
|
|
44
|
-
* - 1: yes
|
|
45
|
-
* - 0: no
|
|
46
|
-
* Default value: 0.
|
|
33
|
+
* Specifies whether to return the marginalization distance of the subject. Valid values: 1: Yes. 0: No. Default value: 0.
|
|
47
34
|
*
|
|
48
35
|
* @example
|
|
49
36
|
* 1
|
|
@@ -51,10 +38,7 @@ export declare class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
|
|
|
51
38
|
returnBorderPixel?: number;
|
|
52
39
|
/**
|
|
53
40
|
* @remarks
|
|
54
|
-
* Specifies whether to return the OCR result of the text in the recognized area. Valid values:
|
|
55
|
-
* - 1: yes
|
|
56
|
-
* - 0: no
|
|
57
|
-
* Default value: 0.
|
|
41
|
+
* Specifies whether to return the OCR result of the text in the recognized area. Valid values: 1: Yes. 0: No. Default value: 0.
|
|
58
42
|
*
|
|
59
43
|
* @example
|
|
60
44
|
* 1
|
|
@@ -62,13 +46,10 @@ export declare class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
|
|
|
62
46
|
returnCharacter?: number;
|
|
63
47
|
/**
|
|
64
48
|
* @remarks
|
|
65
|
-
* Specifies whether to return the text proportion. Valid values:
|
|
66
|
-
* - 1: yes
|
|
67
|
-
* - 0: no
|
|
68
|
-
* Default value: 0.
|
|
49
|
+
* Specifies whether to return the text proportion. Valid values: 1: Yes. 0: No. Default value: 0.
|
|
69
50
|
* This parameter takes effect only when the following two conditions are met:
|
|
70
51
|
* 1. ReturnCharacter is set to 1.
|
|
71
|
-
* 2. ObjectDetectElements or NonObjectDetectElements is set to 3, which means text
|
|
52
|
+
* 2. ObjectDetectElements or NonObjectDetectElements is set to 3, which means text recognition is required.
|
|
72
53
|
*
|
|
73
54
|
* @example
|
|
74
55
|
* 1
|
|
@@ -76,10 +57,7 @@ export declare class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
|
|
|
76
57
|
returnCharacterProp?: number;
|
|
77
58
|
/**
|
|
78
59
|
* @remarks
|
|
79
|
-
* Specifies whether to return the number of subjects. Valid values:
|
|
80
|
-
* - 1: yes
|
|
81
|
-
* - 0: no
|
|
82
|
-
* Default value: 0.
|
|
60
|
+
* Specifies whether to return the number of subjects. Valid values: 1: Yes. 0: No. Default value: 0.
|
|
83
61
|
*
|
|
84
62
|
* @example
|
|
85
63
|
* 1
|
|
@@ -87,10 +65,7 @@ export declare class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
|
|
|
87
65
|
returnProductNum?: number;
|
|
88
66
|
/**
|
|
89
67
|
* @remarks
|
|
90
|
-
* Specifies whether to return the area proportion of the subject. Valid values:
|
|
91
|
-
* - 1: yes
|
|
92
|
-
* - 0: no
|
|
93
|
-
* Default value: 0.
|
|
68
|
+
* Specifies whether to return the area proportion of the subject. Valid values: 1: Yes. 0: No. Default value: 0.
|
|
94
69
|
*
|
|
95
70
|
* @example
|
|
96
71
|
* 1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageRecognitionAsyncShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ImageRecognitionAsyncShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ImageRecognitionAsyncShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ImageRecognitionAsyncShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IAwEjE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,6BAA6B,EAAE,yBAAyB;YACxD,0BAA0B,EAAE,sBAAsB;YAClD,iBAAiB,EAAE,mBAAmB;YACtC,eAAe,EAAE,iBAAiB;YAClC,mBAAmB,EAAE,qBAAqB;YAC1C,gBAAgB,EAAE,kBAAkB;YACpC,iBAAiB,EAAE,mBAAmB;SACvC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;YAClB,6BAA6B,EAAE,QAAQ;YACvC,0BAA0B,EAAE,QAAQ;YACpC,iBAAiB,EAAE,QAAQ;YAC3B,eAAe,EAAE,QAAQ;YACzB,mBAAmB,EAAE,QAAQ;YAC7B,gBAAgB,EAAE,QAAQ;YAC1B,iBAAiB,EAAE,QAAQ;SAC5B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA3GD,gFA2GC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageRecognitionRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The URL of the image to
|
|
5
|
+
* The URL of the image to be recognized.
|
|
6
6
|
*
|
|
7
7
|
* This parameter is required.
|
|
8
8
|
*
|
|
@@ -12,7 +12,7 @@ export declare class ImageRecognitionRequest extends $dara.Model {
|
|
|
12
12
|
imageUrl?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The
|
|
15
|
+
* The elements to detect outside the image subject. Valid values: 1 (watermark), 2 (logo), 3 (text), and 4 (text-containing color block). You can specify multiple values. This parameter and ObjectDetectElements cannot be empty at the same time.
|
|
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 elements to detect on the image subject. Valid values: 1 (watermark), 2 (logo), 3 (text), and 4 (text-containing color block). You can specify multiple values.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* [1,2,3,4]
|
|
@@ -52,7 +52,7 @@ export declare class ImageRecognitionRequest extends $dara.Model {
|
|
|
52
52
|
returnCharacterProp?: number;
|
|
53
53
|
/**
|
|
54
54
|
* @remarks
|
|
55
|
-
* Specifies whether to return the product
|
|
55
|
+
* Specifies whether to return the product quantity. Valid values: 1 (return) and 0 (do not return).
|
|
56
56
|
*
|
|
57
57
|
* @example
|
|
58
58
|
* 1
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageRecognitionResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The border pixel information,
|
|
5
|
+
* The border pixel information, which is a comma-separated string.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 8,10,0,1,330,330
|
|
@@ -74,7 +74,7 @@ export declare class ImageRecognitionResponseBodyData extends $dara.Model {
|
|
|
74
74
|
objWatermark?: boolean;
|
|
75
75
|
/**
|
|
76
76
|
* @remarks
|
|
77
|
-
* The
|
|
77
|
+
* The product quantity.
|
|
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
|
|
85
|
+
* The product proportion.
|
|
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
|
|
98
|
+
* The text proportion.
|
|
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 when 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 when the call is successful.
|
|
142
142
|
*
|
|
143
143
|
* @example
|
|
144
144
|
* OK
|
|
@@ -154,7 +154,7 @@ export declare class ImageRecognitionResponseBody extends $dara.Model {
|
|
|
154
154
|
requestId?: string;
|
|
155
155
|
/**
|
|
156
156
|
* @remarks
|
|
157
|
-
* Indicates whether the call
|
|
157
|
+
* Indicates whether the call was successful.
|
|
158
158
|
*
|
|
159
159
|
* @example
|
|
160
160
|
* True
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageRecognitionShrinkRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The URL of the image to
|
|
5
|
+
* The URL of the image to be recognized.
|
|
6
6
|
*
|
|
7
7
|
* This parameter is required.
|
|
8
8
|
*
|
|
@@ -12,7 +12,7 @@ export declare class ImageRecognitionShrinkRequest extends $dara.Model {
|
|
|
12
12
|
imageUrl?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The
|
|
15
|
+
* The elements to detect outside the image subject. Valid values: 1 (watermark), 2 (logo), 3 (text), and 4 (text-containing color block). You can specify multiple values. This parameter and ObjectDetectElements cannot be empty at the same time.
|
|
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 elements to detect on the image subject. Valid values: 1 (watermark), 2 (logo), 3 (text), and 4 (text-containing color block). You can specify multiple values.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* [1,2,3,4]
|
|
@@ -52,7 +52,7 @@ export declare class ImageRecognitionShrinkRequest extends $dara.Model {
|
|
|
52
52
|
returnCharacterProp?: number;
|
|
53
53
|
/**
|
|
54
54
|
* @remarks
|
|
55
|
-
* Specifies whether to return the product
|
|
55
|
+
* Specifies whether to return the product quantity. Valid values: 1 (return) and 0 (do not return).
|
|
56
56
|
*
|
|
57
57
|
* @example
|
|
58
58
|
* 1
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageRemovalProAsyncRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The business
|
|
5
|
+
* The business ID of the caller. This ID is recorded when the request is accepted and returned as-is when you query the asynchronous task result.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* order-20260928-001
|
|
@@ -10,8 +10,7 @@ export declare class ImageRemovalProAsyncRequest extends $dara.Model {
|
|
|
10
10
|
bizId?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The URL of the original image. The image must be in
|
|
14
|
-
* · Resolution: 256×256 to 3000×3000. File size: ≤ 10 MB.
|
|
13
|
+
* 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, and the file size must be less than or equal to 10 MB.
|
|
15
14
|
*
|
|
16
15
|
* This parameter is required.
|
|
17
16
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageRemovalProAsyncRequest.js","sourceRoot":"","sources":["../../src/models/ImageRemovalProAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ImageRemovalProAsyncRequest.js","sourceRoot":"","sources":["../../src/models/ImageRemovalProAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAmB1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxCD,kEAwCC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageRemovalProAsyncResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The ID of the task
|
|
5
|
+
* The ID of the task used to query the asynchronous task result.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* TID_550e8400-e29b-41d4-a716-446655440000
|
|
@@ -35,7 +35,7 @@ export declare class ImageRemovalProAsyncResponseBody extends $dara.Model {
|
|
|
35
35
|
data?: ImageRemovalProAsyncResponseBodyData;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The error message. This parameter is not returned for successful calls. Example: "The parameters contain sensitive information.
|
|
38
|
+
* The error message. This parameter is not returned for successful calls. Example: "The parameters contain sensitive information. Please try another input."
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* OK
|
|
@@ -43,7 +43,7 @@ export declare class ImageRemovalProAsyncResponseBody extends $dara.Model {
|
|
|
43
43
|
message?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The
|
|
46
|
+
* The request ID, which uniquely identifies the request.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
|
|
@@ -52,8 +52,8 @@ export declare class ImageRemovalProAsyncResponseBody extends $dara.Model {
|
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
54
|
* Indicates whether the call is successful. Valid values:
|
|
55
|
-
* - true: successful.
|
|
56
|
-
* - false:
|
|
55
|
+
* - true: The call is successful.
|
|
56
|
+
* - false: The call fails.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* True
|
|
@@ -2,10 +2,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageRemovalProRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
*
|
|
5
|
+
* Specifies the call type. Valid values:
|
|
6
6
|
* - true: Asynchronous.
|
|
7
7
|
* - false: Synchronous.
|
|
8
|
-
*
|
|
9
8
|
* Default value: false.
|
|
10
9
|
*
|
|
11
10
|
* @example
|
|
@@ -14,7 +13,7 @@ export declare class ImageRemovalProRequest extends $dara.Model {
|
|
|
14
13
|
async?: boolean;
|
|
15
14
|
/**
|
|
16
15
|
* @remarks
|
|
17
|
-
* The URL of the image to
|
|
16
|
+
* The URL of the image to be processed.
|
|
18
17
|
*
|
|
19
18
|
* This parameter is required.
|
|
20
19
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageRemovalProRequest.js","sourceRoot":"","sources":["../../src/models/ImageRemovalProRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sBAAuB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ImageRemovalProRequest.js","sourceRoot":"","sources":["../../src/models/ImageRemovalProRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sBAAuB,SAAQ,KAAK,CAAC,KAAK;IAsBrD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,SAAS;YAChB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA3CD,wDA2CC"}
|
|
@@ -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
|
|
5
|
+
* The URL of the 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
|
|
13
|
+
* The ID of the asynchronous task. This parameter is returned in asynchronous mode and is used to query the task result.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* ed9d8504-6141-9fbb-8345-4fa36433483f
|
|
@@ -37,7 +37,7 @@ export declare class ImageRemovalProResponseBodyData extends $dara.Model {
|
|
|
37
37
|
export declare class ImageRemovalProResponseBody extends $dara.Model {
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The error code. This parameter is not returned
|
|
40
|
+
* The error code. This parameter is not returned when the call is successful.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* 200
|
|
@@ -45,12 +45,12 @@ export declare class ImageRemovalProResponseBody extends $dara.Model {
|
|
|
45
45
|
code?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The
|
|
48
|
+
* The result of the intelligent object removal Pro operation.
|
|
49
49
|
*/
|
|
50
50
|
data?: ImageRemovalProResponseBodyData;
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
|
-
* The error message. This parameter is not returned
|
|
53
|
+
* The error message. This parameter is not returned when the call is successful.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
56
|
* OK
|
|
@@ -68,7 +68,7 @@ export declare class ImageRemovalProResponseBody extends $dara.Model {
|
|
|
68
68
|
* @remarks
|
|
69
69
|
* Indicates whether the call is successful. Valid values:
|
|
70
70
|
* - true: The call is successful.
|
|
71
|
-
* - false: The call
|
|
71
|
+
* - false: The call fails.
|
|
72
72
|
*
|
|
73
73
|
* @example
|
|
74
74
|
* True
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageRemoveAsyncRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The business order ID of the caller.
|
|
5
|
+
* The business order ID of the caller. It is recorded upon acceptance and returned as is when querying the asynchronous task result.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* order-20260928-001
|
|
@@ -10,7 +10,7 @@ export declare class ImageRemoveAsyncRequest extends $dara.Model {
|
|
|
10
10
|
bizId?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* 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, and the file size
|
|
13
|
+
* 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, and the file size must not exceed 10 MB.
|
|
14
14
|
*
|
|
15
15
|
* This parameter is required.
|
|
16
16
|
*
|
|
@@ -20,9 +20,7 @@ export declare class ImageRemoveAsyncRequest extends $dara.Model {
|
|
|
20
20
|
imageUrl?: string;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* The specific area to
|
|
24
|
-
* If this parameter is specified, it takes precedence and the remove_non_product_area_elements and remove_product_area_elements parameters are ignored. This parameter is optional, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage.
|
|
25
|
-
* If multiple parameters are specified, the priority is as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
23
|
+
* The specific area to remove. This parameter must be used in conjunction with the editor. The input format is RLE. If this parameter is specified, it takes precedence and the remove_non_product_area_elements and remove_product_area_elements parameters are ignored. This parameter is not required, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage. If multiple parameters are specified, the priority takes effect as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
26
24
|
*
|
|
27
25
|
* @example
|
|
28
26
|
* "474556 160 475356 160 476156 160 476956 160 477756 160 478556 160 479356 160 480156 160 480956 160 481756 160 482556 160 483356 160 484156 160 484956 160 485756 160 486556 160 487356 160 488156 160 488956 160 489756 160 490556 160 491356 160 492156 160"
|
|
@@ -35,21 +33,12 @@ export declare class ImageRemoveAsyncRequest extends $dara.Model {
|
|
|
35
33
|
nonObjectRemoveElements?: number[];
|
|
36
34
|
/**
|
|
37
35
|
* @remarks
|
|
38
|
-
* The types of elements to remove from the image subject. Valid values:
|
|
39
|
-
* - 1: Transparent text blocks.
|
|
40
|
-
* - 2: Specific names.
|
|
41
|
-
* - 3: Text.
|
|
42
|
-
* - 4: Promotional stickers.
|
|
43
|
-
* You can select multiple element types. This parameter is optional, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage.
|
|
44
|
-
* If multiple parameters are specified, the priority is as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
45
|
-
* For more information about each type, see the product documentation.
|
|
46
|
-
* Image subject: the core product area in the image.
|
|
36
|
+
* The types of elements to remove from the image subject. Valid values: 1: transparent text blocks. 2: specific names. 3: text. 4: watermarks. You can select multiple element types. This parameter is not required, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage. If multiple parameters are specified, the priority takes effect as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements. For more information about each type, see the product documentation. Image subject: the core product area in the image.
|
|
47
37
|
*/
|
|
48
38
|
objectRemoveElements?: number[];
|
|
49
39
|
/**
|
|
50
40
|
* @remarks
|
|
51
|
-
* The specific area to
|
|
52
|
-
* If multiple parameters are specified, the priority is as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
41
|
+
* The specific area to remove. This parameter must be used in conjunction with the editor. The input format is four-point coordinates [xx,yy,zz,dd]. This parameter is not required, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage. If multiple parameters are specified, the priority takes effect as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
53
42
|
*
|
|
54
43
|
* @example
|
|
55
44
|
* [10,20,100,200]
|
|
@@ -57,12 +46,12 @@ export declare class ImageRemoveAsyncRequest extends $dara.Model {
|
|
|
57
46
|
position?: string;
|
|
58
47
|
/**
|
|
59
48
|
* @remarks
|
|
60
|
-
* The list of URLs
|
|
49
|
+
* The list of URLs of image elements to remove specified by the user.
|
|
61
50
|
*/
|
|
62
51
|
userImage?: string[];
|
|
63
52
|
/**
|
|
64
53
|
* @remarks
|
|
65
|
-
* The list of
|
|
54
|
+
* The list of text strings to remove specified by the user.
|
|
66
55
|
*/
|
|
67
56
|
userText?: string[];
|
|
68
57
|
static names(): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageRemoveAsyncRequest.js","sourceRoot":"","sources":["../../src/models/ImageRemoveAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uBAAwB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ImageRemoveAsyncRequest.js","sourceRoot":"","sources":["../../src/models/ImageRemoveAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uBAAwB,SAAQ,KAAK,CAAC,KAAK;IAuDtD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,MAAM;YACZ,uBAAuB,EAAE,yBAAyB;YAClD,oBAAoB,EAAE,sBAAsB;YAC5C,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,QAAQ;YACd,uBAAuB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAClE,oBAAoB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAC/D,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACpD,QAAQ,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;SACpD,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,CAAC,EAAE,CAAC;YAC/C,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;QAC1D,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,CAAC,EAAE,CAAC;YAC5C,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;QACvD,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;YACjC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC5C,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;YAChC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC3C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApGD,0DAoGC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageRemoveAsyncResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The task ID used to query the
|
|
5
|
+
* The task ID used to query the asynchronous task result.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* TID_550e8400-e29b-41d4-a716-446655440000
|
|
@@ -22,7 +22,7 @@ export declare class ImageRemoveAsyncResponseBodyData extends $dara.Model {
|
|
|
22
22
|
export declare class ImageRemoveAsyncResponseBody extends $dara.Model {
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The status code, such as
|
|
25
|
+
* The status code, such as success.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* success
|
|
@@ -35,7 +35,7 @@ export declare class ImageRemoveAsyncResponseBody extends $dara.Model {
|
|
|
35
35
|
data?: ImageRemoveAsyncResponseBodyData;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The error message, such as "The
|
|
38
|
+
* The error message, such as \\"The parameter contains sensitive information. Please try another input.\\"
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* OK
|
|
@@ -43,7 +43,7 @@ export declare class ImageRemoveAsyncResponseBody extends $dara.Model {
|
|
|
43
43
|
message?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The request ID, which is used to identify a unique request.
|
|
46
|
+
* The request ID, which is used to identify a unique request call.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
|
|
@@ -51,9 +51,7 @@ export declare class ImageRemoveAsyncResponseBody extends $dara.Model {
|
|
|
51
51
|
requestId?: string;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
* Indicates whether the call is successful. Valid values:
|
|
55
|
-
* - true: The call is successful.
|
|
56
|
-
* - false: The call fails.
|
|
54
|
+
* Indicates whether the call is successful. Valid values: true: The call is successful. false: The call failed.
|
|
57
55
|
*
|
|
58
56
|
* @example
|
|
59
57
|
* True
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageRemoveAsyncResponseBody.js","sourceRoot":"","sources":["../../src/models/ImageRemoveAsyncResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAS/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5BD,4EA4BC;AAED,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ImageRemoveAsyncResponseBody.js","sourceRoot":"","sources":["../../src/models/ImageRemoveAsyncResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAS/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5BD,4EA4BC;AAED,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAsC3D,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,gCAAgC;YACtC,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;AApED,oEAoEC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageRemoveAsyncShrinkRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The business order ID of the caller.
|
|
5
|
+
* The business order ID of the caller. It is recorded upon acceptance and returned as is when querying the asynchronous task result.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* order-20260928-001
|
|
@@ -10,7 +10,7 @@ export declare class ImageRemoveAsyncShrinkRequest extends $dara.Model {
|
|
|
10
10
|
bizId?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* 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, and the file size
|
|
13
|
+
* 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, and the file size must not exceed 10 MB.
|
|
14
14
|
*
|
|
15
15
|
* This parameter is required.
|
|
16
16
|
*
|
|
@@ -20,9 +20,7 @@ export declare class ImageRemoveAsyncShrinkRequest extends $dara.Model {
|
|
|
20
20
|
imageUrl?: string;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* The specific area to
|
|
24
|
-
* If this parameter is specified, it takes precedence and the remove_non_product_area_elements and remove_product_area_elements parameters are ignored. This parameter is optional, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage.
|
|
25
|
-
* If multiple parameters are specified, the priority is as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
23
|
+
* The specific area to remove. This parameter must be used in conjunction with the editor. The input format is RLE. If this parameter is specified, it takes precedence and the remove_non_product_area_elements and remove_product_area_elements parameters are ignored. This parameter is not required, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage. If multiple parameters are specified, the priority takes effect as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
26
24
|
*
|
|
27
25
|
* @example
|
|
28
26
|
* "474556 160 475356 160 476156 160 476956 160 477756 160 478556 160 479356 160 480156 160 480956 160 481756 160 482556 160 483356 160 484156 160 484956 160 485756 160 486556 160 487356 160 488156 160 488956 160 489756 160 490556 160 491356 160 492156 160"
|
|
@@ -35,21 +33,12 @@ export declare class ImageRemoveAsyncShrinkRequest extends $dara.Model {
|
|
|
35
33
|
nonObjectRemoveElementsShrink?: string;
|
|
36
34
|
/**
|
|
37
35
|
* @remarks
|
|
38
|
-
* The types of elements to remove from the image subject. Valid values:
|
|
39
|
-
* - 1: Transparent text blocks.
|
|
40
|
-
* - 2: Specific names.
|
|
41
|
-
* - 3: Text.
|
|
42
|
-
* - 4: Promotional stickers.
|
|
43
|
-
* You can select multiple element types. This parameter is optional, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage.
|
|
44
|
-
* If multiple parameters are specified, the priority is as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
45
|
-
* For more information about each type, see the product documentation.
|
|
46
|
-
* Image subject: the core product area in the image.
|
|
36
|
+
* The types of elements to remove from the image subject. Valid values: 1: transparent text blocks. 2: specific names. 3: text. 4: watermarks. You can select multiple element types. This parameter is not required, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage. If multiple parameters are specified, the priority takes effect as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements. For more information about each type, see the product documentation. Image subject: the core product area in the image.
|
|
47
37
|
*/
|
|
48
38
|
objectRemoveElementsShrink?: string;
|
|
49
39
|
/**
|
|
50
40
|
* @remarks
|
|
51
|
-
* The specific area to
|
|
52
|
-
* If multiple parameters are specified, the priority is as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
41
|
+
* The specific area to remove. This parameter must be used in conjunction with the editor. The input format is four-point coordinates [xx,yy,zz,dd]. This parameter is not required, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage. If multiple parameters are specified, the priority takes effect as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
|
|
53
42
|
*
|
|
54
43
|
* @example
|
|
55
44
|
* [10,20,100,200]
|
|
@@ -57,12 +46,12 @@ export declare class ImageRemoveAsyncShrinkRequest extends $dara.Model {
|
|
|
57
46
|
position?: string;
|
|
58
47
|
/**
|
|
59
48
|
* @remarks
|
|
60
|
-
* The list of URLs
|
|
49
|
+
* The list of URLs of image elements to remove specified by the user.
|
|
61
50
|
*/
|
|
62
51
|
userImageShrink?: string;
|
|
63
52
|
/**
|
|
64
53
|
* @remarks
|
|
65
|
-
* The list of
|
|
54
|
+
* The list of text strings to remove specified by the user.
|
|
66
55
|
*/
|
|
67
56
|
userTextShrink?: string;
|
|
68
57
|
static names(): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageRemoveAsyncShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ImageRemoveAsyncShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ImageRemoveAsyncShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ImageRemoveAsyncShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAuD5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,MAAM;YACZ,6BAA6B,EAAE,yBAAyB;YACxD,0BAA0B,EAAE,sBAAsB;YAClD,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,WAAW;YAC5B,cAAc,EAAE,UAAU;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,QAAQ;YACd,6BAA6B,EAAE,QAAQ;YACvC,0BAA0B,EAAE,QAAQ;YACpC,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;YACzB,cAAc,EAAE,QAAQ;SACzB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxFD,sEAwFC"}
|