@alicloud/aidge20260428 5.11.0 → 5.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/dist/client.d.ts +803 -674
  2. package/dist/client.js +830 -674
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddDisplayKnowledgeRequest.d.ts +2 -2
  5. package/dist/models/AddDisplayKnowledgeResponseBody.d.ts +7 -7
  6. package/dist/models/AiTryOnRequest.d.ts +3 -3
  7. package/dist/models/AiTryOnResponseBody.d.ts +2 -4
  8. package/dist/models/AiTryOnResponseBody.js.map +1 -1
  9. package/dist/models/AssetOptimizeLiteRequest.d.ts +1 -1
  10. package/dist/models/AssetOptimizeLiteResponseBody.d.ts +2 -2
  11. package/dist/models/AssetOptimizeProRequest.d.ts +12 -12
  12. package/dist/models/AssetOptimizeProResponseBody.d.ts +6 -6
  13. package/dist/models/AssetOptimizeProShrinkRequest.d.ts +12 -12
  14. package/dist/models/CategoryAttributeMatchRequest.d.ts +9 -9
  15. package/dist/models/CategoryAttributeMatchResponseBody.d.ts +13 -13
  16. package/dist/models/CategoryAttributeMatchShrinkRequest.d.ts +9 -9
  17. package/dist/models/CategoryMatchRequest.d.ts +10 -10
  18. package/dist/models/CategoryMatchResponseBody.d.ts +12 -12
  19. package/dist/models/DeleteDisplayKnowledgeRequest.d.ts +1 -1
  20. package/dist/models/DeleteDisplayKnowledgeResponseBody.d.ts +8 -8
  21. package/dist/models/DeleteDisplayKnowledgeShrinkRequest.d.ts +1 -1
  22. package/dist/models/DiduiAreaDeductionProResponseBody.d.ts +4 -4
  23. package/dist/models/DiduiAreaDeductionRequest.d.ts +8 -8
  24. package/dist/models/DiduiAreaDeductionResponseBody.d.ts +6 -6
  25. package/dist/models/DiduiAreaDeductionShrinkRequest.d.ts +3 -3
  26. package/dist/models/DocumentTranslateRequest.d.ts +6 -7
  27. package/dist/models/DocumentTranslateRequest.js.map +1 -1
  28. package/dist/models/DocumentTranslateResponseBody.d.ts +8 -6
  29. package/dist/models/DocumentTranslateResponseBody.js.map +1 -1
  30. package/dist/models/EcomVideoRecreationRequest.d.ts +15 -15
  31. package/dist/models/EcomVideoRecreationResponseBody.d.ts +1 -1
  32. package/dist/models/EcomVideoRecreationShrinkRequest.d.ts +2 -2
  33. package/dist/models/GeneralRephotographyDetectionRequest.d.ts +1 -1
  34. package/dist/models/GeneralRephotographyDetectionResponseBody.d.ts +11 -11
  35. package/dist/models/GenerateProductContentRequest.d.ts +37 -3
  36. package/dist/models/GenerateProductContentRequest.js.map +1 -1
  37. package/dist/models/GenerateProductContentResponseBody.d.ts +40 -0
  38. package/dist/models/GenerateProductContentResponseBody.js.map +1 -1
  39. package/dist/models/ImageCroppingRequest.d.ts +1 -1
  40. package/dist/models/ImageCroppingResponseBody.d.ts +1 -3
  41. package/dist/models/ImageCroppingResponseBody.js.map +1 -1
  42. package/dist/models/ImageMattingAsyncRequest.d.ts +2 -2
  43. package/dist/models/ImageMattingAsyncResponseBody.d.ts +4 -6
  44. package/dist/models/ImageMattingAsyncResponseBody.js.map +1 -1
  45. package/dist/models/ImageMattingRequest.d.ts +5 -6
  46. package/dist/models/ImageMattingRequest.js.map +1 -1
  47. package/dist/models/ImageMattingResponseBody.d.ts +26 -7
  48. package/dist/models/ImageMattingResponseBody.js +2 -0
  49. package/dist/models/ImageMattingResponseBody.js.map +1 -1
  50. package/dist/models/ImageRecognitionAsyncRequest.d.ts +10 -35
  51. package/dist/models/ImageRecognitionAsyncRequest.js.map +1 -1
  52. package/dist/models/ImageRecognitionAsyncResponseBody.d.ts +5 -7
  53. package/dist/models/ImageRecognitionAsyncResponseBody.js.map +1 -1
  54. package/dist/models/ImageRecognitionAsyncShrinkRequest.d.ts +10 -35
  55. package/dist/models/ImageRecognitionAsyncShrinkRequest.js.map +1 -1
  56. package/dist/models/ImageRecognitionRequest.d.ts +4 -4
  57. package/dist/models/ImageRecognitionResponseBody.d.ts +7 -7
  58. package/dist/models/ImageRecognitionShrinkRequest.d.ts +4 -4
  59. package/dist/models/ImageRemovalProAsyncRequest.d.ts +2 -3
  60. package/dist/models/ImageRemovalProAsyncRequest.js.map +1 -1
  61. package/dist/models/ImageRemovalProAsyncResponseBody.d.ts +5 -5
  62. package/dist/models/ImageRemovalProRequest.d.ts +2 -3
  63. package/dist/models/ImageRemovalProRequest.js.map +1 -1
  64. package/dist/models/ImageRemovalProResponseBody.d.ts +6 -6
  65. package/dist/models/ImageRemoveAsyncRequest.d.ts +7 -18
  66. package/dist/models/ImageRemoveAsyncRequest.js.map +1 -1
  67. package/dist/models/ImageRemoveAsyncResponseBody.d.ts +5 -7
  68. package/dist/models/ImageRemoveAsyncResponseBody.js.map +1 -1
  69. package/dist/models/ImageRemoveAsyncShrinkRequest.d.ts +7 -18
  70. package/dist/models/ImageRemoveAsyncShrinkRequest.js.map +1 -1
  71. package/dist/models/ImageTranslationPlusAsyncRequest.d.ts +10 -10
  72. package/dist/models/ImageTranslationPlusAsyncResponseBody.d.ts +6 -6
  73. package/dist/models/ImageTranslationPlusRequest.d.ts +2 -2
  74. package/dist/models/ImageTranslationPlusResponseBody.d.ts +5 -5
  75. package/dist/models/ImageTranslationProAsyncRequest.d.ts +6 -6
  76. package/dist/models/ImageTranslationProAsyncResponseBody.d.ts +5 -5
  77. package/dist/models/ImageTranslationProRequest.d.ts +16 -17
  78. package/dist/models/ImageTranslationProRequest.js.map +1 -1
  79. package/dist/models/ImageTranslationProResponseBody.d.ts +24 -26
  80. package/dist/models/ImageTranslationProResponseBody.js.map +1 -1
  81. package/dist/models/ImageTranslationStandardAsyncRequest.d.ts +2 -2
  82. package/dist/models/ImageTranslationStandardAsyncResponseBody.d.ts +3 -3
  83. package/dist/models/ImageTranslationStandardRequest.d.ts +12 -12
  84. package/dist/models/ImageTranslationStandardResponseBody.d.ts +54 -9
  85. package/dist/models/ImageTranslationStandardResponseBody.js.map +1 -1
  86. package/dist/models/ImageUpscaleRequest.d.ts +31 -0
  87. package/dist/models/ImageUpscaleRequest.js +60 -0
  88. package/dist/models/ImageUpscaleRequest.js.map +1 -0
  89. package/dist/models/ImageUpscaleResponse.d.ts +19 -0
  90. package/dist/models/ImageUpscaleResponse.js +69 -0
  91. package/dist/models/ImageUpscaleResponse.js.map +1 -0
  92. package/dist/models/ImageUpscaleResponseBody.d.ts +160 -0
  93. package/dist/models/ImageUpscaleResponseBody.js +146 -0
  94. package/dist/models/ImageUpscaleResponseBody.js.map +1 -0
  95. package/dist/models/QueryDisplayKnowledgeRequest.d.ts +1 -1
  96. package/dist/models/QueryDisplayKnowledgeResponseBody.d.ts +11 -11
  97. package/dist/models/QueryDisplayKnowledgeShrinkRequest.d.ts +1 -1
  98. package/dist/models/SizeChartExtractAsyncRequest.d.ts +3 -3
  99. package/dist/models/SizeChartExtractAsyncResponseBody.d.ts +2 -2
  100. package/dist/models/SizeChartExtractAsyncShrinkRequest.d.ts +3 -3
  101. package/dist/models/TextTranslateAsyncRequest.d.ts +12 -12
  102. package/dist/models/TextTranslateAsyncResponseBody.d.ts +3 -3
  103. package/dist/models/TextTranslateAsyncShrinkRequest.d.ts +12 -12
  104. package/dist/models/UpdateDisplayKnowledgeRequest.d.ts +1 -1
  105. package/dist/models/UpdateDisplayKnowledgeResponseBody.d.ts +6 -6
  106. package/dist/models/UpdateDisplayKnowledgeShrinkRequest.d.ts +1 -1
  107. package/dist/models/VideoTranslationRequest.d.ts +17 -8
  108. package/dist/models/VideoTranslationRequest.js.map +1 -1
  109. package/dist/models/VideoTranslationResponseBody.d.ts +6 -4
  110. package/dist/models/VideoTranslationResponseBody.js.map +1 -1
  111. package/dist/models/VideoTranslationShrinkRequest.d.ts +17 -8
  112. package/dist/models/VideoTranslationShrinkRequest.js.map +1 -1
  113. package/dist/models/VirtualTryOnRequest.d.ts +3 -3
  114. package/dist/models/VirtualTryOnResponseBody.d.ts +7 -5
  115. package/dist/models/VirtualTryOnResponseBody.js.map +1 -1
  116. package/dist/models/model.d.ts +6 -0
  117. package/dist/models/model.js +18 -6
  118. package/dist/models/model.js.map +1 -1
  119. package/package.json +1 -1
  120. package/src/client.ts +834 -674
  121. package/src/models/AddDisplayKnowledgeRequest.ts +2 -2
  122. package/src/models/AddDisplayKnowledgeResponseBody.ts +7 -7
  123. package/src/models/AiTryOnRequest.ts +3 -3
  124. package/src/models/AiTryOnResponseBody.ts +2 -4
  125. package/src/models/AssetOptimizeLiteRequest.ts +1 -1
  126. package/src/models/AssetOptimizeLiteResponseBody.ts +2 -2
  127. package/src/models/AssetOptimizeProRequest.ts +12 -12
  128. package/src/models/AssetOptimizeProResponseBody.ts +6 -6
  129. package/src/models/AssetOptimizeProShrinkRequest.ts +12 -12
  130. package/src/models/CategoryAttributeMatchRequest.ts +9 -9
  131. package/src/models/CategoryAttributeMatchResponseBody.ts +13 -13
  132. package/src/models/CategoryAttributeMatchShrinkRequest.ts +9 -9
  133. package/src/models/CategoryMatchRequest.ts +10 -10
  134. package/src/models/CategoryMatchResponseBody.ts +12 -12
  135. package/src/models/DeleteDisplayKnowledgeRequest.ts +1 -1
  136. package/src/models/DeleteDisplayKnowledgeResponseBody.ts +8 -8
  137. package/src/models/DeleteDisplayKnowledgeShrinkRequest.ts +1 -1
  138. package/src/models/DiduiAreaDeductionProResponseBody.ts +4 -4
  139. package/src/models/DiduiAreaDeductionRequest.ts +8 -8
  140. package/src/models/DiduiAreaDeductionResponseBody.ts +6 -6
  141. package/src/models/DiduiAreaDeductionShrinkRequest.ts +3 -3
  142. package/src/models/DocumentTranslateRequest.ts +6 -7
  143. package/src/models/DocumentTranslateResponseBody.ts +8 -6
  144. package/src/models/EcomVideoRecreationRequest.ts +15 -15
  145. package/src/models/EcomVideoRecreationResponseBody.ts +1 -1
  146. package/src/models/EcomVideoRecreationShrinkRequest.ts +2 -2
  147. package/src/models/GeneralRephotographyDetectionRequest.ts +1 -1
  148. package/src/models/GeneralRephotographyDetectionResponseBody.ts +11 -11
  149. package/src/models/GenerateProductContentRequest.ts +37 -3
  150. package/src/models/GenerateProductContentResponseBody.ts +40 -0
  151. package/src/models/ImageCroppingRequest.ts +1 -1
  152. package/src/models/ImageCroppingResponseBody.ts +1 -3
  153. package/src/models/ImageMattingAsyncRequest.ts +2 -2
  154. package/src/models/ImageMattingAsyncResponseBody.ts +4 -6
  155. package/src/models/ImageMattingRequest.ts +5 -6
  156. package/src/models/ImageMattingResponseBody.ts +28 -7
  157. package/src/models/ImageRecognitionAsyncRequest.ts +10 -35
  158. package/src/models/ImageRecognitionAsyncResponseBody.ts +5 -7
  159. package/src/models/ImageRecognitionAsyncShrinkRequest.ts +10 -35
  160. package/src/models/ImageRecognitionRequest.ts +4 -4
  161. package/src/models/ImageRecognitionResponseBody.ts +7 -7
  162. package/src/models/ImageRecognitionShrinkRequest.ts +4 -4
  163. package/src/models/ImageRemovalProAsyncRequest.ts +2 -3
  164. package/src/models/ImageRemovalProAsyncResponseBody.ts +5 -5
  165. package/src/models/ImageRemovalProRequest.ts +2 -3
  166. package/src/models/ImageRemovalProResponseBody.ts +6 -6
  167. package/src/models/ImageRemoveAsyncRequest.ts +7 -18
  168. package/src/models/ImageRemoveAsyncResponseBody.ts +5 -7
  169. package/src/models/ImageRemoveAsyncShrinkRequest.ts +7 -18
  170. package/src/models/ImageTranslationPlusAsyncRequest.ts +10 -10
  171. package/src/models/ImageTranslationPlusAsyncResponseBody.ts +6 -6
  172. package/src/models/ImageTranslationPlusRequest.ts +2 -2
  173. package/src/models/ImageTranslationPlusResponseBody.ts +5 -5
  174. package/src/models/ImageTranslationProAsyncRequest.ts +6 -6
  175. package/src/models/ImageTranslationProAsyncResponseBody.ts +5 -5
  176. package/src/models/ImageTranslationProRequest.ts +17 -18
  177. package/src/models/ImageTranslationProResponseBody.ts +24 -26
  178. package/src/models/ImageTranslationStandardAsyncRequest.ts +2 -2
  179. package/src/models/ImageTranslationStandardAsyncResponseBody.ts +3 -3
  180. package/src/models/ImageTranslationStandardRequest.ts +12 -12
  181. package/src/models/ImageTranslationStandardResponseBody.ts +54 -9
  182. package/src/models/ImageUpscaleRequest.ts +46 -0
  183. package/src/models/ImageUpscaleResponse.ts +40 -0
  184. package/src/models/ImageUpscaleResponseBody.ts +234 -0
  185. package/src/models/QueryDisplayKnowledgeRequest.ts +1 -1
  186. package/src/models/QueryDisplayKnowledgeResponseBody.ts +11 -11
  187. package/src/models/QueryDisplayKnowledgeShrinkRequest.ts +1 -1
  188. package/src/models/SizeChartExtractAsyncRequest.ts +3 -3
  189. package/src/models/SizeChartExtractAsyncResponseBody.ts +2 -2
  190. package/src/models/SizeChartExtractAsyncShrinkRequest.ts +3 -3
  191. package/src/models/TextTranslateAsyncRequest.ts +12 -12
  192. package/src/models/TextTranslateAsyncResponseBody.ts +3 -3
  193. package/src/models/TextTranslateAsyncShrinkRequest.ts +12 -12
  194. package/src/models/UpdateDisplayKnowledgeRequest.ts +1 -1
  195. package/src/models/UpdateDisplayKnowledgeResponseBody.ts +6 -6
  196. package/src/models/UpdateDisplayKnowledgeShrinkRequest.ts +1 -1
  197. package/src/models/VideoTranslationRequest.ts +17 -8
  198. package/src/models/VideoTranslationResponseBody.ts +6 -4
  199. package/src/models/VideoTranslationShrinkRequest.ts +17 -8
  200. package/src/models/VirtualTryOnRequest.ts +3 -3
  201. package/src/models/VirtualTryOnResponseBody.ts +7 -5
  202. package/src/models/model.ts +6 -0
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The business ID of the caller. It is recorded upon acceptance and returned as is when you query the result of the asynchronous task.
5
+ * The business order ID of the caller. It is recorded upon acceptance and returned as is when you query the result of the asynchronous task.
6
6
  *
