@alicloud/aidge20260428 5.10.1 → 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 (208) hide show
  1. package/dist/client.d.ts +816 -672
  2. package/dist/client.js +900 -672
  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 +119 -0
  36. package/dist/models/GenerateProductContentRequest.js +80 -0
  37. package/dist/models/GenerateProductContentRequest.js.map +1 -0
  38. package/dist/models/GenerateProductContentResponse.d.ts +19 -0
  39. package/dist/models/GenerateProductContentResponse.js +69 -0
  40. package/dist/models/GenerateProductContentResponse.js.map +1 -0
  41. package/dist/models/GenerateProductContentResponseBody.d.ts +111 -0
  42. package/dist/models/GenerateProductContentResponseBody.js +109 -0
  43. package/dist/models/GenerateProductContentResponseBody.js.map +1 -0
  44. package/dist/models/ImageCroppingRequest.d.ts +1 -1
  45. package/dist/models/ImageCroppingResponseBody.d.ts +1 -3
  46. package/dist/models/ImageCroppingResponseBody.js.map +1 -1
  47. package/dist/models/ImageMattingAsyncRequest.d.ts +2 -2
  48. package/dist/models/ImageMattingAsyncResponseBody.d.ts +4 -6
  49. package/dist/models/ImageMattingAsyncResponseBody.js.map +1 -1
  50. package/dist/models/ImageMattingRequest.d.ts +5 -6
  51. package/dist/models/ImageMattingRequest.js.map +1 -1
  52. package/dist/models/ImageMattingResponseBody.d.ts +26 -7
  53. package/dist/models/ImageMattingResponseBody.js +2 -0
  54. package/dist/models/ImageMattingResponseBody.js.map +1 -1
  55. package/dist/models/ImageRecognitionAsyncRequest.d.ts +10 -35
  56. package/dist/models/ImageRecognitionAsyncRequest.js.map +1 -1
  57. package/dist/models/ImageRecognitionAsyncResponseBody.d.ts +5 -7
  58. package/dist/models/ImageRecognitionAsyncResponseBody.js.map +1 -1
  59. package/dist/models/ImageRecognitionAsyncShrinkRequest.d.ts +10 -35
  60. package/dist/models/ImageRecognitionAsyncShrinkRequest.js.map +1 -1
  61. package/dist/models/ImageRecognitionRequest.d.ts +4 -4
  62. package/dist/models/ImageRecognitionResponseBody.d.ts +7 -7
  63. package/dist/models/ImageRecognitionShrinkRequest.d.ts +4 -4
  64. package/dist/models/ImageRemovalProAsyncRequest.d.ts +2 -3
  65. package/dist/models/ImageRemovalProAsyncRequest.js.map +1 -1
  66. package/dist/models/ImageRemovalProAsyncResponseBody.d.ts +5 -5
  67. package/dist/models/ImageRemovalProRequest.d.ts +2 -3
  68. package/dist/models/ImageRemovalProRequest.js.map +1 -1
  69. package/dist/models/ImageRemovalProResponseBody.d.ts +6 -6
  70. package/dist/models/ImageRemoveAsyncRequest.d.ts +7 -18
  71. package/dist/models/ImageRemoveAsyncRequest.js.map +1 -1
  72. package/dist/models/ImageRemoveAsyncResponseBody.d.ts +5 -7
  73. package/dist/models/ImageRemoveAsyncResponseBody.js.map +1 -1
  74. package/dist/models/ImageRemoveAsyncShrinkRequest.d.ts +7 -18
  75. package/dist/models/ImageRemoveAsyncShrinkRequest.js.map +1 -1
  76. package/dist/models/ImageTranslationPlusAsyncRequest.d.ts +10 -10
  77. package/dist/models/ImageTranslationPlusAsyncResponseBody.d.ts +6 -6
  78. package/dist/models/ImageTranslationPlusRequest.d.ts +2 -2
  79. package/dist/models/ImageTranslationPlusResponseBody.d.ts +5 -5
  80. package/dist/models/ImageTranslationProAsyncRequest.d.ts +6 -6
  81. package/dist/models/ImageTranslationProAsyncResponseBody.d.ts +5 -5
  82. package/dist/models/ImageTranslationProRequest.d.ts +16 -17
  83. package/dist/models/ImageTranslationProRequest.js.map +1 -1
  84. package/dist/models/ImageTranslationProResponseBody.d.ts +24 -26
  85. package/dist/models/ImageTranslationProResponseBody.js.map +1 -1
  86. package/dist/models/ImageTranslationStandardAsyncRequest.d.ts +2 -2
  87. package/dist/models/ImageTranslationStandardAsyncResponseBody.d.ts +3 -3
  88. package/dist/models/ImageTranslationStandardRequest.d.ts +12 -12
  89. package/dist/models/ImageTranslationStandardResponseBody.d.ts +54 -9
  90. package/dist/models/ImageTranslationStandardResponseBody.js.map +1 -1
  91. package/dist/models/ImageUpscaleRequest.d.ts +31 -0
  92. package/dist/models/ImageUpscaleRequest.js +60 -0
  93. package/dist/models/ImageUpscaleRequest.js.map +1 -0
  94. package/dist/models/ImageUpscaleResponse.d.ts +19 -0
  95. package/dist/models/ImageUpscaleResponse.js +69 -0
  96. package/dist/models/ImageUpscaleResponse.js.map +1 -0
  97. package/dist/models/ImageUpscaleResponseBody.d.ts +160 -0
  98. package/dist/models/ImageUpscaleResponseBody.js +146 -0
  99. package/dist/models/ImageUpscaleResponseBody.js.map +1 -0
  100. package/dist/models/QueryDisplayKnowledgeRequest.d.ts +1 -1
  101. package/dist/models/QueryDisplayKnowledgeResponseBody.d.ts +11 -11
  102. package/dist/models/QueryDisplayKnowledgeShrinkRequest.d.ts +1 -1
  103. package/dist/models/SizeChartExtractAsyncRequest.d.ts +3 -3
  104. package/dist/models/SizeChartExtractAsyncResponseBody.d.ts +2 -2
  105. package/dist/models/SizeChartExtractAsyncShrinkRequest.d.ts +3 -3
  106. package/dist/models/TextTranslateAsyncRequest.d.ts +12 -12
  107. package/dist/models/TextTranslateAsyncResponseBody.d.ts +3 -3
  108. package/dist/models/TextTranslateAsyncShrinkRequest.d.ts +12 -12
  109. package/dist/models/UpdateDisplayKnowledgeRequest.d.ts +1 -1
  110. package/dist/models/UpdateDisplayKnowledgeResponseBody.d.ts +6 -6
  111. package/dist/models/UpdateDisplayKnowledgeShrinkRequest.d.ts +1 -1
  112. package/dist/models/VideoTranslationRequest.d.ts +17 -8
  113. package/dist/models/VideoTranslationRequest.js.map +1 -1
  114. package/dist/models/VideoTranslationResponseBody.d.ts +6 -4
  115. package/dist/models/VideoTranslationResponseBody.js.map +1 -1
  116. package/dist/models/VideoTranslationShrinkRequest.d.ts +17 -8
  117. package/dist/models/VideoTranslationShrinkRequest.js.map +1 -1
  118. package/dist/models/VirtualTryOnRequest.d.ts +3 -3
  119. package/dist/models/VirtualTryOnResponseBody.d.ts +7 -5
  120. package/dist/models/VirtualTryOnResponseBody.js.map +1 -1
  121. package/dist/models/model.d.ts +10 -0
  122. package/dist/models/model.js +27 -7
  123. package/dist/models/model.js.map +1 -1
  124. package/package.json +1 -1
  125. package/src/client.ts +918 -672
  126. package/src/models/AddDisplayKnowledgeRequest.ts +2 -2
  127. package/src/models/AddDisplayKnowledgeResponseBody.ts +7 -7
  128. package/src/models/AiTryOnRequest.ts +3 -3
  129. package/src/models/AiTryOnResponseBody.ts +2 -4
  130. package/src/models/AssetOptimizeLiteRequest.ts +1 -1
  131. package/src/models/AssetOptimizeLiteResponseBody.ts +2 -2
  132. package/src/models/AssetOptimizeProRequest.ts +12 -12
  133. package/src/models/AssetOptimizeProResponseBody.ts +6 -6
  134. package/src/models/AssetOptimizeProShrinkRequest.ts +12 -12
  135. package/src/models/CategoryAttributeMatchRequest.ts +9 -9
  136. package/src/models/CategoryAttributeMatchResponseBody.ts +13 -13
  137. package/src/models/CategoryAttributeMatchShrinkRequest.ts +9 -9
  138. package/src/models/CategoryMatchRequest.ts +10 -10
  139. package/src/models/CategoryMatchResponseBody.ts +12 -12
  140. package/src/models/DeleteDisplayKnowledgeRequest.ts +1 -1
  141. package/src/models/DeleteDisplayKnowledgeResponseBody.ts +8 -8
  142. package/src/models/DeleteDisplayKnowledgeShrinkRequest.ts +1 -1
  143. package/src/models/DiduiAreaDeductionProResponseBody.ts +4 -4
  144. package/src/models/DiduiAreaDeductionRequest.ts +8 -8
  145. package/src/models/DiduiAreaDeductionResponseBody.ts +6 -6
  146. package/src/models/DiduiAreaDeductionShrinkRequest.ts +3 -3
  147. package/src/models/DocumentTranslateRequest.ts +6 -7
  148. package/src/models/DocumentTranslateResponseBody.ts +8 -6
  149. package/src/models/EcomVideoRecreationRequest.ts +15 -15
  150. package/src/models/EcomVideoRecreationResponseBody.ts +1 -1
  151. package/src/models/EcomVideoRecreationShrinkRequest.ts +2 -2
  152. package/src/models/GeneralRephotographyDetectionRequest.ts +1 -1
  153. package/src/models/GeneralRephotographyDetectionResponseBody.ts +11 -11
  154. package/src/models/GenerateProductContentRequest.ts +154 -0
  155. package/src/models/GenerateProductContentResponse.ts +40 -0
  156. package/src/models/GenerateProductContentResponseBody.ts +164 -0
  157. package/src/models/ImageCroppingRequest.ts +1 -1
  158. package/src/models/ImageCroppingResponseBody.ts +1 -3
  159. package/src/models/ImageMattingAsyncRequest.ts +2 -2
  160. package/src/models/ImageMattingAsyncResponseBody.ts +4 -6
  161. package/src/models/ImageMattingRequest.ts +5 -6
  162. package/src/models/ImageMattingResponseBody.ts +28 -7
  163. package/src/models/ImageRecognitionAsyncRequest.ts +10 -35
  164. package/src/models/ImageRecognitionAsyncResponseBody.ts +5 -7
  165. package/src/models/ImageRecognitionAsyncShrinkRequest.ts +10 -35
  166. package/src/models/ImageRecognitionRequest.ts +4 -4
  167. package/src/models/ImageRecognitionResponseBody.ts +7 -7
  168. package/src/models/ImageRecognitionShrinkRequest.ts +4 -4
  169. package/src/models/ImageRemovalProAsyncRequest.ts +2 -3
  170. package/src/models/ImageRemovalProAsyncResponseBody.ts +5 -5
  171. package/src/models/ImageRemovalProRequest.ts +2 -3
  172. package/src/models/ImageRemovalProResponseBody.ts +6 -6
  173. package/src/models/ImageRemoveAsyncRequest.ts +7 -18
  174. package/src/models/ImageRemoveAsyncResponseBody.ts +5 -7
  175. package/src/models/ImageRemoveAsyncShrinkRequest.ts +7 -18
  176. package/src/models/ImageTranslationPlusAsyncRequest.ts +10 -10
  177. package/src/models/ImageTranslationPlusAsyncResponseBody.ts +6 -6
  178. package/src/models/ImageTranslationPlusRequest.ts +2 -2
  179. package/src/models/ImageTranslationPlusResponseBody.ts +5 -5
  180. package/src/models/ImageTranslationProAsyncRequest.ts +6 -6
  181. package/src/models/ImageTranslationProAsyncResponseBody.ts +5 -5
  182. package/src/models/ImageTranslationProRequest.ts +17 -18
  183. package/src/models/ImageTranslationProResponseBody.ts +24 -26
  184. package/src/models/ImageTranslationStandardAsyncRequest.ts +2 -2
  185. package/src/models/ImageTranslationStandardAsyncResponseBody.ts +3 -3
  186. package/src/models/ImageTranslationStandardRequest.ts +12 -12
  187. package/src/models/ImageTranslationStandardResponseBody.ts +54 -9
  188. package/src/models/ImageUpscaleRequest.ts +46 -0
  189. package/src/models/ImageUpscaleResponse.ts +40 -0
  190. package/src/models/ImageUpscaleResponseBody.ts +234 -0
  191. package/src/models/QueryDisplayKnowledgeRequest.ts +1 -1
  192. package/src/models/QueryDisplayKnowledgeResponseBody.ts +11 -11
  193. package/src/models/QueryDisplayKnowledgeShrinkRequest.ts +1 -1
  194. package/src/models/SizeChartExtractAsyncRequest.ts +3 -3
  195. package/src/models/SizeChartExtractAsyncResponseBody.ts +2 -2
  196. package/src/models/SizeChartExtractAsyncShrinkRequest.ts +3 -3
  197. package/src/models/TextTranslateAsyncRequest.ts +12 -12
  198. package/src/models/TextTranslateAsyncResponseBody.ts +3 -3
  199. package/src/models/TextTranslateAsyncShrinkRequest.ts +12 -12
  200. package/src/models/UpdateDisplayKnowledgeRequest.ts +1 -1
  201. package/src/models/UpdateDisplayKnowledgeResponseBody.ts +6 -6
  202. package/src/models/UpdateDisplayKnowledgeShrinkRequest.ts +1 -1
  203. package/src/models/VideoTranslationRequest.ts +17 -8
  204. package/src/models/VideoTranslationResponseBody.ts +6 -4
  205. package/src/models/VideoTranslationShrinkRequest.ts +17 -8
  206. package/src/models/VirtualTryOnRequest.ts +3 -3
  207. package/src/models/VirtualTryOnResponseBody.ts +7 -5
  208. package/src/models/model.ts +10 -0
