@alicloud/aidge20260428 5.12.2 → 5.14.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 +774 -630
- package/dist/client.js +863 -630
- package/dist/client.js.map +1 -1
- package/dist/models/AddDisplayKnowledgeResponseBody.d.ts +3 -0
- package/dist/models/AddDisplayKnowledgeResponseBody.js.map +1 -1
- package/dist/models/AiTryOnRequest.d.ts +65 -8
- package/dist/models/AiTryOnRequest.js +10 -0
- package/dist/models/AiTryOnRequest.js.map +1 -1
- package/dist/models/AiTryOnResponseBody.d.ts +8 -8
- package/dist/models/CategoryAttributeMatchResponseBody.d.ts +3 -0
- package/dist/models/CategoryAttributeMatchResponseBody.js.map +1 -1
- package/dist/models/DeleteDisplayKnowledgeResponseBody.d.ts +3 -0
- package/dist/models/DeleteDisplayKnowledgeResponseBody.js.map +1 -1
- package/dist/models/DocumentTranslateRequest.d.ts +10 -7
- package/dist/models/DocumentTranslateRequest.js.map +1 -1
- package/dist/models/DocumentTranslateResponseBody.d.ts +3 -3
- package/dist/models/EcomVideoRecreationRequest.d.ts +11 -17
- package/dist/models/EcomVideoRecreationRequest.js.map +1 -1
- package/dist/models/EcomVideoRecreationResponseBody.d.ts +3 -3
- package/dist/models/EcomVideoRecreationShrinkRequest.d.ts +2 -2
- package/dist/models/GeneralRephotographyDetectionResponseBody.d.ts +4 -4
- package/dist/models/GenerateProductContentRequest.d.ts +11 -13
- package/dist/models/GenerateProductContentRequest.js.map +1 -1
- package/dist/models/GenerateProductContentResponseBody.d.ts +9 -7
- package/dist/models/GenerateProductContentResponseBody.js.map +1 -1
- package/dist/models/ImageMattingAsyncRequest.d.ts +1 -1
- package/dist/models/ImageMattingAsyncResponseBody.d.ts +2 -2
- package/dist/models/ImageRecognitionAsyncRequest.d.ts +14 -11
- package/dist/models/ImageRecognitionAsyncRequest.js.map +1 -1
- package/dist/models/ImageRecognitionAsyncResponseBody.d.ts +5 -5
- package/dist/models/ImageRecognitionAsyncShrinkRequest.d.ts +14 -11
- package/dist/models/ImageRecognitionAsyncShrinkRequest.js.map +1 -1
- package/dist/models/ImageRemovalProAsyncRequest.d.ts +1 -1
- package/dist/models/ImageRemovalProAsyncResponseBody.d.ts +5 -7
- package/dist/models/ImageRemovalProAsyncResponseBody.js.map +1 -1
- package/dist/models/ImageRemovalProResponseBody.d.ts +3 -0
- package/dist/models/ImageRemovalProResponseBody.js.map +1 -1
- package/dist/models/ImageRemoveAsyncRequest.d.ts +19 -8
- package/dist/models/ImageRemoveAsyncRequest.js.map +1 -1
- package/dist/models/ImageRemoveAsyncResponseBody.d.ts +8 -6
- package/dist/models/ImageRemoveAsyncResponseBody.js.map +1 -1
- package/dist/models/ImageRemoveAsyncShrinkRequest.d.ts +19 -8
- package/dist/models/ImageRemoveAsyncShrinkRequest.js.map +1 -1
- package/dist/models/ImageTranslationPlusAsyncRequest.d.ts +11 -11
- package/dist/models/ImageTranslationPlusAsyncResponseBody.d.ts +4 -4
- package/dist/models/ImageTranslationProAsyncRequest.d.ts +5 -5
- package/dist/models/ImageTranslationProAsyncResponseBody.d.ts +1 -1
- package/dist/models/ImageTranslationStandardAsyncRequest.d.ts +1 -1
- package/dist/models/ImageTranslationStandardAsyncResponseBody.d.ts +3 -3
- package/dist/models/ImageTranslationStandardRequest.d.ts +4 -4
- package/dist/models/ImageTranslationStandardResponseBody.d.ts +10 -10
- package/dist/models/ImageUpscaleRequest.d.ts +1 -1
- package/dist/models/ImageUpscaleResponseBody.d.ts +7 -7
- package/dist/models/MaterialInspectionRequest.d.ts +4 -4
- package/dist/models/MaterialInspectionResponseBody.d.ts +9 -9
- package/dist/models/MerchandisePlacementDetectionLiteResponseBody.d.ts +15 -12
- package/dist/models/MerchandisePlacementDetectionLiteResponseBody.js.map +1 -1
- package/dist/models/MerchandisePlacementDetectionProRequest.d.ts +5 -5
- package/dist/models/MerchandisePlacementDetectionProResponseBody.d.ts +6 -6
- package/dist/models/MerchandisePlacementDetectionRequest.d.ts +7 -7
- package/dist/models/MerchandisePlacementDetectionResponseBody.d.ts +19 -19
- package/dist/models/MerchandisePriceTagDetectionRequest.d.ts +1 -1
- package/dist/models/MerchandisePriceTagDetectionResponseBody.d.ts +11 -11
- package/dist/models/MerchandiseSceneDetectionRequest.d.ts +1 -1
- package/dist/models/MerchandiseSceneDetectionResponseBody.d.ts +16 -10
- package/dist/models/MerchandiseSceneDetectionResponseBody.js.map +1 -1
- package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.d.ts +7 -7
- package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.d.ts +12 -9
- package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.js.map +1 -1
- package/dist/models/PrepaidTextTranslateRequest.d.ts +8 -8
- package/dist/models/PrepaidTextTranslateResponseBody.d.ts +11 -8
- package/dist/models/PrepaidTextTranslateResponseBody.js.map +1 -1
- package/dist/models/PrepaidTextTranslateShrinkRequest.d.ts +8 -8
- package/dist/models/ProductVideoGenerationRequest.d.ts +62 -0
- package/dist/models/ProductVideoGenerationRequest.js +71 -0
- package/dist/models/ProductVideoGenerationRequest.js.map +1 -0
- package/dist/models/ProductVideoGenerationResponse.d.ts +19 -0
- package/dist/models/ProductVideoGenerationResponse.js +69 -0
- package/dist/models/ProductVideoGenerationResponse.js.map +1 -0
- package/dist/models/ProductVideoGenerationResponseBody.d.ts +86 -0
- package/dist/models/ProductVideoGenerationResponseBody.js +92 -0
- package/dist/models/ProductVideoGenerationResponseBody.js.map +1 -0
- package/dist/models/ProductVideoGenerationShrinkRequest.d.ts +62 -0
- package/dist/models/ProductVideoGenerationShrinkRequest.js +68 -0
- package/dist/models/ProductVideoGenerationShrinkRequest.js.map +1 -0
- package/dist/models/QueryDisplayKnowledgeResponseBody.d.ts +3 -0
- package/dist/models/QueryDisplayKnowledgeResponseBody.js.map +1 -1
- package/dist/models/SizeChartExtractAsyncRequest.d.ts +3 -3
- package/dist/models/SizeChartExtractAsyncResponseBody.d.ts +7 -5
- package/dist/models/SizeChartExtractAsyncResponseBody.js.map +1 -1
- package/dist/models/SizeChartExtractAsyncShrinkRequest.d.ts +3 -3
- package/dist/models/StorefrontSceneRecognitionRequest.d.ts +1 -1
- package/dist/models/StorefrontSceneRecognitionResponseBody.d.ts +9 -6
- package/dist/models/StorefrontSceneRecognitionResponseBody.js.map +1 -1
- package/dist/models/SubmitProductMatchRequest.d.ts +8 -8
- package/dist/models/SubmitProductMatchResponseBody.d.ts +7 -7
- package/dist/models/TextTranslateAsyncRequest.d.ts +9 -9
- package/dist/models/TextTranslateAsyncResponseBody.d.ts +6 -6
- package/dist/models/TextTranslateAsyncShrinkRequest.d.ts +9 -9
- package/dist/models/UpdateDisplayKnowledgeResponseBody.d.ts +3 -0
- package/dist/models/UpdateDisplayKnowledgeResponseBody.js.map +1 -1
- package/dist/models/VacancyDetectionRequest.d.ts +39 -0
- package/dist/models/VacancyDetectionRequest.js +62 -0
- package/dist/models/VacancyDetectionRequest.js.map +1 -0
- package/dist/models/VacancyDetectionResponse.d.ts +19 -0
- package/dist/models/VacancyDetectionResponse.js +69 -0
- package/dist/models/VacancyDetectionResponse.js.map +1 -0
- package/dist/models/VacancyDetectionResponseBody.d.ts +83 -0
- package/dist/models/VacancyDetectionResponseBody.js +93 -0
- package/dist/models/VacancyDetectionResponseBody.js.map +1 -0
- package/dist/models/VideoGenerationRequest.d.ts +18 -17
- package/dist/models/VideoGenerationRequest.js.map +1 -1
- package/dist/models/VideoGenerationResponseBody.d.ts +2 -2
- package/dist/models/VideoTranslationRequest.d.ts +8 -17
- package/dist/models/VideoTranslationRequest.js.map +1 -1
- package/dist/models/VideoTranslationResponseBody.d.ts +4 -6
- package/dist/models/VideoTranslationResponseBody.js.map +1 -1
- package/dist/models/VideoTranslationShrinkRequest.d.ts +8 -17
- package/dist/models/VideoTranslationShrinkRequest.js.map +1 -1
- package/dist/models/VirtualTryOnResponseBody.d.ts +7 -6
- package/dist/models/VirtualTryOnResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +9 -0
- package/dist/models/model.js +23 -5
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +882 -630
- package/src/models/AddDisplayKnowledgeResponseBody.ts +3 -0
- package/src/models/AiTryOnRequest.ts +75 -8
- package/src/models/AiTryOnResponseBody.ts +8 -8
- package/src/models/CategoryAttributeMatchResponseBody.ts +3 -0
- package/src/models/DeleteDisplayKnowledgeResponseBody.ts +3 -0
- package/src/models/DocumentTranslateRequest.ts +10 -7
- package/src/models/DocumentTranslateResponseBody.ts +3 -3
- package/src/models/EcomVideoRecreationRequest.ts +11 -17
- package/src/models/EcomVideoRecreationResponseBody.ts +3 -3
- package/src/models/EcomVideoRecreationShrinkRequest.ts +2 -2
- package/src/models/GeneralRephotographyDetectionResponseBody.ts +4 -4
- package/src/models/GenerateProductContentRequest.ts +11 -13
- package/src/models/GenerateProductContentResponseBody.ts +9 -7
- package/src/models/ImageMattingAsyncRequest.ts +1 -1
- package/src/models/ImageMattingAsyncResponseBody.ts +2 -2
- package/src/models/ImageRecognitionAsyncRequest.ts +14 -11
- package/src/models/ImageRecognitionAsyncResponseBody.ts +5 -5
- package/src/models/ImageRecognitionAsyncShrinkRequest.ts +14 -11
- package/src/models/ImageRemovalProAsyncRequest.ts +1 -1
- package/src/models/ImageRemovalProAsyncResponseBody.ts +5 -7
- package/src/models/ImageRemovalProResponseBody.ts +3 -0
- package/src/models/ImageRemoveAsyncRequest.ts +19 -8
- package/src/models/ImageRemoveAsyncResponseBody.ts +8 -6
- package/src/models/ImageRemoveAsyncShrinkRequest.ts +19 -8
- package/src/models/ImageTranslationPlusAsyncRequest.ts +11 -11
- package/src/models/ImageTranslationPlusAsyncResponseBody.ts +4 -4
- package/src/models/ImageTranslationProAsyncRequest.ts +5 -5
- package/src/models/ImageTranslationProAsyncResponseBody.ts +1 -1
- package/src/models/ImageTranslationStandardAsyncRequest.ts +1 -1
- package/src/models/ImageTranslationStandardAsyncResponseBody.ts +3 -3
- package/src/models/ImageTranslationStandardRequest.ts +4 -4
- package/src/models/ImageTranslationStandardResponseBody.ts +10 -10
- package/src/models/ImageUpscaleRequest.ts +1 -1
- package/src/models/ImageUpscaleResponseBody.ts +7 -7
- package/src/models/MaterialInspectionRequest.ts +4 -4
- package/src/models/MaterialInspectionResponseBody.ts +9 -9
- package/src/models/MerchandisePlacementDetectionLiteResponseBody.ts +15 -12
- package/src/models/MerchandisePlacementDetectionProRequest.ts +5 -5
- package/src/models/MerchandisePlacementDetectionProResponseBody.ts +6 -6
- package/src/models/MerchandisePlacementDetectionRequest.ts +7 -7
- package/src/models/MerchandisePlacementDetectionResponseBody.ts +19 -19
- package/src/models/MerchandisePriceTagDetectionRequest.ts +1 -1
- package/src/models/MerchandisePriceTagDetectionResponseBody.ts +11 -11
- package/src/models/MerchandiseSceneDetectionRequest.ts +1 -1
- package/src/models/MerchandiseSceneDetectionResponseBody.ts +16 -10
- package/src/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.ts +7 -7
- package/src/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.ts +12 -9
- package/src/models/PrepaidTextTranslateRequest.ts +8 -8
- package/src/models/PrepaidTextTranslateResponseBody.ts +11 -8
- package/src/models/PrepaidTextTranslateShrinkRequest.ts +8 -8
- package/src/models/ProductVideoGenerationRequest.ts +88 -0
- package/src/models/ProductVideoGenerationResponse.ts +40 -0
- package/src/models/ProductVideoGenerationResponseBody.ts +124 -0
- package/src/models/ProductVideoGenerationShrinkRequest.ts +85 -0
- package/src/models/QueryDisplayKnowledgeResponseBody.ts +3 -0
- package/src/models/SizeChartExtractAsyncRequest.ts +3 -3
- package/src/models/SizeChartExtractAsyncResponseBody.ts +7 -5
- package/src/models/SizeChartExtractAsyncShrinkRequest.ts +3 -3
- package/src/models/StorefrontSceneRecognitionRequest.ts +1 -1
- package/src/models/StorefrontSceneRecognitionResponseBody.ts +9 -6
- package/src/models/SubmitProductMatchRequest.ts +8 -8
- package/src/models/SubmitProductMatchResponseBody.ts +7 -7
- package/src/models/TextTranslateAsyncRequest.ts +9 -9
- package/src/models/TextTranslateAsyncResponseBody.ts +6 -6
- package/src/models/TextTranslateAsyncShrinkRequest.ts +9 -9
- package/src/models/UpdateDisplayKnowledgeResponseBody.ts +3 -0
- package/src/models/VacancyDetectionRequest.ts +56 -0
- package/src/models/VacancyDetectionResponse.ts +40 -0
- package/src/models/VacancyDetectionResponseBody.ts +120 -0
- package/src/models/VideoGenerationRequest.ts +18 -17
- package/src/models/VideoGenerationResponseBody.ts +2 -2
- package/src/models/VideoTranslationRequest.ts +8 -17
- package/src/models/VideoTranslationResponseBody.ts +4 -6
- package/src/models/VideoTranslationShrinkRequest.ts +8 -17
- package/src/models/VirtualTryOnResponseBody.ts +7 -6
- package/src/models/model.ts +9 -0
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageTranslationPlusAsyncResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The identifier of the asynchronous task
|
|
5
|
+
* The identifier of the asynchronous task. This ID is used for result queries and notification association. Do not use the example prefix as a business validation rule.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* TID_550e8400-e29b-41d4-a716-446655440000
|
|
@@ -22,7 +22,7 @@ export declare class ImageTranslationPlusAsyncResponseBodyData extends $dara.Mod
|
|
|
22
22
|
export declare class ImageTranslationPlusAsyncResponseBody extends $dara.Model {
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The response code for the submission call.
|
|
25
|
+
* The response code for the submission call. A value of success indicates that the call is successful.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* success
|
|
@@ -35,7 +35,7 @@ export declare class ImageTranslationPlusAsyncResponseBody extends $dara.Model {
|
|
|
35
35
|
data?: ImageTranslationPlusAsyncResponseBodyData;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The error message, such as
|
|
38
|
+
* The error message, such as The content contains sensitive data. Try another input.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* OK
|
|
@@ -51,7 +51,7 @@ export declare class ImageTranslationPlusAsyncResponseBody extends $dara.Model {
|
|
|
51
51
|
requestId?: string;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
*
|
|
54
|
+
* Indicates whether the submission call is successful. This does not indicate that the translation is complete. A value of true indicates success, and a value of false indicates failure.
|
|
55
55
|
*
|
|
56
56
|
* @example
|
|
57
57
|
* True
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageTranslationProAsyncRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The business order
|
|
5
|
+
* The business order number of the caller. This number is recorded upon acceptance and returned as-is when you query the asynchronous task result.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* order-20260928-001
|
|
@@ -18,10 +18,10 @@ export declare class ImageTranslationProAsyncRequest extends $dara.Model {
|
|
|
18
18
|
glossary?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
21
|
+
* • Image URL: Must be accessible over the Internet.
|
|
22
|
+
* • Format: PNG, JPEG, JPG, BMP, or WEBP.
|
|
23
|
+
* • Pixels: Both width and height must not exceed 4,000.
|
|
24
|
+
* • File size: The original file size must be less than or equal to 10 MB.
|
|
25
25
|
*
|
|
26
26
|
* This parameter is required.
|
|
27
27
|
*
|
|
@@ -51,7 +51,7 @@ export declare class ImageTranslationProAsyncResponseBody extends $dara.Model {
|
|
|
51
51
|
requestId?: string;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
* Indicates whether the submission call is successful. This does not
|
|
54
|
+
* Indicates whether the submission call is successful. This does not indicate that the translation is complete.
|
|
55
55
|
*
|
|
56
56
|
* @example
|
|
57
57
|
* True
|
|
@@ -56,7 +56,7 @@ export declare class ImageTranslationStandardAsyncRequest extends $dara.Model {
|
|
|
56
56
|
targetLanguage?: string;
|
|
57
57
|
/**
|
|
58
58
|
* @remarks
|
|
59
|
-
* Specifies whether to translate brand text in the product area.
|
|
59
|
+
* Specifies whether to translate the brand text in the product area.
|
|
60
60
|
*
|
|
61
61
|
* @example
|
|
62
62
|
* false
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageTranslationStandardAsyncResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* 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
|
|
@@ -22,7 +22,7 @@ export declare class ImageTranslationStandardAsyncResponseBodyData extends $dara
|
|
|
22
22
|
export declare class ImageTranslationStandardAsyncResponseBody extends $dara.Model {
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The error code. This parameter is not returned for
|
|
25
|
+
* The error code. This parameter is not returned for normal calls.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* 200
|
|
@@ -35,7 +35,7 @@ export declare class ImageTranslationStandardAsyncResponseBody extends $dara.Mod
|
|
|
35
35
|
data?: ImageTranslationStandardAsyncResponseBodyData;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The error message. This parameter is not returned for
|
|
38
|
+
* The error message. This parameter is not returned for normal calls.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* OK
|
|
@@ -12,7 +12,7 @@ export declare class ImageTranslationStandardRequest extends $dara.Model {
|
|
|
12
12
|
* @remarks
|
|
13
13
|
* - Image URL: Must be publicly accessible over the Internet.
|
|
14
14
|
* - Formats: PNG, JPEG, JPG, BMP, and WEBP.
|
|
15
|
-
* - Pixels: Both width and height must not exceed 4,000.
|
|
15
|
+
* - Pixels: Both width and height must not exceed 4,000 pixels.
|
|
16
16
|
* - File size: The original file must be 10 MB or smaller.
|
|
17
17
|
*
|
|
18
18
|
* This parameter is required.
|
|
@@ -23,10 +23,10 @@ export declare class ImageTranslationStandardRequest extends $dara.Model {
|
|
|
23
23
|
imageUrl?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* Specifies whether to translate the text on the product subject in the image. This parameter is optional. Default value:
|
|
26
|
+
* Specifies whether to translate the text on the product subject in the image. This parameter is optional. Default value: true. This helps protect the subject information from being translated, avoiding the translation of embedded information such as product names.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
|
-
*
|
|
29
|
+
* true
|
|
30
30
|
*/
|
|
31
31
|
includingProductArea?: boolean;
|
|
32
32
|
/**
|
|
@@ -63,7 +63,7 @@ export declare class ImageTranslationStandardRequest extends $dara.Model {
|
|
|
63
63
|
translatingBrandInTheProduct?: boolean;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* Specifies whether to return layer information such as text position, font, and color. If set to true, layer information is returned
|
|
66
|
+
* Specifies whether to return layer information such as text position, font, and color. If this parameter is set to true, layer information is returned, which can be used to integrate with image editors for secondary editing. Default value: false.
|
|
67
67
|
*
|
|
68
68
|
* @example
|
|
69
69
|
* false
|
|
@@ -195,7 +195,7 @@ export declare class ImageTranslationStandardResponseBodyDataEditInfoTextAreasTe
|
|
|
195
195
|
language?: string;
|
|
196
196
|
/**
|
|
197
197
|
* @remarks
|
|
198
|
-
* The
|
|
198
|
+
* The line count.
|
|
199
199
|
*
|
|
200
200
|
* @example
|
|
201
201
|
* 1
|
|
@@ -276,7 +276,7 @@ export declare class ImageTranslationStandardResponseBodyDataEditInfoTextAreas e
|
|
|
276
276
|
horizontalLayout?: string;
|
|
277
277
|
/**
|
|
278
278
|
* @remarks
|
|
279
|
-
* The
|
|
279
|
+
* The line count.
|
|
280
280
|
*
|
|
281
281
|
* @example
|
|
282
282
|
* 2
|
|
@@ -317,7 +317,7 @@ export declare class ImageTranslationStandardResponseBodyDataEditInfo extends $d
|
|
|
317
317
|
font?: string[];
|
|
318
318
|
/**
|
|
319
319
|
* @remarks
|
|
320
|
-
* The product area
|
|
320
|
+
* The product area rectangle.
|
|
321
321
|
*/
|
|
322
322
|
goodsRects?: ImageTranslationStandardResponseBodyDataEditInfoGoodsRects;
|
|
323
323
|
/**
|
|
@@ -338,7 +338,7 @@ export declare class ImageTranslationStandardResponseBodyDataEditInfo extends $d
|
|
|
338
338
|
languages?: string[];
|
|
339
339
|
/**
|
|
340
340
|
* @remarks
|
|
341
|
-
* The original image
|
|
341
|
+
* The URL of the original image.
|
|
342
342
|
*
|
|
343
343
|
* @example
|
|
344
344
|
* https://xiuxiu-pro.meitudata.com/posters/34d78f9157e5560a4d612949ca6f6485.jpg
|
|
@@ -346,7 +346,7 @@ export declare class ImageTranslationStandardResponseBodyDataEditInfo extends $d
|
|
|
346
346
|
pictUrl?: string;
|
|
347
347
|
/**
|
|
348
348
|
* @remarks
|
|
349
|
-
* The repaired image
|
|
349
|
+
* The URL of the repaired image.
|
|
350
350
|
*
|
|
351
351
|
* @example
|
|
352
352
|
* http://dashscope-a717.oss-cn-beijing.aliyuncs.com/xxx.png
|
|
@@ -400,7 +400,7 @@ export declare class ImageTranslationStandardResponseBodyData extends $dara.Mode
|
|
|
400
400
|
editInfo?: ImageTranslationStandardResponseBodyDataEditInfo;
|
|
401
401
|
/**
|
|
402
402
|
* @remarks
|
|
403
|
-
* The URL of the
|
|
403
|
+
* The URL of the generated translated image.
|
|
404
404
|
*
|
|
405
405
|
* @example
|
|
406
406
|
* http://dashscope-a717.oss-cn-beijing.aliyuncs.com/xxx.jpg
|
|
@@ -438,12 +438,12 @@ export declare class ImageTranslationStandardResponseBody extends $dara.Model {
|
|
|
438
438
|
code?: string;
|
|
439
439
|
/**
|
|
440
440
|
* @remarks
|
|
441
|
-
* The translation result data,
|
|
441
|
+
* The translation result data, which includes the URL of the translated image and usage information.
|
|
442
442
|
*/
|
|
443
443
|
data?: ImageTranslationStandardResponseBodyData;
|
|
444
444
|
/**
|
|
445
445
|
* @remarks
|
|
446
|
-
* The error message.
|
|
446
|
+
* The error message. "Success" is returned for a successful call, and specific error details are returned when an exception occurs.
|
|
447
447
|
*
|
|
448
448
|
* @example
|
|
449
449
|
* Success
|
|
@@ -451,7 +451,7 @@ export declare class ImageTranslationStandardResponseBody extends $dara.Model {
|
|
|
451
451
|
message?: string;
|
|
452
452
|
/**
|
|
453
453
|
* @remarks
|
|
454
|
-
* The ID
|
|
454
|
+
* The request ID.
|
|
455
455
|
*
|
|
456
456
|
* @example
|
|
457
457
|
* 1CEC4D94-905A-1ED1-A7B4-1BFEFFB3D850
|
|
@@ -459,7 +459,7 @@ export declare class ImageTranslationStandardResponseBody extends $dara.Model {
|
|
|
459
459
|
requestId?: string;
|
|
460
460
|
/**
|
|
461
461
|
* @remarks
|
|
462
|
-
* Indicates whether the call
|
|
462
|
+
* Indicates whether the call is successful. A value of true indicates success, and a value of false indicates failure.
|
|
463
463
|
*
|
|
464
464
|
* @example
|
|
465
465
|
* true
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ImageUpscaleRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The URL of the original image. It must be a publicly accessible image URL.
|
|
5
|
+
* The URL of the original image. It must be a publicly accessible image URL. Private network addresses such as localhost are not supported. The width and height of the input image must be greater than 100 pixels and less than 3,000 pixels. The width and height of the upscaled image must not exceed 3,000 pixels.
|
|
6
6
|
*
|
|
7
7
|
* This parameter is required.
|
|
8
8
|
*
|
|
@@ -10,7 +10,7 @@ export declare class ImageUpscaleResponseBodyDataData extends $dara.Model {
|
|
|
10
10
|
imageHeight?: number;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The result information of the
|
|
13
|
+
* The result information of the upscaled image.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* https://example.com/output.png
|
|
@@ -63,7 +63,7 @@ export declare class ImageUpscaleResponseBodyData extends $dara.Model {
|
|
|
63
63
|
data?: ImageUpscaleResponseBodyDataData;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* The error code
|
|
66
|
+
* The error code returned when the request fails, such as InvalidParameter or DownstreamUnavailable.
|
|
67
67
|
*
|
|
68
68
|
* @example
|
|
69
69
|
* success
|
|
@@ -71,7 +71,7 @@ export declare class ImageUpscaleResponseBodyData extends $dara.Model {
|
|
|
71
71
|
errorCode?: string;
|
|
72
72
|
/**
|
|
73
73
|
* @remarks
|
|
74
|
-
* The error message
|
|
74
|
+
* The error message returned when the request fails.
|
|
75
75
|
*
|
|
76
76
|
* @example
|
|
77
77
|
* Success
|
|
@@ -79,7 +79,7 @@ export declare class ImageUpscaleResponseBodyData extends $dara.Model {
|
|
|
79
79
|
errorMessage?: string;
|
|
80
80
|
/**
|
|
81
81
|
* @remarks
|
|
82
|
-
* Indicates whether the
|
|
82
|
+
* Indicates whether the request is successful. Valid values: true and false.
|
|
83
83
|
*
|
|
84
84
|
* @example
|
|
85
85
|
* True
|
|
@@ -87,7 +87,7 @@ export declare class ImageUpscaleResponseBodyData extends $dara.Model {
|
|
|
87
87
|
success?: boolean;
|
|
88
88
|
/**
|
|
89
89
|
* @remarks
|
|
90
|
-
* The downstream task
|
|
90
|
+
* The ID of the downstream task. This parameter is left empty for synchronous API operations.
|
|
91
91
|
*
|
|
92
92
|
* @example
|
|
93
93
|
* ed9d8504-6141-9fbb-8345-4fa36433483f
|
|
@@ -120,7 +120,7 @@ export declare class ImageUpscaleResponseBody extends $dara.Model {
|
|
|
120
120
|
code?: string;
|
|
121
121
|
/**
|
|
122
122
|
* @remarks
|
|
123
|
-
* The returned result struct
|
|
123
|
+
* The returned result struct.
|
|
124
124
|
*/
|
|
125
125
|
data?: ImageUpscaleResponseBodyData;
|
|
126
126
|
/**
|
|
@@ -141,7 +141,7 @@ export declare class ImageUpscaleResponseBody extends $dara.Model {
|
|
|
141
141
|
requestId?: string;
|
|
142
142
|
/**
|
|
143
143
|
* @remarks
|
|
144
|
-
* Indicates whether the call is successful.
|
|
144
|
+
* Indicates whether the API call is successful. Valid values: true and false.
|
|
145
145
|
*
|
|
146
146
|
* @example
|
|
147
147
|
* True
|
|
@@ -10,7 +10,7 @@ export declare class MaterialInspectionRequest extends $dara.Model {
|
|
|
10
10
|
apiId?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The URL of the reference image. This parameter is optional. If
|
|
13
|
+
* The URL of the reference image. This parameter is optional. If it is not empty, the multi-image difference comparison mode is used.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* https://example.com/reference.jpg
|
|
@@ -28,7 +28,7 @@ export declare class MaterialInspectionRequest extends $dara.Model {
|
|
|
28
28
|
imageUrl?: string;
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
* The business request identity. This parameter is optional
|
|
31
|
+
* The business request identity. This parameter is optional and is returned as-is to facilitate Tracing Analysis.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
34
|
* req-2026-06-04-001
|
|
@@ -36,10 +36,10 @@ export declare class MaterialInspectionRequest extends $dara.Model {
|
|
|
36
36
|
reqId?: string;
|
|
37
37
|
/**
|
|
38
38
|
* @remarks
|
|
39
|
-
* The rule prompt
|
|
39
|
+
* The rule prompt.
|
|
40
40
|
*
|
|
41
41
|
* @example
|
|
42
|
-
*
|
|
42
|
+
* Door-shaped display stands must be placed in the entrance area. Functional table cards must be placed on the middle counter
|
|
43
43
|
*/
|
|
44
44
|
rules?: string;
|
|
45
45
|
static names(): {
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class MaterialInspectionResponseBodyDataResultSteps extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The
|
|
5
|
+
* The judgment result. Valid values: PASS, FAIL, and UNABLE_TO_JUDGE.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* PASS
|
|
@@ -30,15 +30,15 @@ export declare class MaterialInspectionResponseBodyDataResultSteps extends $dara
|
|
|
30
30
|
export declare class MaterialInspectionResponseBodyDataResult extends $dara.Model {
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The natural language summary, such as "1 rule: 1 PASS, all
|
|
33
|
+
* The natural language summary, such as \\"1 rule: 1 PASS, all detection items are compliant\\".
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
|
-
* 1 rule: 1 PASS, all
|
|
36
|
+
* 1 rule: 1 PASS, all detection items are compliant
|
|
37
37
|
*/
|
|
38
38
|
evidence?: string;
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The overall
|
|
41
|
+
* The overall judgment. Valid values: PASS and FAIL.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
44
|
* PASS
|
|
@@ -46,7 +46,7 @@ export declare class MaterialInspectionResponseBodyDataResult extends $dara.Mode
|
|
|
46
46
|
overallResult?: string;
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* The request ID returned as-is
|
|
49
|
+
* The request ID returned as-is.
|
|
50
50
|
*
|
|
51
51
|
* @example
|
|
52
52
|
* req-001
|
|
@@ -84,7 +84,7 @@ export declare class MaterialInspectionResponseBodyData extends $dara.Model {
|
|
|
84
84
|
result?: MaterialInspectionResponseBodyDataResult;
|
|
85
85
|
/**
|
|
86
86
|
* @remarks
|
|
87
|
-
* The usage information. The key is the usage
|
|
87
|
+
* The usage information. The key is the usage name and the value is the count.
|
|
88
88
|
*
|
|
89
89
|
* @example
|
|
90
90
|
* {"ProcessingCount":1}
|
|
@@ -106,7 +106,7 @@ export declare class MaterialInspectionResponseBodyData extends $dara.Model {
|
|
|
106
106
|
export declare class MaterialInspectionResponseBody extends $dara.Model {
|
|
107
107
|
/**
|
|
108
108
|
* @remarks
|
|
109
|
-
* The error code. This parameter is not returned
|
|
109
|
+
* The error code. This parameter is not returned when the call is successful.
|
|
110
110
|
*
|
|
111
111
|
* @example
|
|
112
112
|
* 200
|
|
@@ -119,7 +119,7 @@ export declare class MaterialInspectionResponseBody extends $dara.Model {
|
|
|
119
119
|
data?: MaterialInspectionResponseBodyData;
|
|
120
120
|
/**
|
|
121
121
|
* @remarks
|
|
122
|
-
* The error message. This parameter is not returned
|
|
122
|
+
* The error message. This parameter is not returned when the call is successful.
|
|
123
123
|
*
|
|
124
124
|
* @example
|
|
125
125
|
* OK
|
|
@@ -137,7 +137,7 @@ export declare class MaterialInspectionResponseBody extends $dara.Model {
|
|
|
137
137
|
* @remarks
|
|
138
138
|
* Indicates whether the call is successful. Valid values:
|
|
139
139
|
* - true: The call is successful.
|
|
140
|
-
* - false: The call
|
|
140
|
+
* - false: The call fails.
|
|
141
141
|
*
|
|
142
142
|
* @example
|
|
143
143
|
* True
|
|
@@ -15,7 +15,7 @@ export declare class MerchandisePlacementDetectionLiteResponseBodyDataResultGrou
|
|
|
15
15
|
label?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The confirmable short name or text of up to 24 characters. This field is an empty string
|
|
18
|
+
* The confirmable short name or text of up to 24 characters. This field is an empty string if the text is unclear.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* 5.50
|
|
@@ -35,10 +35,10 @@ export declare class MerchandisePlacementDetectionLiteResponseBodyDataResultGrou
|
|
|
35
35
|
export declare class MerchandisePlacementDetectionLiteResponseBodyDataResultGrounding extends $dara.Model {
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The coverage status. Valid values:
|
|
39
|
-
* - complete:
|
|
38
|
+
* The coverage status of the grounding. Valid values:
|
|
39
|
+
* - complete: All relevant visible targets are complete.
|
|
40
40
|
* - partial: Only some targets are valid or recognizable.
|
|
41
|
-
* - Empty string: No valid supplementary grounding
|
|
41
|
+
* - Empty string: No valid supplementary grounding result is obtained.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
44
|
* complete
|
|
@@ -46,7 +46,7 @@ export declare class MerchandisePlacementDetectionLiteResponseBodyDataResultGrou
|
|
|
46
46
|
coverage?: string;
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* The
|
|
49
|
+
* The array of targets, containing up to 12 items. This array can be empty if no relevant targets are found.
|
|
50
50
|
*/
|
|
51
51
|
regions?: MerchandisePlacementDetectionLiteResponseBodyDataResultGroundingRegions[];
|
|
52
52
|
static names(): {
|
|
@@ -82,7 +82,7 @@ export declare class MerchandisePlacementDetectionLiteResponseBodyDataResultProd
|
|
|
82
82
|
* The right coordinate.
|
|
83
83
|
*
|
|
84
84
|
* @example
|
|
85
|
-
*
|
|
85
|
+
* 874
|
|
86
86
|
*/
|
|
87
87
|
right?: number;
|
|
88
88
|
/**
|
|
@@ -112,7 +112,7 @@ export declare class MerchandisePlacementDetectionLiteResponseBodyDataResultProd
|
|
|
112
112
|
boxes?: MerchandisePlacementDetectionLiteResponseBodyDataResultProductsBoxes[];
|
|
113
113
|
/**
|
|
114
114
|
* @remarks
|
|
115
|
-
* The recognition code, which is obtained by removing the
|
|
115
|
+
* The recognition code, which is obtained by removing the _ce suffix from the recognition name.
|
|
116
116
|
*
|
|
117
117
|
* @example
|
|
118
118
|
* sku_test
|
|
@@ -132,7 +132,7 @@ export declare class MerchandisePlacementDetectionLiteResponseBodyDataResultProd
|
|
|
132
132
|
export declare class MerchandisePlacementDetectionLiteResponseBodyDataResult extends $dara.Model {
|
|
133
133
|
/**
|
|
134
134
|
* @remarks
|
|
135
|
-
* The supplementary element grounding
|
|
135
|
+
* The supplementary element grounding result.
|
|
136
136
|
*/
|
|
137
137
|
grounding?: MerchandisePlacementDetectionLiteResponseBodyDataResultGrounding;
|
|
138
138
|
/**
|
|
@@ -142,12 +142,12 @@ export declare class MerchandisePlacementDetectionLiteResponseBodyDataResult ext
|
|
|
142
142
|
products?: MerchandisePlacementDetectionLiteResponseBodyDataResultProducts[];
|
|
143
143
|
/**
|
|
144
144
|
* @remarks
|
|
145
|
-
* The deduplicated list of
|
|
145
|
+
* The deduplicated list of SkuId values.
|
|
146
146
|
*/
|
|
147
147
|
skuIds?: string[];
|
|
148
148
|
/**
|
|
149
149
|
* @remarks
|
|
150
|
-
* The result type
|
|
150
|
+
* The result type. The value is fixed as sku.
|
|
151
151
|
*
|
|
152
152
|
* @example
|
|
153
153
|
* sku
|
|
@@ -172,7 +172,10 @@ export declare class MerchandisePlacementDetectionLiteResponseBodyData extends $
|
|
|
172
172
|
result?: MerchandisePlacementDetectionLiteResponseBodyDataResult;
|
|
173
173
|
/**
|
|
174
174
|
* @remarks
|
|
175
|
-
* The usage map. The value is {"ProcessingCount":1}
|
|
175
|
+
* The usage map. The value is {"ProcessingCount":1} if the call is successful, or an empty object if the call fails.
|
|
176
|
+
*
|
|
177
|
+
* @example
|
|
178
|
+
* {"ProcessingCount":1}
|
|
176
179
|
*/
|
|
177
180
|
usageMap?: {
|
|
178
181
|
[key: string]: number;
|
|
@@ -204,7 +207,7 @@ export declare class MerchandisePlacementDetectionLiteResponseBody extends $dara
|
|
|
204
207
|
data?: MerchandisePlacementDetectionLiteResponseBodyData;
|
|
205
208
|
/**
|
|
206
209
|
* @remarks
|
|
207
|
-
* The
|
|
210
|
+
* The return message or failure description.
|
|
208
211
|
*
|
|
209
212
|
* @example
|
|
210
213
|
* Success
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MerchandisePlacementDetectionLiteResponseBody.js","sourceRoot":"","sources":["../../src/models/MerchandisePlacementDetectionLiteResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uEAAwE,SAAQ,KAAK,CAAC,KAAK;IAsBt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AAM,EAAE,QAAQ;YAChB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,gEAAgE;YAC3E,QAAQ,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,+DAA+D,EAAE;YAC1G,MAAM,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACjD,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,SAAS,IAAI,OAAQ,IAAI,CAAC,SAAiB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC3E,IAAI,CAAC,SAAiB,CAAC,QAAQ,EAAE,CAAC;QACrC,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,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YAC9B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACzC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1DD,0HA0DC;AAED,MAAa,iDAAkD,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"MerchandisePlacementDetectionLiteResponseBody.js","sourceRoot":"","sources":["../../src/models/MerchandisePlacementDetectionLiteResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uEAAwE,SAAQ,KAAK,CAAC,KAAK;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from '@darabonba/typescript';
|
|
|
2
2
|
export declare class MerchandisePlacementDetectionProRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The HTTPS URL of the display image to
|
|
5
|
+
* The HTTPS URL of the display image to be detected.
|
|
6
6
|
*
|
|
7
7
|
* This parameter is required.
|
|
8
8
|
*
|
|
@@ -12,18 +12,18 @@ export declare class MerchandisePlacementDetectionProRequest extends $dara.Model
|
|
|
12
12
|
imageUrl?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The detection rule.
|
|
15
|
+
* The detection rule. If this parameter is not empty, it is preferentially used as the model prompt.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
|
-
*
|
|
18
|
+
* Recognize all Genki Forest beverages on the shelf and draw bounding boxes around them
|
|
19
19
|
*/
|
|
20
20
|
rule?: string;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* The product type.
|
|
23
|
+
* The product type. If the Rule parameter is empty, you must set this parameter to Genki Forest.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
|
-
*
|
|
26
|
+
* Genki Forest
|
|
27
27
|
*/
|
|
28
28
|
type?: string;
|
|
29
29
|
static names(): {
|
|
@@ -2,12 +2,12 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class MerchandisePlacementDetectionProResponseBodyDataData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The normalized bounding box coordinates [x1,y1,x2,y2]
|
|
5
|
+
* The normalized bounding box coordinates in the [x1,y1,x2,y2] format. Valid values: 0 to 1000.
|
|
6
6
|
*/
|
|
7
7
|
bbox2d?: number[];
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
|
-
* The
|
|
10
|
+
* The name of the detected product. If the name cannot be determined, the value is unknown.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* unknown
|
|
@@ -15,7 +15,7 @@ export declare class MerchandisePlacementDetectionProResponseBodyDataData extend
|
|
|
15
15
|
detectedSkuName?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The bounding box
|
|
18
|
+
* The index of the bounding box, starting from 1.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* 1
|
|
@@ -43,7 +43,7 @@ export declare class MerchandisePlacementDetectionProResponseBodyData extends $d
|
|
|
43
43
|
boxCount?: number;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The list of
|
|
46
|
+
* The list of detection details for each bounding box.
|
|
47
47
|
*/
|
|
48
48
|
data?: MerchandisePlacementDetectionProResponseBodyDataData[];
|
|
49
49
|
/**
|
|
@@ -78,12 +78,12 @@ export declare class MerchandisePlacementDetectionProResponseBody extends $dara.
|
|
|
78
78
|
code?: string;
|
|
79
79
|
/**
|
|
80
80
|
* @remarks
|
|
81
|
-
* The detection result of
|
|
81
|
+
* The detection result of the retail display detection Pro edition.
|
|
82
82
|
*/
|
|
83
83
|
data?: MerchandisePlacementDetectionProResponseBodyData;
|
|
84
84
|
/**
|
|
85
85
|
* @remarks
|
|
86
|
-
* The
|
|
86
|
+
* The returned message or failure description.
|
|
87
87
|
*
|
|
88
88
|
* @example
|
|
89
89
|
* Success
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class MerchandisePlacementDetectionRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
*
|
|
5
|
+
* Specifies the ID of a custom API. Pass this parameter if you need to specify a custom version of the API. If you created a custom API during the trial phase, you can query the ApiId of the corresponding feature in the product console by choosing Intelligent Inspection > API Management > My APIs.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* api_xxx
|
|
@@ -10,7 +10,7 @@ export declare class MerchandisePlacementDetectionRequest extends $dara.Model {
|
|
|
10
10
|
apiId?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The URL of the original shelf or floor
|
|
13
|
+
* The URL of the original shelf or floor display image to be recognized. The URL must be accessible over the Internet or from OSS.
|
|
14
14
|
*
|
|
15
15
|
* This parameter is required.
|
|
16
16
|
*
|
|
@@ -20,7 +20,7 @@ export declare class MerchandisePlacementDetectionRequest extends $dara.Model {
|
|
|
20
20
|
imageUrl?: string;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* The ID of the customer-specific SKU vector
|
|
23
|
+
* The ID of the customer-specific SKU vector database. This parameter determines which database is used for retrieval. The database must be created through the database creation process in advance.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* rag_xxx
|
|
@@ -28,18 +28,18 @@ export declare class MerchandisePlacementDetectionRequest extends $dara.Model {
|
|
|
28
28
|
ragId?: string;
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
* The custom rule.
|
|
31
|
+
* The custom rule. You can enter a detection prompt, which is passed as the rule input parameter to the workflow. If this parameter is specified, the type parameter is not required, and the independent rule branch is used. If this parameter is left empty, you must specify the type parameter to start detection.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
|
-
*
|
|
34
|
+
* Recognize all visible beverage products in the image and return only a JSON array. Output format example: [{"bbox_2d":[100,200,250,600],"sku_name":"Coca-Cola"}]
|
|
35
35
|
*/
|
|
36
36
|
rule?: string;
|
|
37
37
|
/**
|
|
38
38
|
* @remarks
|
|
39
|
-
* The business type
|
|
39
|
+
* The business type. This parameter is reserved for future routing based on business lines. Currently, only skincare products are supported.
|
|
40
40
|
*
|
|
41
41
|
* @example
|
|
42
|
-
*
|
|
42
|
+
* Skincare products
|
|
43
43
|
*/
|
|
44
44
|
type?: string;
|
|
45
45
|
static names(): {
|