@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.
Files changed (202) hide show
  1. package/dist/client.d.ts +774 -630
  2. package/dist/client.js +863 -630
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddDisplayKnowledgeResponseBody.d.ts +3 -0
  5. package/dist/models/AddDisplayKnowledgeResponseBody.js.map +1 -1
  6. package/dist/models/AiTryOnRequest.d.ts +65 -8
  7. package/dist/models/AiTryOnRequest.js +10 -0
  8. package/dist/models/AiTryOnRequest.js.map +1 -1
  9. package/dist/models/AiTryOnResponseBody.d.ts +8 -8
  10. package/dist/models/CategoryAttributeMatchResponseBody.d.ts +3 -0
  11. package/dist/models/CategoryAttributeMatchResponseBody.js.map +1 -1
  12. package/dist/models/DeleteDisplayKnowledgeResponseBody.d.ts +3 -0
  13. package/dist/models/DeleteDisplayKnowledgeResponseBody.js.map +1 -1
  14. package/dist/models/DocumentTranslateRequest.d.ts +10 -7
  15. package/dist/models/DocumentTranslateRequest.js.map +1 -1
  16. package/dist/models/DocumentTranslateResponseBody.d.ts +3 -3
  17. package/dist/models/EcomVideoRecreationRequest.d.ts +11 -17
  18. package/dist/models/EcomVideoRecreationRequest.js.map +1 -1
  19. package/dist/models/EcomVideoRecreationResponseBody.d.ts +3 -3
  20. package/dist/models/EcomVideoRecreationShrinkRequest.d.ts +2 -2
  21. package/dist/models/GeneralRephotographyDetectionResponseBody.d.ts +4 -4
  22. package/dist/models/GenerateProductContentRequest.d.ts +11 -13
  23. package/dist/models/GenerateProductContentRequest.js.map +1 -1
  24. package/dist/models/GenerateProductContentResponseBody.d.ts +9 -7
  25. package/dist/models/GenerateProductContentResponseBody.js.map +1 -1
  26. package/dist/models/ImageMattingAsyncRequest.d.ts +1 -1
  27. package/dist/models/ImageMattingAsyncResponseBody.d.ts +2 -2
  28. package/dist/models/ImageRecognitionAsyncRequest.d.ts +14 -11
  29. package/dist/models/ImageRecognitionAsyncRequest.js.map +1 -1
  30. package/dist/models/ImageRecognitionAsyncResponseBody.d.ts +5 -5
  31. package/dist/models/ImageRecognitionAsyncShrinkRequest.d.ts +14 -11
  32. package/dist/models/ImageRecognitionAsyncShrinkRequest.js.map +1 -1
  33. package/dist/models/ImageRemovalProAsyncRequest.d.ts +1 -1
  34. package/dist/models/ImageRemovalProAsyncResponseBody.d.ts +5 -7
  35. package/dist/models/ImageRemovalProAsyncResponseBody.js.map +1 -1
  36. package/dist/models/ImageRemovalProResponseBody.d.ts +3 -0
  37. package/dist/models/ImageRemovalProResponseBody.js.map +1 -1
  38. package/dist/models/ImageRemoveAsyncRequest.d.ts +19 -8
  39. package/dist/models/ImageRemoveAsyncRequest.js.map +1 -1
  40. package/dist/models/ImageRemoveAsyncResponseBody.d.ts +8 -6
  41. package/dist/models/ImageRemoveAsyncResponseBody.js.map +1 -1
  42. package/dist/models/ImageRemoveAsyncShrinkRequest.d.ts +19 -8
  43. package/dist/models/ImageRemoveAsyncShrinkRequest.js.map +1 -1
  44. package/dist/models/ImageTranslationPlusAsyncRequest.d.ts +11 -11
  45. package/dist/models/ImageTranslationPlusAsyncResponseBody.d.ts +4 -4
  46. package/dist/models/ImageTranslationProAsyncRequest.d.ts +5 -5
  47. package/dist/models/ImageTranslationProAsyncResponseBody.d.ts +1 -1
  48. package/dist/models/ImageTranslationStandardAsyncRequest.d.ts +1 -1
  49. package/dist/models/ImageTranslationStandardAsyncResponseBody.d.ts +3 -3
  50. package/dist/models/ImageTranslationStandardRequest.d.ts +4 -4
  51. package/dist/models/ImageTranslationStandardResponseBody.d.ts +10 -10
  52. package/dist/models/ImageUpscaleRequest.d.ts +1 -1
  53. package/dist/models/ImageUpscaleResponseBody.d.ts +7 -7
  54. package/dist/models/MaterialInspectionRequest.d.ts +4 -4
  55. package/dist/models/MaterialInspectionResponseBody.d.ts +9 -9
  56. package/dist/models/MerchandisePlacementDetectionLiteResponseBody.d.ts +15 -12
  57. package/dist/models/MerchandisePlacementDetectionLiteResponseBody.js.map +1 -1
  58. package/dist/models/MerchandisePlacementDetectionProRequest.d.ts +5 -5
  59. package/dist/models/MerchandisePlacementDetectionProResponseBody.d.ts +6 -6
  60. package/dist/models/MerchandisePlacementDetectionRequest.d.ts +7 -7
  61. package/dist/models/MerchandisePlacementDetectionResponseBody.d.ts +19 -19
  62. package/dist/models/MerchandisePriceTagDetectionRequest.d.ts +1 -1
  63. package/dist/models/MerchandisePriceTagDetectionResponseBody.d.ts +11 -11
  64. package/dist/models/MerchandiseSceneDetectionRequest.d.ts +1 -1
  65. package/dist/models/MerchandiseSceneDetectionResponseBody.d.ts +16 -10
  66. package/dist/models/MerchandiseSceneDetectionResponseBody.js.map +1 -1
  67. package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.d.ts +7 -7
  68. package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.d.ts +12 -9
  69. package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.js.map +1 -1
  70. package/dist/models/PrepaidTextTranslateRequest.d.ts +8 -8
  71. package/dist/models/PrepaidTextTranslateResponseBody.d.ts +11 -8
  72. package/dist/models/PrepaidTextTranslateResponseBody.js.map +1 -1
  73. package/dist/models/PrepaidTextTranslateShrinkRequest.d.ts +8 -8
  74. package/dist/models/ProductVideoGenerationRequest.d.ts +62 -0
  75. package/dist/models/ProductVideoGenerationRequest.js +71 -0
  76. package/dist/models/ProductVideoGenerationRequest.js.map +1 -0
  77. package/dist/models/ProductVideoGenerationResponse.d.ts +19 -0
  78. package/dist/models/ProductVideoGenerationResponse.js +69 -0
  79. package/dist/models/ProductVideoGenerationResponse.js.map +1 -0
  80. package/dist/models/ProductVideoGenerationResponseBody.d.ts +86 -0
  81. package/dist/models/ProductVideoGenerationResponseBody.js +92 -0
  82. package/dist/models/ProductVideoGenerationResponseBody.js.map +1 -0
  83. package/dist/models/ProductVideoGenerationShrinkRequest.d.ts +62 -0
  84. package/dist/models/ProductVideoGenerationShrinkRequest.js +68 -0
  85. package/dist/models/ProductVideoGenerationShrinkRequest.js.map +1 -0
  86. package/dist/models/QueryDisplayKnowledgeResponseBody.d.ts +3 -0
  87. package/dist/models/QueryDisplayKnowledgeResponseBody.js.map +1 -1
  88. package/dist/models/SizeChartExtractAsyncRequest.d.ts +3 -3
  89. package/dist/models/SizeChartExtractAsyncResponseBody.d.ts +7 -5
  90. package/dist/models/SizeChartExtractAsyncResponseBody.js.map +1 -1
  91. package/dist/models/SizeChartExtractAsyncShrinkRequest.d.ts +3 -3
  92. package/dist/models/StorefrontSceneRecognitionRequest.d.ts +1 -1
  93. package/dist/models/StorefrontSceneRecognitionResponseBody.d.ts +9 -6
  94. package/dist/models/StorefrontSceneRecognitionResponseBody.js.map +1 -1
  95. package/dist/models/SubmitProductMatchRequest.d.ts +8 -8
  96. package/dist/models/SubmitProductMatchResponseBody.d.ts +7 -7
  97. package/dist/models/TextTranslateAsyncRequest.d.ts +9 -9
  98. package/dist/models/TextTranslateAsyncResponseBody.d.ts +6 -6
  99. package/dist/models/TextTranslateAsyncShrinkRequest.d.ts +9 -9
  100. package/dist/models/UpdateDisplayKnowledgeResponseBody.d.ts +3 -0
  101. package/dist/models/UpdateDisplayKnowledgeResponseBody.js.map +1 -1
  102. package/dist/models/VacancyDetectionRequest.d.ts +39 -0
  103. package/dist/models/VacancyDetectionRequest.js +62 -0
  104. package/dist/models/VacancyDetectionRequest.js.map +1 -0
  105. package/dist/models/VacancyDetectionResponse.d.ts +19 -0
  106. package/dist/models/VacancyDetectionResponse.js +69 -0
  107. package/dist/models/VacancyDetectionResponse.js.map +1 -0
  108. package/dist/models/VacancyDetectionResponseBody.d.ts +83 -0
  109. package/dist/models/VacancyDetectionResponseBody.js +93 -0
  110. package/dist/models/VacancyDetectionResponseBody.js.map +1 -0
  111. package/dist/models/VideoGenerationRequest.d.ts +18 -17
  112. package/dist/models/VideoGenerationRequest.js.map +1 -1
  113. package/dist/models/VideoGenerationResponseBody.d.ts +2 -2
  114. package/dist/models/VideoTranslationRequest.d.ts +8 -17
  115. package/dist/models/VideoTranslationRequest.js.map +1 -1
  116. package/dist/models/VideoTranslationResponseBody.d.ts +4 -6
  117. package/dist/models/VideoTranslationResponseBody.js.map +1 -1
  118. package/dist/models/VideoTranslationShrinkRequest.d.ts +8 -17
  119. package/dist/models/VideoTranslationShrinkRequest.js.map +1 -1
  120. package/dist/models/VirtualTryOnResponseBody.d.ts +7 -6
  121. package/dist/models/VirtualTryOnResponseBody.js.map +1 -1
  122. package/dist/models/model.d.ts +9 -0
  123. package/dist/models/model.js +23 -5
  124. package/dist/models/model.js.map +1 -1
  125. package/package.json +1 -1
  126. package/src/client.ts +882 -630
  127. package/src/models/AddDisplayKnowledgeResponseBody.ts +3 -0
  128. package/src/models/AiTryOnRequest.ts +75 -8
  129. package/src/models/AiTryOnResponseBody.ts +8 -8
  130. package/src/models/CategoryAttributeMatchResponseBody.ts +3 -0
  131. package/src/models/DeleteDisplayKnowledgeResponseBody.ts +3 -0
  132. package/src/models/DocumentTranslateRequest.ts +10 -7
  133. package/src/models/DocumentTranslateResponseBody.ts +3 -3
  134. package/src/models/EcomVideoRecreationRequest.ts +11 -17
  135. package/src/models/EcomVideoRecreationResponseBody.ts +3 -3
  136. package/src/models/EcomVideoRecreationShrinkRequest.ts +2 -2
  137. package/src/models/GeneralRephotographyDetectionResponseBody.ts +4 -4
  138. package/src/models/GenerateProductContentRequest.ts +11 -13
  139. package/src/models/GenerateProductContentResponseBody.ts +9 -7
  140. package/src/models/ImageMattingAsyncRequest.ts +1 -1
  141. package/src/models/ImageMattingAsyncResponseBody.ts +2 -2
  142. package/src/models/ImageRecognitionAsyncRequest.ts +14 -11
  143. package/src/models/ImageRecognitionAsyncResponseBody.ts +5 -5
  144. package/src/models/ImageRecognitionAsyncShrinkRequest.ts +14 -11
  145. package/src/models/ImageRemovalProAsyncRequest.ts +1 -1
  146. package/src/models/ImageRemovalProAsyncResponseBody.ts +5 -7
  147. package/src/models/ImageRemovalProResponseBody.ts +3 -0
  148. package/src/models/ImageRemoveAsyncRequest.ts +19 -8
  149. package/src/models/ImageRemoveAsyncResponseBody.ts +8 -6
  150. package/src/models/ImageRemoveAsyncShrinkRequest.ts +19 -8
  151. package/src/models/ImageTranslationPlusAsyncRequest.ts +11 -11
  152. package/src/models/ImageTranslationPlusAsyncResponseBody.ts +4 -4
  153. package/src/models/ImageTranslationProAsyncRequest.ts +5 -5
  154. package/src/models/ImageTranslationProAsyncResponseBody.ts +1 -1
  155. package/src/models/ImageTranslationStandardAsyncRequest.ts +1 -1
  156. package/src/models/ImageTranslationStandardAsyncResponseBody.ts +3 -3
  157. package/src/models/ImageTranslationStandardRequest.ts +4 -4
  158. package/src/models/ImageTranslationStandardResponseBody.ts +10 -10
  159. package/src/models/ImageUpscaleRequest.ts +1 -1
  160. package/src/models/ImageUpscaleResponseBody.ts +7 -7
  161. package/src/models/MaterialInspectionRequest.ts +4 -4
  162. package/src/models/MaterialInspectionResponseBody.ts +9 -9
  163. package/src/models/MerchandisePlacementDetectionLiteResponseBody.ts +15 -12
  164. package/src/models/MerchandisePlacementDetectionProRequest.ts +5 -5
  165. package/src/models/MerchandisePlacementDetectionProResponseBody.ts +6 -6
  166. package/src/models/MerchandisePlacementDetectionRequest.ts +7 -7
  167. package/src/models/MerchandisePlacementDetectionResponseBody.ts +19 -19
  168. package/src/models/MerchandisePriceTagDetectionRequest.ts +1 -1
  169. package/src/models/MerchandisePriceTagDetectionResponseBody.ts +11 -11
  170. package/src/models/MerchandiseSceneDetectionRequest.ts +1 -1
  171. package/src/models/MerchandiseSceneDetectionResponseBody.ts +16 -10
  172. package/src/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.ts +7 -7
  173. package/src/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.ts +12 -9
  174. package/src/models/PrepaidTextTranslateRequest.ts +8 -8
  175. package/src/models/PrepaidTextTranslateResponseBody.ts +11 -8
  176. package/src/models/PrepaidTextTranslateShrinkRequest.ts +8 -8
  177. package/src/models/ProductVideoGenerationRequest.ts +88 -0
  178. package/src/models/ProductVideoGenerationResponse.ts +40 -0
  179. package/src/models/ProductVideoGenerationResponseBody.ts +124 -0
  180. package/src/models/ProductVideoGenerationShrinkRequest.ts +85 -0
  181. package/src/models/QueryDisplayKnowledgeResponseBody.ts +3 -0
  182. package/src/models/SizeChartExtractAsyncRequest.ts +3 -3
  183. package/src/models/SizeChartExtractAsyncResponseBody.ts +7 -5
  184. package/src/models/SizeChartExtractAsyncShrinkRequest.ts +3 -3
  185. package/src/models/StorefrontSceneRecognitionRequest.ts +1 -1
  186. package/src/models/StorefrontSceneRecognitionResponseBody.ts +9 -6
  187. package/src/models/SubmitProductMatchRequest.ts +8 -8
  188. package/src/models/SubmitProductMatchResponseBody.ts +7 -7
  189. package/src/models/TextTranslateAsyncRequest.ts +9 -9
  190. package/src/models/TextTranslateAsyncResponseBody.ts +6 -6
  191. package/src/models/TextTranslateAsyncShrinkRequest.ts +9 -9
  192. package/src/models/UpdateDisplayKnowledgeResponseBody.ts +3 -0
  193. package/src/models/VacancyDetectionRequest.ts +56 -0
  194. package/src/models/VacancyDetectionResponse.ts +40 -0
  195. package/src/models/VacancyDetectionResponseBody.ts +120 -0
  196. package/src/models/VideoGenerationRequest.ts +18 -17
  197. package/src/models/VideoGenerationResponseBody.ts +2 -2
  198. package/src/models/VideoTranslationRequest.ts +8 -17
  199. package/src/models/VideoTranslationResponseBody.ts +4 -6
  200. package/src/models/VideoTranslationShrinkRequest.ts +8 -17
  201. package/src/models/VirtualTryOnResponseBody.ts +7 -6
  202. 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 ID used to query the asynchronous task result.
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 successful calls.
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 successful calls.
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: false. This helps protect information and prevents embedded information such as product names from being translated.
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
- * false
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 and can be used to integrate with image editors for secondary editing. Default value: false.
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 number of lines.
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 number of lines.
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 rectangles.
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 URL.
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 URL.
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 image generated after the image translation.
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, including the URL of the translated image and usage information.
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. This parameter returns Success for successful calls and specific error messages for exceptions.
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 of the request.
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 was successful. A value of true indicates success, and a value of false indicates failure.
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. You cannot use private network addresses such as localhost. The width and height of the input image must be greater than 100 pixels and less than 3000 pixels. The width and height of the upscaled image must not exceed 3000 pixels.
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 high-definition upscaling for a single image.
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. Returned upon failure, such as InvalidParameter or DownstreamUnavailable.
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. Returned upon failure.
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 operation is successful. A value of true indicates success, and a value of false indicates failure.
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 ID. This parameter is empty for synchronous operations.
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 information.
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. A value of true indicates success, and a value of false indicates failure.
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 a non-empty value is specified, multi-image differential comparison is performed.
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. The value is returned as-is in the response for Tracing Analysis purposes.
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 in natural language.
42
+ * The rule prompt.
43
43
  *