7
7
  * @example
8
8
  * order-20260928-001
@@ -10,7 +10,7 @@ export declare class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
10
10
  bizId?: string;
11
11
  /**
12
12
  * @remarks
13
- * The image URL. 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.
13
+ * The URL of the image. The image must be in JPG, JPEG, PNG, BMP, or WEBP format. The resolution must be between 256 × 256 and 3000 × 3000 pixels, and the file size cannot exceed 10 MB.
14
14
  *
15
15
  * This parameter is required.
16
16
  *
@@ -20,30 +20,17 @@ export declare class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
20
20
  imageUrl?: string;
21
21
  /**
22
22
  * @remarks
23
- * The types of elements to detect outside the image subject. Valid values:
24
- * - 1: watermark
25
- * - 2: logo
26
- * - 3: text
27
- * - 4: text-containing color block
28
- * You can specify multiple values. This parameter and ObjectDetectElements cannot be empty at the same time.
23
+ * The types of elements to be detected outside the image subject. Valid values: 1: Watermark. 2: Logo. 3: Text. 4: Text-containing color block. You can specify multiple values. This parameter and ObjectDetectElements cannot be both empty.
29
24
  */
30
25
  nonObjectDetectElementsShrink?: string;
31
26
  /**
32
27
  * @remarks
33
- * The types of elements to detect on the image subject. Valid values:
34
- * - 1: watermark
35
- * - 2: logo
36
- * - 3: text
37
- * - 4: text-containing color block
38
- * You can specify multiple values.
28
+ * The types of elements to be detected on the image subject. Valid values: 1: Watermark. 2: Logo. 3: Text. 4: Text-containing color block. You can specify multiple values.
39
29
  */
