@alicloud/aidge20260428 5.13.0 → 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 +703 -618
- package/dist/client.js +733 -618
- 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 +30 -11
- package/dist/models/AiTryOnRequest.js.map +1 -1
- package/dist/models/AiTryOnResponseBody.d.ts +9 -11
- package/dist/models/AiTryOnResponseBody.js.map +1 -1
- 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/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 +3 -3
- package/dist/models/ProductVideoGenerationResponseBody.d.ts +2 -2
- package/dist/models/ProductVideoGenerationShrinkRequest.d.ts +3 -3
- 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/VirtualTryOnRequest.d.ts +2 -2
- package/dist/models/VirtualTryOnResponseBody.d.ts +3 -3
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +13 -5
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +738 -618
- package/src/models/AddDisplayKnowledgeResponseBody.ts +3 -0
- package/src/models/AiTryOnRequest.ts +30 -11
- package/src/models/AiTryOnResponseBody.ts +9 -11
- package/src/models/CategoryAttributeMatchResponseBody.ts +3 -0
- package/src/models/DeleteDisplayKnowledgeResponseBody.ts +3 -0
- 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 +3 -3
- package/src/models/ProductVideoGenerationResponseBody.ts +2 -2
- package/src/models/ProductVideoGenerationShrinkRequest.ts +3 -3
- 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/VirtualTryOnRequest.ts +2 -2
- package/src/models/VirtualTryOnResponseBody.ts +3 -3
- package/src/models/model.ts +4 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class VideoGenerationRequestInputAssetBindings extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The asset index, such as 0, 1, 2, or 3, which must be consistent with the
|
|
8
|
+
* The asset index, such as 0, 1, 2, or 3, which must be consistent with the index of the image URL.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 0
|
|
@@ -14,12 +14,12 @@ export class VideoGenerationRequestInputAssetBindings extends $dara.Model {
|
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
16
|
* The description of the image. Examples:
|
|
17
|
-
* 1. Description for look_reference:
|
|
18
|
-
* 2. Description for scene_reference:
|
|
17
|
+
* 1. Description for look_reference: front full-body outfit reference image of the person.
|
|
18
|
+
* 2. Description for scene_reference: specified clothing display scene.
|
|
19
19
|
* 3. Description for garment_reference:
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
20
|
+
* - Front view of the top.
|
|
21
|
+
* - Back view of the bottom.
|
|
22
|
+
* - Side view of the shoes.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* -
|
|
@@ -27,10 +27,11 @@ export class VideoGenerationRequestInputAssetBindings extends $dara.Model {
|
|
|
27
27
|
description?: string;
|
|
28
28
|
/**
|
|
29
29
|
* @remarks
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
30
|
+
* The asset usage. Select one of the following three values: look_reference, scene_reference, and garment_reference.
|
|
31
|
+
* Description:
|
|
32
|
+
* look_reference: corresponds to the full-body outfit effect image of the person wearing the clothes (overall visual).
|
|
33
|
+
* scene_reference: corresponds to the scene reference image (usually the cover main image).
|
|
34
|
+
* garment_reference: corresponds to all product detail images (including front, back, and side views of clothes, shoes, skirts, and other partial close-ups).
|
|
34
35
|
*
|
|
35
36
|
* @example
|
|
36
37
|
* -
|
|
@@ -81,7 +82,7 @@ export class VideoGenerationRequestInput extends $dara.Model {
|
|
|
81
82
|
images?: string[];
|
|
82
83
|
/**
|
|
83
84
|
* @remarks
|
|
84
|
-
* The product title.
|
|
85
|
+
* The product title. Up to the first 60 characters are used.
|
|
85
86
|
*
|
|
86
87
|
* This parameter is required.
|
|
87
88
|
*
|
|
@@ -136,13 +137,13 @@ export class VideoGenerationRequestIntent extends $dara.Model {
|
|
|
136
137
|
channel?: string;
|
|
137
138
|
/**
|
|
138
139
|
* @remarks
|
|
139
|
-
*
|
|
140
|
+
* The business goal.
|
|
140
141
|
*
|
|
141
|
-
*
|
|
142
|
+
* camera_motion: camera movement mode, generated according to a fixed 360° camera movement logic.
|
|
142
143
|
*
|
|
143
|
-
*
|
|
144
|
+
* scripted_video: scripted mode, generated by the system according to the provided script or prompt.
|
|
144
145
|
*
|
|
145
|
-
*
|
|
146
|
+
* auto_video: unscripted mode, generated by the system after automatically planning the script without a provided script.
|
|
146
147
|
*
|
|
147
148
|
* @example
|
|
148
149
|
* auto_video
|
|
@@ -208,7 +209,7 @@ export class VideoGenerationRequestIntent extends $dara.Model {
|
|
|
208
209
|
export class VideoGenerationRequestOutput extends $dara.Model {
|
|
209
210
|
/**
|
|
210
211
|
* @remarks
|
|
211
|
-
* The video duration
|
|
212
|
+
* The video duration distinguished by Intent.goal: auto_video supports 5 to 15 seconds, scripted_video supports 5 to 30 seconds, and camera_motion generates a fixed 10 seconds and returns two 5-second videos.
|
|
212
213
|
*
|
|
213
214
|
* This parameter is required.
|
|
214
215
|
*
|
|
@@ -228,7 +229,7 @@ export class VideoGenerationRequestOutput extends $dara.Model {
|
|
|
228
229
|
quality?: string;
|
|
229
230
|
/**
|
|
230
231
|
* @remarks
|
|
231
|
-
* The aspect ratio
|
|
232
|
+
* The aspect ratio distinguished by Intent.goal: auto_video and scripted_video only support 9:16, and camera_motion only supports 3:4.
|
|
232
233
|
*
|
|
233
234
|
* @example
|
|
234
235
|
* 9:16
|
|
@@ -45,7 +45,7 @@ export class VideoGenerationResponseBodyData extends $dara.Model {
|
|
|
45
45
|
export class VideoGenerationResponseBody extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The response code.
|
|
48
|
+
* The response code. success indicates a successful call, and failed indicates a failed call.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* success
|
|
@@ -74,7 +74,7 @@ export class VideoGenerationResponseBody extends $dara.Model {
|
|
|
74
74
|
requestId?: string;
|
|
75
75
|
/**
|
|
76
76
|
* @remarks
|
|
77
|
-
* Indicates whether the call is successful.
|
|
77
|
+
* Indicates whether the call is successful. true indicates success, and false indicates failure.
|
|
78
78
|
*
|
|
79
79
|
* @example
|
|
80
80
|
* true
|
|
@@ -5,14 +5,14 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class VideoTranslationRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The list of translation
|
|
8
|
+
* The list of translation capabilities. Valid values: `speech` and `visual`. You can select both. At least one capability must be specified. Duplicate values are not allowed.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*/
|
|
12
12
|
capabilities?: string[];
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* Specifies whether to enable the quality check for on-screen text processing. This parameter takes effect only when visual is included and explicitly set to true
|
|
15
|
+
* Specifies whether to enable the quality check for on-screen text processing. This parameter takes effect only when `visual` is included and explicitly set to `true`. If only `speech` is selected, this parameter is ignored, no quality check is performed, no quality check fields are returned, and no error is reported for this parameter. Enabling the quality check may increase the processing time. Do not enable it unless necessary. Default value: `false`.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* false
|
|
@@ -20,10 +20,7 @@ export class VideoTranslationRequest extends $dara.Model {
|
|
|
20
20
|
enableQualityCheck?: boolean;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
*
|
|
24
|
-
* - true: Erases the on-screen text without translation.
|
|
25
|
-
* - false: Translates the on-screen text.
|
|
26
|
-
* Default value: false.
|
|
23
|
+
* Specifies whether to only erase on-screen text without translation. This parameter is valid only when `visual` is included. Valid values: `true`: erases the on-screen text without translation. `false`: translates the on-screen text. Default value: `false`.
|
|
27
24
|
*
|
|
28
25
|
* @example
|
|
29
26
|
* false
|
|
@@ -31,10 +28,7 @@ export class VideoTranslationRequest extends $dara.Model {
|
|
|
31
28
|
eraseOnly?: boolean;
|
|
32
29
|
/**
|
|
33
30
|
* @remarks
|
|
34
|
-
*
|
|
35
|
-
* - true: Erases brand logos.
|
|
36
|
-
* - false: Retains brand logos.
|
|
37
|
-
* Default value: false. This parameter is independent of EraseOnly.
|
|
31
|
+
* Specifies whether to erase brand logos. This parameter is valid only when `visual` is included. Valid values: `true`: erases brand logos. `false`: retains brand logos. Default value: `false`. This parameter is independent of `EraseOnly`.
|
|
38
32
|
*
|
|
39
33
|
* @example
|
|
40
34
|
* false
|
|
@@ -42,7 +36,7 @@ export class VideoTranslationRequest extends $dara.Model {
|
|
|
42
36
|
removeLogo?: boolean;
|
|
43
37
|
/**
|
|
44
38
|
* @remarks
|
|
45
|
-
* The original language of the video. For supported languages, see Language support.
|
|
39
|
+
* The original language of the video (source language). For supported languages, see Language support.
|
|
46
40
|
*
|
|
47
41
|
* @example
|
|
48
42
|
* zh
|
|
@@ -50,10 +44,7 @@ export class VideoTranslationRequest extends $dara.Model {
|
|
|
50
44
|
sourceLanguage?: string;
|
|
51
45
|
/**
|
|
52
46
|
* @remarks
|
|
53
|
-
*
|
|
54
|
-
* - erase: Erases only the original subtitles.
|
|
55
|
-
* - replace: Replaces the original subtitles with translated subtitles. This erases the original subtitles and adds subtitles synchronized with the translated speech.
|
|
56
|
-
* - If not specified, the original subtitles are not processed. This means the original subtitles are neither erased nor replaced with new subtitles.
|
|
47
|
+
* The subtitle processing mode. This parameter is valid only when `speech` is included. Valid values: `erase`: erases the original subtitles only. `replace`: replaces the original subtitles with translated subtitles, which means erasing the original subtitles and adding subtitles synchronized with the translated speech. If this parameter is not specified, the original subtitles are not processed, which means neither erasing the original subtitles nor adding new subtitles.
|
|
57
48
|
*
|
|
58
49
|
* @example
|
|
59
50
|
* replace
|
|
@@ -61,7 +52,7 @@ export class VideoTranslationRequest extends $dara.Model {
|
|
|
61
52
|
subtitleMode?: string;
|
|
62
53
|
/**
|
|
63
54
|
* @remarks
|
|
64
|
-
*
|
|
55
|
+
* The target language. This parameter is required when `speech` is included. If only `visual` is included and `EraseOnly` is set to true, this parameter is optional and ignored if provided. In other cases, this parameter is required.
|
|
65
56
|
*
|
|
66
57
|
* @example
|
|
67
58
|
* en
|
|
@@ -69,7 +60,7 @@ export class VideoTranslationRequest extends $dara.Model {
|
|
|
69
60
|
targetLanguage?: string;
|
|
70
61
|
/**
|
|
71
62
|
* @remarks
|
|
72
|
-
* The URL
|
|
63
|
+
* The video URL. Supported formats: MP4 and MOV. Maximum file size: 200 MB.
|
|
73
64
|
*
|
|
74
65
|
* This parameter is required.
|
|
75
66
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class VideoTranslationResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID of the asynchronous task
|
|
8
|
+
* The ID of the asynchronous task, which is used for subsequent queries.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 0ea3b66e88a543658520c994f08896a0
|
|
@@ -43,7 +43,7 @@ export class VideoTranslationResponseBody extends $dara.Model {
|
|
|
43
43
|
code?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The result of the asynchronous task
|
|
46
|
+
* The submission result of the asynchronous task.
|
|
47
47
|
*/
|
|
48
48
|
data?: VideoTranslationResponseBodyData;
|
|
49
49
|
/**
|
|
@@ -56,7 +56,7 @@ export class VideoTranslationResponseBody extends $dara.Model {
|
|
|
56
56
|
message?: string;
|
|
57
57
|
/**
|
|
58
58
|
* @remarks
|
|
59
|
-
* The request
|
|
59
|
+
* The request ID.
|
|
60
60
|
*
|
|
61
61
|
* @example
|
|
62
62
|
* req_20260608_jkl012
|
|
@@ -64,9 +64,7 @@ export class VideoTranslationResponseBody extends $dara.Model {
|
|
|
64
64
|
requestId?: string;
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
* Indicates whether the call is successful. Valid values:
|
|
68
|
-
* - true: The call is successful.
|
|
69
|
-
* - false: The call fails.
|
|
67
|
+
* Indicates whether the call is successful. Valid values: `true`: The call is successful. `false`: The call fails.
|
|
70
68
|
*
|
|
71
69
|
* @example
|
|
72
70
|
* True
|
|
@@ -5,14 +5,14 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class VideoTranslationShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The list of translation
|
|
8
|
+
* The list of translation capabilities. Valid values: `speech` and `visual`. You can select both. At least one capability must be specified. Duplicate values are not allowed.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*/
|
|
12
12
|
capabilitiesShrink?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* Specifies whether to enable the quality check for on-screen text processing. This parameter takes effect only when visual is included and explicitly set to true
|
|
15
|
+
* Specifies whether to enable the quality check for on-screen text processing. This parameter takes effect only when `visual` is included and explicitly set to `true`. If only `speech` is selected, this parameter is ignored, no quality check is performed, no quality check fields are returned, and no error is reported for this parameter. Enabling the quality check may increase the processing time. Do not enable it unless necessary. Default value: `false`.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* false
|
|
@@ -20,10 +20,7 @@ export class VideoTranslationShrinkRequest extends $dara.Model {
|
|
|
20
20
|
enableQualityCheck?: boolean;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
*
|
|
24
|
-
* - true: Erases the on-screen text without translation.
|
|
25
|
-
* - false: Translates the on-screen text.
|
|
26
|
-
* Default value: false.
|
|
23
|
+
* Specifies whether to only erase on-screen text without translation. This parameter is valid only when `visual` is included. Valid values: `true`: erases the on-screen text without translation. `false`: translates the on-screen text. Default value: `false`.
|
|
27
24
|
*
|
|
28
25
|
* @example
|
|
29
26
|
* false
|
|
@@ -31,10 +28,7 @@ export class VideoTranslationShrinkRequest extends $dara.Model {
|
|
|
31
28
|
eraseOnly?: boolean;
|
|
32
29
|
/**
|
|
33
30
|
* @remarks
|
|
34
|
-
*
|
|
35
|
-
* - true: Erases brand logos.
|
|
36
|
-
* - false: Retains brand logos.
|
|
37
|
-
* Default value: false. This parameter is independent of EraseOnly.
|
|
31
|
+
* Specifies whether to erase brand logos. This parameter is valid only when `visual` is included. Valid values: `true`: erases brand logos. `false`: retains brand logos. Default value: `false`. This parameter is independent of `EraseOnly`.
|
|
38
32
|
*
|
|
39
33
|
* @example
|
|
40
34
|
* false
|
|
@@ -42,7 +36,7 @@ export class VideoTranslationShrinkRequest extends $dara.Model {
|
|
|
42
36
|
removeLogo?: boolean;
|
|
43
37
|
/**
|
|
44
38
|
* @remarks
|
|
45
|
-
* The original language of the video. For supported languages, see Language support.
|
|
39
|
+
* The original language of the video (source language). For supported languages, see Language support.
|
|
46
40
|
*
|
|
47
41
|
* @example
|
|
48
42
|
* zh
|
|
@@ -50,10 +44,7 @@ export class VideoTranslationShrinkRequest extends $dara.Model {
|
|
|
50
44
|
sourceLanguage?: string;
|
|
51
45
|
/**
|
|
52
46
|
* @remarks
|
|
53
|
-
*
|
|
54
|
-
* - erase: Erases only the original subtitles.
|
|
55
|
-
* - replace: Replaces the original subtitles with translated subtitles. This erases the original subtitles and adds subtitles synchronized with the translated speech.
|
|
56
|
-
* - If not specified, the original subtitles are not processed. This means the original subtitles are neither erased nor replaced with new subtitles.
|
|
47
|
+
* The subtitle processing mode. This parameter is valid only when `speech` is included. Valid values: `erase`: erases the original subtitles only. `replace`: replaces the original subtitles with translated subtitles, which means erasing the original subtitles and adding subtitles synchronized with the translated speech. If this parameter is not specified, the original subtitles are not processed, which means neither erasing the original subtitles nor adding new subtitles.
|
|
57
48
|
*
|
|
58
49
|
* @example
|
|
59
50
|
* replace
|
|
@@ -61,7 +52,7 @@ export class VideoTranslationShrinkRequest extends $dara.Model {
|
|
|
61
52
|
subtitleMode?: string;
|
|
62
53
|
/**
|
|
63
54
|
* @remarks
|
|
64
|
-
*
|
|
55
|
+
* The target language. This parameter is required when `speech` is included. If only `visual` is included and `EraseOnly` is set to true, this parameter is optional and ignored if provided. In other cases, this parameter is required.
|
|
65
56
|
*
|
|
66
57
|
* @example
|
|
67
58
|
* en
|
|
@@ -69,7 +60,7 @@ export class VideoTranslationShrinkRequest extends $dara.Model {
|
|
|
69
60
|
targetLanguage?: string;
|
|
70
61
|
/**
|
|
71
62
|
* @remarks
|
|
72
|
-
* The URL
|
|
63
|
+
* The video URL. Supported formats: MP4 and MOV. Maximum file size: 200 MB.
|
|
73
64
|
*
|
|
74
65
|
* This parameter is required.
|
|
75
66
|
*
|
|
@@ -15,7 +15,7 @@ export class VirtualTryOnRequest extends $dara.Model {
|
|
|
15
15
|
clothImageUrl?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The type
|
|
18
|
+
* The garment type. Valid values: tops, bottoms, dresses, tops_and_bottoms, shoes, and hats. If you do not specify this parameter, the system automatically recognizes the garment type.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* tops
|
|
@@ -33,7 +33,7 @@ export class VirtualTryOnRequest extends $dara.Model {
|
|
|
33
33
|
modelImageUrl?: string;
|
|
34
34
|
/**
|
|
35
35
|
* @remarks
|
|
36
|
-
* Required. The resolution
|
|
36
|
+
* Required. The image resolution. Valid values: 1K and 2K.
|
|
37
37
|
*
|
|
38
38
|
* This parameter is required.
|
|
39
39
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class VirtualTryOnResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID of the asynchronous task
|
|
8
|
+
* The ID of the asynchronous task, which is used to query the task result later.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* task-xxxx-xxxx-xxxx
|
|
@@ -56,7 +56,7 @@ export class VirtualTryOnResponseBody extends $dara.Model {
|
|
|
56
56
|
code?: string;
|
|
57
57
|
/**
|
|
58
58
|
* @remarks
|
|
59
|
-
* The
|
|
59
|
+
* The response data struct.
|
|
60
60
|
*/
|
|
61
61
|
data?: VirtualTryOnResponseBodyData;
|
|
62
62
|
/**
|
|
@@ -69,7 +69,7 @@ export class VirtualTryOnResponseBody extends $dara.Model {
|
|
|
69
69
|
message?: string;
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
* The ID
|
|
72
|
+
* The request ID, which is used to identify a unique request.
|
|
73
73
|
*
|
|
74
74
|
* @example
|
|
75
75
|
* E1AD60F1-BAC7-546B-9533-E7AD02B16E3F
|
package/src/models/model.ts
CHANGED
|
@@ -123,6 +123,7 @@ export { TextTranslateAsyncResponseBodyData } from './TextTranslateAsyncResponse
|
|
|
123
123
|
export { UpdateDisplayKnowledgeRequestRecords } from './UpdateDisplayKnowledgeRequest';
|
|
124
124
|
export { UpdateDisplayKnowledgeResponseBodyDataResults } from './UpdateDisplayKnowledgeResponseBody';
|
|
125
125
|
export { UpdateDisplayKnowledgeResponseBodyData } from './UpdateDisplayKnowledgeResponseBody';
|
|
126
|
+
export { VacancyDetectionResponseBodyData } from './VacancyDetectionResponseBody';
|
|
126
127
|
export { VideoGenerationRequestInputAssetBindings } from './VideoGenerationRequest';
|
|
127
128
|
export { VideoGenerationRequestInput } from './VideoGenerationRequest';
|
|
128
129
|
export { VideoGenerationRequestIntent } from './VideoGenerationRequest';
|
|
@@ -313,6 +314,9 @@ export { UpdateDisplayKnowledgeRequest } from './UpdateDisplayKnowledgeRequest';
|
|
|
313
314
|
export { UpdateDisplayKnowledgeShrinkRequest } from './UpdateDisplayKnowledgeShrinkRequest';
|
|
314
315
|
export { UpdateDisplayKnowledgeResponseBody } from './UpdateDisplayKnowledgeResponseBody';
|
|
315
316
|
export { UpdateDisplayKnowledgeResponse } from './UpdateDisplayKnowledgeResponse';
|
|
317
|
+
export { VacancyDetectionRequest } from './VacancyDetectionRequest';
|
|
318
|
+
export { VacancyDetectionResponseBody } from './VacancyDetectionResponseBody';
|
|
319
|
+
export { VacancyDetectionResponse } from './VacancyDetectionResponse';
|
|
316
320
|
export { VideoGenerationRequest } from './VideoGenerationRequest';
|
|
317
321
|
export { VideoGenerationShrinkRequest } from './VideoGenerationShrinkRequest';
|
|
318
322
|
export { VideoGenerationResponseBody } from './VideoGenerationResponseBody';
|