44
44
  * @example
45
- * The door-shaped display stand must be placed in the entrance area; the functional card stand must be placed on the counter surface
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 determination result of the step. Valid values: PASS, FAIL, and UNABLE_TO_JUDGE.
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 inspection items are compliant."
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 inspection items are compliant
51
+ * 1 rule: 1 PASS, all detection items are compliant
52
52
  */
53
53
  evidence?: string;
54
54
  /**
55
55
  * @remarks
56
- * The overall determination result. Valid values: PASS and FAIL.
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 from the request.
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 metric name and the value is the count.
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 if the call is successful.
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 if the call is successful.
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 failed.
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 when the text is unclear.
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: The relevant visible targets are 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 results are obtained.
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 target array, which contains up to 12 items. This array can be empty when no relevant targets are found.
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
- * (\\"874\\")
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 trailing _ce from the recognition name.
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 results.
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 SkuIds.
211
+ * The deduplicated list of SkuId values.
212
212
  */
213
213
  skuIds?: string[];
214
214
  /**
215
215
  * @remarks
216
- * The result type, which is fixed to sku.
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} for a successful call, and an empty object for a failed call.
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 response message or failure description.
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 detect.
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. When non-empty, this value takes priority as the model prompt.
18
+ * The detection rule. If this parameter is not empty, it is preferentially used as the model prompt.
19
19
  *
20
20
  * @example
21
- * Identify all Genki Forest beverages on the shelf and mark their positions
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. This parameter must be set to Genki Forest when Rule is empty.
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], with values in the range 0–1000.
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 detected product name. The value is unknown if the name cannot be determined.
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 index, starting from 1.
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 per-box detection details.
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 product display detection Pro.
119
+ * The detection result of the retail display detection Pro edition.
120
120
  */
121
121
  data?: MerchandisePlacementDetectionProResponseBodyData;
122
122
  /**
123
123
  * @remarks
124
- * The response message or failure description.
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
- * Specify this parameter to use a custom API version. If you created a custom API during the trial phase, you can find the corresponding ApiId in the product console under Intelligent Inspection > API Management > My API.
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 stack image to be recognized (accessible over the Internet or through OSS).
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 library, which determines which library is used for retrieval. The library must be created in advance through the library creation process.
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. Enter a detection prompt as the workflow input parameter rule. When this parameter is specified, the type parameter is not required (a dedicated rule branch is used). If Rule is empty, you must specify Type to start detection.
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
- * Please identify 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"}]
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 (reserved for future routing by business line). The current release supports skincare & lotion.
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 } {