@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
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageRecognitionAsyncRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The business order ID of the caller. It is recorded upon acceptance and returned as is when you query the result of the asynchronous task.
5
+ * The business order ID of the caller. It is recorded upon acceptance and returned as is when querying the asynchronous task result.
6
6
  *
7
7
  * @example
8
8
  * order-20260928-001
@@ -20,17 +20,23 @@ export declare class ImageRecognitionAsyncRequest extends $dara.Model {
20
20
  imageUrl?: string;
21
21
  /**
22
22
  * @remarks
23
- * The types of elements to be detected outside the image subject. Valid values: 1: Watermark. 2: Logo. 3: Text. 4: Text-containing color block. You can specify multiple values. This parameter and ObjectDetectElements cannot be both empty.
23
+ * The types of elements to detect outside the image subject. Valid values: 1 (watermark), 2 (logo), 3 (text), and 4 (text-containing color block). You can specify multiple values. This parameter and ObjectDetectElements cannot be empty at the same time.
24
+ *
25
+ * @example
26
+ * [1,2,3,4]
24
27
  */
25
28
  nonObjectDetectElements?: number[];
26
29
  /**
27
30
  * @remarks
28
- * The types of elements to be detected on the image subject. Valid values: 1: Watermark. 2: Logo. 3: Text. 4: Text-containing color block. You can specify multiple values.
31
+ * The types of elements to detect on the image subject. Valid values: 1 (watermark), 2 (logo), 3 (text), and 4 (text-containing color block). You can specify multiple values.
32
+ *
33
+ * @example
34
+ * [1,2,3,4]
29
35
  */
30
36
  objectDetectElements?: number[];
31
37
  /**
32
38
  * @remarks
33
- * Specifies whether to return the marginalization distance of the subject. Valid values: 1: Yes. 0: No. Default value: 0.
39
+ * Specifies whether to return the marginalization distance of the subject. Valid values: 1 (yes) and 0 (no). Default value: 0.
34
40
  *
35
41
  * @example
36
42
  * 1
@@ -38,7 +44,7 @@ export declare class ImageRecognitionAsyncRequest extends $dara.Model {
38
44
  returnBorderPixel?: number;
39
45
  /**
40
46
  * @remarks
41
- * Specifies whether to return the OCR result of the text in the recognized area. Valid values: 1: Yes. 0: No. Default value: 0.
47
+ * Specifies whether to return the OCR results of the text in the recognized area. Valid values: 1 (yes) and 0 (no). Default value: 0.
42
48
  *
43
49
  * @example
44
50
  * 1
@@ -46,10 +52,7 @@ export declare class ImageRecognitionAsyncRequest extends $dara.Model {
46
52
  returnCharacter?: number;
47
53
  /**
48
54
  * @remarks
49
- * Specifies whether to return the text proportion. Valid values: 1: Yes. 0: No. Default value: 0.
50
- * This parameter takes effect only when the following two conditions are met:
51
- * 1. ReturnCharacter is set to 1.
52
- * 2. ObjectDetectElements or NonObjectDetectElements is set to 3, which means text recognition is required.
55
+ * Specifies whether to return the text proportion. Valid values: 1 (yes) and 0 (no). Default value: 0. This parameter takes effect only when the following conditions are met: 1. ReturnCharacter is set to 1. 2. ObjectDetectElements or NonObjectDetectElements is set to 3, which means text recognition is required.
53
56
  *
54
57
  * @example
55
58
  * 1
@@ -57,7 +60,7 @@ export declare class ImageRecognitionAsyncRequest extends $dara.Model {
57
60
  returnCharacterProp?: number;
58
61
  /**
59
62
  * @remarks
60
- * Specifies whether to return the number of subjects. Valid values: 1: Yes. 0: No. Default value: 0.
63
+ * Specifies whether to return the number of subjects. Valid values: 1 (yes) and 0 (no). Default value: 0.
61
64
  *
62
65
  * @example
63
66
  * 1
@@ -65,7 +68,7 @@ export declare class ImageRecognitionAsyncRequest extends $dara.Model {
65
68
  returnProductNum?: number;
66
69
  /**
67
70
  * @remarks
68
- * Specifies whether to return the area proportion of the subject. Valid values: 1: Yes. 0: No. Default value: 0.
71
+ * Specifies whether to return the area proportion of the subject. Valid values: 1 (yes) and 0 (no). Default value: 0.
69
72
  *
70
73
  * @example
71
74
  * 1
@@ -1 +1 @@
1
- {"version":3,"file":"ImageRecognitionAsyncRequest.js","sourceRoot":"","sources":["../../src/models/ImageRecognitionAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAwE3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,uBAAuB,EAAE,yBAAyB;YAClD,oBAAoB,EAAE,sBAAsB;YAC5C,iBAAiB,EAAE,mBAAmB;YACtC,eAAe,EAAE,iBAAiB;YAClC,mBAAmB,EAAE,qBAAqB;YAC1C,g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ID of the task. It is used to query the result of the asynchronous task.
5
+ * The task ID used to query the asynchronous task result.
6
6
  *
7
7
  * @example
8
8
  * TID_550e8400-e29b-41d4-a716-446655440000
@@ -30,12 +30,12 @@ export declare class ImageRecognitionAsyncResponseBody extends $dara.Model {
30
30
  code?: string;
31
31
  /**
32
32
  * @remarks
33
- * The returned struct information of the result.
33
+ * The returned result struct.
34
34
  */
35
35
  data?: ImageRecognitionAsyncResponseBodyData;
36
36
  /**
37
37
  * @remarks
38
- * The error message, such as The parameter contains sensitive information. Try another input.
38
+ * The error message, such as "The parameter contains sensitive information. Try another input."
39
39
  *
40
40
  * @example
41
41
  * OK
@@ -43,7 +43,7 @@ export declare class ImageRecognitionAsyncResponseBody extends $dara.Model {
43
43
  message?: string;
44
44
  /**
45
45
  * @remarks
46
- * The ID of the request. It is used to identify a unique request.
46
+ * The request ID, which is used to identify a unique request.
47
47
  *
48
48
  * @example
49
49
  * E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
@@ -51,7 +51,7 @@ export declare class ImageRecognitionAsyncResponseBody extends $dara.Model {
51
51
  requestId?: string;
52
52
  /**
53
53
  * @remarks
54
- * Indicates whether the call is successful. Valid values: true: Successful. false: Failed.
54
+ * Indicates whether the call is successful. Valid values: true (successful) and false (failed).
55
55
  *
56
56
  * @example
57
57
  * True
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The business order ID of the caller. It is recorded upon acceptance and returned as is when you query the result of the asynchronous task.
5
+ * The business order ID of the caller. It is recorded upon acceptance and returned as is when querying the asynchronous task result.
6
6
  *
7
7
  * @example
8
8
  * order-20260928-001
@@ -20,17 +20,23 @@ export declare class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
20
20
  imageUrl?: string;
21
21
  /**
22
22
  * @remarks
23
- * The types of elements to be detected outside the image subject. Valid values: 1: Watermark. 2: Logo. 3: Text. 4: Text-containing color block. You can specify multiple values. This parameter and ObjectDetectElements cannot be both empty.
23
+ * The types of elements to detect outside the image subject. Valid values: 1 (watermark), 2 (logo), 3 (text), and 4 (text-containing color block). You can specify multiple values. This parameter and ObjectDetectElements cannot be empty at the same time.
24
+ *
25
+ * @example
26
+ * [1,2,3,4]
24
27
  */
25
28
  nonObjectDetectElementsShrink?: string;
26
29
  /**
27
30
  * @remarks
28
- * The types of elements to be detected on the image subject. Valid values: 1: Watermark. 2: Logo. 3: Text. 4: Text-containing color block. You can specify multiple values.
31
+ * The types of elements to detect on the image subject. Valid values: 1 (watermark), 2 (logo), 3 (text), and 4 (text-containing color block). You can specify multiple values.
32
+ *
33
+ * @example
34
+ * [1,2,3,4]
29
35
  */
30
36
  objectDetectElementsShrink?: string;
31
37
  /**
32
38
  * @remarks
33
- * Specifies whether to return the marginalization distance of the subject. Valid values: 1: Yes. 0: No. Default value: 0.
39
+ * Specifies whether to return the marginalization distance of the subject. Valid values: 1 (yes) and 0 (no). Default value: 0.
34
40
  *
35
41
  * @example
36
42
  * 1
@@ -38,7 +44,7 @@ export declare class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
38
44
  returnBorderPixel?: number;
39
45
  /**
40
46
  * @remarks
41
- * Specifies whether to return the OCR result of the text in the recognized area. Valid values: 1: Yes. 0: No. Default value: 0.
47
+ * Specifies whether to return the OCR results of the text in the recognized area. Valid values: 1 (yes) and 0 (no). Default value: 0.
42
48
  *
43
49
  * @example
44
50
  * 1
@@ -46,10 +52,7 @@ export declare class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
46
52
  returnCharacter?: number;
47
53
  /**
48
54
  * @remarks
49
- * Specifies whether to return the text proportion. Valid values: 1: Yes. 0: No. Default value: 0.
50
- * This parameter takes effect only when the following two conditions are met:
51
- * 1. ReturnCharacter is set to 1.
52
- * 2. ObjectDetectElements or NonObjectDetectElements is set to 3, which means text recognition is required.
55
+ * Specifies whether to return the text proportion. Valid values: 1 (yes) and 0 (no). Default value: 0. This parameter takes effect only when the following conditions are met: 1. ReturnCharacter is set to 1. 2. ObjectDetectElements or NonObjectDetectElements is set to 3, which means text recognition is required.
53
56
  *
54
57
  * @example
55
58
  * 1
@@ -57,7 +60,7 @@ export declare class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
57
60
  returnCharacterProp?: number;
58
61
  /**
59
62
  * @remarks
60
- * Specifies whether to return the number of subjects. Valid values: 1: Yes. 0: No. Default value: 0.
63
+ * Specifies whether to return the number of subjects. Valid values: 1 (yes) and 0 (no). Default value: 0.
61
64
  *
62
65
  * @example
63
66
  * 1
@@ -65,7 +68,7 @@ export declare class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
65
68
  returnProductNum?: number;
66
69
  /**
67
70
  * @remarks
68
- * Specifies whether to return the area proportion of the subject. Valid values: 1: Yes. 0: No. Default value: 0.
71
+ * Specifies whether to return the area proportion of the subject. Valid values: 1 (yes) and 0 (no). Default value: 0.
69
72
  *
70
73
  * @example
71
74
  * 1
@@ -1 +1 @@
1
- {"version":3,"file":"ImageRecognitionAsyncShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ImageRecognitionAsyncShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IAwEjE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,6BAA6B,EAAE,yBAAyB;YACxD,0BAA0B,EAAE,sBAAsB;YAClD,iBAAiB,EAAE,mBAAmB;YACtC,eAAe,EAAE,iBAAiB;YAClC,mBAAmB,EAAE,qBAAqB;YAC1C,gBAAgB,EAAE,kBAAkB;YACpC,iBAAiB,EAAE,mBAAmB;SACvC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,QAAQ,EAA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N,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9GD,gFA8GC"}
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageRemovalProAsyncRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The business ID of the caller. This ID is recorded when the request is accepted and returned as-is when you query the asynchronous task result.
5
+ * The business ID of the caller. It is recorded when the request is accepted and returned as is when you query the result of the asynchronous task.
6
6
  *
7
7
  * @example
8
8
  * order-20260928-001
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageRemovalProAsyncResponseBodyData extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The ID of the task used to query the asynchronous task result.
5
+ * The ID of the task, which is used to query the result of the asynchronous task.
6
6
  *
7
7
  * @example
8
8
  * TID_550e8400-e29b-41d4-a716-446655440000
@@ -22,7 +22,7 @@ export declare class ImageRemovalProAsyncResponseBodyData extends $dara.Model {
22
22
  export declare class ImageRemovalProAsyncResponseBody extends $dara.Model {
23
23
  /**
24
24
  * @remarks
25
- * The error code. This parameter is not returned for successful calls.
25
+ * The error code. This parameter is not returned if the call is successful.
26
26
  *
27
27
  * @example
28
28
  * success
@@ -35,7 +35,7 @@ export declare class ImageRemovalProAsyncResponseBody extends $dara.Model {
35
35
  data?: ImageRemovalProAsyncResponseBodyData;
36
36
  /**
37
37
  * @remarks
38
- * The error message. This parameter is not returned for successful calls. Example: "The parameters contain sensitive information. Please try another input."
38
+ * The error message. This parameter is not returned if the call is successful. Example: "The parameters contain sensitive information. Try another input."
39
39
  *
40
40
  * @example
41
41
  * OK
@@ -43,7 +43,7 @@ export declare class ImageRemovalProAsyncResponseBody extends $dara.Model {
43
43
  message?: string;
44
44
  /**
45
45
  * @remarks
46
- * The request ID, which uniquely identifies the request.
46
+ * The ID of the request.
47
47
  *
48
48
  * @example
49
49
  * E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
@@ -51,9 +51,7 @@ export declare class ImageRemovalProAsyncResponseBody extends $dara.Model {
51
51
  requestId?: string;
52
52
  /**
53
53
  * @remarks
54
- * Indicates whether the call is successful. Valid values:
55
- * - true: The call is successful.
56
- * - false: The call fails.
54
+ * Indicates whether the call is successful. Valid values: true and false.
57
55
  *
58
56
  * @example
59
57
  * True
@@ -1 +1 @@
1
- {"version":3,"file":"ImageRemovalProAsyncResponseBody.js","sourceRoot":"","sources":["../../src/models/ImageRemovalProAsyncResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IASnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5BD,oFA4BC;AAED,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAwC/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,oCAAoC;YAC1C,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtED,4EAsEC"}
1
+ {"version":3,"file":"ImageRemovalProAsyncResponseBody.js","sourceRoot":"","sources":["../../src/models/ImageRemovalProAsyncResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IASnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5BD,oFA4BC;AAED,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAsC/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,oCAAoC;YAC1C,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApED,4EAoEC"}
@@ -19,6 +19,9 @@ export declare class ImageRemovalProResponseBodyData extends $dara.Model {
19
19
  /**
20
20
  * @remarks
21
21
  * The usage details. This parameter is returned in synchronous mode.
22
+ *
23
+ * @example
24
+ * {"ProcessedImageCount":1}
22
25
  */
23
26
  usageMap?: {
24
27
  [key: string]: number;
@@ -1 +1 @@
1
- {"version":3,"file":"ImageRemovalProResponseBody.js","sourceRoot":"","sources":["../../src/models/ImageRemovalProResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAsB9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;SACxE,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;YACjB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACzC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhDD,0EAgDC;AAED,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAwC1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,+BAA+B;YACrC,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtED,kEAsEC"}
1
+ {"version":3,"file":"ImageRemovalProResponseBody.js","sourceRoot":"","sources":["../../src/models/ImageRemovalProResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAyB9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,MA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
- * The business order ID of the caller. It is recorded upon acceptance and returned as is when querying the asynchronous task result.
5
+ * The business order ID of the caller. This ID is recorded when the request is accepted and returned as-is when you query the result of the asynchronous task.
6
6
  *
7
7
  * @example
8
8
  * order-20260928-001
@@ -10,7 +10,7 @@ export declare class ImageRemoveAsyncRequest extends $dara.Model {
10
10
  bizId?: string;
11
11
  /**
12
12
  * @remarks
13
- * The URL of the original image. The image must be in JPG, JPEG, PNG, BMP, or WEBP format. The resolution must be between 256 × 256 and 3000 × 3000 pixels, and the file size must not exceed 10 MB.
13
+ * The URL of the original image. The image must be in JPG, JPEG, PNG, BMP, or WEBP format. The resolution must be between 256×256 and 3000×3000 pixels, and the file size cannot exceed 10 MB.
14
14
  *
15
15
  * This parameter is required.
16
16
  *
@@ -20,7 +20,7 @@ export declare class ImageRemoveAsyncRequest extends $dara.Model {
20
20
  imageUrl?: string;
21
21
  /**
22
22
  * @remarks
23
- * The specific area to remove. This parameter must be used in conjunction with the editor. The input format is RLE. If this parameter is specified, it takes precedence and the remove_non_product_area_elements and remove_product_area_elements parameters are ignored. This parameter is not required, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage. If multiple parameters are specified, the priority takes effect as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
23
+ * The specific area to remove. This parameter must be used in combination with the editor, and the input format is RLE. If this parameter is specified, it takes precedence and the remove_non_product_area_elements and remove_product_area_elements parameters are ignored. This parameter is optional, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage. If multiple parameters are specified, the priority is as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
24
24
  *
25
25
  * @example
26
26
  * "474556 160 475356 160 476156 160 476956 160 477756 160 478556 160 479356 160 480156 160 480956 160 481756 160 482556 160 483356 160 484156 160 484956 160 485756 160 486556 160 487356 160 488156 160 488956 160 489756 160 490556 160 491356 160 492156 160"
@@ -28,17 +28,28 @@ export declare class ImageRemoveAsyncRequest extends $dara.Model {
28
28
  mask?: string;
29
29
  /**
30
30
  * @remarks
31
- * The list of element types to remove from the image background.
31
+ * The types of elements to remove from the image background.
32
+ *
33
+ * @example
34
+ * [1,2,4]
32
35
  */
33
36
  nonObjectRemoveElements?: number[];
34
37
  /**
35
38
  * @remarks
36
- * The types of elements to remove from the image subject. Valid values: 1: transparent text blocks. 2: specific names. 3: text. 4: watermarks. You can select multiple element types. This parameter is not required, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage. If multiple parameters are specified, the priority takes effect as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements. For more information about each type, see the product documentation. Image subject: the core product area in the image.
39
+ * The types of elements to remove from the image subject. Valid values:
40
+ * - 1: Transparent text blocks.
41
+ * - 2: Specific names.
42
+ * - 3: Text.
43
+ * - 4: Watermarks.
44
+ * You can select multiple element types. This parameter is optional, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage. If multiple parameters are specified, the priority is as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements. For more information about each type, see the product documentation. Image subject: the core product area in the image.
45
+ *
46
+ * @example
47
+ * [1,2,4]
37
48
  */
38
49
  objectRemoveElements?: number[];
39
50
  /**
40
51
  * @remarks
41
- * The specific area to remove. This parameter must be used in conjunction with the editor. The input format is four-point coordinates [xx,yy,zz,dd]. This parameter is not required, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage. If multiple parameters are specified, the priority takes effect as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
52
+ * The specific area to remove. This parameter must be used in combination with the editor, and the input format is four-point coordinates [xx,yy,zz,dd]. This parameter is optional, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage. If multiple parameters are specified, the priority is as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
42
53
  *
43
54
  * @example
44
55
  * [10,20,100,200]
@@ -46,12 +57,12 @@ export declare class ImageRemoveAsyncRequest extends $dara.Model {
46
57
  position?: string;
47
58
  /**
48
59
  * @remarks
49
- * The list of URLs of image elements to remove specified by the user.
60
+ * The URLs of user-specified image elements to remove.
50
61
  */
51
62
  userImage?: string[];
52
63
  /**
53
64
  * @remarks
54
- * The list of text strings to remove specified by the user.
65
+ * The user-specified text strings to remove.
55
66
  */
56
67
  userText?: string[];
57
68
  static names(): {
@@ -1 +1 @@
1
- {"version":3,"file":"ImageRemoveAsyncRequest.js","sourceRoot":"","sources":["../../src/models/ImageRemoveAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uBAAwB,SAAQ,KAAK,CAAC,KAAK;IAuDtD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,MAAM;YACZ,uBAAuB,EAAE,yBAAyB;YAClD,oBAAoB,EAAE,sBAAsB;YAC5C,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,QAAQ;YACd,uBAAuB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAClE,oBAAoB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAC/D,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EA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;QAC3C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/GD,0DA+GC"}
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageRemoveAsyncResponseBodyData extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The task ID used to query the asynchronous task result.
5
+ * The task ID, which is used to query the result of the asynchronous task.
6
6
  *
7
7
  * @example
8
8
  * TID_550e8400-e29b-41d4-a716-446655440000
@@ -22,7 +22,7 @@ export declare class ImageRemoveAsyncResponseBodyData extends $dara.Model {
22
22
  export declare class ImageRemoveAsyncResponseBody extends $dara.Model {
23
23
  /**
24
24
  * @remarks
25
- * The status code, such as success.
25
+ * The status code, such as "success". This parameter is not returned for successful calls.
26
26
  *
27
27
  * @example
28
28
  * success
@@ -30,12 +30,12 @@ export declare class ImageRemoveAsyncResponseBody extends $dara.Model {
30
30
  code?: string;
31
31
  /**
32
32
  * @remarks
33
- * The returned result struct information.
33
+ * The returned result struct.
34
34
  */
35
35
  data?: ImageRemoveAsyncResponseBodyData;
36
36
  /**
37
37
  * @remarks
38
- * The error message, such as \\"The parameter contains sensitive information. Please try another input.\\"
38
+ * The error message, such as "The parameters contain sensitive information. Try another input."
39
39
  *
40
40
  * @example
41
41
  * OK
@@ -43,7 +43,7 @@ export declare class ImageRemoveAsyncResponseBody extends $dara.Model {
43
43
  message?: string;
44
44
  /**
45
45
  * @remarks
46
- * The request ID, which is used to identify a unique request call.
46
+ * The request ID, which is used to identify a unique request.
47
47
  *
48
48
  * @example
49
49
  * E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
@@ -51,7 +51,9 @@ export declare class ImageRemoveAsyncResponseBody extends $dara.Model {
51
51
  requestId?: string;
52
52
  /**
53
53
  * @remarks
54
- * Indicates whether the call is successful. Valid values: true: The call is successful. false: The call failed.
54
+ * Indicates whether the call is successful. Valid values:
55
+ * - true: The call is successful.
56
+ * - false: The call fails.
55
57
  *
56
58
  * @example
57
59
  * True
@@ -1 +1 @@
1
- {"version":3,"file":"ImageRemoveAsyncResponseBody.js","sourceRoot":"","sources":["../../src/models/ImageRemoveAsyncResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAS/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5BD,4EA4BC;AAED,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAsC3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,gCAAgC;YACtC,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApED,oEAoEC"}
1
+ {"version":3,"file":"ImageRemoveAsyncResponseBody.js","sourceRoot":"","sources":["../../src/models/ImageRemoveAsyncResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAS/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5BD,4EA4BC;AAED,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAwC3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,gCAAgC;YACtC,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtED,oEAsEC"}
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageRemoveAsyncShrinkRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The business order ID of the caller. It is recorded upon acceptance and returned as is when querying the asynchronous task result.
5
+ * The business order ID of the caller. This ID is recorded when the request is accepted and returned as-is when you query the result of the asynchronous task.
6
6
  *
7
7
  * @example
8
8
  * order-20260928-001
@@ -10,7 +10,7 @@ export declare class ImageRemoveAsyncShrinkRequest extends $dara.Model {
10
10
  bizId?: string;
11
11
  /**
12
12
  * @remarks
13
- * The URL of the original image. The image must be in JPG, JPEG, PNG, BMP, or WEBP format. The resolution must be between 256 × 256 and 3000 × 3000 pixels, and the file size must not exceed 10 MB.
13
+ * The URL of the original image. The image must be in JPG, JPEG, PNG, BMP, or WEBP format. The resolution must be between 256×256 and 3000×3000 pixels, and the file size cannot exceed 10 MB.
14
14
  *
15
15
  * This parameter is required.
16
16
  *
@@ -20,7 +20,7 @@ export declare class ImageRemoveAsyncShrinkRequest extends $dara.Model {
20
20
  imageUrl?: string;
21
21
  /**
22
22
  * @remarks
23
- * The specific area to remove. This parameter must be used in conjunction with the editor. The input format is RLE. If this parameter is specified, it takes precedence and the remove_non_product_area_elements and remove_product_area_elements parameters are ignored. This parameter is not required, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage. If multiple parameters are specified, the priority takes effect as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
23
+ * The specific area to remove. This parameter must be used in combination with the editor, and the input format is RLE. If this parameter is specified, it takes precedence and the remove_non_product_area_elements and remove_product_area_elements parameters are ignored. This parameter is optional, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage. If multiple parameters are specified, the priority is as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
24
24
  *
25
25
  * @example
26
26
  * "474556 160 475356 160 476156 160 476956 160 477756 160 478556 160 479356 160 480156 160 480956 160 481756 160 482556 160 483356 160 484156 160 484956 160 485756 160 486556 160 487356 160 488156 160 488956 160 489756 160 490556 160 491356 160 492156 160"
@@ -28,17 +28,28 @@ export declare class ImageRemoveAsyncShrinkRequest extends $dara.Model {
28
28
  mask?: string;
29
29
  /**
30
30
  * @remarks
31
- * The list of element types to remove from the image background.
31
+ * The types of elements to remove from the image background.
32
+ *
33
+ * @example
34
+ * [1,2,4]
32
35
  */
33
36
  nonObjectRemoveElementsShrink?: string;
34
37
  /**
35
38
  * @remarks
36
- * The types of elements to remove from the image subject. Valid values: 1: transparent text blocks. 2: specific names. 3: text. 4: watermarks. You can select multiple element types. This parameter is not required, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage. If multiple parameters are specified, the priority takes effect as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements. For more information about each type, see the product documentation. Image subject: the core product area in the image.
39
+ * The types of elements to remove from the image subject. Valid values:
40
+ * - 1: Transparent text blocks.
41
+ * - 2: Specific names.
42
+ * - 3: Text.
43
+ * - 4: Watermarks.
44
+ * You can select multiple element types. This parameter is optional, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage. If multiple parameters are specified, the priority is as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements. For more information about each type, see the product documentation. Image subject: the core product area in the image.
45
+ *
46
+ * @example
47
+ * [1,2,4]
37
48
  */
38
49
  objectRemoveElementsShrink?: string;
39
50
  /**
40
51
  * @remarks
41
- * The specific area to remove. This parameter must be used in conjunction with the editor. The input format is four-point coordinates [xx,yy,zz,dd]. This parameter is not required, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage. If multiple parameters are specified, the priority takes effect as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
52
+ * The specific area to remove. This parameter must be used in combination with the editor, and the input format is four-point coordinates [xx,yy,zz,dd]. This parameter is optional, but you must specify at least one of the following parameters: ObjectRemoveElements, NonObjectRemoveElements, Mask, Position, UserText, and UserImage. If multiple parameters are specified, the priority is as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
42
53
  *
43
54
  * @example
44
55
  * [10,20,100,200]
@@ -46,12 +57,12 @@ export declare class ImageRemoveAsyncShrinkRequest extends $dara.Model {
46
57
  position?: string;
47
58
  /**
48
59
  * @remarks
49
- * The list of URLs of image elements to remove specified by the user.
60
+ * The URLs of user-specified image elements to remove.
50
61
  */
51
62
  userImageShrink?: string;
52
63
  /**
53
64
  * @remarks
54
- * The list of text strings to remove specified by the user.
65
+ * The user-specified text strings to remove.
55
66
  */
56
67
  userTextShrink?: string;
57
68
  static names(): {
@@ -1 +1 @@
1
- {"version":3,"file":"ImageRemoveAsyncShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ImageRemoveAsyncShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAuD5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,MAAM;YACZ,6BAA6B,EAAE,yBAAyB;YACxD,0BAA0B,EAAE,sBAAsB;YAClD,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,WAAW;YAC5B,cAAc,EAAE,UAAU;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;YAClB,IA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+2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageTranslationPlusAsyncRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The business order number of the caller. It is recorded upon acceptance and returned as is when querying the asynchronous task result.
5
+ * The business order ID of the caller. This ID is recorded when the request is accepted and returned as is when you query the asynchronous task result.
6
6
  *
7
7
  * @example
8
8
  * order-20260928-001
@@ -10,7 +10,7 @@ export declare class ImageTranslationPlusAsyncRequest extends $dara.Model {
10
10
  bizId?: string;
11
11
  /**
12
12
  * @remarks
13
- * The ID of the intervention glossary. The intervention glossary ID must be created separately and provided in the input parameters. If the provided intervention glossary ID is empty, the translation results will not be modified.
13
+ * The ID of the intervention glossary. You must create the intervention glossary separately and provide its ID in the input parameters. If the provided intervention glossary ID is empty, the translation results are not modified.
14
14
  *
15
15
  * @example
16
16
  * glossary_1
@@ -18,10 +18,10 @@ export declare class ImageTranslationPlusAsyncRequest extends $dara.Model {
18
18
  glossary?: string;
19
19
  /**
20
20
  * @remarks
21
- * * Image URL: Must be publicly accessible over the Internet.
22
- * * Format: PNG, JPEG, JPG, BMP, or WebP.
23
- * * Resolution: The width and height must not exceed 4,000 pixels.
24
- * * File size: The original file must be less than or equal to 10 MB.
21
+ * • Image URL: The image must be accessible over the Internet.
22
+ * • Format: PNG, JPEG, JPG, BMP, or WEBP.
23
+ * • Pixel: The width and height do not exceed 4,000 pixels.
24
+ * • File size: The original file size is less than or equal to 10 MB.
25
25
  *
26
26
  * This parameter is required.
27
27
  *
@@ -31,7 +31,7 @@ export declare class ImageTranslationPlusAsyncRequest extends $dara.Model {
31
31
  imageUrl?: string;
32
32
  /**
33
33
  * @remarks
34
- * Specifies whether to translate the text on the image subject. This helps you protect information and prevent embedded information such as product names from being translated. In the example image, the text in the red box represents the text on the subject, and the text in the blue box represents the text not on the subject.
34
+ * Specifies whether to translate the text on the image subject. This helps you protect information and prevents embedded information such as product names from being translated. In the sample image, the text in the red box represents the text on the subject, and the text in the blue box represents the text not on the subject. Default value: false.
35
35
  *
36
36
  * @example
37
37
  * false
@@ -49,7 +49,7 @@ export declare class ImageTranslationPlusAsyncRequest extends $dara.Model {
49
49
  sourceLanguage?: string;
50
50
  /**
51
51
  * @remarks
52
- * The target language code. We recommend using the 12 minor language pairs listed above.
52
+ * The target language code. We recommend that you use the 12 minor language pairs listed above.
53
53
  *
54
54
  * This parameter is required.
55
55
  *
@@ -59,7 +59,7 @@ export declare class ImageTranslationPlusAsyncRequest extends $dara.Model {
59
59
  targetLanguage?: string;
60
60
  /**
61
61
  * @remarks
62
- * Specifies whether to translate the brand names in the image. This helps you protect brand name information from being translated. Default value: false, which indicates that brand names are not translated. In the example image, "Lazy Corner" represents the brand name.
62
+ * Specifies whether to translate the brand names in the image. This helps you protect the brand name information from being translated. Default value: false, which indicates that brand names are not translated. In the sample image, Lazy Corner represents a brand name.
63
63
  *
64
64
  * @example
65
65
  * false
@@ -67,10 +67,10 @@ export declare class ImageTranslationPlusAsyncRequest extends $dara.Model {
67
67
  translatingBrandInTheProduct?: boolean;
68
68
  /**
69
69
  * @remarks
70
- * Specifies whether to return layout information such as the position, font, and color of the text. This can be used to obtain data when integrating the image editor for secondary editing. You can call the image translation result query API to obtain the complete parameter information.
70
+ * Specifies whether to return layout information such as the position, font, and color of the text. This can be used to obtain data when you integrate the image editor for secondary editing. You can call the image translation result query API operation to obtain the complete parameter information.
71
71
  *
72
72
  * @example
73
- * false
73
+ * true
74
74
  */
75
75
  useImageEditor?: boolean;
76
76
  static names(): {