40
30
  objectDetectElementsShrink?: string;
41
31
  /**
42
32
  * @remarks
43
- * Specifies whether to return the marginalization distance of the subject. Valid values:
44
- * - 1: yes
45
- * - 0: no
46
- * Default value: 0.
33
+ * Specifies whether to return the marginalization distance of the subject. Valid values: 1: Yes. 0: No. Default value: 0.
47
34
  *
48
35
  * @example
49
36
  * 1
@@ -51,10 +38,7 @@ export declare class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
51
38
  returnBorderPixel?: number;
52
39
  /**
53
40
  * @remarks
54
- * Specifies whether to return the OCR result of the text in the recognized area. Valid values:
55
- * - 1: yes
56
- * - 0: no
57
- * Default value: 0.
41
+ * Specifies whether to return the OCR result of the text in the recognized area. Valid values: 1: Yes. 0: No. Default value: 0.
58
42
  *
59
43
  * @example
60
44
  * 1
@@ -62,13 +46,10 @@ export declare class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
62
46
  returnCharacter?: number;
63
47
  /**
64
48
  * @remarks
65
- * Specifies whether to return the text proportion. Valid values:
66
- * - 1: yes
67
- * - 0: no
68
- * Default value: 0.
49
+ * Specifies whether to return the text proportion. Valid values: 1: Yes. 0: No. Default value: 0.
69
50
  * This parameter takes effect only when the following two conditions are met:
70
51
  * 1. ReturnCharacter is set to 1.
71
- * 2. ObjectDetectElements or NonObjectDetectElements is set to 3, which means text needs to be recognized.
52
+ * 2. ObjectDetectElements or NonObjectDetectElements is set to 3, which means text recognition is required.
72
53
  *
73
54
  * @example
74
55
  * 1
@@ -76,10 +57,7 @@ export declare class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
76
57
  returnCharacterProp?: number;
77
58
  /**
78
59
  * @remarks
79
- * Specifies whether to return the number of subjects. Valid values:
80
- * - 1: yes
81
- * - 0: no
82
- * Default value: 0.
60
+ * Specifies whether to return the number of subjects. Valid values: 1: Yes. 0: No. Default value: 0.
83
61
  *
84
62
  * @example
85
63
  * 1
@@ -87,10 +65,7 @@ export declare class ImageRecognitionAsyncShrinkRequest extends $dara.Model {
87
65
  returnProductNum?: number;
88
66
  /**
89
67
  * @remarks
90
- * Specifies whether to return the area proportion of the subject. Valid values:
91
- * - 1: yes
92
- * - 0: no
93
- * Default value: 0.
68
+ * Specifies whether to return the area proportion of the subject. Valid values: 1: Yes. 0: No. Default value: 0.
94
69
  *
95
70
  * @example
96
71
  * 1
@@ -1 +1 @@
1
- {"version":3,"file":"ImageRecognitionAsyncShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ImageRecognitionAsyncShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IAiGjE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,6BAA6B,EAAE,yBAAyB;YACxD,0BAA0B,EAAE,sBAAsB;YAClD,iBAAiB,EAAE,mBAAmB;YACtC,eAAe,EAAE,iBAAiB;YAClC,mBAAmB,EAAE,qBAAqB;YAC1C,gBAAgB,EAAE,kBAAkB;YACpC,iBAAiB,EAAE,mBAAmB;SACvC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;YAClB,6BAA6B,EAAE,QAAQ;YACvC,0BAA0B,EAAE,QAAQ;YACpC,iBAAiB,EAAE,QAAQ;YAC3B,eAAe,EAAE,QAAQ;YACzB,mBAAmB,EAAE,QAAQ;YAC7B,gBAAgB,EAAE,QAAQ;YAC1B,iBAAiB,EAAE,QAAQ;SAC5B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApID,gFAoIC"}
1
+ {"version":3,"file":"ImageRecognitionAsyncShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ImageRecognitionAsyncShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IAwEjE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,6BAA6B,EAAE,yBAAyB;YACxD,0BAA0B,EAAE,sBAAsB;YAClD,iBAAiB,EAAE,mBAAmB;YACtC,eAAe,EAAE,iBAAiB;YAClC,mBAAmB,EAAE,qBAAqB;YAC1C,gBAAgB,EAAE,kBAAkB;YACpC,iBAAiB,EAAE,mBAAmB;SACvC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;YAClB,6BAA6B,EAAE,QAAQ;YACvC,0BAA0B,EAAE,QAAQ;YACpC,iBAAiB,EAAE,QAAQ;YAC3B,eAAe,EAAE,QAAQ;YACzB,mBAAmB,EAAE,QAAQ;YAC7B,gBAAgB,EAAE,QAAQ;YAC1B,iBAAiB,EAAE,QAAQ;SAC5B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA3GD,gFA2GC"}
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageRecognitionRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The URL of the image to recognize.
5
+ * The URL of the image to be recognized.
6
6
  *
7
7
  * This parameter is required.
8
8
  *
@@ -12,7 +12,7 @@ export declare class ImageRecognitionRequest extends $dara.Model {
12
12
  imageUrl?: string;
13
13
  /**
14
14
  * @remarks
15
- * The element types to detect on the non-subject area of the image (1: watermark, 2: logo, 3: text, 4: text-containing color block). You can select multiple element types. This parameter and ObjectDetectElements cannot both be empty.
15
+ * The elements to detect outside the image subject. Valid values: 1 (watermark), 2 (logo), 3 (text), and 4 (text-containing color block). You can specify multiple values. This parameter and ObjectDetectElements cannot be empty at the same time.
16
16
  *
17
17
  * @example
18
18
  * [1,2,3,4]
@@ -20,7 +20,7 @@ export declare class ImageRecognitionRequest extends $dara.Model {
20
20
  nonObjectDetectElements?: number[];
21
21
  /**
22
22
  * @remarks
23
- * The element types to detect on the image subject (1: watermark, 2: logo, 3: text, 4: text-containing color block). You can select multiple element types.
23
+ * The elements to detect on the image subject. Valid values: 1 (watermark), 2 (logo), 3 (text), and 4 (text-containing color block). You can specify multiple values.
24
24
  *
25
25
  * @example
26
26
  * [1,2,3,4]
@@ -52,7 +52,7 @@ export declare class ImageRecognitionRequest extends $dara.Model {
52
52
  returnCharacterProp?: number;
53
53
  /**
54
54
  * @remarks
55
- * Specifies whether to return the product count. Valid values: 1 (return) and 0 (do not return).
55
+ * Specifies whether to return the product quantity. Valid values: 1 (return) and 0 (do not return).
56
56
  *
57
57
  * @example
58
58
  * 1
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageRecognitionResponseBodyData extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The border pixel information, returned as a comma-separated string.
5
+ * The border pixel information, which is a comma-separated string.
6
6
  *
7
7
  * @example
8
8
  * 8,10,0,1,330,330
@@ -74,7 +74,7 @@ export declare class ImageRecognitionResponseBodyData extends $dara.Model {
74
74
  objWatermark?: boolean;
75
75
  /**
76
76
  * @remarks
77
- * The number of products.
77
+ * The product quantity.
78
78
  *
79
79
  * @example
80
80
  * 2
@@ -82,7 +82,7 @@ export declare class ImageRecognitionResponseBodyData extends $dara.Model {
82
82
  pdNum?: number;
83
83
  /**
84
84
  * @remarks
85
- * The proportion of the product in the image.
85
+ * The product proportion.
86
86
  *
87
87
  * @example
88
88
  * 74.15%
@@ -95,7 +95,7 @@ export declare class ImageRecognitionResponseBodyData extends $dara.Model {
95
95
  recText?: string[];
96
96
  /**
97
97
  * @remarks
98
- * The proportion of text in the image.
98
+ * The text proportion.
99
99
  *
100
100
  * @example
101
101
  * 7.52%
@@ -125,7 +125,7 @@ export declare class ImageRecognitionResponseBodyData extends $dara.Model {
125
125
  export declare class ImageRecognitionResponseBody extends $dara.Model {
126
126
  /**
127
127
  * @remarks
128
- * The error code. This parameter is not returned if the call is successful.
128
+ * The error code. This parameter is not returned when the call is successful.
129
129
  *
130
130
  * @example
131
131
  * 200
@@ -138,7 +138,7 @@ export declare class ImageRecognitionResponseBody extends $dara.Model {
138
138
  data?: ImageRecognitionResponseBodyData;
139
139
  /**
140
140
  * @remarks
141
- * The error message. This parameter is not returned if the call is successful.
141
+ * The error message. This parameter is not returned when the call is successful.
142
142
  *
143
143
  * @example
144
144
  * OK
@@ -154,7 +154,7 @@ export declare class ImageRecognitionResponseBody extends $dara.Model {
154
154
  requestId?: string;
155
155
  /**
156
156
  * @remarks
157
- * Indicates whether the call is successful.
157
+ * Indicates whether the call was successful.
158
158
  *
159
159
  * @example
160
160
  * True
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageRecognitionShrinkRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The URL of the image to recognize.
5
+ * The URL of the image to be recognized.
6
6
  *
7
7
  * This parameter is required.
8
8
  *
@@ -12,7 +12,7 @@ export declare class ImageRecognitionShrinkRequest extends $dara.Model {
12
12
  imageUrl?: string;
13
13
  /**
14
14
  * @remarks
15
- * The element types to detect on the non-subject area of the image (1: watermark, 2: logo, 3: text, 4: text-containing color block). You can select multiple element types. This parameter and ObjectDetectElements cannot both be empty.
15
+ * The elements to detect outside the image subject. Valid values: 1 (watermark), 2 (logo), 3 (text), and 4 (text-containing color block). You can specify multiple values. This parameter and ObjectDetectElements cannot be empty at the same time.
16
16
  *
17
17
  * @example
18
18
  * [1,2,3,4]
@@ -20,7 +20,7 @@ export declare class ImageRecognitionShrinkRequest extends $dara.Model {
20
20
  nonObjectDetectElementsShrink?: string;
21
21
  /**
22
22
  * @remarks
23
- * The element types to detect on the image subject (1: watermark, 2: logo, 3: text, 4: text-containing color block). You can select multiple element types.
23
+ * The elements to detect on the image subject. Valid values: 1 (watermark), 2 (logo), 3 (text), and 4 (text-containing color block). You can specify multiple values.
24
24
  *
25
25
  * @example
26
26
  * [1,2,3,4]
@@ -52,7 +52,7 @@ export declare class ImageRecognitionShrinkRequest extends $dara.Model {
52
52
  returnCharacterProp?: number;
53
53
  /**
54
54
  * @remarks
55
- * Specifies whether to return the product count. Valid values: 1 (return) and 0 (do not return).
55
+ * Specifies whether to return the product quantity. Valid values: 1 (return) and 0 (do not return).
56
56
  *
57
57
  * @example
58
58
  * 1
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageRemovalProAsyncRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The business 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.
5
+ * The business ID of the caller. This ID is recorded when the request is accepted and returned as-is when you query the asynchronous task result.
6
6
  *
7
7
  * @example
8
8
  * order-20260928-001
@@ -10,8 +10,7 @@ export declare class ImageRemovalProAsyncRequest extends $dara.Model {
10
10
  bizId?: string;
11
11
  /**
12
12
  * @remarks
13
- * The URL of the original image. The image must be in the JPG, JPEG, PNG, BMP, or WEBP format.
14
- * · Resolution: 256×256 to 3000×3000. File size: ≤ 10 MB.
13
+ * The URL of the original image. The image must be in JPG, JPEG, PNG, BMP, or WEBP format. The resolution must be between 256×256 and 3000×3000 pixels, and the file size must be less than or equal to 10 MB.
15
14
  *
16
15
  * This parameter is required.
17
16
  *
@@ -1 +1 @@
1
- {"version":3,"file":"ImageRemovalProAsyncRequest.js","sourceRoot":"","sources":["../../src/models/ImageRemovalProAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAoB1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzCD,kEAyCC"}
1
+ {"version":3,"file":"ImageRemovalProAsyncRequest.js","sourceRoot":"","sources":["../../src/models/ImageRemovalProAsyncRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAmB1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxCD,kEAwCC"}
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageRemovalProAsyncResponseBodyData extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The ID of the task. You can use this ID to query the asynchronous task result.
5
+ * The ID of the task used to query the asynchronous task result.
6
6
  *
7
7
  * @example
8
8
  * TID_550e8400-e29b-41d4-a716-446655440000
@@ -35,7 +35,7 @@ export declare class ImageRemovalProAsyncResponseBody extends $dara.Model {
35
35
  data?: ImageRemovalProAsyncResponseBodyData;
36
36
  /**
37
37
  * @remarks
38
- * The error message. This parameter is not returned for successful calls. Example: "The parameters contain sensitive information. Try other inputs."
38
+ * The error message. This parameter is not returned for successful calls. Example: "The parameters contain sensitive information. Please try another input."
39
39
  *
40
40
  * @example
41
41
  * OK
@@ -43,7 +43,7 @@ export declare class ImageRemovalProAsyncResponseBody extends $dara.Model {
43
43
  message?: string;
44
44
  /**
45
45
  * @remarks
46
- * The ID of the request. This ID is used to uniquely identify the request.
46
+ * The request ID, which uniquely identifies the request.
47
47
  *
48
48
  * @example
49
49
  * E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
@@ -52,8 +52,8 @@ export declare class ImageRemovalProAsyncResponseBody extends $dara.Model {
52
52
  /**
53
53
  * @remarks
54
54
  * Indicates whether the call is successful. Valid values:
55
- * - true: successful.
56
- * - false: failed.
55
+ * - true: The call is successful.
56
+ * - false: The call fails.
57
57
  *
58
58
  * @example
59
59
  * True
@@ -2,10 +2,9 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageRemovalProRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The call type. Valid values:
5
+ * Specifies the call type. Valid values:
6
6
  * - true: Asynchronous.
7
7
  * - false: Synchronous.
8
- *
9
8
  * Default value: false.
10
9
  *
11
10
  * @example
@@ -14,7 +13,7 @@ export declare class ImageRemovalProRequest extends $dara.Model {
14
13
  async?: boolean;
15
14
  /**
16
15
  * @remarks
17
- * The URL of the image to process.
16
+ * The URL of the image to be processed.
18
17
  *
19
18
  * This parameter is required.
20
19
  *
@@ -1 +1 @@
1
- {"version":3,"file":"ImageRemovalProRequest.js","sourceRoot":"","sources":["../../src/models/ImageRemovalProRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sBAAuB,SAAQ,KAAK,CAAC,KAAK;IAuBrD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,SAAS;YAChB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5CD,wDA4CC"}
1
+ {"version":3,"file":"ImageRemovalProRequest.js","sourceRoot":"","sources":["../../src/models/ImageRemovalProRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sBAAuB,SAAQ,KAAK,CAAC,KAAK;IAsBrD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,SAAS;YAChB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA3CD,wDA2CC"}
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageRemovalProResponseBodyData extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The URL of the erasure result image. This parameter is returned in synchronous mode.
5
+ * The URL of the result image. This parameter is returned in synchronous mode.
6
6
  *
7
7
  * @example
8
8
  * https://aib-image.oss-ap-southeast-1.aliyuncs.com/ai_desc%2F250cc947-9cd5-4df0-9c23-44eba5d0dfc30.jpg?OSSAccessKeyId=LTAI5tSEGjGp5wixZgHLc3bV&Expires=4999655814&Signature=shvGNDmkyv9MLTw4%2BOxYglJCpAE%3D
@@ -10,7 +10,7 @@ export declare class ImageRemovalProResponseBodyData extends $dara.Model {
10
10
  imageUrl?: string;
11
11
  /**
12
12
  * @remarks
13
- * The asynchronous task ID. This parameter is returned in asynchronous mode and is used to query task results.
13
+ * The ID of the asynchronous task. This parameter is returned in asynchronous mode and is used to query the task result.
14
14
  *
15
15
  * @example
16
16
  * ed9d8504-6141-9fbb-8345-4fa36433483f
@@ -37,7 +37,7 @@ export declare class ImageRemovalProResponseBodyData extends $dara.Model {
37
37
  export declare class ImageRemovalProResponseBody extends $dara.Model {
38
38
  /**
39
39
  * @remarks
40
- * The error code. This parameter is not returned if the call is successful.
40
+ * The error code. This parameter is not returned when the call is successful.
41
41
  *
42
42
  * @example
43
43
  * 200
@@ -45,12 +45,12 @@ export declare class ImageRemovalProResponseBody extends $dara.Model {
45
45
  code?: string;
46
46
  /**
47
47
  * @remarks
48
- * The Intelligent Eraser Pro result.
48
+ * The result of the intelligent object removal Pro operation.
49
49
  */
