@alicloud/aidge20260428 5.10.1 → 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 +816 -672
- package/dist/client.js +900 -672
- 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 +119 -0
- package/dist/models/GenerateProductContentRequest.js +80 -0
- package/dist/models/GenerateProductContentRequest.js.map +1 -0
- package/dist/models/GenerateProductContentResponse.d.ts +19 -0
- package/dist/models/GenerateProductContentResponse.js +69 -0
- package/dist/models/GenerateProductContentResponse.js.map +1 -0
- package/dist/models/GenerateProductContentResponseBody.d.ts +111 -0
- package/dist/models/GenerateProductContentResponseBody.js +109 -0
- package/dist/models/GenerateProductContentResponseBody.js.map +1 -0
- 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 +10 -0
- package/dist/models/model.js +27 -7
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +918 -672
- 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 +154 -0
- package/src/models/GenerateProductContentResponse.ts +40 -0
- package/src/models/GenerateProductContentResponseBody.ts +164 -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 +10 -0
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageMattingResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The height of the result image
|
|
5
|
+
* The height of the result image. Unit: pixels.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 800
|
|
@@ -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 image
|
|
13
|
+
* The URL of the result image.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* http://dashscope-7c2c.oss-cn-shanghai.aliyuncs.com/xxx.jpg
|
|
@@ -18,12 +18,31 @@ export declare class ImageMattingResponseBodyData extends $dara.Model {
|
|
|
18
18
|
imageUrl?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The quality score
|
|
21
|
+
* The matting quality score.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* 0.11
|
|
25
25
|
*/
|
|
26
26
|
score?: number;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The returned layer information. This includes the URL of the original image, the URL of the matting result, and the matting area information.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* "origin_url": "xxx",
|
|
33
|
+
* "score": "xxx",
|
|
34
|
+
* "file": "xxxx",
|
|
35
|
+
* "extra_info": "",
|
|
36
|
+
* "pass": "xx",
|
|
37
|
+
* "bbox": "xxx",
|
|
38
|
+
* "plain_url": "xxxxxx",
|
|
39
|
+
* "image_shape": [
|
|
40
|
+
* xxx,
|
|
41
|
+
* xxx
|
|
42
|
+
* ],
|
|
43
|
+
* "url": "xxx"
|
|
44
|
+
*/
|
|
45
|
+
structData?: any;
|
|
27
46
|
/**
|
|
28
47
|
* @remarks
|
|
29
48
|
* The usage information.
|
|
@@ -36,7 +55,7 @@ export declare class ImageMattingResponseBodyData extends $dara.Model {
|
|
|
36
55
|
};
|
|
37
56
|
/**
|
|
38
57
|
* @remarks
|
|
39
|
-
* The width of the result image
|
|
58
|
+
* The width of the result image. Unit: pixels.
|
|
40
59
|
*
|
|
41
60
|
* @example
|
|
42
61
|
* 800
|
|
@@ -64,7 +83,7 @@ export declare class ImageMattingResponseBody extends $dara.Model {
|
|
|
64
83
|
code?: string;
|
|
65
84
|
/**
|
|
66
85
|
* @remarks
|
|
67
|
-
* The matting result.
|
|
86
|
+
* The image matting result.
|
|
68
87
|
*/
|
|
69
88
|
data?: ImageMattingResponseBodyData;
|
|
70
89
|
/**
|
|
@@ -86,8 +105,8 @@ export declare class ImageMattingResponseBody extends $dara.Model {
|
|
|
86
105
|
/**
|
|
87
106
|
* @remarks
|
|
88
107
|
* Indicates whether the call is successful. Valid values:
|
|
89
|
-
* - true:
|
|
90
|
-
* - false:
|
|
108
|
+
* - true: The call is successful.
|
|
109
|
+
* - false: The call fails.
|
|
91
110
|
*
|
|
92
111
|
* @example
|
|
93
112
|
* True
|
|
@@ -42,6 +42,7 @@ class ImageMattingResponseBodyData extends $dara.Model {
|
|
|
42
42
|
height: 'Height',
|
|
43
43
|
imageUrl: 'ImageUrl',
|
|
44
44
|
score: 'Score',
|
|
45
|
+
structData: 'StructData',
|
|
45
46
|
usageMap: 'UsageMap',
|
|
46
47
|
width: 'Width',
|
|
47
48
|
};
|
|
@@ -51,6 +52,7 @@ class ImageMattingResponseBodyData extends $dara.Model {
|
|
|
51
52
|
height: 'number',
|
|
52
53
|
imageUrl: 'string',
|
|
53
54
|
score: 'number',
|
|
55
|
+
structData: 'any',
|
|
54
56
|
usageMap: { 'type': 'map', 'keyType': 'string', 'valueType': 'number' },
|
|
55
57
|
width: 'number',
|
|
56
58
|
};
|
|
@@ -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;
|
|
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;IA4D3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,OAAO;YACd,UAAU,EAAE,YAAY;YACxB,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,UAAU,EAAE,KAAK;YACjB,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;AA5FD,oEA4FC;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"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageRecognitionAsyncRequest 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 ImageRecognitionAsyncRequest 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 ImageRecognitionAsyncRequest 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
|
nonObjectDetectElements?: number[];
|
|
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
|
objectDetectElements?: number[];
|
|
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 ImageRecognitionAsyncRequest 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 ImageRecognitionAsyncRequest 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 ImageRecognitionAsyncRequest 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 ImageRecognitionAsyncRequest 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":"ImageRecognitionAsyncRequest.js","sourceRoot":"","sources":["../../src/models/ImageRecognitionAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ImageRecognitionAsyncRequest.js","sourceRoot":"","sources":["../../src/models/ImageRecognitionAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAwE3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,uBAAuB,EAAE,yBAAyB;YAClD,oBAAoB,EAAE,sBAAsB;YAC5C,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,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,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,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,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjHD,oEAiHC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageRecognitionAsyncResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The task
|
|
5
|
+
* The ID of the task. It is used to query the result of the asynchronous task.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* TID_550e8400-e29b-41d4-a716-446655440000
|
|
@@ -30,12 +30,12 @@ export declare class ImageRecognitionAsyncResponseBody extends $dara.Model {
|
|
|
30
30
|
code?: string;
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The struct information of the
|
|
33
|
+
* The returned struct information of the result.
|
|
34
34
|
*/
|
|
35
35
|
data?: ImageRecognitionAsyncResponseBodyData;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The error message, such as
|
|
38
|
+
* The error message, such as The parameter contains sensitive information. Try another input.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* OK
|
|
@@ -43,7 +43,7 @@ export declare class ImageRecognitionAsyncResponseBody extends $dara.Model {
|
|
|
43
43
|
message?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The request
|
|
46
|
+
* The ID of the request. It is used to identify a unique request.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
|
|
@@ -51,9 +51,7 @@ export declare class ImageRecognitionAsyncResponseBody extends $dara.Model {
|
|
|
51
51
|
requestId?: string;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
* Indicates whether the call is successful. Valid values:
|
|
55
|
-
* - true: successful
|
|
56
|
-
* - false: failed
|
|
54
|
+
* Indicates whether the call is successful. Valid values: true: Successful. false: Failed.
|
|
57
55
|
*
|
|
58
56
|
* @example
|
|
59
57
|
* True
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageRecognitionAsyncResponseBody.js","sourceRoot":"","sources":["../../src/models/ImageRecognitionAsyncResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IASpE,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,sFA4BC;AAED,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ImageRecognitionAsyncResponseBody.js","sourceRoot":"","sources":["../../src/models/ImageRecognitionAsyncResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IASpE,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,sFA4BC;AAED,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IAsChE,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,qCAAqC;YAC3C,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,8EAoEC"}
|
|
@@ -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
|