@alicloud/aidge20260428 5.3.1 → 5.4.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 +651 -526
- package/dist/client.js +689 -529
- package/dist/client.js.map +1 -1
- package/dist/models/AssetOptimizeLiteRequest.d.ts +10 -10
- package/dist/models/AssetOptimizeLiteResponseBody.d.ts +5 -5
- package/dist/models/AssetOptimizeProRequest.d.ts +6 -6
- package/dist/models/AssetOptimizeProResponseBody.d.ts +4 -4
- package/dist/models/AssetOptimizeProShrinkRequest.d.ts +6 -6
- package/dist/models/CategoryAttributeMatchRequest.d.ts +7 -7
- package/dist/models/CategoryAttributeMatchResponseBody.d.ts +7 -7
- package/dist/models/CategoryAttributeMatchShrinkRequest.d.ts +7 -7
- package/dist/models/CategoryMatchRequest.d.ts +8 -8
- package/dist/models/CategoryMatchResponseBody.d.ts +10 -10
- package/dist/models/DiduiAreaDeductionRequest.d.ts +1 -1
- package/dist/models/DiduiAreaDeductionResponseBody.d.ts +1 -1
- package/dist/models/DiduiAreaDeductionShrinkRequest.d.ts +1 -1
- package/dist/models/DocumentTranslateRequest.d.ts +6 -2
- package/dist/models/DocumentTranslateRequest.js.map +1 -1
- package/dist/models/DocumentTranslateResponseBody.d.ts +4 -3
- package/dist/models/DocumentTranslateResponseBody.js.map +1 -1
- package/dist/models/EcomVideoRecreationRequest.d.ts +156 -0
- package/dist/models/EcomVideoRecreationRequest.js +150 -0
- package/dist/models/EcomVideoRecreationRequest.js.map +1 -0
- package/dist/models/EcomVideoRecreationResponse.d.ts +19 -0
- package/dist/models/EcomVideoRecreationResponse.js +69 -0
- package/dist/models/EcomVideoRecreationResponse.js.map +1 -0
- package/dist/models/EcomVideoRecreationResponseBody.d.ts +70 -0
- package/dist/models/EcomVideoRecreationResponseBody.js +88 -0
- package/dist/models/EcomVideoRecreationResponseBody.js.map +1 -0
- package/dist/models/EcomVideoRecreationShrinkRequest.d.ts +25 -0
- package/dist/models/EcomVideoRecreationShrinkRequest.js +60 -0
- package/dist/models/EcomVideoRecreationShrinkRequest.js.map +1 -0
- package/dist/models/ImageCroppingRequest.d.ts +3 -3
- package/dist/models/ImageCroppingResponseBody.d.ts +10 -8
- package/dist/models/ImageCroppingResponseBody.js.map +1 -1
- package/dist/models/ImageMattingRequest.d.ts +4 -3
- package/dist/models/ImageMattingRequest.js.map +1 -1
- package/dist/models/ImageMattingResponseBody.d.ts +1 -0
- package/dist/models/ImageMattingResponseBody.js.map +1 -1
- package/dist/models/ImageRecognitionRequest.d.ts +4 -4
- package/dist/models/ImageRecognitionResponseBody.d.ts +2 -2
- package/dist/models/ImageRecognitionShrinkRequest.d.ts +4 -4
- package/dist/models/ImageRemoveRequest.d.ts +24 -17
- package/dist/models/ImageRemoveRequest.js.map +1 -1
- package/dist/models/ImageRemoveResponseBody.d.ts +9 -8
- package/dist/models/ImageRemoveResponseBody.js.map +1 -1
- package/dist/models/ImageRemoveShrinkRequest.d.ts +24 -17
- package/dist/models/ImageRemoveShrinkRequest.js.map +1 -1
- package/dist/models/ImageTranslationPlusResponseBody.d.ts +3 -1
- package/dist/models/ImageTranslationPlusResponseBody.js.map +1 -1
- package/dist/models/ImageTranslationProRequest.d.ts +14 -8
- package/dist/models/ImageTranslationProRequest.js.map +1 -1
- package/dist/models/ImageTranslationProResponseBody.d.ts +19 -19
- package/dist/models/ImageTranslationStandardRequest.d.ts +9 -6
- package/dist/models/ImageTranslationStandardRequest.js.map +1 -1
- package/dist/models/ImageTranslationStandardResponseBody.d.ts +8 -8
- package/dist/models/LanguageDetectRequest.d.ts +10 -2
- package/dist/models/LanguageDetectRequest.js +2 -0
- package/dist/models/LanguageDetectRequest.js.map +1 -1
- package/dist/models/LanguageDetectResponseBody.d.ts +5 -7
- package/dist/models/LanguageDetectResponseBody.js.map +1 -1
- package/dist/models/MaterialInspectionRequest.d.ts +5 -5
- package/dist/models/MaterialInspectionResponseBody.d.ts +14 -7
- package/dist/models/MaterialInspectionResponseBody.js.map +1 -1
- package/dist/models/MerchandisePlacementDetectionRequest.d.ts +4 -4
- package/dist/models/MerchandisePlacementDetectionResponseBody.d.ts +8 -8
- package/dist/models/PackageWeightSizeCheckRequest.d.ts +2 -2
- package/dist/models/PackageWeightSizeCheckResponseBody.d.ts +6 -6
- package/dist/models/QueryAsyncTaskResultResponseBody.d.ts +5 -5
- package/dist/models/SizeChartDetectResponseBody.d.ts +1 -0
- package/dist/models/SizeChartDetectResponseBody.js.map +1 -1
- package/dist/models/SizeChartExtractRequest.d.ts +2 -2
- package/dist/models/SizeChartExtractResponseBody.d.ts +1 -1
- package/dist/models/SizeChartExtractShrinkRequest.d.ts +2 -2
- package/dist/models/TextCorrectRequest.d.ts +2 -2
- package/dist/models/TextCorrectResponseBody.d.ts +6 -6
- package/dist/models/TextTranslateRequest.d.ts +15 -6
- package/dist/models/TextTranslateRequest.js.map +1 -1
- package/dist/models/TextTranslateResponseBody.d.ts +4 -4
- package/dist/models/TextTranslateShrinkRequest.d.ts +15 -6
- package/dist/models/TextTranslateShrinkRequest.js.map +1 -1
- package/dist/models/VideoGenerationRequest.d.ts +45 -8
- package/dist/models/VideoGenerationRequest.js.map +1 -1
- package/dist/models/VideoGenerationResponseBody.d.ts +5 -5
- package/dist/models/VideoTranslationResponseBody.d.ts +3 -3
- package/dist/models/VisionFlowRequest.d.ts +16 -16
- package/dist/models/VisionFlowResponseBody.d.ts +4 -4
- package/dist/models/VisionFlowShrinkRequest.d.ts +16 -16
- package/dist/models/model.d.ts +8 -0
- package/dist/models/model.js +20 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +698 -531
- package/src/models/AssetOptimizeLiteRequest.ts +10 -10
- package/src/models/AssetOptimizeLiteResponseBody.ts +5 -5
- package/src/models/AssetOptimizeProRequest.ts +6 -6
- package/src/models/AssetOptimizeProResponseBody.ts +4 -4
- package/src/models/AssetOptimizeProShrinkRequest.ts +6 -6
- package/src/models/CategoryAttributeMatchRequest.ts +7 -7
- package/src/models/CategoryAttributeMatchResponseBody.ts +7 -7
- package/src/models/CategoryAttributeMatchShrinkRequest.ts +7 -7
- package/src/models/CategoryMatchRequest.ts +8 -8
- package/src/models/CategoryMatchResponseBody.ts +10 -10
- package/src/models/DiduiAreaDeductionRequest.ts +1 -1
- package/src/models/DiduiAreaDeductionResponseBody.ts +1 -1
- package/src/models/DiduiAreaDeductionShrinkRequest.ts +1 -1
- package/src/models/DocumentTranslateRequest.ts +6 -2
- package/src/models/DocumentTranslateResponseBody.ts +4 -3
- package/src/models/EcomVideoRecreationRequest.ts +234 -0
- package/src/models/EcomVideoRecreationResponse.ts +40 -0
- package/src/models/EcomVideoRecreationResponseBody.ts +104 -0
- package/src/models/EcomVideoRecreationShrinkRequest.ts +40 -0
- package/src/models/ImageCroppingRequest.ts +3 -3
- package/src/models/ImageCroppingResponseBody.ts +10 -8
- package/src/models/ImageMattingRequest.ts +4 -3
- package/src/models/ImageMattingResponseBody.ts +1 -0
- package/src/models/ImageRecognitionRequest.ts +4 -4
- package/src/models/ImageRecognitionResponseBody.ts +2 -2
- package/src/models/ImageRecognitionShrinkRequest.ts +4 -4
- package/src/models/ImageRemoveRequest.ts +24 -17
- package/src/models/ImageRemoveResponseBody.ts +9 -8
- package/src/models/ImageRemoveShrinkRequest.ts +24 -17
- package/src/models/ImageTranslationPlusResponseBody.ts +3 -1
- package/src/models/ImageTranslationProRequest.ts +14 -8
- package/src/models/ImageTranslationProResponseBody.ts +19 -19
- package/src/models/ImageTranslationStandardRequest.ts +9 -6
- package/src/models/ImageTranslationStandardResponseBody.ts +8 -8
- package/src/models/LanguageDetectRequest.ts +12 -2
- package/src/models/LanguageDetectResponseBody.ts +5 -7
- package/src/models/MaterialInspectionRequest.ts +5 -5
- package/src/models/MaterialInspectionResponseBody.ts +14 -7
- package/src/models/MerchandisePlacementDetectionRequest.ts +4 -4
- package/src/models/MerchandisePlacementDetectionResponseBody.ts +8 -8
- package/src/models/PackageWeightSizeCheckRequest.ts +2 -2
- package/src/models/PackageWeightSizeCheckResponseBody.ts +6 -6
- package/src/models/QueryAsyncTaskResultResponseBody.ts +5 -5
- package/src/models/SizeChartDetectResponseBody.ts +1 -0
- package/src/models/SizeChartExtractRequest.ts +2 -2
- package/src/models/SizeChartExtractResponseBody.ts +1 -1
- package/src/models/SizeChartExtractShrinkRequest.ts +2 -2
- package/src/models/TextCorrectRequest.ts +2 -2
- package/src/models/TextCorrectResponseBody.ts +6 -6
- package/src/models/TextTranslateRequest.ts +15 -6
- package/src/models/TextTranslateResponseBody.ts +4 -4
- package/src/models/TextTranslateShrinkRequest.ts +15 -6
- package/src/models/VideoGenerationRequest.ts +45 -8
- package/src/models/VideoGenerationResponseBody.ts +5 -5
- package/src/models/VideoTranslationResponseBody.ts +3 -3
- package/src/models/VisionFlowRequest.ts +16 -16
- package/src/models/VisionFlowResponseBody.ts +4 -4
- package/src/models/VisionFlowShrinkRequest.ts +16 -16
- package/src/models/model.ts +8 -0
|
@@ -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
|
-
*
|
|
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
|
|
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.
|
|
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
|
|
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.
|
|
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
|
|
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;
|
|
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"}
|
|
@@ -10,14 +10,18 @@ export declare class VideoGenerationRequestInputAssetBindings extends $dara.Mode
|
|
|
10
10
|
assetIndex?: number;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The
|
|
13
|
+
* The asset description.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* -
|
|
14
17
|
*/
|
|
15
18
|
description?: string;
|
|
16
19
|
/**
|
|
17
20
|
* @remarks
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
+
* The asset usage.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* -
|
|
21
25
|
*/
|
|
22
26
|
slot?: string;
|
|
23
27
|
static names(): {
|
|
@@ -34,7 +38,7 @@ export declare class VideoGenerationRequestInputAssetBindings extends $dara.Mode
|
|
|
34
38
|
export declare class VideoGenerationRequestInput extends $dara.Model {
|
|
35
39
|
/**
|
|
36
40
|
* @remarks
|
|
37
|
-
*
|
|
41
|
+
* The asset binding list.
|
|
38
42
|
*/
|
|
39
43
|
assetBindings?: VideoGenerationRequestInputAssetBindings[];
|
|
40
44
|
/**
|
|
@@ -83,15 +87,48 @@ export declare class VideoGenerationRequestIntent extends $dara.Model {
|
|
|
83
87
|
channel?: string;
|
|
84
88
|
/**
|
|
85
89
|
* @remarks
|
|
86
|
-
* The business goal.
|
|
90
|
+
* The business goal. Valid values:
|
|
91
|
+
*
|
|
92
|
+
* camera_motion: Camera movement mode. Generates video based on fixed 360° camera movement logic.
|
|
93
|
+
*
|
|
94
|
+
* scripted_video: Scripted mode. Provides a script or prompt, and the system generates video based on the script.
|
|
95
|
+
*
|
|
96
|
+
* auto_video: Unscripted mode. No script is provided. The system automatically plans the script and then generates the video.
|
|
87
97
|
*
|
|
88
98
|
* @example
|
|
89
|
-
*
|
|
99
|
+
* auto_video
|
|
90
100
|
*/
|
|
91
101
|
goal?: string;
|
|
92
102
|
/**
|
|
93
103
|
* @remarks
|
|
94
|
-
*
|
|
104
|
+
* The script or prompt.
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* 【2. Shot Breakdown】
|
|
108
|
+
* [0-1s]【Eye-level close-up, static camera】Summer commute trousers folded on a clean tabletop; one corner is quickly unfolded to reveal the solid-color fabric and crisp crease line. The frame focuses on the trouser leg\\"s surface smoothness and sharp appearance. [BGM/SFX: Upbeat, crisp commute-vibe background music begins]
|
|
109
|
+
*
|
|
110
|
+
* [1-2s]【Low-angle mid-shot, static camera】The full pair of trousers hangs freely in the air with a slight swing, showcasing the natural drape of the lightweight fabric and the complete straight-leg silhouette, then returns to a still, hanging state.
|
|
111
|
+
*
|
|
112
|
+
* [2-3s]【Eye-level mid-shot, static camera】A commute-styled model stands in a fitting area, holding the folded trousers at waist level with both hands, performing one up-and-down sizing gesture before holding them steady, displaying the overall proportions of the trousers in their folded state and the expected fit. [[Voiceover]: Who says wearing trousers in summer has to be stuffy? Most likely you just haven\\"t picked the right pair.]
|
|
113
|
+
*
|
|
114
|
+
* [3-5s]【Eye-level full shot, slight pullback】The commute-styled model, now wearing the trousers paired with a clean commute top, takes two steps forward in a modern office building corridor, dynamically showcasing the front straight-leg silhouette, trouser leg lines, and commute outfit coordination.
|
|
115
|
+
*
|
|
116
|
+
* [5-7s]【Low-angle mid-shot, static camera】The commute-styled model shifts to an angled side stance, one hand in the front pocket and the other in the back pocket, displaying the cut from waist and hip down to the knee, the solid-color surface, and the clean lateral lines.
|
|
117
|
+
*
|
|
118
|
+
* [7-9s]【Eye-level mid-shot, static camera】The commute-styled model lifts one foot onto a low step, one hand brushes down the lower-leg trouser fabric and lightly lifts the hem, briefly exposing the ankle, showcasing the hem edge, side-seam details, and the wearing state during movement. [[Voiceover]: These ice-skin trousers are lightweight and breathable, solid-color straight-leg — looking sharp and at ease even when walking around at work.]
|
|
119
|
+
*
|
|
120
|
+
* [9-11s]【Overhead close-up, static camera】The lens focuses closely on the waistband area; the commute-styled model presses both hands along the waistband contour and smooths it, then pauses to display the seams and actual wearing state, clearly presenting the waistband shape and structural details.
|
|
121
|
+
*
|
|
122
|
+
* [11-13s]【Eye-level close-up, static camera】The commute-styled model gently lifts the fabric on both sides of the thigh with both hands, then raises one knee with a slight lateral turn before returning to a natural stance, demonstrating the actual range of motion during knee-lift and side-turn, as well as how the straight-leg trouser recovers after the foot lands.
|
|
123
|
+
*
|
|
124
|
+
* [13-15s]【Eye-level close-up, static camera】The commute-styled model enters the frame from the rear side, places one hand in the back pocket, then lightly traces along the back pocket edge and rear waist seam, showcasing the back pocket contour, pocket opening edge, and rear waist seam details up close. [[Voiceover]: If you\\"re always on the move, there\\"s room for knee lifts and side turns — commuting just got easier.]
|
|
125
|
+
*
|
|
126
|
+
* [15-17s]【Eye-level mid-shot, static camera】The commute-styled model faces away to display the rear silhouette of the trousers, hands naturally in pockets with a slight weight shift, then turns slightly to an angled side view so both the rear and lateral trouser lines are visible, fully presenting the rear cut and the overall line from hip and thigh down to the hem.
|
|
127
|
+
*
|
|
128
|
+
* [17-19s]【Eye-level full shot, smooth follow】The commute-styled model first walks sideways to the right, then transitions into a forward stride to complete the full presentation, finishing in the modern office building corridor in full commute attire, clearly showing the front straight-leg silhouette, clean lines, and overall fit. [[Voiceover]: If you like this fit, go check out the details.]
|
|
129
|
+
*
|
|
130
|
+
* 【3. Negative/Constraint Instructions】
|
|
131
|
+
* The entire video centers on the summer commute trousers; no unrelated products or multi-person interactions are allowed.
|
|
95
132
|
*/
|
|
96
133
|
script?: string;
|
|
97
134
|
static names(): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VideoGenerationRequest.js","sourceRoot":"","sources":["../../src/models/VideoGenerationRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6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|
29
29
|
export declare class VideoGenerationResponseBody extends $dara.Model {
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The response code. A value of success indicates a successful call, and failed indicates a
|
|
32
|
+
* The response code. A value of success indicates a successful call, and a value of failed indicates a failed call.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* success
|
|
@@ -37,12 +37,12 @@ export declare class VideoGenerationResponseBody extends $dara.Model {
|
|
|
37
37
|
code?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The struct
|
|
40
|
+
* The response struct.
|
|
41
41
|
*/
|
|
42
42
|
data?: VideoGenerationResponseBodyData;
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The
|
|
45
|
+
* The response message. An error message is returned if the call fails.
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* Success
|
|
@@ -50,7 +50,7 @@ export declare class VideoGenerationResponseBody extends $dara.Model {
|
|
|
50
50
|
message?: string;
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
|
-
* The request ID,
|
|
53
|
+
* The request ID, which uniquely identifies a single API call.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
56
|
* 70CBEFDF-BB17-1EB3-8A21-569F3124738F
|
|
@@ -58,7 +58,7 @@ export declare class VideoGenerationResponseBody extends $dara.Model {
|
|
|
58
58
|
requestId?: string;
|
|
59
59
|
/**
|
|
60
60
|
* @remarks
|
|
61
|
-
* Indicates whether the call is successful. A value of true indicates success, and false indicates failure.
|
|
61
|
+
* Indicates whether the call is successful. A value of true indicates success, and a value of false indicates failure.
|
|
62
62
|
*
|
|
63
63
|
* @example
|
|
64
64
|
* true
|
|
@@ -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
|
|
33
|
+
* The asynchronous task submit result.
|
|
34
34
|
*/
|
|
35
35
|
data?: VideoTranslationResponseBodyData;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The description
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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.
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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.
|
|
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
|
|
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.
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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,
|
|
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.
|
|
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
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class VisionFlowShrinkRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The AI capabilities to apply (1
|
|
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 VisionFlowShrinkRequest extends $dara.Model {
|
|
|
12
12
|
abilityShrink?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The background type of the
|
|
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 VisionFlowShrinkRequest extends $dara.Model {
|
|
|
20
20
|
backGroundType?: string;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* The
|
|
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 VisionFlowShrinkRequest extends $dara.Model {
|
|
|
28
28
|
glossary?: string;
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
* The URL of the image to process. Required.
|
|
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 VisionFlowShrinkRequest extends $dara.Model {
|
|
|
46
46
|
includingProductArea?: boolean;
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* Specifies whether images
|
|
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 VisionFlowShrinkRequest extends $dara.Model {
|
|
|
54
54
|
isFilter?: boolean;
|
|
55
55
|
/**
|
|
56
56
|
* @remarks
|
|
57
|
-
* The specific removal area in RLE format. Optional. If provided, this
|
|
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 VisionFlowShrinkRequest 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
|
|
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 VisionFlowShrinkRequest extends $dara.Model {
|
|
|
70
70
|
nonobjectDetectElementsShrink?: string;
|
|
71
71
|
/**
|
|
72
72
|
* @remarks
|
|
73
|
-
* The elements to remove from the non-subject area of the image (1
|
|
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 VisionFlowShrinkRequest extends $dara.Model {
|
|
|
78
78
|
nonobjectRemoveElementsShrink?: string;
|
|
79
79
|
/**
|
|
80
80
|
* @remarks
|
|
81
|
-
* The elements to detect on the image subject (1
|
|
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 VisionFlowShrinkRequest extends $dara.Model {
|
|
|
86
86
|
objectDetectElementsShrink?: string;
|
|
87
87
|
/**
|
|
88
88
|
* @remarks
|
|
89
|
-
* The elements to remove from the image subject (1
|
|
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 VisionFlowShrinkRequest extends $dara.Model {
|
|
|
94
94
|
objectRemoveElementsShrink?: string;
|
|
95
95
|
/**
|
|
96
96
|
* @remarks
|
|
97
|
-
* The source language code. Optional.
|
|
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 VisionFlowShrinkRequest 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
|
|
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 VisionFlowShrinkRequest extends $dara.Model {
|
|
|
110
110
|
targetHeight?: number;
|
|
111
111
|
/**
|
|
112
112
|
* @remarks
|
|
113
|
-
* The target language code. Optional.
|
|
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 VisionFlowShrinkRequest 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
|
|
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 VisionFlowShrinkRequest extends $dara.Model {
|
|
|
126
126
|
targetWidth?: number;
|
|
127
127
|
/**
|
|
128
128
|
* @remarks
|
|
129
|
-
* Specifies whether to translate brand names
|
|
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 VisionFlowShrinkRequest 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
|
|
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
|
package/dist/models/model.d.ts
CHANGED
|
@@ -10,6 +10,10 @@ export { DiduiAreaDeductionResponseBodyDataResultStage4AreaLabel } from './Didui
|
|
|
10
10
|
export { DiduiAreaDeductionResponseBodyDataResult } from './DiduiAreaDeductionResponseBody';
|
|
11
11
|
export { DiduiAreaDeductionResponseBodyData } from './DiduiAreaDeductionResponseBody';
|
|
12
12
|
export { DocumentTranslateResponseBodyData } from './DocumentTranslateResponseBody';
|
|
13
|
+
export { EcomVideoRecreationRequestInputProductInfo } from './EcomVideoRecreationRequest';
|
|
14
|
+
export { EcomVideoRecreationRequestInput } from './EcomVideoRecreationRequest';
|
|
15
|
+
export { EcomVideoRecreationRequestOutput } from './EcomVideoRecreationRequest';
|
|
16
|
+
export { EcomVideoRecreationResponseBodyData } from './EcomVideoRecreationResponseBody';
|
|
13
17
|
export { ImageCroppingResponseBodyData } from './ImageCroppingResponseBody';
|
|
14
18
|
export { ImageMattingResponseBodyData } from './ImageMattingResponseBody';
|
|
15
19
|
export { ImageRecognitionResponseBodyData } from './ImageRecognitionResponseBody';
|
|
@@ -81,6 +85,10 @@ export { DiduiAreaDeductionResponse } from './DiduiAreaDeductionResponse';
|
|
|
81
85
|
export { DocumentTranslateRequest } from './DocumentTranslateRequest';
|
|
82
86
|
export { DocumentTranslateResponseBody } from './DocumentTranslateResponseBody';
|
|
83
87
|
export { DocumentTranslateResponse } from './DocumentTranslateResponse';
|
|
88
|
+
export { EcomVideoRecreationRequest } from './EcomVideoRecreationRequest';
|
|
89
|
+
export { EcomVideoRecreationShrinkRequest } from './EcomVideoRecreationShrinkRequest';
|
|
90
|
+
export { EcomVideoRecreationResponseBody } from './EcomVideoRecreationResponseBody';
|
|
91
|
+
export { EcomVideoRecreationResponse } from './EcomVideoRecreationResponse';
|
|
84
92
|
export { ImageCroppingRequest } from './ImageCroppingRequest';
|
|
85
93
|
export { ImageCroppingResponseBody } from './ImageCroppingResponseBody';
|
|
86
94
|
export { ImageCroppingResponse } from './ImageCroppingResponse';
|