@alicloud/aidge20260428 5.12.2 → 5.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +774 -630
- package/dist/client.js +863 -630
- package/dist/client.js.map +1 -1
- package/dist/models/AddDisplayKnowledgeResponseBody.d.ts +3 -0
- package/dist/models/AddDisplayKnowledgeResponseBody.js.map +1 -1
- package/dist/models/AiTryOnRequest.d.ts +65 -8
- package/dist/models/AiTryOnRequest.js +10 -0
- package/dist/models/AiTryOnRequest.js.map +1 -1
- package/dist/models/AiTryOnResponseBody.d.ts +8 -8
- package/dist/models/CategoryAttributeMatchResponseBody.d.ts +3 -0
- package/dist/models/CategoryAttributeMatchResponseBody.js.map +1 -1
- package/dist/models/DeleteDisplayKnowledgeResponseBody.d.ts +3 -0
- package/dist/models/DeleteDisplayKnowledgeResponseBody.js.map +1 -1
- package/dist/models/DocumentTranslateRequest.d.ts +10 -7
- package/dist/models/DocumentTranslateRequest.js.map +1 -1
- package/dist/models/DocumentTranslateResponseBody.d.ts +3 -3
- package/dist/models/EcomVideoRecreationRequest.d.ts +11 -17
- package/dist/models/EcomVideoRecreationRequest.js.map +1 -1
- package/dist/models/EcomVideoRecreationResponseBody.d.ts +3 -3
- package/dist/models/EcomVideoRecreationShrinkRequest.d.ts +2 -2
- package/dist/models/GeneralRephotographyDetectionResponseBody.d.ts +4 -4
- package/dist/models/GenerateProductContentRequest.d.ts +11 -13
- package/dist/models/GenerateProductContentRequest.js.map +1 -1
- package/dist/models/GenerateProductContentResponseBody.d.ts +9 -7
- package/dist/models/GenerateProductContentResponseBody.js.map +1 -1
- package/dist/models/ImageMattingAsyncRequest.d.ts +1 -1
- package/dist/models/ImageMattingAsyncResponseBody.d.ts +2 -2
- package/dist/models/ImageRecognitionAsyncRequest.d.ts +14 -11
- package/dist/models/ImageRecognitionAsyncRequest.js.map +1 -1
- package/dist/models/ImageRecognitionAsyncResponseBody.d.ts +5 -5
- package/dist/models/ImageRecognitionAsyncShrinkRequest.d.ts +14 -11
- package/dist/models/ImageRecognitionAsyncShrinkRequest.js.map +1 -1
- package/dist/models/ImageRemovalProAsyncRequest.d.ts +1 -1
- package/dist/models/ImageRemovalProAsyncResponseBody.d.ts +5 -7
- package/dist/models/ImageRemovalProAsyncResponseBody.js.map +1 -1
- package/dist/models/ImageRemovalProResponseBody.d.ts +3 -0
- package/dist/models/ImageRemovalProResponseBody.js.map +1 -1
- package/dist/models/ImageRemoveAsyncRequest.d.ts +19 -8
- package/dist/models/ImageRemoveAsyncRequest.js.map +1 -1
- package/dist/models/ImageRemoveAsyncResponseBody.d.ts +8 -6
- package/dist/models/ImageRemoveAsyncResponseBody.js.map +1 -1
- package/dist/models/ImageRemoveAsyncShrinkRequest.d.ts +19 -8
- package/dist/models/ImageRemoveAsyncShrinkRequest.js.map +1 -1
- package/dist/models/ImageTranslationPlusAsyncRequest.d.ts +11 -11
- package/dist/models/ImageTranslationPlusAsyncResponseBody.d.ts +4 -4
- package/dist/models/ImageTranslationProAsyncRequest.d.ts +5 -5
- package/dist/models/ImageTranslationProAsyncResponseBody.d.ts +1 -1
- package/dist/models/ImageTranslationStandardAsyncRequest.d.ts +1 -1
- package/dist/models/ImageTranslationStandardAsyncResponseBody.d.ts +3 -3
- package/dist/models/ImageTranslationStandardRequest.d.ts +4 -4
- package/dist/models/ImageTranslationStandardResponseBody.d.ts +10 -10
- package/dist/models/ImageUpscaleRequest.d.ts +1 -1
- package/dist/models/ImageUpscaleResponseBody.d.ts +7 -7
- package/dist/models/MaterialInspectionRequest.d.ts +4 -4
- package/dist/models/MaterialInspectionResponseBody.d.ts +9 -9
- package/dist/models/MerchandisePlacementDetectionLiteResponseBody.d.ts +15 -12
- package/dist/models/MerchandisePlacementDetectionLiteResponseBody.js.map +1 -1
- package/dist/models/MerchandisePlacementDetectionProRequest.d.ts +5 -5
- package/dist/models/MerchandisePlacementDetectionProResponseBody.d.ts +6 -6
- package/dist/models/MerchandisePlacementDetectionRequest.d.ts +7 -7
- package/dist/models/MerchandisePlacementDetectionResponseBody.d.ts +19 -19
- package/dist/models/MerchandisePriceTagDetectionRequest.d.ts +1 -1
- package/dist/models/MerchandisePriceTagDetectionResponseBody.d.ts +11 -11
- package/dist/models/MerchandiseSceneDetectionRequest.d.ts +1 -1
- package/dist/models/MerchandiseSceneDetectionResponseBody.d.ts +16 -10
- package/dist/models/MerchandiseSceneDetectionResponseBody.js.map +1 -1
- package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.d.ts +7 -7
- package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.d.ts +12 -9
- package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.js.map +1 -1
- package/dist/models/PrepaidTextTranslateRequest.d.ts +8 -8
- package/dist/models/PrepaidTextTranslateResponseBody.d.ts +11 -8
- package/dist/models/PrepaidTextTranslateResponseBody.js.map +1 -1
- package/dist/models/PrepaidTextTranslateShrinkRequest.d.ts +8 -8
- package/dist/models/ProductVideoGenerationRequest.d.ts +62 -0
- package/dist/models/ProductVideoGenerationRequest.js +71 -0
- package/dist/models/ProductVideoGenerationRequest.js.map +1 -0
- package/dist/models/ProductVideoGenerationResponse.d.ts +19 -0
- package/dist/models/ProductVideoGenerationResponse.js +69 -0
- package/dist/models/ProductVideoGenerationResponse.js.map +1 -0
- package/dist/models/ProductVideoGenerationResponseBody.d.ts +86 -0
- package/dist/models/ProductVideoGenerationResponseBody.js +92 -0
- package/dist/models/ProductVideoGenerationResponseBody.js.map +1 -0
- package/dist/models/ProductVideoGenerationShrinkRequest.d.ts +62 -0
- package/dist/models/ProductVideoGenerationShrinkRequest.js +68 -0
- package/dist/models/ProductVideoGenerationShrinkRequest.js.map +1 -0
- package/dist/models/QueryDisplayKnowledgeResponseBody.d.ts +3 -0
- package/dist/models/QueryDisplayKnowledgeResponseBody.js.map +1 -1
- package/dist/models/SizeChartExtractAsyncRequest.d.ts +3 -3
- package/dist/models/SizeChartExtractAsyncResponseBody.d.ts +7 -5
- package/dist/models/SizeChartExtractAsyncResponseBody.js.map +1 -1
- package/dist/models/SizeChartExtractAsyncShrinkRequest.d.ts +3 -3
- package/dist/models/StorefrontSceneRecognitionRequest.d.ts +1 -1
- package/dist/models/StorefrontSceneRecognitionResponseBody.d.ts +9 -6
- package/dist/models/StorefrontSceneRecognitionResponseBody.js.map +1 -1
- package/dist/models/SubmitProductMatchRequest.d.ts +8 -8
- package/dist/models/SubmitProductMatchResponseBody.d.ts +7 -7
- package/dist/models/TextTranslateAsyncRequest.d.ts +9 -9
- package/dist/models/TextTranslateAsyncResponseBody.d.ts +6 -6
- package/dist/models/TextTranslateAsyncShrinkRequest.d.ts +9 -9
- package/dist/models/UpdateDisplayKnowledgeResponseBody.d.ts +3 -0
- package/dist/models/UpdateDisplayKnowledgeResponseBody.js.map +1 -1
- package/dist/models/VacancyDetectionRequest.d.ts +39 -0
- package/dist/models/VacancyDetectionRequest.js +62 -0
- package/dist/models/VacancyDetectionRequest.js.map +1 -0
- package/dist/models/VacancyDetectionResponse.d.ts +19 -0
- package/dist/models/VacancyDetectionResponse.js +69 -0
- package/dist/models/VacancyDetectionResponse.js.map +1 -0
- package/dist/models/VacancyDetectionResponseBody.d.ts +83 -0
- package/dist/models/VacancyDetectionResponseBody.js +93 -0
- package/dist/models/VacancyDetectionResponseBody.js.map +1 -0
- package/dist/models/VideoGenerationRequest.d.ts +18 -17
- package/dist/models/VideoGenerationRequest.js.map +1 -1
- package/dist/models/VideoGenerationResponseBody.d.ts +2 -2
- package/dist/models/VideoTranslationRequest.d.ts +8 -17
- package/dist/models/VideoTranslationRequest.js.map +1 -1
- package/dist/models/VideoTranslationResponseBody.d.ts +4 -6
- package/dist/models/VideoTranslationResponseBody.js.map +1 -1
- package/dist/models/VideoTranslationShrinkRequest.d.ts +8 -17
- package/dist/models/VideoTranslationShrinkRequest.js.map +1 -1
- package/dist/models/VirtualTryOnResponseBody.d.ts +7 -6
- package/dist/models/VirtualTryOnResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +9 -0
- package/dist/models/model.js +23 -5
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +882 -630
- package/src/models/AddDisplayKnowledgeResponseBody.ts +3 -0
- package/src/models/AiTryOnRequest.ts +75 -8
- package/src/models/AiTryOnResponseBody.ts +8 -8
- package/src/models/CategoryAttributeMatchResponseBody.ts +3 -0
- package/src/models/DeleteDisplayKnowledgeResponseBody.ts +3 -0
- package/src/models/DocumentTranslateRequest.ts +10 -7
- package/src/models/DocumentTranslateResponseBody.ts +3 -3
- package/src/models/EcomVideoRecreationRequest.ts +11 -17
- package/src/models/EcomVideoRecreationResponseBody.ts +3 -3
- package/src/models/EcomVideoRecreationShrinkRequest.ts +2 -2
- package/src/models/GeneralRephotographyDetectionResponseBody.ts +4 -4
- package/src/models/GenerateProductContentRequest.ts +11 -13
- package/src/models/GenerateProductContentResponseBody.ts +9 -7
- package/src/models/ImageMattingAsyncRequest.ts +1 -1
- package/src/models/ImageMattingAsyncResponseBody.ts +2 -2
- package/src/models/ImageRecognitionAsyncRequest.ts +14 -11
- package/src/models/ImageRecognitionAsyncResponseBody.ts +5 -5
- package/src/models/ImageRecognitionAsyncShrinkRequest.ts +14 -11
- package/src/models/ImageRemovalProAsyncRequest.ts +1 -1
- package/src/models/ImageRemovalProAsyncResponseBody.ts +5 -7
- package/src/models/ImageRemovalProResponseBody.ts +3 -0
- package/src/models/ImageRemoveAsyncRequest.ts +19 -8
- package/src/models/ImageRemoveAsyncResponseBody.ts +8 -6
- package/src/models/ImageRemoveAsyncShrinkRequest.ts +19 -8
- package/src/models/ImageTranslationPlusAsyncRequest.ts +11 -11
- package/src/models/ImageTranslationPlusAsyncResponseBody.ts +4 -4
- package/src/models/ImageTranslationProAsyncRequest.ts +5 -5
- package/src/models/ImageTranslationProAsyncResponseBody.ts +1 -1
- package/src/models/ImageTranslationStandardAsyncRequest.ts +1 -1
- package/src/models/ImageTranslationStandardAsyncResponseBody.ts +3 -3
- package/src/models/ImageTranslationStandardRequest.ts +4 -4
- package/src/models/ImageTranslationStandardResponseBody.ts +10 -10
- package/src/models/ImageUpscaleRequest.ts +1 -1
- package/src/models/ImageUpscaleResponseBody.ts +7 -7
- package/src/models/MaterialInspectionRequest.ts +4 -4
- package/src/models/MaterialInspectionResponseBody.ts +9 -9
- package/src/models/MerchandisePlacementDetectionLiteResponseBody.ts +15 -12
- package/src/models/MerchandisePlacementDetectionProRequest.ts +5 -5
- package/src/models/MerchandisePlacementDetectionProResponseBody.ts +6 -6
- package/src/models/MerchandisePlacementDetectionRequest.ts +7 -7
- package/src/models/MerchandisePlacementDetectionResponseBody.ts +19 -19
- package/src/models/MerchandisePriceTagDetectionRequest.ts +1 -1
- package/src/models/MerchandisePriceTagDetectionResponseBody.ts +11 -11
- package/src/models/MerchandiseSceneDetectionRequest.ts +1 -1
- package/src/models/MerchandiseSceneDetectionResponseBody.ts +16 -10
- package/src/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.ts +7 -7
- package/src/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.ts +12 -9
- package/src/models/PrepaidTextTranslateRequest.ts +8 -8
- package/src/models/PrepaidTextTranslateResponseBody.ts +11 -8
- package/src/models/PrepaidTextTranslateShrinkRequest.ts +8 -8
- package/src/models/ProductVideoGenerationRequest.ts +88 -0
- package/src/models/ProductVideoGenerationResponse.ts +40 -0
- package/src/models/ProductVideoGenerationResponseBody.ts +124 -0
- package/src/models/ProductVideoGenerationShrinkRequest.ts +85 -0
- package/src/models/QueryDisplayKnowledgeResponseBody.ts +3 -0
- package/src/models/SizeChartExtractAsyncRequest.ts +3 -3
- package/src/models/SizeChartExtractAsyncResponseBody.ts +7 -5
- package/src/models/SizeChartExtractAsyncShrinkRequest.ts +3 -3
- package/src/models/StorefrontSceneRecognitionRequest.ts +1 -1
- package/src/models/StorefrontSceneRecognitionResponseBody.ts +9 -6
- package/src/models/SubmitProductMatchRequest.ts +8 -8
- package/src/models/SubmitProductMatchResponseBody.ts +7 -7
- package/src/models/TextTranslateAsyncRequest.ts +9 -9
- package/src/models/TextTranslateAsyncResponseBody.ts +6 -6
- package/src/models/TextTranslateAsyncShrinkRequest.ts +9 -9
- package/src/models/UpdateDisplayKnowledgeResponseBody.ts +3 -0
- package/src/models/VacancyDetectionRequest.ts +56 -0
- package/src/models/VacancyDetectionResponse.ts +40 -0
- package/src/models/VacancyDetectionResponseBody.ts +120 -0
- package/src/models/VideoGenerationRequest.ts +18 -17
- package/src/models/VideoGenerationResponseBody.ts +2 -2
- package/src/models/VideoTranslationRequest.ts +8 -17
- package/src/models/VideoTranslationResponseBody.ts +4 -6
- package/src/models/VideoTranslationShrinkRequest.ts +8 -17
- package/src/models/VirtualTryOnResponseBody.ts +7 -6
- package/src/models/model.ts +9 -0
|
@@ -169,6 +169,9 @@ export class AddDisplayKnowledgeResponseBodyData extends $dara.Model {
|
|
|
169
169
|
/**
|
|
170
170
|
* @remarks
|
|
171
171
|
* The usage information. This parameter is empty for free API operations.
|
|
172
|
+
*
|
|
173
|
+
* @example
|
|
174
|
+
* {"ProcessedImageCount":1}
|
|
172
175
|
*/
|
|
173
176
|
usageMap?: { [key: string]: number };
|
|
174
177
|
static names(): { [key: string]: string } {
|
|
@@ -5,17 +5,18 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class AiTryOnRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
9
|
-
*
|
|
10
|
-
*
|
|
8
|
+
* The list of product image URLs. Required for single-item and multi-item outfit scenarios.
|
|
9
|
+
* • Single-item: Pass images of the same product from different angles. The standard edition supports up to two product images, but requires that all images contain one and only one main product. We recommend using product images with a white background.
|
|
10
|
+
* • Multi-item outfit: Pass images of all products to be worn. The standard edition supports up to two product images (each image can contain multiple products). A single outfit can include up to six clothing items and accessories.
|
|
11
|
+
* Note: For the clothing replacement, face replacement, and pose replacement modes, specify only one mode per call. Do not upload parameters for multiple modes simultaneously.
|
|
11
12
|
*
|
|
12
13
|
* @example
|
|
13
|
-
* https://ae01.alicdn.com/kf/
|
|
14
|
+
* https://ae01.alicdn.com/kf/S3470dc9f4be09a6cbed34e90dc8fs.jpg
|
|
14
15
|
*/
|
|
15
16
|
clothImageUrl?: string;
|
|
16
17
|
/**
|
|
17
18
|
* @remarks
|
|
18
|
-
*
|
|
19
|
+
* Specifies the product types for the current try-on request. You can specify multiple types at a time. If you do not specify this parameter, the system automatically identifies all supported categories in the product images. Valid values: tops, outwear, bottoms, dresses, tops and bottoms, socks, shoes, hats, earrings, necklaces, braceles, scarves, bags, and glasses.
|
|
19
20
|
*
|
|
20
21
|
* @example
|
|
21
22
|
* tops
|
|
@@ -23,17 +24,62 @@ export class AiTryOnRequest extends $dara.Model {
|
|
|
23
24
|
clothType?: string;
|
|
24
25
|
/**
|
|
25
26
|
* @remarks
|
|
26
|
-
* The
|
|
27
|
+
* The try-on mode, which determines the maximum number of product images and outfit items. Currently, only `lite` is supported.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* lite
|
|
31
|
+
*/
|
|
32
|
+
mode?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* ● The URL of the model scene image. Only one image is supported.
|
|
36
|
+
* ● The image must support public network access over HTTP or HTTPS.
|
|
37
|
+
* ● Supported formats: JPG, JPEG, PNG, BMP, and WEBP.
|
|
38
|
+
* ● The width and height must be between 256 and 2049 pixels.
|
|
39
|
+
* ● The size of a single file cannot exceed 10 MB.
|
|
27
40
|
*
|
|
28
41
|
* This parameter is required.
|
|
29
42
|
*
|
|
30
43
|
* @example
|
|
31
|
-
* https://
|
|
44
|
+
* https://example.com/model.jpg\\
|
|
32
45
|
*/
|
|
33
46
|
modelImageUrl?: string;
|
|
34
47
|
/**
|
|
35
48
|
* @remarks
|
|
36
|
-
* The
|
|
49
|
+
* The URL of the model template image. Only one image is supported. This image provides reference identity information such as gender, skin color, age, and body type.
|
|
50
|
+
* Required for the model skin replacement scenario. Do not specify this parameter for the clothing replacement or pose replacement scenarios. For the clothing replacement, face replacement, and pose replacement modes, specify only one mode per call. Do not upload parameters for multiple modes simultaneously.
|
|
51
|
+
* We recommend using the official model templates. Experience URL: [E-commerce Operation Assistant Aidge Console](https://ecoa.console.aliyun.com/translate?category=assetOptimize&apiType=VirtualTryOn)
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* https://xxxx
|
|
55
|
+
*/
|
|
56
|
+
modelTemplateUrl?: string;
|
|
57
|
+
/**
|
|
58
|
+
* @remarks
|
|
59
|
+
* The URL of the pose template image. Only one image is supported. This image provides a reference for the person\\"s pose.
|
|
60
|
+
* Required for the pose fission scenario.
|
|
61
|
+
* If specified, the image is generated based on the template pose.
|
|
62
|
+
* If not specified, the pose from the model scene image is used if provided; otherwise, the pose from the model source image is retained.
|
|
63
|
+
* Note: For the clothing replacement, face replacement, and pose replacement modes, specify only one mode per call. Do not upload parameters for multiple modes simultaneously.
|
|
64
|
+
* We recommend using the official pose templates. Experience URL: [E-commerce Operation Assistant Aidge Console](https://ecoa.console.aliyun.com/translate?category=assetOptimize&apiType=VirtualTryOn)
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* https://xxxx
|
|
68
|
+
*/
|
|
69
|
+
poseTemplateUrl?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The aspect ratio of the output image. By default, it is the same as the original image specified by ModelImageUrl. Valid values: 1:1, 2:3, 3:4, and 9:16.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* 1:1
|
|
76
|
+
*/
|
|
77
|
+
ratio?: string;
|
|
78
|
+
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* The resolution of the output image.
|
|
81
|
+
* Synchronous API: Supports 1K.
|
|
82
|
+
* Asynchronous API: Supports 1K and 2K. The asynchronous API supports 2K only for single-item scenarios.
|
|
37
83
|
*
|
|
38
84
|
* This parameter is required.
|
|
39
85
|
*
|
|
@@ -41,12 +87,28 @@ export class AiTryOnRequest extends $dara.Model {
|
|
|
41
87
|
* 1K
|
|
42
88
|
*/
|
|
43
89
|
resolution?: string;
|
|
90
|
+
/**
|
|
91
|
+
* @remarks
|
|
92
|
+
* Specifies the number of products to try on. This parameter takes effect only in try-on scenarios. Default value: `singletryon`.
|
|
93
|
+
* Valid values:
|
|
94
|
+
* • `singletryon`: Single-item try-on.
|
|
95
|
+
* • `multitryon`: Multi-item outfit.
|
|
96
|
+
*
|
|
97
|
+
* @example
|
|
98
|
+
* singletryon
|
|
99
|
+
*/
|
|
100
|
+
tryonType?: string;
|
|
44
101
|
static names(): { [key: string]: string } {
|
|
45
102
|
return {
|
|
46
103
|
clothImageUrl: 'ClothImageUrl',
|
|
47
104
|
clothType: 'ClothType',
|
|
105
|
+
mode: 'Mode',
|
|
48
106
|
modelImageUrl: 'ModelImageUrl',
|
|
107
|
+
modelTemplateUrl: 'ModelTemplateUrl',
|
|
108
|
+
poseTemplateUrl: 'PoseTemplateUrl',
|
|
109
|
+
ratio: 'Ratio',
|
|
49
110
|
resolution: 'Resolution',
|
|
111
|
+
tryonType: 'TryonType',
|
|
50
112
|
};
|
|
51
113
|
}
|
|
52
114
|
|
|
@@ -54,8 +116,13 @@ export class AiTryOnRequest extends $dara.Model {
|
|
|
54
116
|
return {
|
|
55
117
|
clothImageUrl: 'string',
|
|
56
118
|
clothType: 'string',
|
|
119
|
+
mode: 'string',
|
|
57
120
|
modelImageUrl: 'string',
|
|
121
|
+
modelTemplateUrl: 'string',
|
|
122
|
+
poseTemplateUrl: 'string',
|
|
123
|
+
ratio: 'string',
|
|
58
124
|
resolution: 'string',
|
|
125
|
+
tryonType: 'string',
|
|
59
126
|
};
|
|
60
127
|
}
|
|
61
128
|
|
|
@@ -13,7 +13,7 @@ export class AiTryOnResponseBodyDataUsageMap extends $dara.Model {
|
|
|
13
13
|
processedImageCount?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The resolution of the
|
|
16
|
+
* The resolution of the image.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 1K
|
|
@@ -45,7 +45,7 @@ export class AiTryOnResponseBodyDataUsageMap extends $dara.Model {
|
|
|
45
45
|
export class AiTryOnResponseBodyData extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The height of the
|
|
48
|
+
* The actual height of the generated image.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* 1360
|
|
@@ -53,7 +53,7 @@ export class AiTryOnResponseBodyData extends $dara.Model {
|
|
|
53
53
|
imageHeight?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The URL of the
|
|
56
|
+
* The URL of the generated image.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* https://example.com/virtual-try-on-result.png
|
|
@@ -61,7 +61,7 @@ export class AiTryOnResponseBodyData extends $dara.Model {
|
|
|
61
61
|
imageUrl?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The width of the
|
|
64
|
+
* The actual width of the generated image.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* 768
|
|
@@ -69,7 +69,7 @@ export class AiTryOnResponseBodyData extends $dara.Model {
|
|
|
69
69
|
imageWidth?: string;
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
* The usage
|
|
72
|
+
* The usage fields.
|
|
73
73
|
*
|
|
74
74
|
* @example
|
|
75
75
|
* {"ProcessedImageCount":1,"Resolution":"1K"}
|
|
@@ -108,7 +108,7 @@ export class AiTryOnResponseBodyData extends $dara.Model {
|
|
|
108
108
|
export class AiTryOnResponseBody extends $dara.Model {
|
|
109
109
|
/**
|
|
110
110
|
* @remarks
|
|
111
|
-
* The error code. This parameter is not returned
|
|
111
|
+
* The error code. This parameter is not returned if the call is successful.
|
|
112
112
|
*
|
|
113
113
|
* @example
|
|
114
114
|
* 200
|
|
@@ -121,7 +121,7 @@ export class AiTryOnResponseBody extends $dara.Model {
|
|
|
121
121
|
data?: AiTryOnResponseBodyData;
|
|
122
122
|
/**
|
|
123
123
|
* @remarks
|
|
124
|
-
* The error message. This parameter is not returned
|
|
124
|
+
* The error message. This parameter is not returned if the call is successful.
|
|
125
125
|
*
|
|
126
126
|
* @example
|
|
127
127
|
* OK
|
|
@@ -129,7 +129,7 @@ export class AiTryOnResponseBody extends $dara.Model {
|
|
|
129
129
|
message?: string;
|
|
130
130
|
/**
|
|
131
131
|
* @remarks
|
|
132
|
-
* The ID of the request
|
|
132
|
+
* The ID of the request, which is used to identify a unique API call.
|
|
133
133
|
*
|
|
134
134
|
* @example
|
|
135
135
|
* E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
|
|
@@ -67,6 +67,9 @@ export class CategoryAttributeMatchResponseBodyDataAttributes extends $dara.Mode
|
|
|
67
67
|
/**
|
|
68
68
|
* @remarks
|
|
69
69
|
* The list of selected attribute value IDs, such as [30127,30128].
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* [30127,30128]
|
|
70
73
|
*/
|
|
71
74
|
selectedVids?: number[];
|
|
72
75
|
static names(): { [key: string]: string } {
|
|
@@ -173,6 +173,9 @@ export class DeleteDisplayKnowledgeResponseBodyData extends $dara.Model {
|
|
|
173
173
|
/**
|
|
174
174
|
* @remarks
|
|
175
175
|
* The usage information. This field is empty for free API operations.
|
|
176
|
+
*
|
|
177
|
+
* @example
|
|
178
|
+
* {"ProcessedImageCount":1}
|
|
176
179
|
*/
|
|
177
180
|
usageMap?: { [key: string]: number };
|
|
178
181
|
static names(): { [key: string]: string } {
|
|
@@ -5,10 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DocumentTranslateRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
9
|
-
* - Word: 200 MB or 100 pages.
|
|
10
|
-
* - PDF: 200 MB or 100 pages.
|
|
11
|
-
* - Maximum size of a single file: 200 MB.
|
|
8
|
+
* Supports PDF, WORD, and EXCEL formats. Use uppercase letters when specifying this parameter.
|
|
12
9
|
*
|
|
13
10
|
* This parameter is required.
|
|
14
11
|
*
|
|
@@ -18,7 +15,13 @@ export class DocumentTranslateRequest extends $dara.Model {
|
|
|
18
15
|
fileType?: string;
|
|
19
16
|
/**
|
|
20
17
|
* @remarks
|
|
21
|
-
*
|
|
18
|
+
* ● Specify the intervention glossary ID when the intervention feature is required.
|
|
19
|
+
* ● Supports custom translation results, including:
|
|
20
|
+
* ○ Do-not-translate (ABC-ABC).
|
|
21
|
+
* ○ Specified translation (ABC-DEF).
|
|
22
|
+
* ○ Translation omission (ABC-null value).
|
|
23
|
+
* This is commonly used in scenarios such as brand word protection.
|
|
24
|
+
* Example value: "glossary_1"
|
|
22
25
|
*
|
|
23
26
|
* @example
|
|
24
27
|
* glossary_1
|
|
@@ -26,7 +29,7 @@ export class DocumentTranslateRequest extends $dara.Model {
|
|
|
26
29
|
glossary?: string;
|
|
27
30
|
/**
|
|
28
31
|
* @remarks
|
|
29
|
-
* The target language.
|
|
32
|
+
* The target language.
|
|
30
33
|
*
|
|
31
34
|
* This parameter is required.
|
|
32
35
|
*
|
|
@@ -36,7 +39,7 @@ export class DocumentTranslateRequest extends $dara.Model {
|
|
|
36
39
|
targetLanguage?: string;
|
|
37
40
|
/**
|
|
38
41
|
* @remarks
|
|
39
|
-
* The OSS URL of the document to be translated.
|
|
42
|
+
* The OSS URL path of the document to be translated.
|
|
40
43
|
*
|
|
41
44
|
* This parameter is required.
|
|
42
45
|
*
|
|
@@ -35,7 +35,7 @@ export class DocumentTranslateResponseBodyData extends $dara.Model {
|
|
|
35
35
|
export class DocumentTranslateResponseBody extends $dara.Model {
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The response code.
|
|
38
|
+
* The response code.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* success
|
|
@@ -48,7 +48,7 @@ export class DocumentTranslateResponseBody extends $dara.Model {
|
|
|
48
48
|
data?: DocumentTranslateResponseBodyData;
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
* The error message, such as "The
|
|
51
|
+
* The error message, such as "The parameters contain sensitive information. Try other inputs."
|
|
52
52
|
* This parameter is not returned when the call is successful.
|
|
53
53
|
*
|
|
54
54
|
* @example
|
|
@@ -57,7 +57,7 @@ export class DocumentTranslateResponseBody extends $dara.Model {
|
|
|
57
57
|
message?: string;
|
|
58
58
|
/**
|
|
59
59
|
* @remarks
|
|
60
|
-
* The unique
|
|
60
|
+
* The unique identity of the request, which is used for troubleshooting and Tracing Analysis.
|
|
61
61
|
*
|
|
62
62
|
* @example
|
|
63
63
|
* 39E8A74B-F99E-1195-A5FF-3ECC5F94F304
|
|
@@ -5,8 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class EcomVideoRecreationRequestInputProductInfo extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The category
|
|
9
|
-
* Example value: Women\\"s clothing/Sun protection clothing.
|
|
8
|
+
* The product category. Example: Women\\"s clothing/Sun-protective clothing.
|
|
10
9
|
*
|
|
11
10
|
* @example
|
|
12
11
|
* Women\\"s clothing/sun protection clothing
|
|
@@ -14,8 +13,7 @@ export class EcomVideoRecreationRequestInputProductInfo extends $dara.Model {
|
|
|
14
13
|
category?: string;
|
|
15
14
|
/**
|
|
16
15
|
* @remarks
|
|
17
|
-
* The actual information
|
|
18
|
-
* Example value: Pale yellow, cooling fabric, sun protection down to the back of the hand, UPF50+
|
|
16
|
+
* The actual product information, such as SKU, brand, color, material, size, specifications, logo, and usage instructions. This is used to constrain voiceover facts. Example: Light yellow, cooling fabric, sun protection down to the back of the hand, UPF50+.
|
|
19
17
|
*
|
|
20
18
|
* @example
|
|
21
19
|
* Light moon yellow, cool-touch fabric, sun protection extending to the back of the hand, UPF50+
|
|
@@ -23,8 +21,7 @@ export class EcomVideoRecreationRequestInputProductInfo extends $dara.Model {
|
|
|
23
21
|
detail?: string;
|
|
24
22
|
/**
|
|
25
23
|
* @remarks
|
|
26
|
-
* Required for product replacement. The name of the target product to be replaced.
|
|
27
|
-
* Example value: Pale yellow cooling sun protection clothing.
|
|
24
|
+
* Required for product replacement. The name of the target product to be replaced. The maximum length is 200 characters. Example: Light yellow cooling sun-protective clothing.
|
|
28
25
|
*
|
|
29
26
|
* @example
|
|
30
27
|
* Light moon yellow cool-touch sun protection clothing
|
|
@@ -58,8 +55,7 @@ export class EcomVideoRecreationRequestInputProductInfo extends $dara.Model {
|
|
|
58
55
|
export class EcomVideoRecreationRequestInput extends $dara.Model {
|
|
59
56
|
/**
|
|
60
57
|
* @remarks
|
|
61
|
-
* The description or supplementary constraints for the target person
|
|
62
|
-
* Example value: The target person is an adult male. Keep the original clothing and actions.
|
|
58
|
+
* The description or supplementary constraints for the target person in person replacement. The length is 1 to 500 characters. This parameter is required when PersonReferenceImageUrls is not provided. Example: The target person is an adult male, retaining the original clothing and actions.
|
|
63
59
|
*
|
|
64
60
|
* @example
|
|
65
61
|
* The target character is an adult male, with the original costume and movements preserved.
|
|
@@ -75,19 +71,17 @@ export class EcomVideoRecreationRequestInput extends $dara.Model {
|
|
|
75
71
|
mode?: string;
|
|
76
72
|
/**
|
|
77
73
|
* @remarks
|
|
78
|
-
* The URLs of the reference images for
|
|
79
|
-
* Example value: ["https://example.com/person.jpg"]
|
|
74
|
+
* The URLs of the target person reference images for person replacement. You can provide 1 to 5 images, which must be of the same person. We recommend arranging them in the order of facial close-up, front, 45-degree angle, side, and back. Example: `["https://example.com/person.jpg"]`.
|
|
80
75
|
*/
|
|
81
76
|
personReferenceImageUrls?: string[];
|
|
82
77
|
/**
|
|
83
78
|
* @remarks
|
|
84
|
-
* Required for product replacement. The URLs of the target product images. You can upload 1 to 8 images for the same SKU. We recommend that the subject be clear, unoccluded, and have a clean background.
|
|
85
|
-
* Example value: ["https://example.com/product.png"]
|
|
79
|
+
* Required for product replacement. The URLs of the target product images. You can upload 1 to 8 images for the same SKU. We recommend that the main subject be clear, unoccluded, and have a clean background. Example: `["https://example.com/product.png"]`.
|
|
86
80
|
*/
|
|
87
81
|
productImageUrls?: string[];
|
|
88
82
|
/**
|
|
89
83
|
* @remarks
|
|
90
|
-
* The
|
|
84
|
+
* The target product information. We recommend filling in this information to improve voiceover accuracy.
|
|
91
85
|
*/
|
|
92
86
|
productInfo?: EcomVideoRecreationRequestInputProductInfo;
|
|
93
87
|
/**
|
|
@@ -100,7 +94,7 @@ export class EcomVideoRecreationRequestInput extends $dara.Model {
|
|
|
100
94
|
recreateMode?: string;
|
|
101
95
|
/**
|
|
102
96
|
* @remarks
|
|
103
|
-
* The HTTP
|
|
97
|
+
* The HTTP(S) URL of the reference video. The duration ranges from 2 to 360 seconds. The URL must remain accessible during task execution. We recommend that the validity period be no less than 24 hours.
|
|
104
98
|
*
|
|
105
99
|
* This parameter is required.
|
|
106
100
|
*
|
|
@@ -153,7 +147,7 @@ export class EcomVideoRecreationRequestInput extends $dara.Model {
|
|
|
153
147
|
export class EcomVideoRecreationRequestOutput extends $dara.Model {
|
|
154
148
|
/**
|
|
155
149
|
* @remarks
|
|
156
|
-
* The target duration in seconds. In reference mode, the input value is ignored and forced to -1, following the
|
|
150
|
+
* The target duration in seconds. In reference mode, the input value is ignored and forced to -1, following the original video duration. In rebuild mode, you can pass an integer from 5 to 60 seconds, or pass -1 for automatic duration.
|
|
157
151
|
*
|
|
158
152
|
* @example
|
|
159
153
|
* -1
|
|
@@ -203,14 +197,14 @@ export class EcomVideoRecreationRequestOutput extends $dara.Model {
|
|
|
203
197
|
export class EcomVideoRecreationRequest extends $dara.Model {
|
|
204
198
|
/**
|
|
205
199
|
* @remarks
|
|
206
|
-
* The input parameters
|
|
200
|
+
* The video variation input parameters.
|
|
207
201
|
*
|
|
208
202
|
* This parameter is required.
|
|
209
203
|
*/
|
|
210
204
|
input?: EcomVideoRecreationRequestInput;
|
|
211
205
|
/**
|
|
212
206
|
* @remarks
|
|
213
|
-
* The output specifications
|
|
207
|
+
* The final video output specifications.
|
|
214
208
|
*/
|
|
215
209
|
output?: EcomVideoRecreationRequestOutput;
|
|
216
210
|
static names(): { [key: string]: string } {
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class EcomVideoRecreationResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The asynchronous task ID used to query the task result by calling QueryAsyncTaskResult.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* task_778fa8bd21804828a5d147050e30edac
|
|
@@ -43,7 +43,7 @@ export class EcomVideoRecreationResponseBody extends $dara.Model {
|
|
|
43
43
|
code?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The submission result
|
|
46
|
+
* The asynchronous task submission result.
|
|
47
47
|
*/
|
|
48
48
|
data?: EcomVideoRecreationResponseBodyData;
|
|
49
49
|
/**
|
|
@@ -64,7 +64,7 @@ export class EcomVideoRecreationResponseBody extends $dara.Model {
|
|
|
64
64
|
requestId?: string;
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
* Indicates whether the submission
|
|
67
|
+
* Indicates whether the submission is successful.
|
|
68
68
|
*
|
|
69
69
|
* @example
|
|
70
70
|
* true
|
|
@@ -5,14 +5,14 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class EcomVideoRecreationShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The input parameters
|
|
8
|
+
* The video variation input parameters.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*/
|
|
12
12
|
inputShrink?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The output specifications
|
|
15
|
+
* The final video output specifications.
|
|
16
16
|
*/
|
|
17
17
|
outputShrink?: string;
|
|
18
18
|
static names(): { [key: string]: string } {
|
|
@@ -10,7 +10,7 @@ export class GeneralRephotographyDetectionResponseBodyDataResultGroundingRegions
|
|
|
10
10
|
bbox2d?: number[];
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The target category. For
|
|
13
|
+
* The target category. For valid values, see the following table.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* product
|
|
@@ -65,7 +65,7 @@ export class GeneralRephotographyDetectionResponseBodyDataResultGrounding extend
|
|
|
65
65
|
coverage?: string;
|
|
66
66
|
/**
|
|
67
67
|
* @remarks
|
|
68
|
-
* The target array.
|
|
68
|
+
* The target array. A maximum of 12 items are returned. This can be empty if no relevant targets are found.
|
|
69
69
|
*/
|
|
70
70
|
regions?: GeneralRephotographyDetectionResponseBodyDataResultGroundingRegions[];
|
|
71
71
|
static names(): { [key: string]: string } {
|
|
@@ -110,7 +110,7 @@ export class GeneralRephotographyDetectionResponseBodyDataResult extends $dara.M
|
|
|
110
110
|
isFake?: boolean;
|
|
111
111
|
/**
|
|
112
112
|
* @remarks
|
|
113
|
-
* The detection type.
|
|
113
|
+
* The detection type. Fixed to general.
|
|
114
114
|
*
|
|
115
115
|
* @example
|
|
116
116
|
* general
|
|
@@ -203,7 +203,7 @@ export class GeneralRephotographyDetectionResponseBody extends $dara.Model {
|
|
|
203
203
|
data?: GeneralRephotographyDetectionResponseBodyData;
|
|
204
204
|
/**
|
|
205
205
|
* @remarks
|
|
206
|
-
* The
|
|
206
|
+
* The response message or failure description.
|
|
207
207
|
*
|
|
208
208
|
* @example
|
|
209
209
|
* Success
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GenerateProductContentRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Takes effect only when contentType is set to bulletPoint. Valid values: 1 to 5. Default value in generate mode: 1. In rewrite mode, if manually specified,
|
|
8
|
+
* Takes effect only when contentType is set to bulletPoint. Valid values: 1 to 5. Default value in generate mode: 1. In rewrite mode, if manually specified, it must match the number of non-empty paragraphs in sourceText. This parameter is ignored for other copy types.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 5
|
|
@@ -31,7 +31,7 @@ export class GenerateProductContentRequest extends $dara.Model {
|
|
|
31
31
|
enableTranslation?: boolean;
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
* The maximum number of characters for the final output text. If specified,
|
|
34
|
+
* The maximum number of characters for the final complete output text. If specified, it must be an integer greater than or equal to 30. If a platform is specified and this parameter is not passed, the configured upper limit for the type on the platform is used. Example: 60.
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
37
|
* 1000
|
|
@@ -39,7 +39,7 @@ export class GenerateProductContentRequest extends $dara.Model {
|
|
|
39
39
|
maxLength?: number;
|
|
40
40
|
/**
|
|
41
41
|
* @remarks
|
|
42
|
-
* The minimum number of characters for the final output text. If specified,
|
|
42
|
+
* The minimum number of characters for the final complete output text. If specified, it must be an integer greater than or equal to 10. If a platform is specified and this parameter is not passed, the configured lower limit for the type on the platform is used.
|
|
43
43
|
*
|
|
44
44
|
* @example
|
|
45
45
|
* 500
|
|
@@ -47,9 +47,7 @@ export class GenerateProductContentRequest extends $dara.Model {
|
|
|
47
47
|
minLength?: number;
|
|
48
48
|
/**
|
|
49
49
|
* @remarks
|
|
50
|
-
* The operation type. Valid values:
|
|
51
|
-
* - generate: Generates copy.
|
|
52
|
-
* - rewrite: Rewrites copy.
|
|
50
|
+
* The operation type. Valid values: generate and rewrite.
|
|
53
51
|
*
|
|
54
52
|
* This parameter is required.
|
|
55
53
|
*
|
|
@@ -59,7 +57,7 @@ export class GenerateProductContentRequest extends $dara.Model {
|
|
|
59
57
|
operation?: string;
|
|
60
58
|
/**
|
|
61
59
|
* @remarks
|
|
62
|
-
* The target platform. Valid values: amazon, temu, tiktok, shopify, Wildberries, and tmall. If this parameter is not
|
|
60
|
+
* The target platform. Valid values: amazon, temu, tiktok, shopify, Wildberries, and tmall. If this parameter is not passed, the general scenario is used. Enum values are case-sensitive.
|
|
63
61
|
*
|
|
64
62
|
* @example
|
|
65
63
|
* amazon
|
|
@@ -67,7 +65,7 @@ export class GenerateProductContentRequest extends $dara.Model {
|
|
|
67
65
|
platform?: string;
|
|
68
66
|
/**
|
|
69
67
|
* @remarks
|
|
70
|
-
* The product attribute
|
|
68
|
+
* The product attribute materials. Default value: empty. The length is 0 to 500 characters.
|
|
71
69
|
*
|
|
72
70
|
* @example
|
|
73
71
|
* {"brand":"Supor","material":"304 stainless steel"}
|
|
@@ -75,7 +73,7 @@ export class GenerateProductContentRequest extends $dara.Model {
|
|
|
75
73
|
productAttributes?: string;
|
|
76
74
|
/**
|
|
77
75
|
* @remarks
|
|
78
|
-
* The product category. Default value: an empty string. The length
|
|
76
|
+
* The product category. Default value: an empty string. The length is 0 to 100 characters. It helps understand the category during generation and eliminates ambiguity during rewriting.
|
|
79
77
|
*
|
|
80
78
|
* @example
|
|
81
79
|
* Kitchen utensils
|
|
@@ -83,7 +81,7 @@ export class GenerateProductContentRequest extends $dara.Model {
|
|
|
83
81
|
productCategory?: string;
|
|
84
82
|
/**
|
|
85
83
|
* @remarks
|
|
86
|
-
* The source language. Valid values: zh and en. Automatic language
|
|
84
|
+
* The source language. Valid values: zh and en. Automatic language identification is not supported. Supported source languages: Chinese (zh) and English (en).
|
|
87
85
|
*
|
|
88
86
|
* This parameter is required.
|
|
89
87
|
*
|
|
@@ -93,17 +91,17 @@ export class GenerateProductContentRequest extends $dara.Model {
|
|
|
93
91
|
sourceLanguage?: string;
|
|
94
92
|
/**
|
|
95
93
|
* @remarks
|
|
96
|
-
* The product
|
|
94
|
+
* The product materials or copy to be rewritten. The length is 20 to 3,000 characters.
|
|
97
95
|
*
|
|
98
96
|
* This parameter is required.
|
|
99
97
|
*
|
|
100
98
|
* @example
|
|
101
|
-
* Stainless steel
|
|
99
|
+
* Stainless steel steamer 28cm 3-tier large capacity household kitchen essential steaming and boiling dual-use cookware
|
|
102
100
|
*/
|
|
103
101
|
sourceText?: string;
|
|
104
102
|
/**
|
|
105
103
|
* @remarks
|
|
106
|
-
* Required when enableTranslation is set to true. For valid values, see
|
|
104
|
+
* Required when enableTranslation is set to true. For valid values, see Multilingual processing. If translation is disabled, this parameter is optional. If specified, it must be the same as sourceLanguage. Supported target languages: Chinese (zh), English (en), Russian (ru), German (de), French (fr), Korean (ko), Italian (it), Thai (th), Arabic (ar), Turkish (tr), Hebrew (he), Ukrainian (uk), Polish (pl), Japanese (ja), Dutch (nl), Portuguese (pt), Spanish (es), Malay (ms), Bulgarian (bg), Indonesian (id), and Vietnamese (vi).
|
|
107
105
|
*
|
|
108
106
|
* @example
|
|
109
107
|
* en
|
|
@@ -29,12 +29,12 @@ export class GenerateProductContentResponseBodyData extends $dara.Model {
|
|
|
29
29
|
outputLanguage?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The number of characters for each
|
|
32
|
+
* Returned only when bullet point processing is successful. The number of characters for each point, corresponding to data.points one by one.
|
|
33
33
|
*/
|
|
34
34
|
pointLengths?: number[];
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
*
|
|
37
|
+
* Returned only when bullet point processing is successful. The selling point texts arranged in output order.
|
|
38
38
|
*/
|
|
39
39
|
points?: string[];
|
|
40
40
|
/**
|
|
@@ -95,7 +95,7 @@ export class GenerateProductContentResponseBodyData extends $dara.Model {
|
|
|
95
95
|
export class GenerateProductContentResponseBody extends $dara.Model {
|
|
96
96
|
/**
|
|
97
97
|
* @remarks
|
|
98
|
-
* The error code. This parameter is not returned for
|
|
98
|
+
* The error code. This parameter is not returned for normal calls.
|
|
99
99
|
*
|
|
100
100
|
* @example
|
|
101
101
|
* success
|
|
@@ -103,12 +103,12 @@ export class GenerateProductContentResponseBody extends $dara.Model {
|
|
|
103
103
|
code?: string;
|
|
104
104
|
/**
|
|
105
105
|
* @remarks
|
|
106
|
-
* The processing result. Contains copy data upon success. Returns
|
|
106
|
+
* The processing result. Contains copy data upon success. Returns a fixed value when the business processing fails.
|
|
107
107
|
*/
|
|
108
108
|
data?: GenerateProductContentResponseBodyData;
|
|
109
109
|
/**
|
|
110
110
|
* @remarks
|
|
111
|
-
* The error message. This parameter is not returned for
|
|
111
|
+
* The error message. This parameter is not returned for normal calls.
|
|
112
112
|
*
|
|
113
113
|
* @example
|
|
114
114
|
* OK
|
|
@@ -116,7 +116,7 @@ export class GenerateProductContentResponseBody extends $dara.Model {
|
|
|
116
116
|
message?: string;
|
|
117
117
|
/**
|
|
118
118
|
* @remarks
|
|
119
|
-
* The request ID,
|
|
119
|
+
* The request ID, used for troubleshooting. It may be empty in extreme exception cases.
|
|
120
120
|
*
|
|
121
121
|
* @example
|
|
122
122
|
* E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
|
|
@@ -124,7 +124,9 @@ export class GenerateProductContentResponseBody extends $dara.Model {
|
|
|
124
124
|
requestId?: string;
|
|
125
125
|
/**
|
|
126
126
|
* @remarks
|
|
127
|
-
*
|
|
127
|
+
* Specifies whether the business processing is successful. Valid values:
|
|
128
|
+
* - true: The output passes the verification.
|
|
129
|
+
* - false: The business processing fails.
|
|
128
130
|
*
|
|
129
131
|
* @example
|
|
130
132
|
* True
|
|
@@ -25,7 +25,7 @@ export class ImageMattingAsyncRequest extends $dara.Model {
|
|
|
25
25
|
bgColor?: string;
|
|
26
26
|
/**
|
|
27
27
|
* @remarks
|
|
28
|
-
* The business
|
|
28
|
+
* The business ID of the caller. It is recorded upon acceptance and returned as is when you query the result of the asynchronous node.
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
31
|
* order-20260928-001
|