@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
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ImageTranslationStandardAsyncResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The task
|
|
8
|
+
* The ID of the task used to query the asynchronous task result.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* TID_550e8400-e29b-41d4-a716-446655440000
|
|
@@ -35,7 +35,7 @@ export class ImageTranslationStandardAsyncResponseBodyData extends $dara.Model {
|
|
|
35
35
|
export class ImageTranslationStandardAsyncResponseBody extends $dara.Model {
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The error code. This parameter is not returned for
|
|
38
|
+
* The error code. This parameter is not returned for normal calls.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* 200
|
|
@@ -48,7 +48,7 @@ export class ImageTranslationStandardAsyncResponseBody extends $dara.Model {
|
|
|
48
48
|
data?: ImageTranslationStandardAsyncResponseBodyData;
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
* The error message. This parameter is not returned for
|
|
51
|
+
* The error message. This parameter is not returned for normal calls.
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* OK
|
|
@@ -15,7 +15,7 @@ export class ImageTranslationStandardRequest extends $dara.Model {
|
|
|
15
15
|
* @remarks
|
|
16
16
|
* - Image URL: Must be publicly accessible over the Internet.
|
|
17
17
|
* - Formats: PNG, JPEG, JPG, BMP, and WEBP.
|
|
18
|
-
* - Pixels: Both width and height must not exceed 4,000.
|
|
18
|
+
* - Pixels: Both width and height must not exceed 4,000 pixels.
|
|
19
19
|
* - File size: The original file must be 10 MB or smaller.
|
|
20
20
|
*
|
|
21
21
|
* This parameter is required.
|
|
@@ -26,10 +26,10 @@ export class ImageTranslationStandardRequest extends $dara.Model {
|
|
|
26
26
|
imageUrl?: string;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* Specifies whether to translate the text on the product subject in the image. This parameter is optional. Default value:
|
|
29
|
+
* 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.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
|
-
*
|
|
32
|
+
* true
|
|
33
33
|
*/
|
|
34
34
|
includingProductArea?: boolean;
|
|
35
35
|
/**
|
|
@@ -66,7 +66,7 @@ export class ImageTranslationStandardRequest extends $dara.Model {
|
|
|
66
66
|
translatingBrandInTheProduct?: boolean;
|
|
67
67
|
/**
|
|
68
68
|
* @remarks
|
|
69
|
-
* Specifies whether to return layer information such as text position, font, and color. If set to true, layer information is returned
|
|
69
|
+
* 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.
|
|
70
70
|
*
|
|
71
71
|
* @example
|
|
72
72
|
* false
|
|
@@ -252,7 +252,7 @@ export class ImageTranslationStandardResponseBodyDataEditInfoTextAreasTexts exte
|
|
|
252
252
|
language?: string;
|
|
253
253
|
/**
|
|
254
254
|
* @remarks
|
|
255
|
-
* The
|
|
255
|
+
* The line count.
|
|
256
256
|
*
|
|
257
257
|
* @example
|
|
258
258
|
* 1
|
|
@@ -367,7 +367,7 @@ export class ImageTranslationStandardResponseBodyDataEditInfoTextAreas extends $
|
|
|
367
367
|
horizontalLayout?: string;
|
|
368
368
|
/**
|
|
369
369
|
* @remarks
|
|
370
|
-
* The
|
|
370
|
+
* The line count.
|
|
371
371
|
*
|
|
372
372
|
* @example
|
|
373
373
|
* 2
|
|
@@ -433,7 +433,7 @@ export class ImageTranslationStandardResponseBodyDataEditInfo extends $dara.Mode
|
|
|
433
433
|
font?: string[];
|
|
434
434
|
/**
|
|
435
435
|
* @remarks
|
|
436
|
-
* The product area
|
|
436
|
+
* The product area rectangle.
|
|
437
437
|
*/
|
|
438
438
|
goodsRects?: ImageTranslationStandardResponseBodyDataEditInfoGoodsRects;
|
|
439
439
|
/**
|
|
@@ -454,7 +454,7 @@ export class ImageTranslationStandardResponseBodyDataEditInfo extends $dara.Mode
|
|
|
454
454
|
languages?: string[];
|
|
455
455
|
/**
|
|
456
456
|
* @remarks
|
|
457
|
-
* The original image
|
|
457
|
+
* The URL of the original image.
|
|
458
458
|
*
|
|
459
459
|
* @example
|
|
460
460
|
* https://xiuxiu-pro.meitudata.com/posters/34d78f9157e5560a4d612949ca6f6485.jpg
|
|
@@ -462,7 +462,7 @@ export class ImageTranslationStandardResponseBodyDataEditInfo extends $dara.Mode
|
|
|
462
462
|
pictUrl?: string;
|
|
463
463
|
/**
|
|
464
464
|
* @remarks
|
|
465
|
-
* The repaired image
|
|
465
|
+
* The URL of the repaired image.
|
|
466
466
|
*
|
|
467
467
|
* @example
|
|
468
468
|
* http://dashscope-a717.oss-cn-beijing.aliyuncs.com/xxx.png
|
|
@@ -565,7 +565,7 @@ export class ImageTranslationStandardResponseBodyData extends $dara.Model {
|
|
|
565
565
|
editInfo?: ImageTranslationStandardResponseBodyDataEditInfo;
|
|
566
566
|
/**
|
|
567
567
|
* @remarks
|
|
568
|
-
* The URL of the
|
|
568
|
+
* The URL of the generated translated image.
|
|
569
569
|
*
|
|
570
570
|
* @example
|
|
571
571
|
* http://dashscope-a717.oss-cn-beijing.aliyuncs.com/xxx.jpg
|
|
@@ -621,12 +621,12 @@ export class ImageTranslationStandardResponseBody extends $dara.Model {
|
|
|
621
621
|
code?: string;
|
|
622
622
|
/**
|
|
623
623
|
* @remarks
|
|
624
|
-
* The translation result data,
|
|
624
|
+
* The translation result data, which includes the URL of the translated image and usage information.
|
|
625
625
|
*/
|
|
626
626
|
data?: ImageTranslationStandardResponseBodyData;
|
|
627
627
|
/**
|
|
628
628
|
* @remarks
|
|
629
|
-
* The error message.
|
|
629
|
+
* The error message. "Success" is returned for a successful call, and specific error details are returned when an exception occurs.
|
|
630
630
|
*
|
|
631
631
|
* @example
|
|
632
632
|
* Success
|
|
@@ -634,7 +634,7 @@ export class ImageTranslationStandardResponseBody extends $dara.Model {
|
|
|
634
634
|
message?: string;
|
|
635
635
|
/**
|
|
636
636
|
* @remarks
|
|
637
|
-
* The ID
|
|
637
|
+
* The request ID.
|
|
638
638
|
*
|
|
639
639
|
* @example
|
|
640
640
|
* 1CEC4D94-905A-1ED1-A7B4-1BFEFFB3D850
|
|
@@ -642,7 +642,7 @@ export class ImageTranslationStandardResponseBody extends $dara.Model {
|
|
|
642
642
|
requestId?: string;
|
|
643
643
|
/**
|
|
644
644
|
* @remarks
|
|
645
|
-
* Indicates whether the call
|
|
645
|
+
* Indicates whether the call is successful. A value of true indicates success, and a value of false indicates failure.
|
|
646
646
|
*
|
|
647
647
|
* @example
|
|
648
648
|
* true
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ImageUpscaleRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The URL of the original image. It must be a publicly accessible image URL.
|
|
8
|
+
* 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.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -13,7 +13,7 @@ export class ImageUpscaleResponseBodyDataData extends $dara.Model {
|
|
|
13
13
|
imageHeight?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The result information of the
|
|
16
|
+
* The result information of the upscaled image.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* https://example.com/output.png
|
|
@@ -90,7 +90,7 @@ export class ImageUpscaleResponseBodyData extends $dara.Model {
|
|
|
90
90
|
data?: ImageUpscaleResponseBodyDataData;
|
|
91
91
|
/**
|
|
92
92
|
* @remarks
|
|
93
|
-
* The error code
|
|
93
|
+
* The error code returned when the request fails, such as InvalidParameter or DownstreamUnavailable.
|
|
94
94
|
*
|
|
95
95
|
* @example
|
|
96
96
|
* success
|
|
@@ -98,7 +98,7 @@ export class ImageUpscaleResponseBodyData extends $dara.Model {
|
|
|
98
98
|
errorCode?: string;
|
|
99
99
|
/**
|
|
100
100
|
* @remarks
|
|
101
|
-
* The error message
|
|
101
|
+
* The error message returned when the request fails.
|
|
102
102
|
*
|
|
103
103
|
* @example
|
|
104
104
|
* Success
|
|
@@ -106,7 +106,7 @@ export class ImageUpscaleResponseBodyData extends $dara.Model {
|
|
|
106
106
|
errorMessage?: string;
|
|
107
107
|
/**
|
|
108
108
|
* @remarks
|
|
109
|
-
* Indicates whether the
|
|
109
|
+
* Indicates whether the request is successful. Valid values: true and false.
|
|
110
110
|
*
|
|
111
111
|
* @example
|
|
112
112
|
* True
|
|
@@ -114,7 +114,7 @@ export class ImageUpscaleResponseBodyData extends $dara.Model {
|
|
|
114
114
|
success?: boolean;
|
|
115
115
|
/**
|
|
116
116
|
* @remarks
|
|
117
|
-
* The downstream task
|
|
117
|
+
* The ID of the downstream task. This parameter is left empty for synchronous API operations.
|
|
118
118
|
*
|
|
119
119
|
* @example
|
|
120
120
|
* ed9d8504-6141-9fbb-8345-4fa36433483f
|
|
@@ -173,7 +173,7 @@ export class ImageUpscaleResponseBody extends $dara.Model {
|
|
|
173
173
|
code?: string;
|
|
174
174
|
/**
|
|
175
175
|
* @remarks
|
|
176
|
-
* The returned result struct
|
|
176
|
+
* The returned result struct.
|
|
177
177
|
*/
|
|
178
178
|
data?: ImageUpscaleResponseBodyData;
|
|
179
179
|
/**
|
|
@@ -194,7 +194,7 @@ export class ImageUpscaleResponseBody extends $dara.Model {
|
|
|
194
194
|
requestId?: string;
|
|
195
195
|
/**
|
|
196
196
|
* @remarks
|
|
197
|
-
* Indicates whether the call is successful.
|
|
197
|
+
* Indicates whether the API call is successful. Valid values: true and false.
|
|
198
198
|
*
|
|
199
199
|
* @example
|
|
200
200
|
* True
|
|
@@ -13,7 +13,7 @@ export class MaterialInspectionRequest extends $dara.Model {
|
|
|
13
13
|
apiId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The URL of the reference image. This parameter is optional. If
|
|
16
|
+
* The URL of the reference image. This parameter is optional. If it is not empty, the multi-image difference comparison mode is used.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* https://example.com/reference.jpg
|
|
@@ -31,7 +31,7 @@ export class MaterialInspectionRequest extends $dara.Model {
|
|
|
31
31
|
imageUrl?: string;
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
* The business request identity. This parameter is optional
|
|
34
|
+
* The business request identity. This parameter is optional and is returned as-is to facilitate Tracing Analysis.
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
37
|
* req-2026-06-04-001
|
|
@@ -39,10 +39,10 @@ export class MaterialInspectionRequest extends $dara.Model {
|
|
|
39
39
|
reqId?: string;
|
|
40
40
|
/**
|
|
41
41
|
* @remarks
|
|
42
|
-
* The rule prompt
|
|
42
|
+
* The rule prompt.
|
|
43
43
|
*
|
|
44
44
|
* @example
|
|
45
|
-
*
|
|
45
|
+
* Door-shaped display stands must be placed in the entrance area. Functional table cards must be placed on the middle counter
|
|
46
46
|
*/
|
|
47
47
|
rules?: string;
|
|
48
48
|
static names(): { [key: string]: string } {
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class MaterialInspectionResponseBodyDataResultSteps extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The judgment result. Valid values: PASS, FAIL, and UNABLE_TO_JUDGE.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* PASS
|
|
@@ -45,15 +45,15 @@ export class MaterialInspectionResponseBodyDataResultSteps extends $dara.Model {
|
|
|
45
45
|
export class MaterialInspectionResponseBodyDataResult extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The natural language summary, such as "1 rule: 1 PASS, all
|
|
48
|
+
* The natural language summary, such as \\"1 rule: 1 PASS, all detection items are compliant\\".
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
|
-
* 1 rule: 1 PASS, all
|
|
51
|
+
* 1 rule: 1 PASS, all detection items are compliant
|
|
52
52
|
*/
|
|
53
53
|
evidence?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The overall
|
|
56
|
+
* The overall judgment. Valid values: PASS and FAIL.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* PASS
|
|
@@ -61,7 +61,7 @@ export class MaterialInspectionResponseBodyDataResult extends $dara.Model {
|
|
|
61
61
|
overallResult?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The request ID returned as-is
|
|
64
|
+
* The request ID returned as-is.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* req-001
|
|
@@ -120,7 +120,7 @@ export class MaterialInspectionResponseBodyData extends $dara.Model {
|
|
|
120
120
|
result?: MaterialInspectionResponseBodyDataResult;
|
|
121
121
|
/**
|
|
122
122
|
* @remarks
|
|
123
|
-
* The usage information. The key is the usage
|
|
123
|
+
* The usage information. The key is the usage name and the value is the count.
|
|
124
124
|
*
|
|
125
125
|
* @example
|
|
126
126
|
* {"ProcessingCount":1}
|
|
@@ -158,7 +158,7 @@ export class MaterialInspectionResponseBodyData extends $dara.Model {
|
|
|
158
158
|
export class MaterialInspectionResponseBody extends $dara.Model {
|
|
159
159
|
/**
|
|
160
160
|
* @remarks
|
|
161
|
-
* The error code. This parameter is not returned
|
|
161
|
+
* The error code. This parameter is not returned when the call is successful.
|
|
162
162
|
*
|
|
163
163
|
* @example
|
|
164
164
|
* 200
|
|
@@ -171,7 +171,7 @@ export class MaterialInspectionResponseBody extends $dara.Model {
|
|
|
171
171
|
data?: MaterialInspectionResponseBodyData;
|
|
172
172
|
/**
|
|
173
173
|
* @remarks
|
|
174
|
-
* The error message. This parameter is not returned
|
|
174
|
+
* The error message. This parameter is not returned when the call is successful.
|
|
175
175
|
*
|
|
176
176
|
* @example
|
|
177
177
|
* OK
|
|
@@ -189,7 +189,7 @@ export class MaterialInspectionResponseBody extends $dara.Model {
|
|
|
189
189
|
* @remarks
|
|
190
190
|
* Indicates whether the call is successful. Valid values:
|
|
191
191
|
* - true: The call is successful.
|
|
192
|
-
* - false: The call
|
|
192
|
+
* - false: The call fails.
|
|
193
193
|
*
|
|
194
194
|
* @example
|
|
195
195
|
* True
|
|
@@ -18,7 +18,7 @@ export class MerchandisePlacementDetectionLiteResponseBodyDataResultGroundingReg
|
|
|
18
18
|
label?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The confirmable short name or text of up to 24 characters. This field is an empty string
|
|
21
|
+
* The confirmable short name or text of up to 24 characters. This field is an empty string if the text is unclear.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* 5.50
|
|
@@ -55,10 +55,10 @@ export class MerchandisePlacementDetectionLiteResponseBodyDataResultGroundingReg
|
|
|
55
55
|
export class MerchandisePlacementDetectionLiteResponseBodyDataResultGrounding extends $dara.Model {
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The coverage status. Valid values:
|
|
59
|
-
* - complete:
|
|
58
|
+
* The coverage status of the grounding. Valid values:
|
|
59
|
+
* - complete: All relevant visible targets are complete.
|
|
60
60
|
* - partial: Only some targets are valid or recognizable.
|
|
61
|
-
* - Empty string: No valid supplementary grounding
|
|
61
|
+
* - Empty string: No valid supplementary grounding result is obtained.
|
|
62
62
|
*
|
|
63
63
|
* @example
|
|
64
64
|
* complete
|
|
@@ -66,7 +66,7 @@ export class MerchandisePlacementDetectionLiteResponseBodyDataResultGrounding ex
|
|
|
66
66
|
coverage?: string;
|
|
67
67
|
/**
|
|
68
68
|
* @remarks
|
|
69
|
-
* The
|
|
69
|
+
* The array of targets, containing up to 12 items. This array can be empty if no relevant targets are found.
|
|
70
70
|
*/
|
|
71
71
|
regions?: MerchandisePlacementDetectionLiteResponseBodyDataResultGroundingRegions[];
|
|
72
72
|
static names(): { [key: string]: string } {
|
|
@@ -117,7 +117,7 @@ export class MerchandisePlacementDetectionLiteResponseBodyDataResultProductsBoxe
|
|
|
117
117
|
* The right coordinate.
|
|
118
118
|
*
|
|
119
119
|
* @example
|
|
120
|
-
*
|
|
120
|
+
* 874
|
|
121
121
|
*/
|
|
122
122
|
right?: number;
|
|
123
123
|
/**
|
|
@@ -163,7 +163,7 @@ export class MerchandisePlacementDetectionLiteResponseBodyDataResultProducts ext
|
|
|
163
163
|
boxes?: MerchandisePlacementDetectionLiteResponseBodyDataResultProductsBoxes[];
|
|
164
164
|
/**
|
|
165
165
|
* @remarks
|
|
166
|
-
* The recognition code, which is obtained by removing the
|
|
166
|
+
* The recognition code, which is obtained by removing the _ce suffix from the recognition name.
|
|
167
167
|
*
|
|
168
168
|
* @example
|
|
169
169
|
* sku_test
|
|
@@ -198,7 +198,7 @@ export class MerchandisePlacementDetectionLiteResponseBodyDataResultProducts ext
|
|
|
198
198
|
export class MerchandisePlacementDetectionLiteResponseBodyDataResult extends $dara.Model {
|
|
199
199
|
/**
|
|
200
200
|
* @remarks
|
|
201
|
-
* The supplementary element grounding
|
|
201
|
+
* The supplementary element grounding result.
|
|
202
202
|
*/
|
|
203
203
|
grounding?: MerchandisePlacementDetectionLiteResponseBodyDataResultGrounding;
|
|
204
204
|
/**
|
|
@@ -208,12 +208,12 @@ export class MerchandisePlacementDetectionLiteResponseBodyDataResult extends $da
|
|
|
208
208
|
products?: MerchandisePlacementDetectionLiteResponseBodyDataResultProducts[];
|
|
209
209
|
/**
|
|
210
210
|
* @remarks
|
|
211
|
-
* The deduplicated list of
|
|
211
|
+
* The deduplicated list of SkuId values.
|
|
212
212
|
*/
|
|
213
213
|
skuIds?: string[];
|
|
214
214
|
/**
|
|
215
215
|
* @remarks
|
|
216
|
-
* The result type
|
|
216
|
+
* The result type. The value is fixed as sku.
|
|
217
217
|
*
|
|
218
218
|
* @example
|
|
219
219
|
* sku
|
|
@@ -263,7 +263,10 @@ export class MerchandisePlacementDetectionLiteResponseBodyData extends $dara.Mod
|
|
|
263
263
|
result?: MerchandisePlacementDetectionLiteResponseBodyDataResult;
|
|
264
264
|
/**
|
|
265
265
|
* @remarks
|
|
266
|
-
* The usage map. The value is {"ProcessingCount":1}
|
|
266
|
+
* The usage map. The value is {"ProcessingCount":1} if the call is successful, or an empty object if the call fails.
|
|
267
|
+
*
|
|
268
|
+
* @example
|
|
269
|
+
* {"ProcessingCount":1}
|
|
267
270
|
*/
|
|
268
271
|
usageMap?: { [key: string]: number };
|
|
269
272
|
static names(): { [key: string]: string } {
|
|
@@ -311,7 +314,7 @@ export class MerchandisePlacementDetectionLiteResponseBody extends $dara.Model {
|
|
|
311
314
|
data?: MerchandisePlacementDetectionLiteResponseBodyData;
|
|
312
315
|
/**
|
|
313
316
|
* @remarks
|
|
314
|
-
* The
|
|
317
|
+
* The return message or failure description.
|
|
315
318
|
*
|
|
316
319
|
* @example
|
|
317
320
|
* Success
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class MerchandisePlacementDetectionProRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The HTTPS URL of the display image to
|
|
8
|
+
* The HTTPS URL of the display image to be detected.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -15,18 +15,18 @@ export class MerchandisePlacementDetectionProRequest extends $dara.Model {
|
|
|
15
15
|
imageUrl?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The detection rule.
|
|
18
|
+
* The detection rule. If this parameter is not empty, it is preferentially used as the model prompt.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
|
-
*
|
|
21
|
+
* Recognize all Genki Forest beverages on the shelf and draw bounding boxes around them
|
|
22
22
|
*/
|
|
23
23
|
rule?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The product type.
|
|
26
|
+
* The product type. If the Rule parameter is empty, you must set this parameter to Genki Forest.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
|
-
*
|
|
29
|
+
* Genki Forest
|
|
30
30
|
*/
|
|
31
31
|
type?: string;
|
|
32
32
|
static names(): { [key: string]: string } {
|
|
@@ -5,12 +5,12 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class MerchandisePlacementDetectionProResponseBodyDataData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The normalized bounding box coordinates [x1,y1,x2,y2]
|
|
8
|
+
* The normalized bounding box coordinates in the [x1,y1,x2,y2] format. Valid values: 0 to 1000.
|
|
9
9
|
*/
|
|
10
10
|
bbox2d?: number[];
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The
|
|
13
|
+
* The name of the detected product. If the name cannot be determined, the value is unknown.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* unknown
|
|
@@ -18,7 +18,7 @@ export class MerchandisePlacementDetectionProResponseBodyDataData extends $dara.
|
|
|
18
18
|
detectedSkuName?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The bounding box
|
|
21
|
+
* The index of the bounding box, starting from 1.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* 1
|
|
@@ -63,7 +63,7 @@ export class MerchandisePlacementDetectionProResponseBodyData extends $dara.Mode
|
|
|
63
63
|
boxCount?: number;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* The list of
|
|
66
|
+
* The list of detection details for each bounding box.
|
|
67
67
|
*/
|
|
68
68
|
data?: MerchandisePlacementDetectionProResponseBodyDataData[];
|
|
69
69
|
/**
|
|
@@ -116,12 +116,12 @@ export class MerchandisePlacementDetectionProResponseBody extends $dara.Model {
|
|
|
116
116
|
code?: string;
|
|
117
117
|
/**
|
|
118
118
|
* @remarks
|
|
119
|
-
* The detection result of
|
|
119
|
+
* The detection result of the retail display detection Pro edition.
|
|
120
120
|
*/
|
|
121
121
|
data?: MerchandisePlacementDetectionProResponseBodyData;
|
|
122
122
|
/**
|
|
123
123
|
* @remarks
|
|
124
|
-
* The
|
|
124
|
+
* The returned message or failure description.
|
|
125
125
|
*
|
|
126
126
|
* @example
|
|
127
127
|
* Success
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class MerchandisePlacementDetectionRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* 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.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* api_xxx
|
|
@@ -13,7 +13,7 @@ export class MerchandisePlacementDetectionRequest extends $dara.Model {
|
|
|
13
13
|
apiId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The URL of the original shelf or floor
|
|
16
|
+
* The URL of the original shelf or floor display image to be recognized. The URL must be accessible over the Internet or from OSS.
|
|
17
17
|
*
|
|
18
18
|
* This parameter is required.
|
|
19
19
|
*
|
|
@@ -23,7 +23,7 @@ export class MerchandisePlacementDetectionRequest extends $dara.Model {
|
|
|
23
23
|
imageUrl?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The ID of the customer-specific SKU vector
|
|
26
|
+
* 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.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* rag_xxx
|
|
@@ -31,18 +31,18 @@ export class MerchandisePlacementDetectionRequest extends $dara.Model {
|
|
|
31
31
|
ragId?: string;
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
* The custom rule.
|
|
34
|
+
* 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.
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
|
-
*
|
|
37
|
+
* 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"}]
|
|
38
38
|
*/
|
|
39
39
|
rule?: string;
|
|
40
40
|
/**
|
|
41
41
|
* @remarks
|
|
42
|
-
* The business type
|
|
42
|
+
* The business type. This parameter is reserved for future routing based on business lines. Currently, only skincare products are supported.
|
|
43
43
|
*
|
|
44
44
|
* @example
|
|
45
|
-
*
|
|
45
|
+
* Skincare products
|
|
46
46
|
*/
|
|
47
47
|
type?: string;
|
|
48
48
|
static names(): { [key: string]: string } {
|