@alicloud/aidge20260428 5.3.0 → 5.3.2

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 (132) hide show
  1. package/dist/client.d.ts +598 -534
  2. package/dist/client.js +616 -534
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AssetOptimizeLiteRequest.d.ts +10 -10
  5. package/dist/models/AssetOptimizeLiteResponseBody.d.ts +5 -5
  6. package/dist/models/AssetOptimizeProRequest.d.ts +6 -6
  7. package/dist/models/AssetOptimizeProResponseBody.d.ts +4 -4
  8. package/dist/models/AssetOptimizeProShrinkRequest.d.ts +6 -6
  9. package/dist/models/CategoryAttributeMatchRequest.d.ts +7 -7
  10. package/dist/models/CategoryAttributeMatchResponseBody.d.ts +7 -7
  11. package/dist/models/CategoryAttributeMatchShrinkRequest.d.ts +7 -7
  12. package/dist/models/CategoryMatchRequest.d.ts +8 -8
  13. package/dist/models/CategoryMatchResponseBody.d.ts +10 -10
  14. package/dist/models/DiduiAreaDeductionRequest.d.ts +22 -0
  15. package/dist/models/DiduiAreaDeductionRequest.js.map +1 -1
  16. package/dist/models/DiduiAreaDeductionResponseBody.d.ts +63 -0
  17. package/dist/models/DiduiAreaDeductionResponseBody.js.map +1 -1
  18. package/dist/models/DiduiAreaDeductionShrinkRequest.d.ts +10 -0
  19. package/dist/models/DiduiAreaDeductionShrinkRequest.js.map +1 -1
  20. package/dist/models/DocumentTranslateRequest.d.ts +6 -2
  21. package/dist/models/DocumentTranslateRequest.js.map +1 -1
  22. package/dist/models/DocumentTranslateResponseBody.d.ts +4 -3
  23. package/dist/models/DocumentTranslateResponseBody.js.map +1 -1
  24. package/dist/models/ImageCroppingRequest.d.ts +3 -3
  25. package/dist/models/ImageCroppingResponseBody.d.ts +10 -8
  26. package/dist/models/ImageCroppingResponseBody.js.map +1 -1
  27. package/dist/models/ImageMattingRequest.d.ts +4 -3
  28. package/dist/models/ImageMattingRequest.js.map +1 -1
  29. package/dist/models/ImageMattingResponseBody.d.ts +1 -0
  30. package/dist/models/ImageMattingResponseBody.js.map +1 -1
  31. package/dist/models/ImageRecognitionRequest.d.ts +4 -4
  32. package/dist/models/ImageRecognitionResponseBody.d.ts +2 -2
  33. package/dist/models/ImageRecognitionShrinkRequest.d.ts +4 -4
  34. package/dist/models/ImageRemoveRequest.d.ts +39 -17
  35. package/dist/models/ImageRemoveRequest.js +12 -0
  36. package/dist/models/ImageRemoveRequest.js.map +1 -1
  37. package/dist/models/ImageRemoveResponseBody.d.ts +9 -8
  38. package/dist/models/ImageRemoveResponseBody.js.map +1 -1
  39. package/dist/models/ImageRemoveShrinkRequest.d.ts +39 -17
  40. package/dist/models/ImageRemoveShrinkRequest.js +6 -0
  41. package/dist/models/ImageRemoveShrinkRequest.js.map +1 -1
  42. package/dist/models/ImageTranslationPlusResponseBody.d.ts +3 -1
  43. package/dist/models/ImageTranslationPlusResponseBody.js.map +1 -1
  44. package/dist/models/ImageTranslationProRequest.d.ts +14 -8
  45. package/dist/models/ImageTranslationProRequest.js.map +1 -1
  46. package/dist/models/ImageTranslationProResponseBody.d.ts +19 -19
  47. package/dist/models/ImageTranslationStandardRequest.d.ts +9 -6
  48. package/dist/models/ImageTranslationStandardRequest.js.map +1 -1
  49. package/dist/models/ImageTranslationStandardResponseBody.d.ts +8 -8
  50. package/dist/models/LanguageDetectRequest.d.ts +10 -2
  51. package/dist/models/LanguageDetectRequest.js +2 -0
  52. package/dist/models/LanguageDetectRequest.js.map +1 -1
  53. package/dist/models/LanguageDetectResponseBody.d.ts +4 -6
  54. package/dist/models/LanguageDetectResponseBody.js.map +1 -1
  55. package/dist/models/MaterialInspectionRequest.d.ts +5 -5
  56. package/dist/models/MaterialInspectionResponseBody.d.ts +14 -7
  57. package/dist/models/MaterialInspectionResponseBody.js.map +1 -1
  58. package/dist/models/MerchandisePlacementDetectionRequest.d.ts +4 -4
  59. package/dist/models/MerchandisePlacementDetectionResponseBody.d.ts +8 -8
  60. package/dist/models/PackageWeightSizeCheckRequest.d.ts +2 -2
  61. package/dist/models/PackageWeightSizeCheckResponseBody.d.ts +6 -6
  62. package/dist/models/QueryAsyncTaskResultResponseBody.d.ts +5 -5
  63. package/dist/models/SizeChartDetectResponseBody.d.ts +1 -0
  64. package/dist/models/SizeChartDetectResponseBody.js.map +1 -1
  65. package/dist/models/SizeChartExtractRequest.d.ts +2 -2
  66. package/dist/models/SizeChartExtractResponseBody.d.ts +1 -1
  67. package/dist/models/SizeChartExtractShrinkRequest.d.ts +2 -2
  68. package/dist/models/TextCorrectRequest.d.ts +2 -2
  69. package/dist/models/TextCorrectResponseBody.d.ts +6 -6
  70. package/dist/models/TextTranslateRequest.d.ts +15 -6
  71. package/dist/models/TextTranslateRequest.js.map +1 -1
  72. package/dist/models/TextTranslateResponseBody.d.ts +4 -4
  73. package/dist/models/TextTranslateShrinkRequest.d.ts +15 -6
  74. package/dist/models/TextTranslateShrinkRequest.js.map +1 -1
  75. package/dist/models/VideoTranslationResponseBody.d.ts +3 -3
  76. package/dist/models/VisionFlowRequest.d.ts +16 -16
  77. package/dist/models/VisionFlowResponseBody.d.ts +4 -4
  78. package/dist/models/VisionFlowShrinkRequest.d.ts +16 -16
  79. package/package.json +1 -1
  80. package/src/client.ts +622 -534
  81. package/src/models/AssetOptimizeLiteRequest.ts +10 -10
  82. package/src/models/AssetOptimizeLiteResponseBody.ts +5 -5
  83. package/src/models/AssetOptimizeProRequest.ts +6 -6
  84. package/src/models/AssetOptimizeProResponseBody.ts +4 -4
  85. package/src/models/AssetOptimizeProShrinkRequest.ts +6 -6
  86. package/src/models/CategoryAttributeMatchRequest.ts +7 -7
  87. package/src/models/CategoryAttributeMatchResponseBody.ts +7 -7
  88. package/src/models/CategoryAttributeMatchShrinkRequest.ts +7 -7
  89. package/src/models/CategoryMatchRequest.ts +8 -8
  90. package/src/models/CategoryMatchResponseBody.ts +10 -10
  91. package/src/models/DiduiAreaDeductionRequest.ts +22 -0
  92. package/src/models/DiduiAreaDeductionResponseBody.ts +63 -0
  93. package/src/models/DiduiAreaDeductionShrinkRequest.ts +10 -0
  94. package/src/models/DocumentTranslateRequest.ts +6 -2
  95. package/src/models/DocumentTranslateResponseBody.ts +4 -3
  96. package/src/models/ImageCroppingRequest.ts +3 -3
  97. package/src/models/ImageCroppingResponseBody.ts +10 -8
  98. package/src/models/ImageMattingRequest.ts +4 -3
  99. package/src/models/ImageMattingResponseBody.ts +1 -0
  100. package/src/models/ImageRecognitionRequest.ts +4 -4
  101. package/src/models/ImageRecognitionResponseBody.ts +2 -2
  102. package/src/models/ImageRecognitionShrinkRequest.ts +4 -4
  103. package/src/models/ImageRemoveRequest.ts +51 -17
  104. package/src/models/ImageRemoveResponseBody.ts +9 -8
  105. package/src/models/ImageRemoveShrinkRequest.ts +45 -17
  106. package/src/models/ImageTranslationPlusResponseBody.ts +3 -1
  107. package/src/models/ImageTranslationProRequest.ts +14 -8
  108. package/src/models/ImageTranslationProResponseBody.ts +19 -19
  109. package/src/models/ImageTranslationStandardRequest.ts +9 -6
  110. package/src/models/ImageTranslationStandardResponseBody.ts +8 -8
  111. package/src/models/LanguageDetectRequest.ts +12 -2
  112. package/src/models/LanguageDetectResponseBody.ts +4 -6
  113. package/src/models/MaterialInspectionRequest.ts +5 -5
  114. package/src/models/MaterialInspectionResponseBody.ts +14 -7
  115. package/src/models/MerchandisePlacementDetectionRequest.ts +4 -4
  116. package/src/models/MerchandisePlacementDetectionResponseBody.ts +8 -8
  117. package/src/models/PackageWeightSizeCheckRequest.ts +2 -2
  118. package/src/models/PackageWeightSizeCheckResponseBody.ts +6 -6
  119. package/src/models/QueryAsyncTaskResultResponseBody.ts +5 -5
  120. package/src/models/SizeChartDetectResponseBody.ts +1 -0
  121. package/src/models/SizeChartExtractRequest.ts +2 -2
  122. package/src/models/SizeChartExtractResponseBody.ts +1 -1
  123. package/src/models/SizeChartExtractShrinkRequest.ts +2 -2
  124. package/src/models/TextCorrectRequest.ts +2 -2
  125. package/src/models/TextCorrectResponseBody.ts +6 -6
  126. package/src/models/TextTranslateRequest.ts +15 -6
  127. package/src/models/TextTranslateResponseBody.ts +4 -4
  128. package/src/models/TextTranslateShrinkRequest.ts +15 -6
  129. package/src/models/VideoTranslationResponseBody.ts +3 -3
  130. package/src/models/VisionFlowRequest.ts +16 -16
  131. package/src/models/VisionFlowResponseBody.ts +4 -4
  132. package/src/models/VisionFlowShrinkRequest.ts +16 -16
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class PackageWeightSizeCheckResponseBodyData extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The asynchronous task ID, used to query the audit result later through QueryAsyncTaskResult.
5
+ * The asynchronous task ID, which is used to query the review result by calling QueryAsyncTaskResult.
6
6
  *