50
50
  data?: ImageRemovalProResponseBodyData;
51
51
  /**
52
52
  * @remarks
53
- * The error message. This parameter is not returned if the call is successful.
53
+ * The error message. This parameter is not returned when the call is successful.
54
54
  *
55
55
  * @example
56
56
  * OK
@@ -68,7 +68,7 @@ export declare class ImageRemovalProResponseBody extends $dara.Model {
68
68
  * @remarks
69
69
  * Indicates whether the call is successful. Valid values:
70
70
  * - true: The call is successful.
71
- * - false: The call failed.
71
+ * - false: The call fails.
72
72
  *
73
73
  * @example
74
74
  * True
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageRemoveAsyncRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
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.
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
@@ -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 cannot 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 must not exceed 10 MB.
14
14
  *
15
15
  * This parameter is required.
16
16
  *
@@ -20,9 +20,7 @@ export declare class ImageRemoveAsyncRequest extends $dara.Model {
20
20
  imageUrl?: string;
21
21
  /**
22
22
  * @remarks
23
- * The specific area to erase. This parameter must be used in conjunction with the editor. The input format is Run-Length Encoding (RLE).
24
- * 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.
25
- * If multiple parameters are specified, the priority is as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
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.
26
24
  *
27
25
  * @example
28
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"
@@ -35,21 +33,12 @@ export declare class ImageRemoveAsyncRequest extends $dara.Model {
35
33
  nonObjectRemoveElements?: number[];
36
34
  /**
37
35
  * @remarks
38
- * The types of elements to remove from the image subject. Valid values:
39
- * - 1: Transparent text blocks.
40
- * - 2: Specific names.
41
- * - 3: Text.
42
- * - 4: Promotional stickers.
43
- * 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.
44
- * If multiple parameters are specified, the priority is as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
45
- * For more information about each type, see the product documentation.
46
- * Image subject: the core product area in the image.
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.
47
37
  */