@@ -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,uBAAwB,SAAQ,KAAK,CAAC,KAAK;IAkEtD,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,EAAE;YACpD,QAAQ,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;SACpD,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,CAA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$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,MA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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"}
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAkE5D,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,IAAI,EAAE,QAAQ;YACd,6BAA6B,EAAE,QAAQ;YACvC,0BAA0B,EAAE,QAAQ;YACpC,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;YACzB,cAAc,EAAE,QAAQ;SACzB,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;AAnGD,sEAmGC"}
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,IAAI,EAAE,QAAQ;YACd,6BAA6B,EAAE,QAAQ;YACvC,0BAA0B,EAAE,QAAQ;YACpC,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;YACzB,cAAc,EAAE,QAAQ;SACzB,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;AAxFD,sEAwFC"}
@@ -2,7 +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 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 order number 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 ImageTranslationPlusAsyncRequest extends $dara.Model {
10
10
  bizId?: string;
11
11
  /**
12
12
  * @remarks
13
- * The intervention glossary ID. 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.
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.
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: The image must be accessible over the Internet.
22
- * * Format: PNG, JPEG, JPG, BMP, or WEBP.
23
- * * Resolution: The width and height cannot exceed 4,000 pixels.
24
- * * File size: The original file size cannot exceed 10 MB.
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.
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 the product name, 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 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.
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 that you use the 12 minor language pairs listed above.
52
+ * The target language code. We recommend using 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 name in the image. This prevents the brand name from being translated. Default value: false. In the example image, \\"懒角落\\" represents the brand name.
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.
63
63
  *
64
64
  * @example
65
65
  * false
@@ -67,7 +67,7 @@ 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 you integrate the image editor for secondary editing. You can call the image translation result data query API operation 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 integrating the image editor for secondary editing. You can call the image translation result query API to obtain the complete parameter information.
71
71
  *
72
72
  * @example
73
73
  * false
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageTranslationPlusAsyncResponseBodyData extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The identifier of the asynchronous task, which is used for result queries and notification association. Do not use the example prefix as a business validation rule.
5
+ * The identifier of the asynchronous task, which is used for result query and notification association. Do not use the example prefix as a business validation rule.
6
6
  *
7
7
  * @example
8
8
  * TID_550e8400-e29b-41d4-a716-446655440000
@@ -22,7 +22,7 @@ export declare class ImageTranslationPlusAsyncResponseBodyData extends $dara.Mod
22
22
  export declare class ImageTranslationPlusAsyncResponseBody extends $dara.Model {
23
23
  /**
24
24
  * @remarks
25
- * The response code for the submission call. A successful call returns success.
25
+ * The response code for the submission call. The value success indicates a successful call.
26
26
  *
27
27
  * @example
28
28
  * success
@@ -30,12 +30,12 @@ export declare class ImageTranslationPlusAsyncResponseBody extends $dara.Model {
30
30
  code?: string;
31
31
  /**
32
32
  * @remarks
33
- * The submission result of the asynchronous task for the Plus edition of image translation.
33
+ * The submission result of the Image Translation Plus asynchronous task.
34
34
  */
35
35
  data?: ImageTranslationPlusAsyncResponseBodyData;
36
36
  /**
37
37
  * @remarks
38
- * The error message, such as \\"The content contains sensitive data. Try another input.\\"
38
+ * The error message, such as "The content contains sensitive data. Try another input."
39
39
  *
40
40
  * @example
41
41
  * OK
@@ -43,7 +43,7 @@ export declare class ImageTranslationPlusAsyncResponseBody extends $dara.Model {
43
43
  message?: string;
44
44
  /**
45
45
  * @remarks
46
- * The unique identifier of the request, which is used for troubleshooting and tracing analysis.
46
+ * The unique identity of the request, used for troubleshooting and Tracing Analysis.
47
47
  *
48
48
  * @example
49
49
  * E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
@@ -51,7 +51,7 @@ export declare class ImageTranslationPlusAsyncResponseBody extends $dara.Model {
51
51
  requestId?: string;
52
52
  /**
53
53
  * @remarks
54
- * Specifies whether the submission call is successful. This does not indicate that the translation is complete. A value of true indicates success, and a value of false indicates failure.
54
+ * Specifies whether the submission call is successful. This does not mean that the translation is completed. A value of true indicates success, and a value of false indicates failure.
55
55
  *
56
56
  * @example
57
57
  * True
@@ -20,7 +20,7 @@ export declare class ImageTranslationPlusRequest extends $dara.Model {
20
20
  imageUrl?: string;
21
21
  /**
22
22
  * @remarks
23
- * Specifies whether to translate text on the product body. This parameter is optional. Default value: false.
23
+ * Specifies whether to translate the text on the product subject. This parameter is optional. Default value: false.
24
24
  *
25
25
  * @example
26
26
  * false
@@ -48,7 +48,7 @@ export declare class ImageTranslationPlusRequest extends $dara.Model {
48
48
  targetLanguage?: string;
49
49
  /**
50
50
  * @remarks
51
- * Specifies whether to translate brand text on the product. This parameter is optional. Default value: false.
51
+ * Specifies whether to translate the text on the brand. This parameter is optional. Default value: false.
52
52
  *
53
53
  * @example
54
54
  * false
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageTranslationPlusResponseBodyData extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The asynchronous task ID. Use this ID to poll for results through the queryTaskResult operation.
5
+ * The ID of the asynchronous task. You can use this ID to poll the result by calling the queryTaskResult operation.
6
6
  *
7
7
  * @example
8
8
  * task-abc123
@@ -22,7 +22,7 @@ export declare class ImageTranslationPlusResponseBodyData extends $dara.Model {
22
22
  export declare class ImageTranslationPlusResponseBody extends $dara.Model {
23
23
  /**
24
24
  * @remarks
25
- * The error code. This parameter is not returned if the call is successful.
25
+ * The error code. This parameter is not returned when the call is successful.
26
26
  *
27
27
  * @example
28
28
  * 200
@@ -30,12 +30,12 @@ export declare class ImageTranslationPlusResponseBody extends $dara.Model {
30
30
  code?: string;
31
31
  /**
32
32
  * @remarks
33
- * The asynchronous task submit status.
33
+ * The submission result of the asynchronous task.
34
34
  */
35
35
  data?: ImageTranslationPlusResponseBodyData;
36
36
  /**
37
37
  * @remarks
38
- * The error message. This parameter is not returned if the call is successful.
38
+ * The error message. This parameter is not returned when the call is successful.
39
39
  *
40
40
  * @example
41
41
  * OK
@@ -53,7 +53,7 @@ export declare class ImageTranslationPlusResponseBody extends $dara.Model {
53
53
  * @remarks
54
54
  * Indicates whether the call is successful. Valid values:
55
55
  * - true: The call is successful.
56
- * - false: The call failed.
56
+ * - false: The call fails.
57
57
  *
58
58
  * @example
59
59
  * True
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageTranslationProAsyncRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The business 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 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
@@ -18,10 +18,10 @@ export declare class ImageTranslationProAsyncRequest extends $dara.Model {
18
18
  glossary?: string;
19
19
  /**
20
20
  * @remarks
21
- * • Image URL: The URL must be publicly accessible over the Internet.
22
- * • Formats: PNG, JPEG, JPG, BMP, and WEBP.
23
- * • Pixels: The width and height cannot exceed 4,000 pixels.
24
- * • File size: The original file size cannot exceed 10 MB.
21
+ * * Image URL: Must be accessible over the Internet.
22
+ * * Format: PNG, JPEG, JPG, BMP, and WebP.
23
+ * * Pixels: The width and height must not exceed 4,000.
24
+ * * File size: The original file must be less than or equal to 10 MB.
25
25
  *
26
26
  * This parameter is required.
27
27
  *
@@ -67,7 +67,7 @@ export declare class ImageTranslationProAsyncRequest 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. If you set this parameter to true, layer information is returned, which can be used for secondary editing when you integrate an image editor. Default value: false.
70
+ * Specifies whether to return layout information such as the position, font, and color of the text. When this parameter is set to true, layer information is returned, which can be used for secondary editing in an image editor. Default value: false.
71
71
  *
72
72
  * @example
73
73
  * false
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageTranslationProAsyncResponseBodyData extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The ID of the asynchronous task. This ID is used to query results and associate notifications. Do not use the example prefix as a business validation rule.
5
+ * The identifier of the asynchronous task, which is used for result queries and notification association. Do not use the example prefix as a business validation rule.
6
6
  *
7
7
  * @example
8
8
  * TID_550e8400-e29b-41d4-a716-446655440000
@@ -22,7 +22,7 @@ export declare class ImageTranslationProAsyncResponseBodyData extends $dara.Mode
22
22
  export declare class ImageTranslationProAsyncResponseBody extends $dara.Model {
23
23
  /**
24
24
  * @remarks
25
- * The response code. A value of success indicates that the task is submitted.
25
+ * The response code. A value of success indicates that the task is submitted successfully.
26
26
  *
27
27
  * @example
28
28
  * success
@@ -35,7 +35,7 @@ export declare class ImageTranslationProAsyncResponseBody extends $dara.Model {
35
35
  data?: ImageTranslationProAsyncResponseBodyData;
36
36
  /**
37
37
  * @remarks
38
- * The call description. A value of Success indicates a successful call. If the call fails, read the actual error message.
38
+ * The call description. A successful call returns Success. For a failed call, read the actual error message.
39
39
  *
40
40
  * @example
41
41
  * success
@@ -43,7 +43,7 @@ export declare class ImageTranslationProAsyncResponseBody extends $dara.Model {
43
43
  message?: string;
44
44
  /**
45
45
  * @remarks
46
- * The ID of the submission request. This ID is used for troubleshooting.
46
+ * The ID of the submission request, which is used for troubleshooting.
47
47
  *
48
48
  * @example
49
49
  * E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
@@ -51,7 +51,7 @@ export declare class ImageTranslationProAsyncResponseBody extends $dara.Model {
51
51
  requestId?: string;
52
52
  /**
53
53
  * @remarks
54
- * Indicates whether the submission call is successful. This does not indicate that the translation is complete.
54
+ * Indicates whether the submission call is successful. This does not mean that the translation is completed.
55
55
  *
56
56
  * @example
57
57
  * True
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ImageTranslationProRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * Specifies whether to use asynchronous mode. Default value: false (synchronous mode). When set to true, the API immediately returns a TaskId. Use the query translation result API to retrieve the final result.
5
+ * Specifies whether to use the asynchronous mode. Default value: false, which indicates the synchronous mode. If set to true, the API immediately returns a TaskId, and you must call the query translation results API to obtain the final results.
6
6
  *
7
7
  * @example
8
8
  * true
@@ -10,7 +10,7 @@ export declare class ImageTranslationProRequest extends $dara.Model {
10
10
  async?: boolean;
11
11
  /**
12
12
  * @remarks
13
- * The ID of the intervention glossary. This parameter is optional. Create the glossary separately in the console and provide its ID. If the glossary ID is empty, the translation results are not modified.
13
+ * The ID of the intervention glossary. Optional. You must create the glossary in the console and provide its ID. If the intervention glossary ID is empty, the translation results are not modified.
14
14
  *
15
15
  * @example
16
16
  * glossary_1
@@ -18,13 +18,12 @@ export declare class ImageTranslationProRequest extends $dara.Model {
18
18
  glossary?: string;
19
19
  /**
20
20
  * @remarks
21
- * The URL of the original image. This parameter is required.
22
- *
21
+ * The URL of the source image. Required.
23
22
  * Image requirements:
24
- * - Image URL: The URL must be publicly accessible.
25
- * - Format: png, jpeg, jpg, bmp, or webp.
26
- * - Pixels: The width and height must not exceed 4000 pixels each.
27
- * - File size: The original file must be 10 MB or smaller.
23
+ * • Image URL: Must be publicly accessible.
24
+ * • Format: PNG, JPEG, JPG, BMP, or WEBP.
25
+ * • Pixels: The width and height must not exceed 4,000 pixels.
26
+ * • File size: The original file must be 10 MB or smaller.
28
27
  *
29
28
  * This parameter is required.
30
29
  *
@@ -34,7 +33,7 @@ export declare class ImageTranslationProRequest extends $dara.Model {
34
33
  imageUrl?: string;
35
34
  /**
36
35
  * @remarks
37
- * Specifies whether to translate text on the image subject. This parameter is optional. Default value: false. Setting this parameter to false helps protect information such as embedded product names from being translated.
36
+ * Specifies whether to translate text on the product subject in the image. Optional. Default value: false. This helps you protect information and prevents embedded information such as product names from being translated.
38
37
  *
39
38
  * @example
40
39
  * false
@@ -42,9 +41,9 @@ export declare class ImageTranslationProRequest extends $dara.Model {
42
41
  includingProductArea?: boolean;
43
42
  /**
44
43
  * @remarks
45
- * The source language code. This parameter is required.
46
- * <props="china">For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
47
- * <props="intl">For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/zh/aidge/language-direction-mapping).
44
+ * The source language code. Required.
45
+ * <props="china">For supported language pairs, see [Language pair mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
46
+ * <props="intl">For supported language pairs, see [Language pair mapping table](https://www.alibabacloud.com/help/zh/aidge/language-direction-mapping).
48
47
  *
49
48
  * This parameter is required.
50
49
  *
@@ -54,9 +53,9 @@ export declare class ImageTranslationProRequest extends $dara.Model {
54
53
  sourceLanguage?: string;
55
54
  /**
56
55
  * @remarks
57
- * The target language code. This parameter is required.
58
- * <props="china">For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
59
- * <props="intl">For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/zh/aidge/language-direction-mapping).
56
+ * The target language code. Required.
57
+ * <props="china">For supported language pairs, see [Language pair mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
58
+ * <props="intl">For supported language pairs, see [Language pair mapping table](https://www.alibabacloud.com/help/zh/aidge/language-direction-mapping).
60
59
  *
61
60
  * This parameter is required.
62
61
  *
@@ -66,7 +65,7 @@ export declare class ImageTranslationProRequest extends $dara.Model {
66
65
  targetLanguage?: string;
67
66
  /**
68
67
  * @remarks
69
- * Specifies whether to translate brand names on images. This parameter is optional. Default value: false. Setting this parameter to false helps protect brand name information from being translated.
68
+ * Specifies whether to translate brand names in the image. Optional. Default value: false. This helps you protect brand name information from being translated.
70
69
  *
71
70
  * @example
72
71
  * false
@@ -74,7 +73,7 @@ export declare class ImageTranslationProRequest extends $dara.Model {
74
73
  translatingBrandInTheProduct?: boolean;
75
74
  /**
76
75
  * @remarks
77
- * Specifies whether to return layout information such as text position, font, and color. When set to true, layer information is returned, which can be used with an image editor for secondary editing. Default value: false.
76
+ * Specifies whether to return layout information such as text position, font, and color. If set to true, layer information is returned, which can be used for secondary editing in an image editor. Default value: false.
78
77
  *
79
78
  * @example
80
79
  * false
@@ -1 +1 @@
1
- {"version":3,"file":"ImageTranslationProRequest.js","sourceRoot":"","sources":["../../src/models/ImageTranslationProRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IAiFzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,oBAAoB,EAAE,sBAAsB;YAC5C,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;YAChC,4BAA4B,EAAE,8BAA8B;YAC5D,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,SAAS;YAChB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,oBAAoB,EAAE,SAAS;YAC/B,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,QAAQ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