7
7
  * @example
8
8
  * a8323ada-a196-9061-976f-90e38b27323a
@@ -22,7 +22,7 @@ export declare class PackageWeightSizeCheckResponseBodyData extends $dara.Model
22
22
  export declare class PackageWeightSizeCheckResponseBody extends $dara.Model {
23
23
  /**
24
24
  * @remarks
25
- * The response code. 200 indicates a successful call. For other response codes, refer to the error code information.
25
+ * The response code. A value of 200 indicates a successful call. For other response codes, refer to the error code information.
26
26
  *
27
27
  * @example
28
28
  * 200
@@ -30,12 +30,12 @@ export declare class PackageWeightSizeCheckResponseBody extends $dara.Model {
30
30
  code?: string;
31
31
  /**
32
32
  * @remarks
33
- * The asynchronous submission result data, which contains the asynchronous task ID.
33
+ * The submit status result data, which contains the asynchronous task ID.
34
34
  */
35
35
  data?: PackageWeightSizeCheckResponseBodyData;
36
36
  /**
37
37
  * @remarks
38
- * The error message. "Success" is returned for normal calls, and specific error information is returned for exceptions.
38
+ * The error message. "Success" is returned for a successful call. A specific error message is returned for a failed call.
39
39
  *
40
40
  * @example
41
41
  * Success
@@ -43,7 +43,7 @@ export declare class PackageWeightSizeCheckResponseBody extends $dara.Model {
43
43
  message?: string;
44
44
  /**
45
45
  * @remarks
46
- * The request ID, used to identify a unique request call.
46
+ * The request ID, which uniquely identifies the API call.
47
47
  *
48
48
  * @example
49
49
  * F93D82E4-D0B6-1043-AC58-282597BC3C10
@@ -51,7 +51,7 @@ export declare class PackageWeightSizeCheckResponseBody extends $dara.Model {
51
51
  requestId?: string;
52
52
  /**
53
53
  * @remarks
54
- * Whether the call was successful. true indicates success, and false indicates failure.
54
+ * Indicates whether the call is successful. A value of true indicates success. A value of false indicates failure.
55
55
  *
56
56
  * @example
57
57
  * true
@@ -10,7 +10,7 @@ export declare class QueryAsyncTaskResultResponseBodyData extends $dara.Model {
10
10
  result?: string;
11
11
  /**
12
12
  * @remarks
13
- * The status of the task.
13
+ * The task status.
14
14
  *
15
15
  * @example
16
16
  * COMPLETED
@@ -18,7 +18,7 @@ export declare class QueryAsyncTaskResultResponseBodyData extends $dara.Model {
18
18
  status?: string;
19
19
  /**
20
20
  * @remarks
21
- * The ID of the downstream task.
21
+ * The downstream task ID.
22
22
  *
23
23
  * @example
24
24
  * task-xxxxx
@@ -53,7 +53,7 @@ export declare class QueryAsyncTaskResultResponseBody extends $dara.Model {
53
53
  code?: string;
54
54
  /**
55
55
  * @remarks
56
- * The asynchronous node result.
56
+ * The asynchronous task result.
57
57
  */
58
58
  data?: QueryAsyncTaskResultResponseBodyData;
59
59
  /**
@@ -74,8 +74,8 @@ export declare class QueryAsyncTaskResultResponseBody extends $dara.Model {
74
74
  requestId?: string;
75
75
  /**
76
76
  * @remarks
77
- * Indicates whether the call was successful. Valid values:
78
- * - true: The call was successful.
77
+ * Indicates whether the call is successful. Valid values:
78
+ * - true: The call is successful.
79
79
  * - false: The call failed.
80
80
  *
81
81
  * @example
@@ -62,6 +62,7 @@ export declare class SizeChartDetectResponseBody extends $dara.Model {
62
62
  /**
63
63
  * @remarks
64
64
  * Indicates whether the call is successful. Valid values:
65
+ *
65
66
  * - true: The call is successful.
66
67
  * - false: The call failed.
67
68
  *
@@ -1 +1 @@
1
- {"version":3,"file":"SizeChartDetectResponseBody.js","sourceRoot":"","sources":["../../src/models/SizeChartDetectResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAiB9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,SAAS;YACtB,QAAQ,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;SACxE,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;YACjB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACzC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzCD,0EAyCC;AAED,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAwC1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,+BAA+B;YACrC,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtED,kEAsEC"}
1
+ {"version":3,"file":"SizeChartDetectResponseBody.js","sourceRoot":"","sources":["../../src/models/SizeChartDetectResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAiB9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,SAAS;YACtB,QAAQ,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;SACxE,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;YACjB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACzC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzCD,0EAyCC;AAED,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAyC1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,+BAA+B;YACrC,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvED,kEAuEC"}
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class SizeChartExtractRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The list of column names to extract, such as Size, Bust, and Length.
5
+ * The list of column names (such as Size, Bust, Length).
6
6
  *
7
7
  * @example
8
8
  * ["Size","Bust","Length"]
@@ -20,7 +20,7 @@ export declare class SizeChartExtractRequest extends $dara.Model {
20
20
  imageUrl?: string;
21
21
  /**
22
22
  * @remarks
23
- * The language model that controls the output language, such as en and cn.
23
+ * The language model for output (such as en, cn). Set this parameter to cn for Chinese or en for English. If not specified, the original language is preserved.
24
24
  *
25
25
  * @example
26
26
  * en
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class SizeChartExtractResponseBodyData extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The asynchronous task ID, which is used to query the result later.
5
+ * The asynchronous task ID, used to query the result later.
6
6
  *
7
7
  * @example
8
8
  * task-xxxxx
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class SizeChartExtractShrinkRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The list of column names to extract, such as Size, Bust, and Length.
5
+ * The list of column names (such as Size, Bust, Length).
6
6
  *
7
7
  * @example
8
8
  * ["Size","Bust","Length"]
@@ -20,7 +20,7 @@ export declare class SizeChartExtractShrinkRequest extends $dara.Model {
20
20
  imageUrl?: string;
21
21
  /**
22
22
  * @remarks
23
- * The language model that controls the output language, such as en and cn.
23
+ * The language model for output (such as en, cn). Set this parameter to cn for Chinese or en for English. If not specified, the original language is preserved.
24
24
  *
25
25
  * @example
26
26
  * en
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class TextCorrectRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * Source language code. Required. You can pass "auto" for automatic language detection. Supports 14 languages.
5
+ * The source language code. This parameter is required. You can set this parameter to auto for automatic language detection. 14 languages are supported.
6
6
  *
7
7
  * This parameter is required.
8
8
  *
@@ -12,7 +12,7 @@ export declare class TextCorrectRequest extends $dara.Model {
12
12
  sourceLanguage?: string;
13
13
  /**
14
14
  * @remarks
15
- * Text to be corrected. Required.
15
+ * The text to correct. This parameter is required.
16
16
  *
17
17
  * This parameter is required.
18
18
  *
@@ -10,7 +10,7 @@ export declare class TextCorrectResponseBodyData extends $dara.Model {
10
10
  correctedText?: string;
11
11
  /**
12
12
  * @remarks
13
- * Usage information, including the number of input characters.
13
+ * The usage information, including the number of input characters.
14
14
  *
15
15
  * @example
16
16
  * {"InputCharacterCount":9}
@@ -32,7 +32,7 @@ export declare class TextCorrectResponseBodyData extends $dara.Model {
32
32
  export declare class TextCorrectResponseBody extends $dara.Model {
33
33
  /**
34
34
  * @remarks
35
- * Response code. Returns "success" during normal calls.
35
+ * The response code. The value "success" is returned if the call is successful.
36
36
  *
37
37
  * @example
38
38
  * success
@@ -40,12 +40,12 @@ export declare class TextCorrectResponseBody extends $dara.Model {
40
40
  code?: string;
41
41
  /**
42
42
  * @remarks
43
- * Intelligent error correction result data.
43
+ * The intelligent correction result data.
44
44
  */
45
45
  data?: TextCorrectResponseBodyData;
46
46
  /**
47
47
  * @remarks
48
- * Error message. Returns "Success" during normal calls. Returns specific error information during exceptions, such as "The parameters contain sensitive information. Please try a different input."
48
+ * The error message. The value "Success" is returned if the call is successful. A specific error message is returned if an exception occurs, such as "The parameters contain sensitive information. Try other input."
49
49
  *
50
50
  * @example
51
51
  * Success
@@ -53,7 +53,7 @@ export declare class TextCorrectResponseBody extends $dara.Model {
53
53
  message?: string;
54
54
  /**
55
55
  * @remarks
56
- * Request ID, used to identify a unique request call.
56
+ * The request ID, which uniquely identifies the request.
57
57
  *
58
58
  * @example
59
59
  * 32882AD0-50D1-1D90-A221-3987325EC03E
@@ -61,7 +61,7 @@ export declare class TextCorrectResponseBody extends $dara.Model {
61
61
  requestId?: string;
62
62
  /**
63
63
  * @remarks
64
- * Whether the call was successful. true indicates success, false indicates failure.
64
+ * Indicates whether the call is successful. A value of true indicates success. A value of false indicates failure.
65
65
  *
66
66
  * @example
67
67
  * true
@@ -2,7 +2,9 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class TextTranslateRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The business scenario identifier. This parameter is optional. Valid values: e-commerce-title, e-commerce-description, e-commerce-chat, e-commerce-cpv, novel, game. If not specified or invalid, the general translation strategy is used by default.
5
+ * This field represents your identity and facilitates communication for various issues.
6
+ * ● If you are an internal Alibaba organization, pass a value based on your actual scenario, such as BU name-product or BU name-chat.
7
+ * ● If you are an external Alibaba partner, pass the full name of your company. This company name must be consistent with the company name used when you registered your Alibaba Cloud account.
6
8
  *
7
9
  * @example
8
10
  * MyCompany-Chat
@@ -18,7 +20,7 @@ export declare class TextTranslateRequest extends $dara.Model {
18
20
  formatType?: string;
19
21
  /**
20
22
  * @remarks
21
- * The intervention glossary ID. This parameter is optional. The glossary must be created separately in the console, and its ID must be provided. If the glossary ID is empty, the translation result is not modified.
23
+ * The intervention glossary ID. This parameter is optional. The glossary must be created separately in the console, and its ID must be provided. If the glossary ID is empty, the translation results are not modified.
22
24
  *
23
25
  * @example
24
26
  * glossary_1
@@ -26,7 +28,7 @@ export declare class TextTranslateRequest extends $dara.Model {
26
28
  glossary?: string;
27
29
  /**
28
30
  * @remarks
29
- * The source language code. This parameter is optional. If not specified, the language is automatically detected. You can pass auto for language detection.
31
+ * The source language code. If not specified, the language is automatically detected. This parameter is optional. You can pass auto for language detection. For supported language pairs, see [Language pair mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
30
32
  *
31
33
  * @example
32
34
  * auto
@@ -34,7 +36,7 @@ export declare class TextTranslateRequest extends $dara.Model {
34
36
  sourceLanguage?: string;
35
37
  /**
36
38
  * @remarks
37
- * The list of texts to translate. This parameter is required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
39
+ * The list of texts to be translated. This parameter is required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
38
40
  *
39
41
  * This parameter is required.
40
42
  *
@@ -44,7 +46,7 @@ export declare class TextTranslateRequest extends $dara.Model {
44
46
  sourceTextList?: string[];
45
47
  /**
46
48
  * @remarks
47
- * The target language code. This parameter is required. More than 100 language directions are supported. For details, refer to the supported language directions list.
49
+ * The target language code. This parameter is required. For supported language pairs, see [Language pair mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
48
50
  *
49
51
  * This parameter is required.
50
52
  *
@@ -54,7 +56,14 @@ export declare class TextTranslateRequest extends $dara.Model {
54
56
  targetLanguage?: string;
55
57
  /**
56
58
  * @remarks
57
- * The format of the translation text. **html** (web page format. This setting processes both the source text and translated text in HTML format) or **text** (text format. This setting processes both the source text and translated result as plain text without format processing).
59
+ * The business scenario identifier. You can pass only one of the following values. When specified, the translation engine invokes the corresponding industry terminology library and style strategy to produce translations that better fit the industry. If this field is not specified or an invalid value is passed, the general translation strategy is used.
60
+ * Valid values:
61
+ * ● e-commerce-title: cross-border e-commerce product title translation
62
+ * ● e-commerce-description: cross-border e-commerce product description translation
63
+ * ● e-commerce-chat: cross-border e-commerce conversation translation
64
+ * ● e-commerce-cpv: cross-border e-commerce product CPV attribute translation
65
+ * ● novel: novel translation
66
+ * ● game: game translation
58
67
  *
59
68
  * @example
60
69
  * e-commerce-title
@@ -1 +1 @@
1
- {"version":3,"file":"TextTranslateRequest.js","sourceRoot":"","sources":["../../src/models/TextTranslateRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oBAAqB,SAAQ,KAAK,CAAC,KAAK;IA6DnD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACzD,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,QAAQ;SACzB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC;YACtC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACjD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/FD,oDA+FC"}
1
+ {"version":3,"file":"TextTranslateRequest.js","sourceRoot":"","sources":["../../src/models/TextTranslateRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oBAAqB,SAAQ,KAAK,CAAC,KAAK;IAsEnD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACzD,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,QAAQ;SACzB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC;YACtC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACjD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxGD,oDAwGC"}
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class TextTranslateResponseBodyDataTranslations extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The source text character count.
5
+ * The number of characters in the source text.
6
6
  *
7
7
  * @example
8
8
  * 11
@@ -21,7 +21,7 @@ export declare class TextTranslateResponseBodyDataTranslations extends $dara.Mod
21
21
  * The translated text.
22
22
  *
23
23
  * @example
24
- * Hello World.
24
+ * Hello World
25
25
  */
26
26
  translatedText?: string;
27
27
  static names(): {
@@ -65,7 +65,7 @@ export declare class TextTranslateResponseBodyData extends $dara.Model {
65
65
  export declare class TextTranslateResponseBody extends $dara.Model {
66
66
  /**
67
67
  * @remarks
68
- * The response code. Returns "success" for normal calls.
68
+ * The response code. Returns "success" for successful calls.
69
69
  *
70
70
  * @example
71
71
  * success
@@ -78,7 +78,7 @@ export declare class TextTranslateResponseBody extends $dara.Model {
78
78
  data?: TextTranslateResponseBodyData;
79
79
  /**
80
80
  * @remarks
81
- * The error message. Returns "Success" for normal calls. Returns specific error information for exceptions, such as "The parameters contain sensitive information. Try other input."
81
+ * The error message. Returns "Success" for successful calls. Returns specific error information for exceptions, such as "The parameters contain sensitive information. Try other input."
82
82
  *
83
83
  * @example
84
84
  * Success
@@ -2,7 +2,9 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class TextTranslateShrinkRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The business scenario identifier. This parameter is optional. Valid values: e-commerce-title, e-commerce-description, e-commerce-chat, e-commerce-cpv, novel, game. If not specified or invalid, the general translation strategy is used by default.
5
+ * This field represents your identity and facilitates communication for various issues.
6
+ * ● If you are an internal Alibaba organization, pass a value based on your actual scenario, such as BU name-product or BU name-chat.
7
+ * ● If you are an external Alibaba partner, pass the full name of your company. This company name must be consistent with the company name used when you registered your Alibaba Cloud account.
6
8
  *
7
9
  * @example
8
10
  * MyCompany-Chat
@@ -18,7 +20,7 @@ export declare class TextTranslateShrinkRequest extends $dara.Model {
18
20
  formatType?: string;
19
21
  /**
20
22
  * @remarks
21
- * The intervention glossary ID. This parameter is optional. The glossary must be created separately in the console, and its ID must be provided. If the glossary ID is empty, the translation result is not modified.
23
+ * The intervention glossary ID. This parameter is optional. The glossary must be created separately in the console, and its ID must be provided. If the glossary ID is empty, the translation results are not modified.
22
24
  *
23
25
  * @example
24
26
  * glossary_1
@@ -26,7 +28,7 @@ export declare class TextTranslateShrinkRequest extends $dara.Model {
26
28
  glossary?: string;
27
29
  /**
28
30
  * @remarks
29
- * The source language code. This parameter is optional. If not specified, the language is automatically detected. You can pass auto for language detection.
31
+ * The source language code. If not specified, the language is automatically detected. This parameter is optional. You can pass auto for language detection. For supported language pairs, see [Language pair mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
30
32
  *
31
33
  * @example
32
34
  * auto
@@ -34,7 +36,7 @@ export declare class TextTranslateShrinkRequest extends $dara.Model {
34
36
  sourceLanguage?: string;
35
37
  /**
36
38
  * @remarks
37
- * The list of texts to translate. This parameter is required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
39
+ * The list of texts to be translated. This parameter is required. The total character length cannot exceed 50,000, and the list length cannot exceed 50.
38
40
  *
39
41
  * This parameter is required.
40
42
  *
@@ -44,7 +46,7 @@ export declare class TextTranslateShrinkRequest extends $dara.Model {
44
46
  sourceTextListShrink?: string;
45
47
  /**
46
48
  * @remarks
47
- * The target language code. This parameter is required. More than 100 language directions are supported. For details, refer to the supported language directions list.
49
+ * The target language code. This parameter is required. For supported language pairs, see [Language pair mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
48
50
  *
49
51
  * This parameter is required.
50
52
  *
@@ -54,7 +56,14 @@ export declare class TextTranslateShrinkRequest extends $dara.Model {
54
56
  targetLanguage?: string;
55
57
  /**
56
58
  * @remarks
57
- * The format of the translation text. **html** (web page format. This setting processes both the source text and translated text in HTML format) or **text** (text format. This setting processes both the source text and translated result as plain text without format processing).
59
+ * The business scenario identifier. You can pass only one of the following values. When specified, the translation engine invokes the corresponding industry terminology library and style strategy to produce translations that better fit the industry. If this field is not specified or an invalid value is passed, the general translation strategy is used.
60
+ * Valid values:
61
+ * ● e-commerce-title: cross-border e-commerce product title translation
62
+ * ● e-commerce-description: cross-border e-commerce product description translation
63
+ * ● e-commerce-chat: cross-border e-commerce conversation translation
64
+ * ● e-commerce-cpv: cross-border e-commerce product CPV attribute translation
65
+ * ● novel: novel translation
66
+ * ● game: game translation
58
67
  *
59
68
  * @example
60
69
  * e-commerce-title
@@ -1 +1 @@
1
- {"version":3,"file":"TextTranslateShrinkRequest.js","sourceRoot":"","sources":["../../src/models/TextTranslateShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IA6DzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,cAAc,EAAE,gBAAgB;YAChC,oBAAoB,EAAE,gBAAgB;YACtC,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,cAAc,EAAE,QAAQ;YACxB,oBAAoB,EAAE,QAAQ;YAC9B,cAAc,EAAE,QAAQ;YACxB,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;AA5FD,gEA4FC"}
1
+ {"version":3,"file":"TextTranslateShrinkRequest.js","sourceRoot":"","sources":["../../src/models/TextTranslateShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IAsEzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,cAAc,EAAE,gBAAgB;YAChC,oBAAoB,EAAE,gBAAgB;YACtC,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,cAAc,EAAE,QAAQ;YACxB,oBAAoB,EAAE,QAAQ;YAC9B,cAAc,EAAE,QAAQ;YACxB,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;AArGD,gEAqGC"}
@@ -30,12 +30,12 @@ export declare class VideoTranslationResponseBody extends $dara.Model {
30
30
  code?: string;
31
31
  /**
32
32
  * @remarks
33
- * The asynchronous task submit status.
33
+ * The asynchronous task submit result.
34
34
  */
35
35
  data?: VideoTranslationResponseBodyData;
36
36
  /**
37
37
  * @remarks
38
- * The description message.
38
+ * The description.
39
39
  *
40
40
  * @example
41
41
  * Translation processing
@@ -51,7 +51,7 @@ export declare class VideoTranslationResponseBody extends $dara.Model {
51
51
  requestId?: string;
52
52
  /**
53
53
  * @remarks
54
- * Indicates whether the call is successful. Valid values: true: The call is successful. false: The call failed.
54
+ * Indicates whether the call is successful. Valid values: true: The call is successful. false: The call fails.
55
55
  *
56
56
  * @example
57
57
  * True
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class VisionFlowRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The AI capabilities to apply (1 = intelligent element detection, 2 = intelligent matting, 3 = intelligent removal, 4 = Image Translation Pro, 5 = intelligent cropping, 6 = HD upscaling). Multiple selections allowed.
5
+ * The AI capabilities to apply (1=Intelligent Element Detection, 2=Intelligent Matting, 3=Intelligent Removal, 4=Image Translation Pro, 5=Intelligent Cropping, 6=HD Upscaling). Multiple selections allowed.
6
6
  *
7
7
  * This parameter is required.
8
8
  *
@@ -12,7 +12,7 @@ export declare class VisionFlowRequest extends $dara.Model {
12
12
  ability?: number[];
13
13
  /**
14
14
  * @remarks
15
- * The background type of the returned image. Valid values: WHITE_BACKGROUND (white background) and TRANSPARENT (transparent background). Required when the intelligent matting capability is selected.
15
+ * The background type of the output image. Valid values: WHITE_BACKGROUND (white background) and TRANSPARENT (transparent background). Required when the Intelligent Matting capability is selected.
16
16
  *
17
17
  * @example
18
18
  * WHITE_BACKGROUND
@@ -20,7 +20,7 @@ export declare class VisionFlowRequest extends $dara.Model {
20
20
  backGroundType?: string;
21
21
  /**
22
22
  * @remarks
23
- * The intervention glossary ID. Optional. Create a glossary separately in the console and provide its ID. If left empty, translation results are not modified.
23
+ * The glossary ID. Optional. Create the glossary separately in the console and provide its ID. If empty, translation results are not modified.
24
24
  *
25
25
  * @example
26
26
  * glossary_1
@@ -28,7 +28,7 @@ export declare class VisionFlowRequest extends $dara.Model {
28
28
  glossary?: string;
29
29
  /**
30
30
  * @remarks
31
- * The URL of the image to process. Required. The resolution must be greater than 256 × 256, the long side must not exceed 1920 pixels, and the short side must not exceed 1080 pixels. The file size must not exceed 5 MB. Supported formats: png, jpeg, jpg, bmp, and webp.
31
+ * The URL of the image to process. Required. Resolution must be greater than 256×256, long side no greater than 1920 pixels, short side no greater than 1080 pixels. File size must not exceed 5 MB. Supported formats: png, jpeg, jpg, bmp, webp.
32
32
  *
33
33
  * This parameter is required.
34
34
  *
@@ -46,7 +46,7 @@ export declare class VisionFlowRequest extends $dara.Model {
46
46
  includingProductArea?: boolean;
47
47
  /**
48
48
  * @remarks
49
- * Specifies whether images with the detected elements proceed to subsequent processing. A value of true indicates that images containing the elements proceed to subsequent processing. A value of false indicates that they do not. Required when the intelligent element detection capability is selected.
49
+ * Specifies whether images containing the specified elements proceed to subsequent processing. A value of true indicates that images with the specified elements proceed to subsequent processing. A value of false indicates that images without the specified elements proceed. Required when the Intelligent Element Detection capability is selected.
50
50
  *
51
51
  * @example
52
52
  * true
@@ -54,7 +54,7 @@ export declare class VisionFlowRequest extends $dara.Model {
54
54
  isFilter?: boolean;
55
55
  /**
56
56
  * @remarks
57
- * The specific removal area in RLE format. Optional. If provided, this parameter takes priority and the ObjectRemoveElements and NonobjectRemoveElements parameters are ignored.
57
+ * The specific removal area in RLE format. Optional. If provided, this takes priority and the ObjectRemoveElements and NonobjectRemoveElements parameters are ignored.
58
58
  *
59
59
  * @example
60
60
  * 474556 160 475356 160
@@ -62,7 +62,7 @@ export declare class VisionFlowRequest extends $dara.Model {
62
62
  mask?: string;
63
63
  /**
64
64
  * @remarks
65
- * The elements to detect on the non-subject area of the image (1 = watermark, 2 = logo, 3 = text, 4 = text-bearing color block). Multiple selections allowed. When the intelligent element detection capability is selected, at least one of NonobjectDetectElements and ObjectDetectElements is required.
65
+ * The elements to detect on the non-subject area of the image (1=Watermark, 2=Logo, 3=Text, 4=Text-bearing color block). Multiple selections allowed. When the Intelligent Element Detection capability is selected, at least one of NonobjectDetectElements or ObjectDetectElements is required.
66
66
  *
67
67
  * @example
68
68
  * [1,2,3]
@@ -70,7 +70,7 @@ export declare class VisionFlowRequest extends $dara.Model {
70
70
  nonobjectDetectElements?: number[];
71
71
  /**
72
72
  * @remarks
73
- * The elements to remove from the non-subject area of the image (1 = transparent text block, 2 = specific name, 3 = text, 4 = overlay patch). Multiple selections allowed. When the intelligent removal capability is selected, at least one of NonobjectRemoveElements and ObjectRemoveElements is required.
73
+ * The elements to remove from the non-subject area of the image (1=Transparent text block, 2=Specific name, 3=Text, 4=Ad patch). Multiple selections allowed. When the Intelligent Removal capability is selected, at least one of NonobjectRemoveElements or ObjectRemoveElements is required.
74
74
  *
75
75
  * @example
76
76
  * [1,2,4]
@@ -78,7 +78,7 @@ export declare class VisionFlowRequest extends $dara.Model {
78
78
  nonobjectRemoveElements?: number[];
79
79
  /**
80
80
  * @remarks
81
- * The elements to detect on the image subject (1 = watermark, 2 = logo, 3 = text, 4 = text-bearing color block). Multiple selections allowed. When the intelligent element detection capability is selected, at least one of ObjectDetectElements and NonobjectDetectElements is required.
81
+ * The elements to detect on the image subject (1=Watermark, 2=Logo, 3=Text, 4=Text-bearing color block). Multiple selections allowed. When the Intelligent Element Detection capability is selected, at least one of ObjectDetectElements or NonobjectDetectElements is required.
82
82
  *
83
83
  * @example
84
84
  * [1,2,3,4]
@@ -86,7 +86,7 @@ export declare class VisionFlowRequest extends $dara.Model {
86
86
  objectDetectElements?: number[];
87
87
  /**
88
88
  * @remarks
89
- * The elements to remove from the image subject (1 = transparent text block, 2 = specific name, 3 = text, 4 = overlay patch). Multiple selections allowed. When the intelligent removal capability is selected, at least one of ObjectRemoveElements and NonobjectRemoveElements is required.
89
+ * The elements to remove from the image subject (1=Transparent text block, 2=Specific name, 3=Text, 4=Ad patch). Multiple selections allowed. When the Intelligent Removal capability is selected, at least one of ObjectRemoveElements or NonobjectRemoveElements is required.
90
90
  *
91
91
  * @example
92
92
  * [1,2,4]
@@ -94,7 +94,7 @@ export declare class VisionFlowRequest extends $dara.Model {
94
94
  objectRemoveElements?: number[];
95
95
  /**
96
96
  * @remarks
97
- * The source language code. Optional. For supported language pairs, see the supported translation language pairs list.
97
+ * The source language code. Optional. Refer to the supported language pairs list for available language directions.
98
98
  *
99
99
  * @example
100
100
  * zh
@@ -102,7 +102,7 @@ export declare class VisionFlowRequest extends $dara.Model {
102
102
  sourceLanguage?: string;
103
103
  /**
104
104
  * @remarks
105
- * The desired height of the cropped image, in pixels. Valid values: 100 to 5000. Required when the intelligent cropping capability is selected.
105
+ * The desired height of the cropped image, in pixels. Valid values: 100 to 5000. Required when the Intelligent Cropping capability is selected.
106
106
  *
107
107
  * @example
108
108
  * 800
@@ -110,7 +110,7 @@ export declare class VisionFlowRequest extends $dara.Model {
110
110
  targetHeight?: number;
111
111
  /**
112
112
  * @remarks
113
- * The target language code. Optional. For supported language pairs, see the supported translation language pairs list.
113
+ * The target language code. Optional. Refer to the supported language pairs list for available language directions.
114
114
  *
115
115
  * @example
116
116
  * en
@@ -118,7 +118,7 @@ export declare class VisionFlowRequest extends $dara.Model {
118
118
  targetLanguage?: string;
119
119
  /**
120
120
  * @remarks
121
- * The desired width of the cropped image, in pixels. Valid values: 100 to 5000. Required when the intelligent cropping capability is selected.
121
+ * The desired width of the cropped image, in pixels. Valid values: 100 to 5000. Required when the Intelligent Cropping capability is selected.
122
122
  *
123
123
  * @example
124
124
  * 800
@@ -126,7 +126,7 @@ export declare class VisionFlowRequest extends $dara.Model {
126
126
  targetWidth?: number;
127
127
  /**
128
128
  * @remarks
129
- * Specifies whether to translate brand names on the image. Optional. Default value: false. Helps protect brand name information from being translated.
129
+ * Specifies whether to translate brand names in the image. Optional. Default value: false. Helps protect brand name information from being translated.
130
130
  *
131
131
  * @example
132
132
  * false
@@ -134,7 +134,7 @@ export declare class VisionFlowRequest extends $dara.Model {
134
134
  translatingBrandInTheProduct?: boolean;
135
135
  /**
136
136
  * @remarks
137
- * The image upscaling factor. Optional. Default value: 2. Valid values: 2 to 4. Required when the HD upscaling capability is selected.
137
+ * The image upscaling factor. Optional. Default value: 2. Valid values: 2 to 4. Required when the HD Upscaling capability is selected.
138
138
  *
139
139
  * @example
140
140
  * 2
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class VisionFlowResponseBodyData extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The asynchronous task ID. Use this ID to query the processing result through QueryAsyncTaskResult.
5
+ * The asynchronous task ID, used to query processing results later through QueryAsyncTaskResult.
6
6
  *
7
7
  * @example
8
8
  * e4c48e88-3c34-91e3-ab8a-08484dc4d402
@@ -30,7 +30,7 @@ export declare class VisionFlowResponseBody extends $dara.Model {
30
30
  code?: string;
31
31
  /**
32
32
  * @remarks
33
- * The submit status data of the asynchronous task, which contains the asynchronous task ID.
33
+ * The asynchronous task submit status data, which contains the asynchronous task ID.
34
34
  */
35
35
  data?: VisionFlowResponseBodyData;
36
36
  /**
@@ -43,7 +43,7 @@ export declare class VisionFlowResponseBody extends $dara.Model {
43
43
  message?: string;
44
44
  /**
45
45
  * @remarks
46
- * The request ID, which uniquely identifies the API call.
46
+ * The request ID, used to uniquely identify a single API call.
47
47
  *
48
48
  * @example
49
49
  * F3E65785-0180-1227-91B0-2F5F52F679FB
@@ -51,7 +51,7 @@ export declare class VisionFlowResponseBody extends $dara.Model {
51
51
  requestId?: string;
52
52
  /**
53
53
  * @remarks
54
- * Indicates whether the call is successful. Valid values: true and false.
54
+ * Indicates whether the call is successful. A value of true indicates success. A value of false indicates failure.
55
55
  *
56
56
  * @example
57
57
  * true