48
38
  objectRemoveElements?: number[];
49
39
  /**
50
40
  * @remarks
51
- * The specific area to erase. This parameter must be used in conjunction with the editor. The input format is a four-point coordinate array, such as [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.
52
- * If multiple parameters are specified, the priority is as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
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.
53
42
  *
54
43
  * @example
55
44
  * [10,20,100,200]
@@ -57,12 +46,12 @@ export declare class ImageRemoveAsyncRequest extends $dara.Model {
57
46
  position?: string;
58
47
  /**
59
48
  * @remarks
60
- * The list of URLs for user-specified image elements to erase.
49
+ * The list of URLs of image elements to remove specified by the user.
61
50
  */
62
51
  userImage?: string[];
63
52
  /**
64
53
  * @remarks
65
- * The list of user-specified text strings to erase.
54
+ * The list of text strings to remove specified by the user.
66
55
  */
67
56
  userText?: string[];
68
57
  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,uBAAw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C;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,CAAC,EAAE,CAAC;YAC/C,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;QAC1D,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,CAAC,EAAE,CAAC;YAC5C,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;QACvD,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;YACjC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC5C,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;YAChC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC3C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApGD,0DAoGC"}
@@ -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 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
@@ -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.
26
26
  *
27
27
  * @example
28
28
  * success
@@ -35,7 +35,7 @@ export declare class ImageRemoveAsyncResponseBody extends $dara.Model {
35
35
  data?: ImageRemoveAsyncResponseBodyData;
36
36
  /**
37
37
  * @remarks
38
- * The error message, such as "The parameters contain sensitive information. Try another input."
38
+ * The error message, such as \\"The parameter contains sensitive information. Please 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.
46
+ * The request ID, which is used to identify a unique request call.
47
47
  *
48
48
  * @example
49
49
  * E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
@@ -51,9 +51,7 @@ 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:
55
- * - true: The call is successful.
56
- * - false: The call fails.
54
+ * Indicates whether the call is successful. Valid values: true: The call is successful. false: The call failed.
57
55
  *
58
56
  * @example
59
57
  * 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;IAwC3D,MAAM,C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C3D,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"}
@@ -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. This ID is recorded when the request is accepted 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
@@ -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 cannot 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 must not exceed 10 MB.
14
14
  *
15
15
  * This parameter is required.
16
16
  *
@@ -20,9 +20,7 @@ export declare class ImageRemoveAsyncShrinkRequest extends $dara.Model {
20
20
  imageUrl?: string;
21
21
  /**
22
22
  * @remarks
23
- * The specific area to erase. This parameter must be used in conjunction with the editor. The input format is Run-Length Encoding (RLE).
24
- * 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.
25
- * If multiple parameters are specified, the priority is as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
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.
26
24
  *
27
25
  * @example
28
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"
@@ -35,21 +33,12 @@ export declare class ImageRemoveAsyncShrinkRequest extends $dara.Model {
35
33
  nonObjectRemoveElementsShrink?: string;
36
34
  /**
37
35
  * @remarks
38
- * The types of elements to remove from the image subject. Valid values:
39
- * - 1: Transparent text blocks.
40
- * - 2: Specific names.
41
- * - 3: Text.
42
- * - 4: Promotional stickers.
43
- * 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.
44
- * If multiple parameters are specified, the priority is as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
45
- * For more information about each type, see the product documentation.
46
- * Image subject: the core product area in the image.
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.
47
37
  */
48
38
  objectRemoveElementsShrink?: string;
49
39
  /**
50
40
  * @remarks
51
- * The specific area to erase. This parameter must be used in conjunction with the editor. The input format is a four-point coordinate array, such as [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.
52
- * If multiple parameters are specified, the priority is as follows: UserImage > UserText > Position > Mask > ObjectRemoveElements = NonObjectRemoveElements.
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.
53
42
  *
54
43
  * @example
55
44
  * [10,20,100,200]
@@ -57,12 +46,12 @@ export declare class ImageRemoveAsyncShrinkRequest extends $dara.Model {
57
46
  position?: string;
58
47
  /**
59
48
  * @remarks
60
- * The list of URLs for user-specified image elements to erase.
49
+ * The list of URLs of image elements to remove specified by the user.
61
50
  */
62
51
  userImageShrink?: string;
63
52
  /**
64
53
  * @remarks
65
- * The list of user-specified text strings to erase.
54
+ * The list of text strings to remove specified by the user.
66
55
  */
67
56
  userTextShrink?: string;
68
57
  static names(): {
@@ -1 +1 @@
1
- {"version":3,"file":"ImageRemoveAsyncShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ImageRemoveAsyncShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;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