@alicloud/aidge20260428 5.7.1 → 5.9.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 +1593 -286
- package/dist/client.js +2362 -401
- package/dist/client.js.map +1 -1
- package/dist/models/DiduiAreaDeductionProRequest.d.ts +33 -0
- package/dist/models/DiduiAreaDeductionProRequest.js +60 -0
- package/dist/models/DiduiAreaDeductionProRequest.js.map +1 -0
- package/dist/models/DiduiAreaDeductionProResponse.d.ts +19 -0
- package/dist/models/DiduiAreaDeductionProResponse.js +69 -0
- package/dist/models/DiduiAreaDeductionProResponse.js.map +1 -0
- package/dist/models/DiduiAreaDeductionProResponseBody.d.ts +70 -0
- package/dist/models/DiduiAreaDeductionProResponseBody.js +88 -0
- package/dist/models/DiduiAreaDeductionProResponseBody.js.map +1 -0
- package/dist/models/DocumentTranslateRequest.d.ts +4 -4
- package/dist/models/DocumentTranslateResponseBody.d.ts +3 -3
- package/dist/models/EcomVideoRecreationRequest.d.ts +24 -16
- package/dist/models/EcomVideoRecreationRequest.js +2 -0
- package/dist/models/EcomVideoRecreationRequest.js.map +1 -1
- package/dist/models/EcomVideoRecreationResponseBody.d.ts +5 -5
- package/dist/models/EcomVideoRecreationShrinkRequest.d.ts +2 -2
- package/dist/models/GeneralRephotographyDetectionRequest.d.ts +23 -0
- package/dist/models/GeneralRephotographyDetectionRequest.js +58 -0
- package/dist/models/GeneralRephotographyDetectionRequest.js.map +1 -0
- package/dist/models/GeneralRephotographyDetectionResponse.d.ts +19 -0
- package/dist/models/GeneralRephotographyDetectionResponse.js +69 -0
- package/dist/models/GeneralRephotographyDetectionResponse.js.map +1 -0
- package/dist/models/GeneralRephotographyDetectionResponseBody.d.ts +170 -0
- package/dist/models/GeneralRephotographyDetectionResponseBody.js +172 -0
- package/dist/models/GeneralRephotographyDetectionResponseBody.js.map +1 -0
- package/dist/models/ImageMattingAsyncRequest.d.ts +59 -0
- package/dist/models/ImageMattingAsyncRequest.js +66 -0
- package/dist/models/ImageMattingAsyncRequest.js.map +1 -0
- package/dist/models/ImageMattingAsyncResponse.d.ts +19 -0
- package/dist/models/ImageMattingAsyncResponse.js +69 -0
- package/dist/models/ImageMattingAsyncResponse.js.map +1 -0
- package/dist/models/ImageMattingAsyncResponseBody.d.ts +72 -0
- package/dist/models/ImageMattingAsyncResponseBody.js +88 -0
- package/dist/models/ImageMattingAsyncResponseBody.js.map +1 -0
- package/dist/models/ImageRecognitionAsyncRequest.d.ts +101 -0
- package/dist/models/ImageRecognitionAsyncRequest.js +78 -0
- package/dist/models/ImageRecognitionAsyncRequest.js.map +1 -0
- package/dist/models/ImageRecognitionAsyncResponse.d.ts +19 -0
- package/dist/models/ImageRecognitionAsyncResponse.js +69 -0
- package/dist/models/ImageRecognitionAsyncResponse.js.map +1 -0
- package/dist/models/ImageRecognitionAsyncResponseBody.d.ts +72 -0
- package/dist/models/ImageRecognitionAsyncResponseBody.js +88 -0
- package/dist/models/ImageRecognitionAsyncResponseBody.js.map +1 -0
- package/dist/models/ImageRecognitionAsyncShrinkRequest.d.ts +101 -0
- package/dist/models/ImageRecognitionAsyncShrinkRequest.js +72 -0
- package/dist/models/ImageRecognitionAsyncShrinkRequest.js.map +1 -0
- package/dist/models/ImageRemovalProAsyncRequest.d.ts +23 -0
- package/dist/models/ImageRemovalProAsyncRequest.js +58 -0
- package/dist/models/ImageRemovalProAsyncRequest.js.map +1 -0
- package/dist/models/ImageRemovalProAsyncResponse.d.ts +19 -0
- package/dist/models/ImageRemovalProAsyncResponse.js +69 -0
- package/dist/models/ImageRemovalProAsyncResponse.js.map +1 -0
- package/dist/models/ImageRemovalProAsyncResponseBody.d.ts +70 -0
- package/dist/models/ImageRemovalProAsyncResponseBody.js +88 -0
- package/dist/models/ImageRemovalProAsyncResponseBody.js.map +1 -0
- package/dist/models/ImageRemoveAsyncRequest.d.ts +59 -0
- package/dist/models/ImageRemoveAsyncRequest.js +82 -0
- package/dist/models/ImageRemoveAsyncRequest.js.map +1 -0
- package/dist/models/ImageRemoveAsyncResponse.d.ts +19 -0
- package/dist/models/ImageRemoveAsyncResponse.js +69 -0
- package/dist/models/ImageRemoveAsyncResponse.js.map +1 -0
- package/dist/models/ImageRemoveAsyncResponseBody.d.ts +70 -0
- package/dist/models/ImageRemoveAsyncResponseBody.js +88 -0
- package/dist/models/ImageRemoveAsyncResponseBody.js.map +1 -0
- package/dist/models/ImageRemoveAsyncShrinkRequest.d.ts +59 -0
- package/dist/models/ImageRemoveAsyncShrinkRequest.js +70 -0
- package/dist/models/ImageRemoveAsyncShrinkRequest.js.map +1 -0
- package/dist/models/ImageTranslationPlusAsyncRequest.d.ts +78 -0
- package/dist/models/ImageTranslationPlusAsyncRequest.js +70 -0
- package/dist/models/ImageTranslationPlusAsyncRequest.js.map +1 -0
- package/dist/models/ImageTranslationPlusAsyncResponse.d.ts +19 -0
- package/dist/models/ImageTranslationPlusAsyncResponse.js +69 -0
- package/dist/models/ImageTranslationPlusAsyncResponse.js.map +1 -0
- package/dist/models/ImageTranslationPlusAsyncResponseBody.d.ts +70 -0
- package/dist/models/ImageTranslationPlusAsyncResponseBody.js +88 -0
- package/dist/models/ImageTranslationPlusAsyncResponseBody.js.map +1 -0
- package/dist/models/ImageTranslationPlusResponseBody.d.ts +1 -1
- package/dist/models/ImageTranslationProAsyncRequest.d.ts +78 -0
- package/dist/models/ImageTranslationProAsyncRequest.js +70 -0
- package/dist/models/ImageTranslationProAsyncRequest.js.map +1 -0
- package/dist/models/ImageTranslationProAsyncResponse.d.ts +19 -0
- package/dist/models/ImageTranslationProAsyncResponse.js +69 -0
- package/dist/models/ImageTranslationProAsyncResponse.js.map +1 -0
- package/dist/models/ImageTranslationProAsyncResponseBody.d.ts +70 -0
- package/dist/models/ImageTranslationProAsyncResponseBody.js +88 -0
- package/dist/models/ImageTranslationProAsyncResponseBody.js.map +1 -0
- package/dist/models/ImageTranslationProRequest.d.ts +12 -8
- package/dist/models/ImageTranslationProRequest.js.map +1 -1
- package/dist/models/ImageTranslationProResponseBody.d.ts +4 -2
- package/dist/models/ImageTranslationProResponseBody.js.map +1 -1
- package/dist/models/ImageTranslationStandardAsyncRequest.d.ts +75 -0
- package/dist/models/ImageTranslationStandardAsyncRequest.js +70 -0
- package/dist/models/ImageTranslationStandardAsyncRequest.js.map +1 -0
- package/dist/models/ImageTranslationStandardAsyncResponse.d.ts +19 -0
- package/dist/models/ImageTranslationStandardAsyncResponse.js +69 -0
- package/dist/models/ImageTranslationStandardAsyncResponse.js.map +1 -0
- package/dist/models/ImageTranslationStandardAsyncResponseBody.d.ts +70 -0
- package/dist/models/ImageTranslationStandardAsyncResponseBody.js +88 -0
- package/dist/models/ImageTranslationStandardAsyncResponseBody.js.map +1 -0
- package/dist/models/ImageTranslationStandardRequest.d.ts +13 -9
- package/dist/models/ImageTranslationStandardRequest.js.map +1 -1
- package/dist/models/MerchandisePlacementDetectionLiteRequest.d.ts +23 -0
- package/dist/models/MerchandisePlacementDetectionLiteRequest.js +58 -0
- package/dist/models/MerchandisePlacementDetectionLiteRequest.js.map +1 -0
- package/dist/models/MerchandisePlacementDetectionLiteResponse.d.ts +19 -0
- package/dist/models/MerchandisePlacementDetectionLiteResponse.js +69 -0
- package/dist/models/MerchandisePlacementDetectionLiteResponse.js.map +1 -0
- package/dist/models/MerchandisePlacementDetectionLiteResponseBody.d.ts +239 -0
- package/dist/models/MerchandisePlacementDetectionLiteResponseBody.js +229 -0
- package/dist/models/MerchandisePlacementDetectionLiteResponseBody.js.map +1 -0
- package/dist/models/MerchandisePlacementDetectionProRequest.d.ts +39 -0
- package/dist/models/MerchandisePlacementDetectionProRequest.js +62 -0
- package/dist/models/MerchandisePlacementDetectionProRequest.js.map +1 -0
- package/dist/models/MerchandisePlacementDetectionProResponse.d.ts +19 -0
- package/dist/models/MerchandisePlacementDetectionProResponse.js +69 -0
- package/dist/models/MerchandisePlacementDetectionProResponse.js.map +1 -0
- package/dist/models/MerchandisePlacementDetectionProResponseBody.d.ts +118 -0
- package/dist/models/MerchandisePlacementDetectionProResponseBody.js +124 -0
- package/dist/models/MerchandisePlacementDetectionProResponseBody.js.map +1 -0
- package/dist/models/MerchandisePlacementDetectionRequest.d.ts +12 -5
- package/dist/models/MerchandisePlacementDetectionRequest.js.map +1 -1
- package/dist/models/MerchandisePlacementDetectionResponseBody.d.ts +7 -7
- package/dist/models/MerchandisePriceTagDetectionRequest.d.ts +23 -0
- package/dist/models/MerchandisePriceTagDetectionRequest.js +58 -0
- package/dist/models/MerchandisePriceTagDetectionRequest.js.map +1 -0
- package/dist/models/MerchandisePriceTagDetectionResponse.d.ts +19 -0
- package/dist/models/MerchandisePriceTagDetectionResponse.js +69 -0
- package/dist/models/MerchandisePriceTagDetectionResponse.js.map +1 -0
- package/dist/models/MerchandisePriceTagDetectionResponseBody.d.ts +258 -0
- package/dist/models/MerchandisePriceTagDetectionResponseBody.js +230 -0
- package/dist/models/MerchandisePriceTagDetectionResponseBody.js.map +1 -0
- package/dist/models/MerchandiseSceneDetectionRequest.d.ts +23 -0
- package/dist/models/MerchandiseSceneDetectionRequest.js +58 -0
- package/dist/models/MerchandiseSceneDetectionRequest.js.map +1 -0
- package/dist/models/MerchandiseSceneDetectionResponse.d.ts +19 -0
- package/dist/models/MerchandiseSceneDetectionResponse.js +69 -0
- package/dist/models/MerchandiseSceneDetectionResponse.js.map +1 -0
- package/dist/models/MerchandiseSceneDetectionResponseBody.d.ts +263 -0
- package/dist/models/MerchandiseSceneDetectionResponseBody.js +235 -0
- package/dist/models/MerchandiseSceneDetectionResponseBody.js.map +1 -0
- package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionRequest.d.ts +23 -0
- package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionRequest.js +58 -0
- package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionRequest.js.map +1 -0
- package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponse.d.ts +19 -0
- package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponse.js +69 -0
- package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponse.js.map +1 -0
- package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.d.ts +170 -0
- package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.js +172 -0
- package/dist/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.js.map +1 -0
- package/dist/models/MilkPowderCartonCodeRephotographyDetectionRequest.d.ts +23 -0
- package/dist/models/MilkPowderCartonCodeRephotographyDetectionRequest.js +58 -0
- package/dist/models/MilkPowderCartonCodeRephotographyDetectionRequest.js.map +1 -0
- package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponse.d.ts +19 -0
- package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponse.js +69 -0
- package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponse.js.map +1 -0
- package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.d.ts +197 -0
- package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.js +178 -0
- package/dist/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.js.map +1 -0
- package/dist/models/PetHealthAnalysisRequest.d.ts +28 -0
- package/dist/models/PetHealthAnalysisRequest.js +65 -0
- package/dist/models/PetHealthAnalysisRequest.js.map +1 -0
- package/dist/models/PetHealthAnalysisResponse.d.ts +19 -0
- package/dist/models/PetHealthAnalysisResponse.js +69 -0
- package/dist/models/PetHealthAnalysisResponse.js.map +1 -0
- package/dist/models/PetHealthAnalysisResponseBody.d.ts +51 -0
- package/dist/models/PetHealthAnalysisResponseBody.js +88 -0
- package/dist/models/PetHealthAnalysisResponseBody.js.map +1 -0
- package/dist/models/PetHealthAnalysisShrinkRequest.d.ts +28 -0
- package/dist/models/PetHealthAnalysisShrinkRequest.js +62 -0
- package/dist/models/PetHealthAnalysisShrinkRequest.js.map +1 -0
- package/dist/models/SizeChartExtractAsyncRequest.d.ts +36 -0
- package/dist/models/SizeChartExtractAsyncRequest.js +65 -0
- package/dist/models/SizeChartExtractAsyncRequest.js.map +1 -0
- package/dist/models/SizeChartExtractAsyncResponse.d.ts +19 -0
- package/dist/models/SizeChartExtractAsyncResponse.js +69 -0
- package/dist/models/SizeChartExtractAsyncResponse.js.map +1 -0
- package/dist/models/SizeChartExtractAsyncResponseBody.d.ts +70 -0
- package/dist/models/SizeChartExtractAsyncResponseBody.js +88 -0
- package/dist/models/SizeChartExtractAsyncResponseBody.js.map +1 -0
- package/dist/models/SizeChartExtractAsyncShrinkRequest.d.ts +36 -0
- package/dist/models/SizeChartExtractAsyncShrinkRequest.js +62 -0
- package/dist/models/SizeChartExtractAsyncShrinkRequest.js.map +1 -0
- package/dist/models/StorefrontSceneRecognitionRequest.d.ts +23 -0
- package/dist/models/StorefrontSceneRecognitionRequest.js +58 -0
- package/dist/models/StorefrontSceneRecognitionRequest.js.map +1 -0
- package/dist/models/StorefrontSceneRecognitionResponse.d.ts +19 -0
- package/dist/models/StorefrontSceneRecognitionResponse.js +69 -0
- package/dist/models/StorefrontSceneRecognitionResponse.js.map +1 -0
- package/dist/models/StorefrontSceneRecognitionResponseBody.d.ts +190 -0
- package/dist/models/StorefrontSceneRecognitionResponseBody.js +199 -0
- package/dist/models/StorefrontSceneRecognitionResponseBody.js.map +1 -0
- package/dist/models/TextTranslateAsyncRequest.d.ts +56 -0
- package/dist/models/TextTranslateAsyncRequest.js +75 -0
- package/dist/models/TextTranslateAsyncRequest.js.map +1 -0
- package/dist/models/TextTranslateAsyncResponse.d.ts +19 -0
- package/dist/models/TextTranslateAsyncResponse.js +69 -0
- package/dist/models/TextTranslateAsyncResponse.js.map +1 -0
- package/dist/models/TextTranslateAsyncResponseBody.d.ts +51 -0
- package/dist/models/TextTranslateAsyncResponseBody.js +88 -0
- package/dist/models/TextTranslateAsyncResponseBody.js.map +1 -0
- package/dist/models/TextTranslateAsyncShrinkRequest.d.ts +56 -0
- package/dist/models/TextTranslateAsyncShrinkRequest.js +72 -0
- package/dist/models/TextTranslateAsyncShrinkRequest.js.map +1 -0
- package/dist/models/TextTranslateRequest.d.ts +13 -13
- package/dist/models/TextTranslateResponseBody.d.ts +1 -1
- package/dist/models/TextTranslateShrinkRequest.d.ts +13 -13
- package/dist/models/VideoGenerationRequest.d.ts +21 -12
- package/dist/models/VideoGenerationRequest.js.map +1 -1
- package/dist/models/VideoGenerationResponseBody.d.ts +5 -5
- package/dist/models/VideoTranslationRequest.d.ts +36 -6
- package/dist/models/VideoTranslationRequest.js +8 -0
- package/dist/models/VideoTranslationRequest.js.map +1 -1
- package/dist/models/VideoTranslationResponseBody.d.ts +5 -5
- package/dist/models/VideoTranslationShrinkRequest.d.ts +36 -6
- package/dist/models/VideoTranslationShrinkRequest.js +8 -0
- package/dist/models/VideoTranslationShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +110 -0
- package/dist/models/model.js +226 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2660 -580
- package/src/models/DiduiAreaDeductionProRequest.ts +48 -0
- package/src/models/DiduiAreaDeductionProResponse.ts +40 -0
- package/src/models/DiduiAreaDeductionProResponseBody.ts +104 -0
- package/src/models/DocumentTranslateRequest.ts +4 -4
- package/src/models/DocumentTranslateResponseBody.ts +3 -3
- package/src/models/EcomVideoRecreationRequest.ts +26 -16
- package/src/models/EcomVideoRecreationResponseBody.ts +5 -5
- package/src/models/EcomVideoRecreationShrinkRequest.ts +2 -2
- package/src/models/GeneralRephotographyDetectionRequest.ts +36 -0
- package/src/models/GeneralRephotographyDetectionResponse.ts +40 -0
- package/src/models/GeneralRephotographyDetectionResponseBody.ts +259 -0
- package/src/models/ImageMattingAsyncRequest.ts +80 -0
- package/src/models/ImageMattingAsyncResponse.ts +40 -0
- package/src/models/ImageMattingAsyncResponseBody.ts +106 -0
- package/src/models/ImageRecognitionAsyncRequest.ts +134 -0
- package/src/models/ImageRecognitionAsyncResponse.ts +40 -0
- package/src/models/ImageRecognitionAsyncResponseBody.ts +106 -0
- package/src/models/ImageRecognitionAsyncShrinkRequest.ts +128 -0
- package/src/models/ImageRemovalProAsyncRequest.ts +36 -0
- package/src/models/ImageRemovalProAsyncResponse.ts +40 -0
- package/src/models/ImageRemovalProAsyncResponseBody.ts +104 -0
- package/src/models/ImageRemoveAsyncRequest.ts +96 -0
- package/src/models/ImageRemoveAsyncResponse.ts +40 -0
- package/src/models/ImageRemoveAsyncResponseBody.ts +104 -0
- package/src/models/ImageRemoveAsyncShrinkRequest.ts +84 -0
- package/src/models/ImageTranslationPlusAsyncRequest.ts +103 -0
- package/src/models/ImageTranslationPlusAsyncResponse.ts +40 -0
- package/src/models/ImageTranslationPlusAsyncResponseBody.ts +104 -0
- package/src/models/ImageTranslationPlusResponseBody.ts +1 -1
- package/src/models/ImageTranslationProAsyncRequest.ts +103 -0
- package/src/models/ImageTranslationProAsyncResponse.ts +40 -0
- package/src/models/ImageTranslationProAsyncResponseBody.ts +104 -0
- package/src/models/ImageTranslationProRequest.ts +12 -8
- package/src/models/ImageTranslationProResponseBody.ts +4 -2
- package/src/models/ImageTranslationStandardAsyncRequest.ts +100 -0
- package/src/models/ImageTranslationStandardAsyncResponse.ts +40 -0
- package/src/models/ImageTranslationStandardAsyncResponseBody.ts +104 -0
- package/src/models/ImageTranslationStandardRequest.ts +13 -9
- package/src/models/MerchandisePlacementDetectionLiteRequest.ts +36 -0
- package/src/models/MerchandisePlacementDetectionLiteResponse.ts +40 -0
- package/src/models/MerchandisePlacementDetectionLiteResponseBody.ts +367 -0
- package/src/models/MerchandisePlacementDetectionProRequest.ts +56 -0
- package/src/models/MerchandisePlacementDetectionProResponse.ts +40 -0
- package/src/models/MerchandisePlacementDetectionProResponseBody.ts +177 -0
- package/src/models/MerchandisePlacementDetectionRequest.ts +12 -5
- package/src/models/MerchandisePlacementDetectionResponseBody.ts +7 -7
- package/src/models/MerchandisePriceTagDetectionRequest.ts +36 -0
- package/src/models/MerchandisePriceTagDetectionResponse.ts +40 -0
- package/src/models/MerchandisePriceTagDetectionResponseBody.ts +387 -0
- package/src/models/MerchandiseSceneDetectionRequest.ts +36 -0
- package/src/models/MerchandiseSceneDetectionResponse.ts +40 -0
- package/src/models/MerchandiseSceneDetectionResponseBody.ts +397 -0
- package/src/models/MilkPowderCanBottomCodeRephotographyDetectionRequest.ts +36 -0
- package/src/models/MilkPowderCanBottomCodeRephotographyDetectionResponse.ts +40 -0
- package/src/models/MilkPowderCanBottomCodeRephotographyDetectionResponseBody.ts +259 -0
- package/src/models/MilkPowderCartonCodeRephotographyDetectionRequest.ts +36 -0
- package/src/models/MilkPowderCartonCodeRephotographyDetectionResponse.ts +40 -0
- package/src/models/MilkPowderCartonCodeRephotographyDetectionResponseBody.ts +292 -0
- package/src/models/PetHealthAnalysisRequest.ts +48 -0
- package/src/models/PetHealthAnalysisResponse.ts +40 -0
- package/src/models/PetHealthAnalysisResponseBody.ts +85 -0
- package/src/models/PetHealthAnalysisShrinkRequest.ts +45 -0
- package/src/models/SizeChartExtractAsyncRequest.ts +56 -0
- package/src/models/SizeChartExtractAsyncResponse.ts +40 -0
- package/src/models/SizeChartExtractAsyncResponseBody.ts +104 -0
- package/src/models/SizeChartExtractAsyncShrinkRequest.ts +53 -0
- package/src/models/StorefrontSceneRecognitionRequest.ts +36 -0
- package/src/models/StorefrontSceneRecognitionResponse.ts +40 -0
- package/src/models/StorefrontSceneRecognitionResponseBody.ts +297 -0
- package/src/models/TextTranslateAsyncRequest.ts +86 -0
- package/src/models/TextTranslateAsyncResponse.ts +40 -0
- package/src/models/TextTranslateAsyncResponseBody.ts +85 -0
- package/src/models/TextTranslateAsyncShrinkRequest.ts +83 -0
- package/src/models/TextTranslateRequest.ts +13 -13
- package/src/models/TextTranslateResponseBody.ts +1 -1
- package/src/models/TextTranslateShrinkRequest.ts +13 -13
- package/src/models/VideoGenerationRequest.ts +21 -12
- package/src/models/VideoGenerationResponseBody.ts +5 -5
- package/src/models/VideoTranslationRequest.ts +44 -6
- package/src/models/VideoTranslationResponseBody.ts +5 -5
- package/src/models/VideoTranslationShrinkRequest.ts +44 -6
- package/src/models/model.ts +110 -0
package/dist/client.d.ts
CHANGED
|
@@ -355,8 +355,44 @@ export default class Client extends OpenApi {
|
|
|
355
355
|
*/
|
|
356
356
|
diduiAreaDeduction(request: $_model.DiduiAreaDeductionRequest): Promise<$_model.DiduiAreaDeductionResponse>;
|
|
357
357
|
/**
|
|
358
|
-
*
|
|
359
|
-
*
|
|
358
|
+
* Analyzes the floor display area based on product recognition, SKU asset knowledge base, and a dedicated area reasoning model building. The product first locates floor display products, then reads the actual length, width, height, and reference images of the corresponding SKUs to infer the two side lengths and area of the bounding rectangle of the floor display footprint. This is applicable to floor display scale assessment and inspection review in retail stores.
|
|
359
|
+
*
|
|
360
|
+
* @remarks
|
|
361
|
+
* *Scenarios**
|
|
362
|
+
* - Floor display area assessment: Infers the bounding rectangle area of the floor display footprint based on an overall photo of the floor display and the actual dimensions of the products.
|
|
363
|
+
* - Multi-SKU mixed arrangement analysis: Uses the dimensions of each different product to participate in side length inference.
|
|
364
|
+
* - Area result review: Verifies results by combining the original image, product assets, and the returned two side lengths and area.
|
|
365
|
+
* **Features**
|
|
366
|
+
* - SKU asset-driven: Specifies the asset knowledge base through ragId. Each participating product must have a name, positive length, width, and height values, and at least one HTTPS reference image.
|
|
367
|
+
* - Phased area inference: Sequentially forms decision edges, SKU projections, dimension accumulation, and final area.
|
|
368
|
+
* - Unified units: SKU asset dimensions are stored in centimeters. Result side lengths are output in meters and area in square meters.
|
|
369
|
+
* - Completeness and numerical validation: Returns failure when there are missing assets, no valid bounding boxes, or the area does not satisfy product consistency.
|
|
370
|
+
*
|
|
371
|
+
* @param request - DiduiAreaDeductionProRequest
|
|
372
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
373
|
+
* @returns DiduiAreaDeductionProResponse
|
|
374
|
+
*/
|
|
375
|
+
diduiAreaDeductionProWithOptions(request: $_model.DiduiAreaDeductionProRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DiduiAreaDeductionProResponse>;
|
|
376
|
+
/**
|
|
377
|
+
* Analyzes the floor display area based on product recognition, SKU asset knowledge base, and a dedicated area reasoning model building. The product first locates floor display products, then reads the actual length, width, height, and reference images of the corresponding SKUs to infer the two side lengths and area of the bounding rectangle of the floor display footprint. This is applicable to floor display scale assessment and inspection review in retail stores.
|
|
378
|
+
*
|
|
379
|
+
* @remarks
|
|
380
|
+
* *Scenarios**
|
|
381
|
+
* - Floor display area assessment: Infers the bounding rectangle area of the floor display footprint based on an overall photo of the floor display and the actual dimensions of the products.
|
|
382
|
+
* - Multi-SKU mixed arrangement analysis: Uses the dimensions of each different product to participate in side length inference.
|
|
383
|
+
* - Area result review: Verifies results by combining the original image, product assets, and the returned two side lengths and area.
|
|
384
|
+
* **Features**
|
|
385
|
+
* - SKU asset-driven: Specifies the asset knowledge base through ragId. Each participating product must have a name, positive length, width, and height values, and at least one HTTPS reference image.
|
|
386
|
+
* - Phased area inference: Sequentially forms decision edges, SKU projections, dimension accumulation, and final area.
|
|
387
|
+
* - Unified units: SKU asset dimensions are stored in centimeters. Result side lengths are output in meters and area in square meters.
|
|
388
|
+
* - Completeness and numerical validation: Returns failure when there are missing assets, no valid bounding boxes, or the area does not satisfy product consistency.
|
|
389
|
+
*
|
|
390
|
+
* @param request - DiduiAreaDeductionProRequest
|
|
391
|
+
* @returns DiduiAreaDeductionProResponse
|
|
392
|
+
*/
|
|
393
|
+
diduiAreaDeductionPro(request: $_model.DiduiAreaDeductionProRequest): Promise<$_model.DiduiAreaDeductionProResponse>;
|
|
394
|
+
/**
|
|
395
|
+
* Designed specifically for document translation. Supports translation between more than 400 language pairs (including bridged pairs) to handle multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported. Excels in the following areas:
|
|
360
396
|
* - Content accuracy: translation accuracy, parameter and unit accuracy.
|
|
361
397
|
* - Structural integrity: overall layout continuity, page margin and layout restoration.
|
|
362
398
|
*
|
|
@@ -367,13 +403,13 @@ export default class Client extends OpenApi {
|
|
|
367
403
|
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
368
404
|
* - Structural integrity: overall layout continuity, page margin and layout restoration
|
|
369
405
|
* ## Common scenarios
|
|
370
|
-
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks
|
|
406
|
+
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks, courseware, and other scenarios.
|
|
371
407
|
* ## Functions and features
|
|
372
|
-
* - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed language list, see
|
|
373
|
-
* - Supports translation of text within images in documents, as well as complex translation scenarios
|
|
408
|
+
* - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed language list, see [Language pair mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
409
|
+
* - Supports translation of text within images in documents, as well as complex translation scenarios involving charts, special symbols, and more.
|
|
374
410
|
* - Supports high-fidelity layout restoration after translation.
|
|
375
411
|
* - A single PDF supports up to 100 pages. A single Word document supports up to 100 pages.
|
|
376
|
-
* - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for brand name protection and similar scenarios. Simply pass the corresponding
|
|
412
|
+
* - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for brand name protection and similar scenarios. Simply pass the corresponding glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 glossary entries. If you need more, contact the platform for assistance.
|
|
377
413
|
*
|
|
378
414
|
* @param request - DocumentTranslateRequest
|
|
379
415
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -381,8 +417,7 @@ export default class Client extends OpenApi {
|
|
|
381
417
|
*/
|
|
382
418
|
documentTranslateWithOptions(request: $_model.DocumentTranslateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DocumentTranslateResponse>;
|
|
383
419
|
/**
|
|
384
|
-
* Designed specifically for document translation. Supports translation between more than 400 language pairs (including bridged pairs) to handle multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
|
|
385
|
-
* Excels in the following areas:
|
|
420
|
+
* Designed specifically for document translation. Supports translation between more than 400 language pairs (including bridged pairs) to handle multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported. Excels in the following areas:
|
|
386
421
|
* - Content accuracy: translation accuracy, parameter and unit accuracy.
|
|
387
422
|
* - Structural integrity: overall layout continuity, page margin and layout restoration.
|
|
388
423
|
*
|
|
@@ -393,43 +428,58 @@ export default class Client extends OpenApi {
|
|
|
393
428
|
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
394
429
|
* - Structural integrity: overall layout continuity, page margin and layout restoration
|
|
395
430
|
* ## Common scenarios
|
|
396
|
-
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks
|
|
431
|
+
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks, courseware, and other scenarios.
|
|
397
432
|
* ## Functions and features
|
|
398
|
-
* - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed language list, see
|
|
399
|
-
* - Supports translation of text within images in documents, as well as complex translation scenarios
|
|
433
|
+
* - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed language list, see [Language pair mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
434
|
+
* - Supports translation of text within images in documents, as well as complex translation scenarios involving charts, special symbols, and more.
|
|
400
435
|
* - Supports high-fidelity layout restoration after translation.
|
|
401
436
|
* - A single PDF supports up to 100 pages. A single Word document supports up to 100 pages.
|
|
402
|
-
* - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for brand name protection and similar scenarios. Simply pass the corresponding
|
|
437
|
+
* - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for brand name protection and similar scenarios. Simply pass the corresponding glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 glossary entries. If you need more, contact the platform for assistance.
|
|
403
438
|
*
|
|
404
439
|
* @param request - DocumentTranslateRequest
|
|
405
440
|
* @returns DocumentTranslateResponse
|
|
406
441
|
*/
|
|
407
442
|
documentTranslate(request: $_model.DocumentTranslateRequest): Promise<$_model.DocumentTranslateResponse>;
|
|
408
443
|
/**
|
|
409
|
-
*
|
|
444
|
+
* Creates an asynchronous task for e-commerce video variation generation, an AI video service for product content production that covers video understanding, element replacement, quality verification, and result delivery. The service focuses on product and person consistency, detail restoration, conversion expression, and large-scale production. It supports targeted replacement of products or persons based on popular video templates, quickly generating multiple content versions while retaining original actions, camera rhythms, and marketing structures to reduce shooting, editing, and adaptation costs.
|
|
410
445
|
*
|
|
411
446
|
* @remarks
|
|
412
|
-
* ## **Product
|
|
413
|
-
* E-commerce
|
|
447
|
+
* ## **Product introduction**
|
|
448
|
+
* E-commerce video variation generation is an AI video service for product content production that covers video understanding, element replacement, quality verification, and result delivery. The service focuses on product and person consistency, detail restoration, conversion expression, and large-scale production. It supports targeted replacement of products or persons based on popular video templates, quickly generating multiple content versions while retaining original actions, camera rhythms, and marketing structures to reduce shooting, editing, and adaptation costs.
|
|
414
449
|
* ## **Scenarios**
|
|
415
|
-
* - **Video asset
|
|
416
|
-
* - **
|
|
417
|
-
* - **Product
|
|
418
|
-
* - **Multi-selling
|
|
419
|
-
* ## **
|
|
420
|
-
* ### **Core
|
|
421
|
-
*
|
|
422
|
-
*
|
|
423
|
-
*
|
|
424
|
-
*
|
|
425
|
-
*
|
|
426
|
-
*
|
|
427
|
-
*
|
|
428
|
-
*
|
|
429
|
-
*
|
|
430
|
-
*
|
|
431
|
-
*
|
|
432
|
-
*
|
|
450
|
+
* - **Video asset variation generation:** Uses an existing e-commerce video as a template and replaces only specified products or persons in the video, preserving the original camera angles, rhythms, and marketing expressions as much as possible. This is suitable for producing assets with multiple SKUs, models, regions, and versions.
|
|
451
|
+
* - **Quick asset generation for new products:** For newly launched products, this reduces the need for live-action shooting, studio setup, post-production editing, and repetitive production. It quickly deploys video assets for new products, helping merchants shorten the launch cycle from spotting a popular video to breaking down the script and shooting new content.
|
|
452
|
+
* - **Product explanation and selling point expression:** Suitable for products such as apparel, beauty and personal care, food and beverage, home and daily necessities, 3C digital products, and small home appliances. It can replicate the explanation structure, display actions, and camera rhythms based on the selling points of the original video to generate explanation videos tailored for the conversion of new products.
|
|
453
|
+
* - **Multi-selling point and multi-version testing:** Quickly generates multiple versions based on different product selling points, target audiences, scripts, camera angles, and visual styles. This supports merchants in conducting content testing and iterating on delivered assets.
|
|
454
|
+
* ## **Feature overview**
|
|
455
|
+
* ### **Core features**
|
|
456
|
+
* * **Supports two replacement modes:**
|
|
457
|
+
*
|
|
458
|
+
* * **Product replacement (**`product_replacement`**)**: Retains the original video host\\"s identity, actions, scene, and sales structure, and replaces the original product with the target product.
|
|
459
|
+
*
|
|
460
|
+
* * **Person replacement (**`person_replacement`**)**: Retains the original product, actions, scene, and sales structure, and replaces the person on camera with the target person from a reference image or description.
|
|
461
|
+
*
|
|
462
|
+
* * **Supports two generation modes:**
|
|
463
|
+
*
|
|
464
|
+
* * **Reference generation (**`reference`**)**: 1:1 replication. Uses the original video as a complete reference to automatically generate a new video with the same duration as the original video. It retains the original script, storyboard, actions, scene, and rhythm, and only performs targeted replacement of specified content such as persons or products.
|
|
465
|
+
*
|
|
466
|
+
* * **Rebuild generation (**`rebuild`**)**: Breaks down the script, storyboard, and key elements of the original video, retains only core content such as specified persons or products, and then redesigns and generates a new video. It is not limited by the duration of the original video and supports inputting a target duration.
|
|
467
|
+
*
|
|
468
|
+
* * **Fully automated end-to-end generation with zero prompt engineering required**: Only requires the reference video and target product or person images. The system automatically completes the entire process of video understanding, script planning, storyboard design, first-frame generation, and video synthesis.
|
|
469
|
+
*
|
|
470
|
+
* * **Product understanding and information structuring**: Identifies product categories, appearance, materials, colors, structures, and key components, and combines them with the titles, attributes, and selling points provided by the merchant to generate usable video expression information.
|
|
471
|
+
*
|
|
472
|
+
* * **Template video element replacement**: Supports replacing products or persons within the authorized scope, and defines the replacement scope and protection scope to minimize changes in non-target areas.
|
|
473
|
+
*
|
|
474
|
+
* * **Product subject consistency**: Maintains the stability of the product\\"s shape, color, texture, pattern, packaging, and logo as much as possible across different camera angles, perspectives, actions, and scenes.
|
|
475
|
+
*
|
|
476
|
+
* * **Product fidelity**: Multi-round VL quality inspection locks the product state (color, texture, structure, print) throughout the process to prevent product feature drift.
|
|
477
|
+
*
|
|
478
|
+
* * **Selling point script and storyboard replication**: Replicates the selling point planning, video structure, camera sequence, display actions, voiceover content, and ending style based on the original video.
|
|
479
|
+
*
|
|
480
|
+
* * **Commercial model adaptation**: Supports matching the corresponding model image and display method based on the product style, fit, target audience, and market demand.
|
|
481
|
+
*
|
|
482
|
+
* * **Quality verification and result feedback**: Performs multi-dimensional checks on the product subject, person, clothing, text, image integrity, audio, and overall usability, and outputs result information for manual review.
|
|
433
483
|
*
|
|
434
484
|
* @param tmpReq - EcomVideoRecreationRequest
|
|
435
485
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -437,35 +487,87 @@ export default class Client extends OpenApi {
|
|
|
437
487
|
*/
|
|
438
488
|
ecomVideoRecreationWithOptions(tmpReq: $_model.EcomVideoRecreationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EcomVideoRecreationResponse>;
|
|
439
489
|
/**
|
|
440
|
-
*
|
|
490
|
+
* Creates an asynchronous task for e-commerce video variation generation, an AI video service for product content production that covers video understanding, element replacement, quality verification, and result delivery. The service focuses on product and person consistency, detail restoration, conversion expression, and large-scale production. It supports targeted replacement of products or persons based on popular video templates, quickly generating multiple content versions while retaining original actions, camera rhythms, and marketing structures to reduce shooting, editing, and adaptation costs.
|
|
441
491
|
*
|
|
442
492
|
* @remarks
|
|
443
|
-
* ## **Product
|
|
444
|
-
* E-commerce
|
|
493
|
+
* ## **Product introduction**
|
|
494
|
+
* E-commerce video variation generation is an AI video service for product content production that covers video understanding, element replacement, quality verification, and result delivery. The service focuses on product and person consistency, detail restoration, conversion expression, and large-scale production. It supports targeted replacement of products or persons based on popular video templates, quickly generating multiple content versions while retaining original actions, camera rhythms, and marketing structures to reduce shooting, editing, and adaptation costs.
|
|
445
495
|
* ## **Scenarios**
|
|
446
|
-
* - **Video asset
|
|
447
|
-
* - **
|
|
448
|
-
* - **Product
|
|
449
|
-
* - **Multi-selling
|
|
450
|
-
* ## **
|
|
451
|
-
* ### **Core
|
|
452
|
-
*
|
|
453
|
-
*
|
|
454
|
-
*
|
|
455
|
-
*
|
|
456
|
-
*
|
|
457
|
-
*
|
|
458
|
-
*
|
|
459
|
-
*
|
|
460
|
-
*
|
|
461
|
-
*
|
|
462
|
-
*
|
|
463
|
-
*
|
|
496
|
+
* - **Video asset variation generation:** Uses an existing e-commerce video as a template and replaces only specified products or persons in the video, preserving the original camera angles, rhythms, and marketing expressions as much as possible. This is suitable for producing assets with multiple SKUs, models, regions, and versions.
|
|
497
|
+
* - **Quick asset generation for new products:** For newly launched products, this reduces the need for live-action shooting, studio setup, post-production editing, and repetitive production. It quickly deploys video assets for new products, helping merchants shorten the launch cycle from spotting a popular video to breaking down the script and shooting new content.
|
|
498
|
+
* - **Product explanation and selling point expression:** Suitable for products such as apparel, beauty and personal care, food and beverage, home and daily necessities, 3C digital products, and small home appliances. It can replicate the explanation structure, display actions, and camera rhythms based on the selling points of the original video to generate explanation videos tailored for the conversion of new products.
|
|
499
|
+
* - **Multi-selling point and multi-version testing:** Quickly generates multiple versions based on different product selling points, target audiences, scripts, camera angles, and visual styles. This supports merchants in conducting content testing and iterating on delivered assets.
|
|
500
|
+
* ## **Feature overview**
|
|
501
|
+
* ### **Core features**
|
|
502
|
+
* * **Supports two replacement modes:**
|
|
503
|
+
*
|
|
504
|
+
* * **Product replacement (**`product_replacement`**)**: Retains the original video host\\"s identity, actions, scene, and sales structure, and replaces the original product with the target product.
|
|
505
|
+
*
|
|
506
|
+
* * **Person replacement (**`person_replacement`**)**: Retains the original product, actions, scene, and sales structure, and replaces the person on camera with the target person from a reference image or description.
|
|
507
|
+
*
|
|
508
|
+
* * **Supports two generation modes:**
|
|
509
|
+
*
|
|
510
|
+
* * **Reference generation (**`reference`**)**: 1:1 replication. Uses the original video as a complete reference to automatically generate a new video with the same duration as the original video. It retains the original script, storyboard, actions, scene, and rhythm, and only performs targeted replacement of specified content such as persons or products.
|
|
511
|
+
*
|
|
512
|
+
* * **Rebuild generation (**`rebuild`**)**: Breaks down the script, storyboard, and key elements of the original video, retains only core content such as specified persons or products, and then redesigns and generates a new video. It is not limited by the duration of the original video and supports inputting a target duration.
|
|
513
|
+
*
|
|
514
|
+
* * **Fully automated end-to-end generation with zero prompt engineering required**: Only requires the reference video and target product or person images. The system automatically completes the entire process of video understanding, script planning, storyboard design, first-frame generation, and video synthesis.
|
|
515
|
+
*
|
|
516
|
+
* * **Product understanding and information structuring**: Identifies product categories, appearance, materials, colors, structures, and key components, and combines them with the titles, attributes, and selling points provided by the merchant to generate usable video expression information.
|
|
517
|
+
*
|
|
518
|
+
* * **Template video element replacement**: Supports replacing products or persons within the authorized scope, and defines the replacement scope and protection scope to minimize changes in non-target areas.
|
|
519
|
+
*
|
|
520
|
+
* * **Product subject consistency**: Maintains the stability of the product\\"s shape, color, texture, pattern, packaging, and logo as much as possible across different camera angles, perspectives, actions, and scenes.
|
|
521
|
+
*
|
|
522
|
+
* * **Product fidelity**: Multi-round VL quality inspection locks the product state (color, texture, structure, print) throughout the process to prevent product feature drift.
|
|
523
|
+
*
|
|
524
|
+
* * **Selling point script and storyboard replication**: Replicates the selling point planning, video structure, camera sequence, display actions, voiceover content, and ending style based on the original video.
|
|
525
|
+
*
|
|
526
|
+
* * **Commercial model adaptation**: Supports matching the corresponding model image and display method based on the product style, fit, target audience, and market demand.
|
|
527
|
+
*
|
|
528
|
+
* * **Quality verification and result feedback**: Performs multi-dimensional checks on the product subject, person, clothing, text, image integrity, audio, and overall usability, and outputs result information for manual review.
|
|
464
529
|
*
|
|
465
530
|
* @param request - EcomVideoRecreationRequest
|
|
466
531
|
* @returns EcomVideoRecreationResponse
|
|
467
532
|
*/
|
|
468
533
|
ecomVideoRecreation(request: $_model.EcomVideoRecreationRequest): Promise<$_model.EcomVideoRecreationResponse>;
|
|
534
|
+
/**
|
|
535
|
+
* Provides a general-purpose image review service built on recapture recognition and multimodal large model element localization. The service determines whether an image is a recaptured photo and locates primary physical products, screen display areas, printed photos, and visible recapture clues. It is applicable to risk screening and manual review of inspection photos across multiple store categories.
|
|
536
|
+
*
|
|
537
|
+
* @remarks
|
|
538
|
+
* *Scenarios**
|
|
539
|
+
* 1. Inspection photo review: Screens photos submitted by stores for recapture risks.
|
|
540
|
+
* 2. Screen or printed photo recapture verification: Locates visible screens, printed photos, and other carriers.
|
|
541
|
+
* 3. Review clue display: Annotates products and visible clues on the original image to assist re-examination.
|
|
542
|
+
* **Features**
|
|
543
|
+
* 1. General recapture detection: Returns an isFake Boolean result.
|
|
544
|
+
* 2. Review element localization: Distinguishes physical products, screens, printed photos, and visible recapture clues. Products displayed within a screen are not redundantly output as physical products.
|
|
545
|
+
* 3. Separate presentation of clues and conclusions: Localization text describes only visible phenomena. Normal reflections or standard packaging prints are not directly treated as recapture evidence.
|
|
546
|
+
* Supports a single HTTPS image as input. Supplementary localization returns up to 12 targets, each containing a category, a bounding box, and up to 24 characters of visible text. The coverage field indicates whether the localization is complete.
|
|
547
|
+
*
|
|
548
|
+
* @param request - GeneralRephotographyDetectionRequest
|
|
549
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
550
|
+
* @returns GeneralRephotographyDetectionResponse
|
|
551
|
+
*/
|
|
552
|
+
generalRephotographyDetectionWithOptions(request: $_model.GeneralRephotographyDetectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GeneralRephotographyDetectionResponse>;
|
|
553
|
+
/**
|
|
554
|
+
* Provides a general-purpose image review service built on recapture recognition and multimodal large model element localization. The service determines whether an image is a recaptured photo and locates primary physical products, screen display areas, printed photos, and visible recapture clues. It is applicable to risk screening and manual review of inspection photos across multiple store categories.
|
|
555
|
+
*
|
|
556
|
+
* @remarks
|
|
557
|
+
* *Scenarios**
|
|
558
|
+
* 1. Inspection photo review: Screens photos submitted by stores for recapture risks.
|
|
559
|
+
* 2. Screen or printed photo recapture verification: Locates visible screens, printed photos, and other carriers.
|
|
560
|
+
* 3. Review clue display: Annotates products and visible clues on the original image to assist re-examination.
|
|
561
|
+
* **Features**
|
|
562
|
+
* 1. General recapture detection: Returns an isFake Boolean result.
|
|
563
|
+
* 2. Review element localization: Distinguishes physical products, screens, printed photos, and visible recapture clues. Products displayed within a screen are not redundantly output as physical products.
|
|
564
|
+
* 3. Separate presentation of clues and conclusions: Localization text describes only visible phenomena. Normal reflections or standard packaging prints are not directly treated as recapture evidence.
|
|
565
|
+
* Supports a single HTTPS image as input. Supplementary localization returns up to 12 targets, each containing a category, a bounding box, and up to 24 characters of visible text. The coverage field indicates whether the localization is complete.
|
|
566
|
+
*
|
|
567
|
+
* @param request - GeneralRephotographyDetectionRequest
|
|
568
|
+
* @returns GeneralRephotographyDetectionResponse
|
|
569
|
+
*/
|
|
570
|
+
generalRephotographyDetection(request: $_model.GeneralRephotographyDetectionRequest): Promise<$_model.GeneralRephotographyDetectionResponse>;
|
|
469
571
|
/**
|
|
470
572
|
* Intelligently crops images to specified dimensions, automatically identifies the main subject area, and precisely crops to various sizes to meet design requirements across different scenarios. (Synchronous)
|
|
471
573
|
*
|
|
@@ -582,6 +684,67 @@ export default class Client extends OpenApi {
|
|
|
582
684
|
* @returns ImageMattingResponse
|
|
583
685
|
*/
|
|
584
686
|
imageMatting(request: $_model.ImageMattingRequest): Promise<$_model.ImageMattingResponse>;
|
|
687
|
+
/**
|
|
688
|
+
* Extracts the salient subject from an image, separates it from the background, and returns the subject image without the background. It also provides multiple background options and custom size options to optimize product display.
|
|
689
|
+
*
|
|
690
|
+
* @remarks
|
|
691
|
+
* # Scenarios
|
|
692
|
+
* * Supports secondary editing of materials: After the image subject is separated from the background, you can further edit the image.
|
|
693
|
+
*
|
|
694
|
+
* * Improves material processing efficiency: Quickly extracts the subjects from various material images for background replacement, which improves the production efficiency of advertising images and marketing posters.
|
|
695
|
+
* # Features.
|
|
696
|
+
* #### 1. One-click precise subject recognition
|
|
697
|
+
* * **AI-based automatic recognition**: Based on deep learning models, it intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from the background without manual outlining.
|
|
698
|
+
*
|
|
699
|
+
* * **Multi-scenario adaptation**: Supports precise segmentation in complex scenarios (such as hair, transparent objects, and fur edges) with an accuracy rate of over 95%.
|
|
700
|
+
* #### 2. Intelligent edge optimization
|
|
701
|
+
* * **Detail-level processing**: Performs automatic optimization on edge jaggies and semi-transparent areas (such as smoke and glass) to retain natural transition effects.
|
|
702
|
+
* #### 3. Multi-format output and background operations
|
|
703
|
+
* * **Transparent background export**: Directly generates PNG images with transparent or white backgrounds, which adapts to e-commerce and design scenarios.
|
|
704
|
+
*
|
|
705
|
+
* * **Supports custom background colors**
|
|
706
|
+
* # Effect comparison
|
|
707
|
+
* | **Original image (input)** | **Result image (output)** |
|
|
708
|
+
* | --- | --- |
|
|
709
|
+
* |  |  |
|
|
710
|
+
* |  |  |
|
|
711
|
+
* |  |  |
|
|
712
|
+
*
|
|
713
|
+
* @param request - ImageMattingAsyncRequest
|
|
714
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
715
|
+
* @returns ImageMattingAsyncResponse
|
|
716
|
+
*/
|
|
717
|
+
imageMattingAsyncWithOptions(request: $_model.ImageMattingAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageMattingAsyncResponse>;
|
|
718
|
+
/**
|
|
719
|
+
* Extracts the salient subject from an image, separates it from the background, and returns the subject image without the background. It also provides multiple background options and custom size options to optimize product display.
|
|
720
|
+
*
|
|
721
|
+
* @remarks
|
|
722
|
+
* # Scenarios
|
|
723
|
+
* * Supports secondary editing of materials: After the image subject is separated from the background, you can further edit the image.
|
|
724
|
+
*
|
|
725
|
+
* * Improves material processing efficiency: Quickly extracts the subjects from various material images for background replacement, which improves the production efficiency of advertising images and marketing posters.
|
|
726
|
+
* # Features.
|
|
727
|
+
* #### 1. One-click precise subject recognition
|
|
728
|
+
* * **AI-based automatic recognition**: Based on deep learning models, it intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from the background without manual outlining.
|
|
729
|
+
*
|
|
730
|
+
* * **Multi-scenario adaptation**: Supports precise segmentation in complex scenarios (such as hair, transparent objects, and fur edges) with an accuracy rate of over 95%.
|
|
731
|
+
* #### 2. Intelligent edge optimization
|
|
732
|
+
* * **Detail-level processing**: Performs automatic optimization on edge jaggies and semi-transparent areas (such as smoke and glass) to retain natural transition effects.
|
|
733
|
+
* #### 3. Multi-format output and background operations
|
|
734
|
+
* * **Transparent background export**: Directly generates PNG images with transparent or white backgrounds, which adapts to e-commerce and design scenarios.
|
|
735
|
+
*
|
|
736
|
+
* * **Supports custom background colors**
|
|
737
|
+
* # Effect comparison
|
|
738
|
+
* | **Original image (input)** | **Result image (output)** |
|
|
739
|
+
* | --- | --- |
|
|
740
|
+
* |  |  |
|
|
741
|
+
* |  |  |
|
|
742
|
+
* |  |  |
|
|
743
|
+
*
|
|
744
|
+
* @param request - ImageMattingAsyncRequest
|
|
745
|
+
* @returns ImageMattingAsyncResponse
|
|
746
|
+
*/
|
|
747
|
+
imageMattingAsync(request: $_model.ImageMattingAsyncRequest): Promise<$_model.ImageMattingAsyncResponse>;
|
|
585
748
|
/**
|
|
586
749
|
* Intelligent element recognition.
|
|
587
750
|
*
|
|
@@ -733,6 +896,155 @@ export default class Client extends OpenApi {
|
|
|
733
896
|
* @returns ImageRecognitionResponse
|
|
734
897
|
*/
|
|
735
898
|
imageRecognition(request: $_model.ImageRecognitionRequest): Promise<$_model.ImageRecognitionResponse>;
|
|
899
|
+
/**
|
|
900
|
+
* Identifies specific elements in e-commerce images. It analyzes image details to help users quickly identify elements such as text, logos, watermarks, and text-containing color blocks in the main subject and background, significantly improving the efficiency and accuracy of image filtering.
|
|
901
|
+
*
|
|
902
|
+
* @remarks
|
|
903
|
+
* # Scenarios
|
|
904
|
+
* 1. Intelligent image filtering and optimization:
|
|
905
|
+
* Merchants and platforms can use the intelligent element recognition API to filter images and automatically identify images containing specific elements such as watermarks and logos. After filtering, they can further call the intelligent elimination API to optimize these images, improve image quality, and shorten the product release cycle.
|
|
906
|
+
* 2. Automated image processing and efficiency improvement:
|
|
907
|
+
* Through the intelligent element recognition API, merchants and platforms can automate the image processing workflow and automatically identify and mark image elements that need to be optimized. This workflow reduces manual intervention and improves the efficiency of image processing.
|
|
908
|
+
* # Features
|
|
909
|
+
* **1. Definitions of image subject, image background, text, logo, watermark, and text-containing color block: For details, see the relevant examples in the elimination documentation (reserved text link).**
|
|
910
|
+
* * Image subject: The core product area in the image.
|
|
911
|
+
*
|
|
912
|
+
* * Image background: The rest of the image other than the product subject.
|
|
913
|
+
*
|
|
914
|
+
* * Text: Horizontal, vertical, or diagonal English or Chinese text.
|
|
915
|
+
*
|
|
916
|
+
* * Logo: A logo or trademark.
|
|
917
|
+
*
|
|
918
|
+
* * Watermark: Monochrome transparent text, logos, images, URLs, or store names.
|
|
919
|
+
*
|
|
920
|
+
* * Text-containing color block: A color block containing text outside the subject.
|
|
921
|
+
*
|
|
922
|
+
* **2. The main features of the intelligent element recognition API include:**
|
|
923
|
+
* * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
|
|
924
|
+
*
|
|
925
|
+
* * Workflow collaboration: Used in combination with the intelligent elimination API. The intelligent element recognition API first identifies the elements to be removed, and then the intelligent elimination API effectively removes them to ensure the accuracy and efficiency of image processing.
|
|
926
|
+
*
|
|
927
|
+
* **3. Technical advantages:**
|
|
928
|
+
* * Synchronous batch processing: As a synchronous API, the intelligent element recognition API can process a large number of images while maintaining fast response, adapting to business needs of different scales.
|
|
929
|
+
*
|
|
930
|
+
* * Flexibility: Users can select the types of elements to be recognized as needed, including elements in the subject and non-subject areas, such as watermarks, logos, and text, to meet personalized recognition needs.
|
|
931
|
+
* # Effect comparison
|
|
932
|
+
* | **Original image** | **Recognition result** |
|
|
933
|
+
* | --- | --- |
|
|
934
|
+
* |  | [Subject]
|
|
935
|
+
* * Watermark: false
|
|
936
|
+
*
|
|
937
|
+
* * Logo: false
|
|
938
|
+
*
|
|
939
|
+
* * Text: false
|
|
940
|
+
*
|
|
941
|
+
* * Text-containing color block: false
|
|
942
|
+
*
|
|
943
|
+
* [Non-subject]
|
|
944
|
+
* * Watermark: false
|
|
945
|
+
*
|
|
946
|
+
* * Logo: true
|
|
947
|
+
*
|
|
948
|
+
* * Text: true
|
|
949
|
+
*
|
|
950
|
+
* * Text-containing color block: false |
|
|
951
|
+
* |  | [Subject]
|
|
952
|
+
* * Watermark: false
|
|
953
|
+
*
|
|
954
|
+
* * Logo: false
|
|
955
|
+
*
|
|
956
|
+
* * Text: false
|
|
957
|
+
*
|
|
958
|
+
* * Text-containing color block: false
|
|
959
|
+
*
|
|
960
|
+
* [Non-subject]
|
|
961
|
+
* * Watermark: true
|
|
962
|
+
*
|
|
963
|
+
* * Logo: false
|
|
964
|
+
*
|
|
965
|
+
* * Text: true
|
|
966
|
+
*
|
|
967
|
+
* * Text-containing color block: true |
|
|
968
|
+
*
|
|
969
|
+
* @param tmpReq - ImageRecognitionAsyncRequest
|
|
970
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
971
|
+
* @returns ImageRecognitionAsyncResponse
|
|
972
|
+
*/
|
|
973
|
+
imageRecognitionAsyncWithOptions(tmpReq: $_model.ImageRecognitionAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRecognitionAsyncResponse>;
|
|
974
|
+
/**
|
|
975
|
+
* Identifies specific elements in e-commerce images. It analyzes image details to help users quickly identify elements such as text, logos, watermarks, and text-containing color blocks in the main subject and background, significantly improving the efficiency and accuracy of image filtering.
|
|
976
|
+
*
|
|
977
|
+
* @remarks
|
|
978
|
+
* # Scenarios
|
|
979
|
+
* 1. Intelligent image filtering and optimization:
|
|
980
|
+
* Merchants and platforms can use the intelligent element recognition API to filter images and automatically identify images containing specific elements such as watermarks and logos. After filtering, they can further call the intelligent elimination API to optimize these images, improve image quality, and shorten the product release cycle.
|
|
981
|
+
* 2. Automated image processing and efficiency improvement:
|
|
982
|
+
* Through the intelligent element recognition API, merchants and platforms can automate the image processing workflow and automatically identify and mark image elements that need to be optimized. This workflow reduces manual intervention and improves the efficiency of image processing.
|
|
983
|
+
* # Features
|
|
984
|
+
* **1. Definitions of image subject, image background, text, logo, watermark, and text-containing color block: For details, see the relevant examples in the elimination documentation (reserved text link).**
|
|
985
|
+
* * Image subject: The core product area in the image.
|
|
986
|
+
*
|
|
987
|
+
* * Image background: The rest of the image other than the product subject.
|
|
988
|
+
*
|
|
989
|
+
* * Text: Horizontal, vertical, or diagonal English or Chinese text.
|
|
990
|
+
*
|
|
991
|
+
* * Logo: A logo or trademark.
|
|
992
|
+
*
|
|
993
|
+
* * Watermark: Monochrome transparent text, logos, images, URLs, or store names.
|
|
994
|
+
*
|
|
995
|
+
* * Text-containing color block: A color block containing text outside the subject.
|
|
996
|
+
*
|
|
997
|
+
* **2. The main features of the intelligent element recognition API include:**
|
|
998
|
+
* * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
|
|
999
|
+
*
|
|
1000
|
+
* * Workflow collaboration: Used in combination with the intelligent elimination API. The intelligent element recognition API first identifies the elements to be removed, and then the intelligent elimination API effectively removes them to ensure the accuracy and efficiency of image processing.
|
|
1001
|
+
*
|
|
1002
|
+
* **3. Technical advantages:**
|
|
1003
|
+
* * Synchronous batch processing: As a synchronous API, the intelligent element recognition API can process a large number of images while maintaining fast response, adapting to business needs of different scales.
|
|
1004
|
+
*
|
|
1005
|
+
* * Flexibility: Users can select the types of elements to be recognized as needed, including elements in the subject and non-subject areas, such as watermarks, logos, and text, to meet personalized recognition needs.
|
|
1006
|
+
* # Effect comparison
|
|
1007
|
+
* | **Original image** | **Recognition result** |
|
|
1008
|
+
* | --- | --- |
|
|
1009
|
+
* |  | [Subject]
|
|
1010
|
+
* * Watermark: false
|
|
1011
|
+
*
|
|
1012
|
+
* * Logo: false
|
|
1013
|
+
*
|
|
1014
|
+
* * Text: false
|
|
1015
|
+
*
|
|
1016
|
+
* * Text-containing color block: false
|
|
1017
|
+
*
|
|
1018
|
+
* [Non-subject]
|
|
1019
|
+
* * Watermark: false
|
|
1020
|
+
*
|
|
1021
|
+
* * Logo: true
|
|
1022
|
+
*
|
|
1023
|
+
* * Text: true
|
|
1024
|
+
*
|
|
1025
|
+
* * Text-containing color block: false |
|
|
1026
|
+
* |  | [Subject]
|
|
1027
|
+
* * Watermark: false
|
|
1028
|
+
*
|
|
1029
|
+
* * Logo: false
|
|
1030
|
+
*
|
|
1031
|
+
* * Text: false
|
|
1032
|
+
*
|
|
1033
|
+
* * Text-containing color block: false
|
|
1034
|
+
*
|
|
1035
|
+
* [Non-subject]
|
|
1036
|
+
* * Watermark: true
|
|
1037
|
+
*
|
|
1038
|
+
* * Logo: false
|
|
1039
|
+
*
|
|
1040
|
+
* * Text: true
|
|
1041
|
+
*
|
|
1042
|
+
* * Text-containing color block: true |
|
|
1043
|
+
*
|
|
1044
|
+
* @param request - ImageRecognitionAsyncRequest
|
|
1045
|
+
* @returns ImageRecognitionAsyncResponse
|
|
1046
|
+
*/
|
|
1047
|
+
imageRecognitionAsync(request: $_model.ImageRecognitionAsyncRequest): Promise<$_model.ImageRecognitionAsyncResponse>;
|
|
736
1048
|
/**
|
|
737
1049
|
* Intelligently erases unwanted elements from e-commerce images, automatically identifying and removing text, specific names, transparent text blocks, and watermarks. Supports specifying objects to erase as needed, enabling efficient and precise batch processing of images to simplify image editing workflows (synchronous/asynchronous).
|
|
738
1050
|
*
|
|
@@ -796,6 +1108,61 @@ export default class Client extends OpenApi {
|
|
|
796
1108
|
* @returns ImageRemovalProResponse
|
|
797
1109
|
*/
|
|
798
1110
|
imageRemovalPro(request: $_model.ImageRemovalProRequest): Promise<$_model.ImageRemovalProResponse>;
|
|
1111
|
+
/**
|
|
1112
|
+
* Erases text, specific names, transparent text blocks, and watermarks from e-commerce images. This feature automatically identifies these elements and allows you to specify objects to be removed, enabling efficient and accurate processing of large batches of images to simplify image editing.
|
|
1113
|
+
*
|
|
1114
|
+
* @remarks
|
|
1115
|
+
* ## Scenarios
|
|
1116
|
+
* * **Efficient e-commerce image processing:**
|
|
1117
|
+
* Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
|
|
1118
|
+
* * **Multi-platform product information synchronization:**
|
|
1119
|
+
* When merchants list products on different e-commerce platforms, they can quickly remove specific text and watermarks to comply with the image specifications of different platforms.
|
|
1120
|
+
* ## Features
|
|
1121
|
+
* 1. First, clarify the definitions of the image subject and the image background. In actual use, when specifying the objects to be removed, you can choose to remove them from the image subject or the image background. Both API and editor integration methods are supported to meet different types of requirements.
|
|
1122
|
+
*
|
|
1123
|
+
* 1. Image subject: the core product area in the image.
|
|
1124
|
+
*
|
|
1125
|
+
* 2. Image background: the rest of the image other than the product subject.
|
|
1126
|
+
*
|
|
1127
|
+
* 2. Second, the objects to be removed support the following four types: text, specific names, transparent text blocks, and watermarks. You can refer to the following examples to clarify your usage requirements and perform targeted operations:
|
|
1128
|
+
* ## Before and after
|
|
1129
|
+
* | **Original image** | **Erased image** |
|
|
1130
|
+
* | --- | --- |
|
|
1131
|
+
* |  |  |
|
|
1132
|
+
* |  |  |
|
|
1133
|
+
*
|
|
1134
|
+
* @param request - ImageRemovalProAsyncRequest
|
|
1135
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1136
|
+
* @returns ImageRemovalProAsyncResponse
|
|
1137
|
+
*/
|
|
1138
|
+
imageRemovalProAsyncWithOptions(request: $_model.ImageRemovalProAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRemovalProAsyncResponse>;
|
|
1139
|
+
/**
|
|
1140
|
+
* Erases text, specific names, transparent text blocks, and watermarks from e-commerce images. This feature automatically identifies these elements and allows you to specify objects to be removed, enabling efficient and accurate processing of large batches of images to simplify image editing.
|
|
1141
|
+
*
|
|
1142
|
+
* @remarks
|
|
1143
|
+
* ## Scenarios
|
|
1144
|
+
* * **Efficient e-commerce image processing:**
|
|
1145
|
+
* Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
|
|
1146
|
+
* * **Multi-platform product information synchronization:**
|
|
1147
|
+
* When merchants list products on different e-commerce platforms, they can quickly remove specific text and watermarks to comply with the image specifications of different platforms.
|
|
1148
|
+
* ## Features
|
|
1149
|
+
* 1. First, clarify the definitions of the image subject and the image background. In actual use, when specifying the objects to be removed, you can choose to remove them from the image subject or the image background. Both API and editor integration methods are supported to meet different types of requirements.
|
|
1150
|
+
*
|
|
1151
|
+
* 1. Image subject: the core product area in the image.
|
|
1152
|
+
*
|
|
1153
|
+
* 2. Image background: the rest of the image other than the product subject.
|
|
1154
|
+
*
|
|
1155
|
+
* 2. Second, the objects to be removed support the following four types: text, specific names, transparent text blocks, and watermarks. You can refer to the following examples to clarify your usage requirements and perform targeted operations:
|
|
1156
|
+
* ## Before and after
|
|
1157
|
+
* | **Original image** | **Erased image** |
|
|
1158
|
+
* | --- | --- |
|
|
1159
|
+
* |  |  |
|
|
1160
|
+
* |  |  |
|
|
1161
|
+
*
|
|
1162
|
+
* @param request - ImageRemovalProAsyncRequest
|
|
1163
|
+
* @returns ImageRemovalProAsyncResponse
|
|
1164
|
+
*/
|
|
1165
|
+
imageRemovalProAsync(request: $_model.ImageRemovalProAsyncRequest): Promise<$_model.ImageRemovalProAsyncResponse>;
|
|
799
1166
|
/**
|
|
800
1167
|
* Intelligently removes unwanted elements from e-commerce images. This product automatically identifies and removes text, specific names, transparent text blocks, and image blemishes from e-commerce images. You can specify objects to remove as needed, enabling efficient and precise batch processing of large volumes of images and simplifying image editing workflows. (Synchronous)
|
|
801
1168
|
*
|
|
@@ -980,56 +1347,229 @@ export default class Client extends OpenApi {
|
|
|
980
1347
|
*/
|
|
981
1348
|
imageRemove(request: $_model.ImageRemoveRequest): Promise<$_model.ImageRemoveResponse>;
|
|
982
1349
|
/**
|
|
983
|
-
*
|
|
1350
|
+
* Provides intelligent image erasure tailored for e-commerce images by automatically identifying and removing text, specific names, transparent text blocks, and unwanted overlays, and allows you to specify objects to remove for efficient and accurate batch processing to simplify image editing.
|
|
984
1351
|
*
|
|
985
1352
|
* @remarks
|
|
986
|
-
* ## Product Introduction
|
|
987
|
-
* Image Translation PLUS is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and delivers superior translation accuracy for multiple minority languages compared to the Image Translation Lite and Pro editions. We recommend using it for the following 8 language pairs, with more language pairs to be supported in the future.
|
|
988
|
-
* Supported language pairs:
|
|
989
|
-
* | **Ordinal number** | **Source language** | | **Target language** | |
|
|
990
|
-
* | --- | --- | --- | --- | --- |
|
|
991
|
-
* | | Language code | Language name | Language code | Language name |
|
|
992
|
-
* | 1 | en | English | ar | Arabic |
|
|
993
|
-
* | 2 | en | English | id | Indonesian |
|
|
994
|
-
* | 3 | en | English | th | Thai |
|
|
995
|
-
* | 4 | en | English | ko | Korean |
|
|
996
|
-
* | 5 | en | English | ja | Japanese |
|
|
997
|
-
* | 6 | en | English | vi | Vietnamese |
|
|
998
|
-
* | 7 | en | English | ru | Russian |
|
|
999
|
-
* | 8 | en | English | tl | Filipino |
|
|
1000
|
-
* | 9 | en | English | es | Spanish |
|
|
1001
|
-
* | 10 | en | English | fr | French |
|
|
1002
|
-
* | 11 | en | English | de | German |
|
|
1003
|
-
* | 12 | en | English | pl | Polish |
|
|
1004
1353
|
* ## Scenarios
|
|
1005
|
-
*
|
|
1354
|
+
* * **Efficient processing of e-commerce images:**
|
|
1355
|
+
* Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
|
|
1356
|
+
* * **Multi-platform product information synchronization:**
|
|
1357
|
+
* When merchants synchronize product listings across different e-commerce platforms, they can quickly remove specific text and watermarks to comply with the image specifications of different platforms.
|
|
1358
|
+
* * **Marketing material preparation:**
|
|
1359
|
+
* Merchants can easily remove original promotional information and quickly update it with the latest campaign information.
|
|
1360
|
+
* > Note: Merchants or platforms can batch remove unwanted elements in images to optimize image quality. We recommend using this feature in combination with the "Intelligent Recognition API" (coming soon) to first filter out images containing text, specific names, transparent text blocks, and watermarks, and then use the "Intelligent Erasure API" for batch removal. The Intelligent Recognition API focuses on "recognition", while the Intelligent Erasure API focuses on "erasure". By calling them in sequence, you can maximize the erasure effect and reduce "false removals" and "false recognitions".
|
|
1006
1361
|
* ## Features
|
|
1007
|
-
*
|
|
1362
|
+
* 1. First, clarify the definitions of the image subject and the image background. In actual use, when specifying the objects to remove, you can choose whether the removal scope is the image subject or the image background area. Both API and editor integration methods are supported to meet different types of needs.
|
|
1008
1363
|
*
|
|
1009
|
-
*
|
|
1364
|
+
* 1. Image subject: the core product area in the image.
|
|
1010
1365
|
*
|
|
1011
|
-
*
|
|
1366
|
+
* 2. Image background: the rest of the image other than the product subject.
|
|
1012
1367
|
*
|
|
1013
|
-
*
|
|
1014
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
1015
|
-
* @returns ImageTranslationPlusResponse
|
|
1016
|
-
*/
|
|
1017
|
-
imageTranslationPlusWithOptions(request: $_model.ImageTranslationPlusRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationPlusResponse>;
|
|
1018
|
-
/**
|
|
1019
|
-
* The Image Translation PLUS edition is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and delivers superior translation accuracy for multiple minority languages compared to the Image Translation Lite and Pro editions. Use this edition for the following 8 language directions. More language directions will be supported in the future.
|
|
1368
|
+
* 2. Second, the objects to remove support the following three cases:
|
|
1020
1369
|
*
|
|
1021
|
-
*
|
|
1022
|
-
*
|
|
1023
|
-
*
|
|
1024
|
-
*
|
|
1025
|
-
*
|
|
1026
|
-
*
|
|
1027
|
-
*
|
|
1028
|
-
*
|
|
1029
|
-
* |
|
|
1030
|
-
* |
|
|
1031
|
-
* |
|
|
1032
|
-
*
|
|
1370
|
+
* 1. The user selects only the type. You can select text, specific names, transparent text blocks, and watermarks. You can clarify your usage requirements through the following examples for targeted operations.
|
|
1371
|
+
*
|
|
1372
|
+
* 2. (Upgraded) Provides specified image erasure. Users can specify multiple images at a time.
|
|
1373
|
+
*
|
|
1374
|
+
* 3. (Upgraded) Provides specified text erasure. Users can specify multiple texts at a time.
|
|
1375
|
+
*
|
|
1376
|
+
* Processing flow: The user provides the original image URL → OCR and VLM models detect the text or image position → The coordinates of the area to be repaired are determined → AI repairs and generates a clean image → The result image URL is returned.
|
|
1377
|
+
* ## Effect comparison
|
|
1378
|
+
* | **Objects that can be removed from the image** | **Original image** | **Image after erasure** |
|
|
1379
|
+
* | --- | --- | --- |
|
|
1380
|
+
* | Text | * Involves the image subject area
|
|
1381
|
+
*
|
|
1382
|
+
* 
|
|
1383
|
+
*
|
|
1384
|
+
* * Does not involve the image subject area
|
|
1385
|
+
*
|
|
1386
|
+
*  | * Involves the image subject area
|
|
1387
|
+
*
|
|
1388
|
+
* 
|
|
1389
|
+
* * Does not involve the image subject area
|
|
1390
|
+
*
|
|
1391
|
+
*  |
|
|
1392
|
+
* | Specific names | * Involves the image subject area
|
|
1393
|
+
*
|
|
1394
|
+
* 
|
|
1395
|
+
*
|
|
1396
|
+
* * Does not involve the image subject area
|
|
1397
|
+
*
|
|
1398
|
+
*  | * Involves the image subject area
|
|
1399
|
+
*
|
|
1400
|
+
* 
|
|
1401
|
+
* * Does not involve the image subject area
|
|
1402
|
+
*
|
|
1403
|
+
*  |
|
|
1404
|
+
* | Transparent text blocks | * Involves the image subject area
|
|
1405
|
+
*
|
|
1406
|
+
* 
|
|
1407
|
+
*
|
|
1408
|
+
* * Does not involve the image subject area
|
|
1409
|
+
*
|
|
1410
|
+
*  | * Involves the image subject area
|
|
1411
|
+
*
|
|
1412
|
+
* 
|
|
1413
|
+
* * Does not involve the image subject area
|
|
1414
|
+
*
|
|
1415
|
+
*  |
|
|
1416
|
+
* | Watermarks | * Involves the image subject area
|
|
1417
|
+
*
|
|
1418
|
+
* 
|
|
1419
|
+
*
|
|
1420
|
+
* * Does not involve the image subject area
|
|
1421
|
+
*
|
|
1422
|
+
*  | * Involves the image subject area
|
|
1423
|
+
*
|
|
1424
|
+
* 
|
|
1425
|
+
* * Does not involve the image subject area
|
|
1426
|
+
*
|
|
1427
|
+
*  |
|
|
1428
|
+
* | Specified image element erasure (supports multiple image links) |  |  |
|
|
1429
|
+
* | Specified text erasure (supports multiple texts) |  |  |
|
|
1430
|
+
*
|
|
1431
|
+
* @param tmpReq - ImageRemoveAsyncRequest
|
|
1432
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1433
|
+
* @returns ImageRemoveAsyncResponse
|
|
1434
|
+
*/
|
|
1435
|
+
imageRemoveAsyncWithOptions(tmpReq: $_model.ImageRemoveAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRemoveAsyncResponse>;
|
|
1436
|
+
/**
|
|
1437
|
+
* Provides intelligent image erasure tailored for e-commerce images by automatically identifying and removing text, specific names, transparent text blocks, and unwanted overlays, and allows you to specify objects to remove for efficient and accurate batch processing to simplify image editing.
|
|
1438
|
+
*
|
|
1439
|
+
* @remarks
|
|
1440
|
+
* ## Scenarios
|
|
1441
|
+
* * **Efficient processing of e-commerce images:**
|
|
1442
|
+
* Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
|
|
1443
|
+
* * **Multi-platform product information synchronization:**
|
|
1444
|
+
* When merchants synchronize product listings across different e-commerce platforms, they can quickly remove specific text and watermarks to comply with the image specifications of different platforms.
|
|
1445
|
+
* * **Marketing material preparation:**
|
|
1446
|
+
* Merchants can easily remove original promotional information and quickly update it with the latest campaign information.
|
|
1447
|
+
* > Note: Merchants or platforms can batch remove unwanted elements in images to optimize image quality. We recommend using this feature in combination with the "Intelligent Recognition API" (coming soon) to first filter out images containing text, specific names, transparent text blocks, and watermarks, and then use the "Intelligent Erasure API" for batch removal. The Intelligent Recognition API focuses on "recognition", while the Intelligent Erasure API focuses on "erasure". By calling them in sequence, you can maximize the erasure effect and reduce "false removals" and "false recognitions".
|
|
1448
|
+
* ## Features
|
|
1449
|
+
* 1. First, clarify the definitions of the image subject and the image background. In actual use, when specifying the objects to remove, you can choose whether the removal scope is the image subject or the image background area. Both API and editor integration methods are supported to meet different types of needs.
|
|
1450
|
+
*
|
|
1451
|
+
* 1. Image subject: the core product area in the image.
|
|
1452
|
+
*
|
|
1453
|
+
* 2. Image background: the rest of the image other than the product subject.
|
|
1454
|
+
*
|
|
1455
|
+
* 2. Second, the objects to remove support the following three cases:
|
|
1456
|
+
*
|
|
1457
|
+
* 1. The user selects only the type. You can select text, specific names, transparent text blocks, and watermarks. You can clarify your usage requirements through the following examples for targeted operations.
|
|
1458
|
+
*
|
|
1459
|
+
* 2. (Upgraded) Provides specified image erasure. Users can specify multiple images at a time.
|
|
1460
|
+
*
|
|
1461
|
+
* 3. (Upgraded) Provides specified text erasure. Users can specify multiple texts at a time.
|
|
1462
|
+
*
|
|
1463
|
+
* Processing flow: The user provides the original image URL → OCR and VLM models detect the text or image position → The coordinates of the area to be repaired are determined → AI repairs and generates a clean image → The result image URL is returned.
|
|
1464
|
+
* ## Effect comparison
|
|
1465
|
+
* | **Objects that can be removed from the image** | **Original image** | **Image after erasure** |
|
|
1466
|
+
* | --- | --- | --- |
|
|
1467
|
+
* | Text | * Involves the image subject area
|
|
1468
|
+
*
|
|
1469
|
+
* 
|
|
1470
|
+
*
|
|
1471
|
+
* * Does not involve the image subject area
|
|
1472
|
+
*
|
|
1473
|
+
*  | * Involves the image subject area
|
|
1474
|
+
*
|
|
1475
|
+
* 
|
|
1476
|
+
* * Does not involve the image subject area
|
|
1477
|
+
*
|
|
1478
|
+
*  |
|
|
1479
|
+
* | Specific names | * Involves the image subject area
|
|
1480
|
+
*
|
|
1481
|
+
* 
|
|
1482
|
+
*
|
|
1483
|
+
* * Does not involve the image subject area
|
|
1484
|
+
*
|
|
1485
|
+
*  | * Involves the image subject area
|
|
1486
|
+
*
|
|
1487
|
+
* 
|
|
1488
|
+
* * Does not involve the image subject area
|
|
1489
|
+
*
|
|
1490
|
+
*  |
|
|
1491
|
+
* | Transparent text blocks | * Involves the image subject area
|
|
1492
|
+
*
|
|
1493
|
+
* 
|
|
1494
|
+
*
|
|
1495
|
+
* * Does not involve the image subject area
|
|
1496
|
+
*
|
|
1497
|
+
*  | * Involves the image subject area
|
|
1498
|
+
*
|
|
1499
|
+
* 
|
|
1500
|
+
* * Does not involve the image subject area
|
|
1501
|
+
*
|
|
1502
|
+
*  |
|
|
1503
|
+
* | Watermarks | * Involves the image subject area
|
|
1504
|
+
*
|
|
1505
|
+
* 
|
|
1506
|
+
*
|
|
1507
|
+
* * Does not involve the image subject area
|
|
1508
|
+
*
|
|
1509
|
+
*  | * Involves the image subject area
|
|
1510
|
+
*
|
|
1511
|
+
* 
|
|
1512
|
+
* * Does not involve the image subject area
|
|
1513
|
+
*
|
|
1514
|
+
*  |
|
|
1515
|
+
* | Specified image element erasure (supports multiple image links) |  |  |
|
|
1516
|
+
* | Specified text erasure (supports multiple texts) |  |  |
|
|
1517
|
+
*
|
|
1518
|
+
* @param request - ImageRemoveAsyncRequest
|
|
1519
|
+
* @returns ImageRemoveAsyncResponse
|
|
1520
|
+
*/
|
|
1521
|
+
imageRemoveAsync(request: $_model.ImageRemoveAsyncRequest): Promise<$_model.ImageRemoveAsyncResponse>;
|
|
1522
|
+
/**
|
|
1523
|
+
* Image Translation PLUS is designed specifically for e-commerce images and uses a Mixture of Experts (MOE) architecture. Compared to the Image Translation Lite and Pro editions, it delivers superior translation accuracy for multiple minority languages. We recommend using it for the following 12 language pairs, with more language pairs to be supported in the future.
|
|
1524
|
+
*
|
|
1525
|
+
* @remarks
|
|
1526
|
+
* ## Product Introduction
|
|
1527
|
+
* Image Translation PLUS is designed specifically for e-commerce images and uses a Mixture of Experts (MOE) architecture. Compared to the Image Translation Lite and Pro editions, it delivers superior translation accuracy for multiple minority languages. Use it for the following 12 language pairs. More language pairs will be supported in the future.
|
|
1528
|
+
* Supported language pairs:
|
|
1529
|
+
* | **No.** | **Source language** | | **Target language** | |
|
|
1530
|
+
* | --- | --- | --- | --- | --- |
|
|
1531
|
+
* | | Language code | Language name | Language code | Language name |
|
|
1532
|
+
* | 1 | en | English | ar | Arabic |
|
|
1533
|
+
* | 2 | en | English | id | Indonesian |
|
|
1534
|
+
* | 3 | en | English | th | Thai |
|
|
1535
|
+
* | 4 | en | English | ko | Korean |
|
|
1536
|
+
* | 5 | en | English | ja | Japanese |
|
|
1537
|
+
* | 6 | en | English | vi | Vietnamese |
|
|
1538
|
+
* | 7 | en | English | ru | Russian |
|
|
1539
|
+
* | 8 | en | English | tl | Filipino |
|
|
1540
|
+
* | 9 | en | English | es | Spanish |
|
|
1541
|
+
* | 10 | en | English | fr | French |
|
|
1542
|
+
* | 11 | en | English | de | German |
|
|
1543
|
+
* | 12 | en | English | pl | Polish |
|
|
1544
|
+
* ## Scenarios
|
|
1545
|
+
* Main product images and detail images for cross-border e-commerce.
|
|
1546
|
+
* ## Features
|
|
1547
|
+
* * **Product body information protection**: Allows you to choose whether to translate text on the product body. This helps protect body information such as embedded product names from being translated.
|
|
1548
|
+
*
|
|
1549
|
+
* * **Brand name protection**: Allows you to choose whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
1550
|
+
*
|
|
1551
|
+
* * **Translation intervention**: Allows you to customize translation results, including keeping text untranslated (ABC→ABC), specifying a translation (ABC→DEF), or removing text (ABC→empty value). This is commonly used for brand name protection and similar scenarios. Pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1552
|
+
*
|
|
1553
|
+
* @param request - ImageTranslationPlusRequest
|
|
1554
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1555
|
+
* @returns ImageTranslationPlusResponse
|
|
1556
|
+
*/
|
|
1557
|
+
imageTranslationPlusWithOptions(request: $_model.ImageTranslationPlusRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationPlusResponse>;
|
|
1558
|
+
/**
|
|
1559
|
+
* Image Translation PLUS is designed specifically for e-commerce images and uses a Mixture of Experts (MOE) architecture. Compared to the Image Translation Lite and Pro editions, it delivers superior translation accuracy for multiple minority languages. We recommend using it for the following 12 language pairs, with more language pairs to be supported in the future.
|
|
1560
|
+
*
|
|
1561
|
+
* @remarks
|
|
1562
|
+
* ## Product Introduction
|
|
1563
|
+
* Image Translation PLUS is designed specifically for e-commerce images and uses a Mixture of Experts (MOE) architecture. Compared to the Image Translation Lite and Pro editions, it delivers superior translation accuracy for multiple minority languages. Use it for the following 12 language pairs. More language pairs will be supported in the future.
|
|
1564
|
+
* Supported language pairs:
|
|
1565
|
+
* | **No.** | **Source language** | | **Target language** | |
|
|
1566
|
+
* | --- | --- | --- | --- | --- |
|
|
1567
|
+
* | | Language code | Language name | Language code | Language name |
|
|
1568
|
+
* | 1 | en | English | ar | Arabic |
|
|
1569
|
+
* | 2 | en | English | id | Indonesian |
|
|
1570
|
+
* | 3 | en | English | th | Thai |
|
|
1571
|
+
* | 4 | en | English | ko | Korean |
|
|
1572
|
+
* | 5 | en | English | ja | Japanese |
|
|
1033
1573
|
* | 6 | en | English | vi | Vietnamese |
|
|
1034
1574
|
* | 7 | en | English | ru | Russian |
|
|
1035
1575
|
* | 8 | en | English | tl | Filipino |
|
|
@@ -1044,25 +1584,98 @@ export default class Client extends OpenApi {
|
|
|
1044
1584
|
*
|
|
1045
1585
|
* * **Brand name protection**: Allows you to choose whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
1046
1586
|
*
|
|
1047
|
-
* * **Translation intervention**: Allows you to customize translation results, including keeping text untranslated (ABC
|
|
1587
|
+
* * **Translation intervention**: Allows you to customize translation results, including keeping text untranslated (ABC→ABC), specifying a translation (ABC→DEF), or removing text (ABC→empty value). This is commonly used for brand name protection and similar scenarios. Pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1048
1588
|
*
|
|
1049
1589
|
* @param request - ImageTranslationPlusRequest
|
|
1050
1590
|
* @returns ImageTranslationPlusResponse
|
|
1051
1591
|
*/
|
|
1052
1592
|
imageTranslationPlus(request: $_model.ImageTranslationPlusRequest): Promise<$_model.ImageTranslationPlusResponse>;
|
|
1053
1593
|
/**
|
|
1054
|
-
*
|
|
1594
|
+
* Translates e-commerce images by using the Mixture of Experts (MOE) architecture, delivering higher translation accuracy for multiple minor languages than the Lite and Pro editions.
|
|
1595
|
+
*
|
|
1596
|
+
* @remarks
|
|
1597
|
+
* ## Scenarios
|
|
1598
|
+
* Main images and detail images for cross-border e-commerce.
|
|
1599
|
+
* ## Features
|
|
1600
|
+
* * **Product subject information protection**: Allows you to specify whether to translate the text on the product subject. This helps you protect subject information, such as embedded product names, from being translated.
|
|
1601
|
+
*
|
|
1602
|
+
* * **Brand name protection**: Allows you to specify whether to translate brand names in the image. This helps you protect brand name information from being translated.
|
|
1603
|
+
*
|
|
1604
|
+
* * **Translation intervention**: Allows you to customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF), or omitting the translation (ABC-null). This is commonly used in scenarios such as brand word protection. You can implement this by passing the corresponding intervention glossary ID when calling the API, which meets your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention words. If you need more, contact the platform for processing.
|
|
1605
|
+
* ## Supported language pairs
|
|
1606
|
+
* | **No.** | **Source language** | | **Target language** | |
|
|
1607
|
+
* | --- | --- | --- | --- | --- |
|
|
1608
|
+
* | | Language code | Language name | Language code | Language name |
|
|
1609
|
+
* | 1 | en | English | ar | Arabic |
|
|
1610
|
+
* | 2 | en | English | id | Indonesian |
|
|
1611
|
+
* | 3 | en | English | th | Thai |
|
|
1612
|
+
* | 4 | en | English | ko | Korean |
|
|
1613
|
+
* | 5 | en | English | ja | Japanese |
|
|
1614
|
+
* | 6 | en | English | vi | Vietnamese |
|
|
1615
|
+
* | 7 | en | English | ru | Russian |
|
|
1616
|
+
* | 8 | en | English | tl | Filipino |
|
|
1617
|
+
* | 9 | en | English | es | Spanish |
|
|
1618
|
+
* | 10 | en | English | fr | French |
|
|
1619
|
+
* | 11 | en | English | de | German |
|
|
1620
|
+
* | 12 | en | English | pl | Polish |
|
|
1621
|
+
* ## Preparations and call process
|
|
1622
|
+
* The asynchronous API for Image Translation Plus and other capabilities share the same result retrieval process, RocketMQ subscription rules, message encryption protocol, dependency configurations, and Java consumption and decryption code.
|
|
1623
|
+
* For the asynchronous call process, subscription rules, message format and encryption protocol, and detailed integration solutions, refer to [Asynchronous API call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
|
|
1624
|
+
*
|
|
1625
|
+
* @param request - ImageTranslationPlusAsyncRequest
|
|
1626
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1627
|
+
* @returns ImageTranslationPlusAsyncResponse
|
|
1628
|
+
*/
|
|
1629
|
+
imageTranslationPlusAsyncWithOptions(request: $_model.ImageTranslationPlusAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationPlusAsyncResponse>;
|
|
1630
|
+
/**
|
|
1631
|
+
* Translates e-commerce images by using the Mixture of Experts (MOE) architecture, delivering higher translation accuracy for multiple minor languages than the Lite and Pro editions.
|
|
1632
|
+
*
|
|
1633
|
+
* @remarks
|
|
1634
|
+
* ## Scenarios
|
|
1635
|
+
* Main images and detail images for cross-border e-commerce.
|
|
1636
|
+
* ## Features
|
|
1637
|
+
* * **Product subject information protection**: Allows you to specify whether to translate the text on the product subject. This helps you protect subject information, such as embedded product names, from being translated.
|
|
1638
|
+
*
|
|
1639
|
+
* * **Brand name protection**: Allows you to specify whether to translate brand names in the image. This helps you protect brand name information from being translated.
|
|
1640
|
+
*
|
|
1641
|
+
* * **Translation intervention**: Allows you to customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF), or omitting the translation (ABC-null). This is commonly used in scenarios such as brand word protection. You can implement this by passing the corresponding intervention glossary ID when calling the API, which meets your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention words. If you need more, contact the platform for processing.
|
|
1642
|
+
* ## Supported language pairs
|
|
1643
|
+
* | **No.** | **Source language** | | **Target language** | |
|
|
1644
|
+
* | --- | --- | --- | --- | --- |
|
|
1645
|
+
* | | Language code | Language name | Language code | Language name |
|
|
1646
|
+
* | 1 | en | English | ar | Arabic |
|
|
1647
|
+
* | 2 | en | English | id | Indonesian |
|
|
1648
|
+
* | 3 | en | English | th | Thai |
|
|
1649
|
+
* | 4 | en | English | ko | Korean |
|
|
1650
|
+
* | 5 | en | English | ja | Japanese |
|
|
1651
|
+
* | 6 | en | English | vi | Vietnamese |
|
|
1652
|
+
* | 7 | en | English | ru | Russian |
|
|
1653
|
+
* | 8 | en | English | tl | Filipino |
|
|
1654
|
+
* | 9 | en | English | es | Spanish |
|
|
1655
|
+
* | 10 | en | English | fr | French |
|
|
1656
|
+
* | 11 | en | English | de | German |
|
|
1657
|
+
* | 12 | en | English | pl | Polish |
|
|
1658
|
+
* ## Preparations and call process
|
|
1659
|
+
* The asynchronous API for Image Translation Plus and other capabilities share the same result retrieval process, RocketMQ subscription rules, message encryption protocol, dependency configurations, and Java consumption and decryption code.
|
|
1660
|
+
* For the asynchronous call process, subscription rules, message format and encryption protocol, and detailed integration solutions, refer to [Asynchronous API call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
|
|
1661
|
+
*
|
|
1662
|
+
* @param request - ImageTranslationPlusAsyncRequest
|
|
1663
|
+
* @returns ImageTranslationPlusAsyncResponse
|
|
1664
|
+
*/
|
|
1665
|
+
imageTranslationPlusAsync(request: $_model.ImageTranslationPlusAsyncRequest): Promise<$_model.ImageTranslationPlusAsyncResponse>;
|
|
1666
|
+
/**
|
|
1667
|
+
* Translates images using the Pro edition, which is designed for e-commerce images. This edition integrates multimodal foundation model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. More than 400 language directions are supported, including bridged directions.
|
|
1055
1668
|
*
|
|
1056
1669
|
* @remarks
|
|
1057
1670
|
* ## Product Introduction
|
|
1058
|
-
* Image Translation Pro is designed for e-commerce images. It integrates multimodal
|
|
1671
|
+
* The Image Translation Pro edition is designed for e-commerce images. It integrates multimodal foundation model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. More than 400 language directions are supported, including bridged directions.
|
|
1059
1672
|
* ## Scenarios
|
|
1060
1673
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1061
|
-
* ##
|
|
1062
|
-
* - **Product subject protection**:
|
|
1063
|
-
* - **Post-translation editing**:
|
|
1064
|
-
* - **Brand name protection**:
|
|
1065
|
-
* - **Translation intervention**:
|
|
1674
|
+
* ## Functions and features
|
|
1675
|
+
* - **Product subject information protection**: You can choose whether to translate text on the product subject, which helps protect subject information such as embedded product names from being translated.
|
|
1676
|
+
* - **Post-translation editing**: You can choose whether to return layout information such as text position, font, and color. This information can be used for secondary editing when integrated with an image editor. The editor SDK package is not yet available. Follow platform notifications for updates.
|
|
1677
|
+
* - **Brand name protection**: You can choose whether to translate brand names on images, which helps protect brand name information from being translated.
|
|
1678
|
+
* - **Translation intervention**: You can customize translation results, including keeping text untranslated (ABC→ABC), specifying translations (ABC→DEF), or removing text (ABC→empty value). This is commonly used for brand name protection and similar scenarios. Pass the corresponding intervention glossary ID when calling the API. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1066
1679
|
* - <props="china"> **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1067
1680
|
*
|
|
1068
1681
|
* @param request - ImageTranslationProRequest
|
|
@@ -1071,18 +1684,18 @@ export default class Client extends OpenApi {
|
|
|
1071
1684
|
*/
|
|
1072
1685
|
imageTranslationProWithOptions(request: $_model.ImageTranslationProRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationProResponse>;
|
|
1073
1686
|
/**
|
|
1074
|
-
*
|
|
1687
|
+
* Translates images using the Pro edition, which is designed for e-commerce images. This edition integrates multimodal foundation model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. More than 400 language directions are supported, including bridged directions.
|
|
1075
1688
|
*
|
|
1076
1689
|
* @remarks
|
|
1077
1690
|
* ## Product Introduction
|
|
1078
|
-
* Image Translation Pro is designed for e-commerce images. It integrates multimodal
|
|
1691
|
+
* The Image Translation Pro edition is designed for e-commerce images. It integrates multimodal foundation model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. More than 400 language directions are supported, including bridged directions.
|
|
1079
1692
|
* ## Scenarios
|
|
1080
1693
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1081
|
-
* ##
|
|
1082
|
-
* - **Product subject protection**:
|
|
1083
|
-
* - **Post-translation editing**:
|
|
1084
|
-
* - **Brand name protection**:
|
|
1085
|
-
* - **Translation intervention**:
|
|
1694
|
+
* ## Functions and features
|
|
1695
|
+
* - **Product subject information protection**: You can choose whether to translate text on the product subject, which helps protect subject information such as embedded product names from being translated.
|
|
1696
|
+
* - **Post-translation editing**: You can choose whether to return layout information such as text position, font, and color. This information can be used for secondary editing when integrated with an image editor. The editor SDK package is not yet available. Follow platform notifications for updates.
|
|
1697
|
+
* - **Brand name protection**: You can choose whether to translate brand names on images, which helps protect brand name information from being translated.
|
|
1698
|
+
* - **Translation intervention**: You can customize translation results, including keeping text untranslated (ABC→ABC), specifying translations (ABC→DEF), or removing text (ABC→empty value). This is commonly used for brand name protection and similar scenarios. Pass the corresponding intervention glossary ID when calling the API. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1086
1699
|
* - <props="china"> **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1087
1700
|
*
|
|
1088
1701
|
* @param request - ImageTranslationProRequest
|
|
@@ -1090,22 +1703,69 @@ export default class Client extends OpenApi {
|
|
|
1090
1703
|
*/
|
|
1091
1704
|
imageTranslationPro(request: $_model.ImageTranslationProRequest): Promise<$_model.ImageTranslationProResponse>;
|
|
1092
1705
|
/**
|
|
1093
|
-
* Image Translation is designed specifically for e-commerce images
|
|
1706
|
+
* Translates images by using Image Translation Pro. This service is designed specifically for e-commerce images, integrates multimodal large language model technology for more accurate image understanding, significantly improves translation quality, and continuously expands and optimizes multilingual translation capabilities. It supports more than 400 language pairs, including pivot languages.
|
|
1707
|
+
*
|
|
1708
|
+
* @remarks
|
|
1709
|
+
* ## Scenarios
|
|
1710
|
+
* E-commerce product images, marketing images, and images in various other scenarios.
|
|
1711
|
+
* ## Features
|
|
1712
|
+
* * Product subject information protection: Allows you to specify whether to translate the text on the product subject. This helps protect the subject information, such as embedded product names, from being translated.
|
|
1713
|
+
*
|
|
1714
|
+
* * Post-translation editing: Allows you to specify whether to return layout information such as the position, font, and color of the text. This information can be used for secondary editing when integrated with an image editor. The SDK package for the editor is not yet available. Follow platform notifications for updates.
|
|
1715
|
+
*
|
|
1716
|
+
* * Brand name protection: Allows you to specify whether to translate brand names in the image. This helps protect brand name information from being translated.
|
|
1717
|
+
*
|
|
1718
|
+
* * Translation intervention: Allows you to customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF), or omitting the translation (ABC-null). This is commonly used in scenarios such as brand word protection. You can implement this by passing the corresponding intervention glossary ID when calling the API, which meets your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1719
|
+
* ## Preparations and call process
|
|
1720
|
+
* Image Translation Pro supports both synchronous and asynchronous call methods. This topic describes the asynchronous call API. For synchronous calls, refer to [Image Translation Pro](https://www.alibabacloud.com/help/en/aidge/image-translation-pro).
|
|
1721
|
+
* The asynchronous APIs for text translation and other capabilities share the result retrieval process, ApsaraMQ for RocketMQ subscription rules, message encryption protocols, dependency configurations, and Java consumption and decryption code.
|
|
1722
|
+
* For the integration process, subscription rules, message formats and encryption protocols, and detailed integration solutions for asynchronous calls, refer to [Asynchronous API call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
|
|
1723
|
+
*
|
|
1724
|
+
* @param request - ImageTranslationProAsyncRequest
|
|
1725
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1726
|
+
* @returns ImageTranslationProAsyncResponse
|
|
1727
|
+
*/
|
|
1728
|
+
imageTranslationProAsyncWithOptions(request: $_model.ImageTranslationProAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationProAsyncResponse>;
|
|
1729
|
+
/**
|
|
1730
|
+
* Translates images by using Image Translation Pro. This service is designed specifically for e-commerce images, integrates multimodal large language model technology for more accurate image understanding, significantly improves translation quality, and continuously expands and optimizes multilingual translation capabilities. It supports more than 400 language pairs, including pivot languages.
|
|
1731
|
+
*
|
|
1732
|
+
* @remarks
|
|
1733
|
+
* ## Scenarios
|
|
1734
|
+
* E-commerce product images, marketing images, and images in various other scenarios.
|
|
1735
|
+
* ## Features
|
|
1736
|
+
* * Product subject information protection: Allows you to specify whether to translate the text on the product subject. This helps protect the subject information, such as embedded product names, from being translated.
|
|
1737
|
+
*
|
|
1738
|
+
* * Post-translation editing: Allows you to specify whether to return layout information such as the position, font, and color of the text. This information can be used for secondary editing when integrated with an image editor. The SDK package for the editor is not yet available. Follow platform notifications for updates.
|
|
1739
|
+
*
|
|
1740
|
+
* * Brand name protection: Allows you to specify whether to translate brand names in the image. This helps protect brand name information from being translated.
|
|
1741
|
+
*
|
|
1742
|
+
* * Translation intervention: Allows you to customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF), or omitting the translation (ABC-null). This is commonly used in scenarios such as brand word protection. You can implement this by passing the corresponding intervention glossary ID when calling the API, which meets your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1743
|
+
* ## Preparations and call process
|
|
1744
|
+
* Image Translation Pro supports both synchronous and asynchronous call methods. This topic describes the asynchronous call API. For synchronous calls, refer to [Image Translation Pro](https://www.alibabacloud.com/help/en/aidge/image-translation-pro).
|
|
1745
|
+
* The asynchronous APIs for text translation and other capabilities share the result retrieval process, ApsaraMQ for RocketMQ subscription rules, message encryption protocols, dependency configurations, and Java consumption and decryption code.
|
|
1746
|
+
* For the integration process, subscription rules, message formats and encryption protocols, and detailed integration solutions for asynchronous calls, refer to [Asynchronous API call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
|
|
1747
|
+
*
|
|
1748
|
+
* @param request - ImageTranslationProAsyncRequest
|
|
1749
|
+
* @returns ImageTranslationProAsyncResponse
|
|
1750
|
+
*/
|
|
1751
|
+
imageTranslationProAsync(request: $_model.ImageTranslationProAsyncRequest): Promise<$_model.ImageTranslationProAsyncResponse>;
|
|
1752
|
+
/**
|
|
1753
|
+
* Translates text in images with support for over 400 language directions (including bridging). This product is designed specifically for e-commerce images, accurately handling complex text layouts within images and ensuring that translated content matches the image context. It helps e-commerce platforms and developers easily achieve multilingual conversion and rendering of image content. The product also returns layer information such as text position, font, and color, enabling secondary editing of translation results through an image editor.
|
|
1094
1754
|
*
|
|
1095
1755
|
* @remarks
|
|
1096
1756
|
* # 1. Product Introduction
|
|
1097
|
-
*
|
|
1098
|
-
* # 2.
|
|
1757
|
+
* The image translation product is designed specifically for e-commerce images, supporting over 400 language directions (including bridging). It accurately handles complex text layouts within images and ensures that translated content matches the image context, helping e-commerce platforms and developers easily achieve multilingual conversion and rendering of image content. The product also returns layer information such as text position, font, and color, enabling secondary editing of translation results through an image editor.
|
|
1758
|
+
* # 2. Common scenarios
|
|
1099
1759
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1100
1760
|
* # 3. Features
|
|
1101
|
-
* * **Product
|
|
1761
|
+
* * **Product subject information protection**: Allows you to choose whether to translate text on the product subject, helping protect subject information from being translated and avoiding translation of embedded information such as product names.
|
|
1102
1762
|
*
|
|
1103
|
-
* * **Brand name protection**: Allows you to choose whether to translate brand names on images
|
|
1763
|
+
* * **Brand name protection**: Allows you to choose whether to translate brand names on images, helping protect brand name information from being translated.
|
|
1104
1764
|
*
|
|
1105
|
-
* * **Secondary editing after translation (layer information)**: Allows you to choose whether to return layer information such as text position, font, and color
|
|
1765
|
+
* * **Secondary editing after translation (layer information)**: Allows you to choose whether to return layer information such as text position, font, and color, which can be used to connect to an image editor for secondary editing of translation results. Follow platform notifications for updates on the editor SDK package release.
|
|
1106
1766
|
*
|
|
1107
|
-
* * **Translation intervention**: Allows you to customize translation results, including
|
|
1108
|
-
*
|
|
1767
|
+
* * **Translation intervention support**: Allows you to customize translation results, including no translation (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for brand term protection and similar scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. Contact the platform if you need more.
|
|
1768
|
+
* <props="china">* **Image editor integration support**: For more information, see [Image translation editor protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1109
1769
|
*
|
|
1110
1770
|
* @param request - ImageTranslationStandardRequest
|
|
1111
1771
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1113,27 +1773,74 @@ export default class Client extends OpenApi {
|
|
|
1113
1773
|
*/
|
|
1114
1774
|
imageTranslationStandardWithOptions(request: $_model.ImageTranslationStandardRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationStandardResponse>;
|
|
1115
1775
|
/**
|
|
1116
|
-
*
|
|
1776
|
+
* Translates text in images with support for over 400 language directions (including bridging). This product is designed specifically for e-commerce images, accurately handling complex text layouts within images and ensuring that translated content matches the image context. It helps e-commerce platforms and developers easily achieve multilingual conversion and rendering of image content. The product also returns layer information such as text position, font, and color, enabling secondary editing of translation results through an image editor.
|
|
1117
1777
|
*
|
|
1118
1778
|
* @remarks
|
|
1119
1779
|
* # 1. Product Introduction
|
|
1120
|
-
*
|
|
1121
|
-
* # 2.
|
|
1780
|
+
* The image translation product is designed specifically for e-commerce images, supporting over 400 language directions (including bridging). It accurately handles complex text layouts within images and ensures that translated content matches the image context, helping e-commerce platforms and developers easily achieve multilingual conversion and rendering of image content. The product also returns layer information such as text position, font, and color, enabling secondary editing of translation results through an image editor.
|
|
1781
|
+
* # 2. Common scenarios
|
|
1122
1782
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1123
1783
|
* # 3. Features
|
|
1124
|
-
* * **Product
|
|
1784
|
+
* * **Product subject information protection**: Allows you to choose whether to translate text on the product subject, helping protect subject information from being translated and avoiding translation of embedded information such as product names.
|
|
1125
1785
|
*
|
|
1126
|
-
* * **Brand name protection**: Allows you to choose whether to translate brand names on images
|
|
1786
|
+
* * **Brand name protection**: Allows you to choose whether to translate brand names on images, helping protect brand name information from being translated.
|
|
1127
1787
|
*
|
|
1128
|
-
* * **Secondary editing after translation (layer information)**: Allows you to choose whether to return layer information such as text position, font, and color
|
|
1788
|
+
* * **Secondary editing after translation (layer information)**: Allows you to choose whether to return layer information such as text position, font, and color, which can be used to connect to an image editor for secondary editing of translation results. Follow platform notifications for updates on the editor SDK package release.
|
|
1129
1789
|
*
|
|
1130
|
-
* * **Translation intervention**: Allows you to customize translation results, including
|
|
1131
|
-
*
|
|
1790
|
+
* * **Translation intervention support**: Allows you to customize translation results, including no translation (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for brand term protection and similar scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. Contact the platform if you need more.
|
|
1791
|
+
* <props="china">* **Image editor integration support**: For more information, see [Image translation editor protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1132
1792
|
*
|
|
1133
1793
|
* @param request - ImageTranslationStandardRequest
|
|
1134
1794
|
* @returns ImageTranslationStandardResponse
|
|
1135
1795
|
*/
|
|
1136
1796
|
imageTranslationStandard(request: $_model.ImageTranslationStandardRequest): Promise<$_model.ImageTranslationStandardResponse>;
|
|
1797
|
+
/**
|
|
1798
|
+
* Translates e-commerce images by supporting over 400 language pairs, including bridged pairs. Accurately processes complex text layouts within images and ensures that translated content matches the image context, helping e-commerce platforms and developers easily achieve multilingual conversion and presentation of image content. The service also returns layer information such as text position, font, and color, facilitating secondary editing of translation results in image editors.
|
|
1799
|
+
*
|
|
1800
|
+
* @remarks
|
|
1801
|
+
* ## Scenarios
|
|
1802
|
+
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1803
|
+
* ## Features
|
|
1804
|
+
* * **Product subject information protection**: Allows you to specify whether to translate text on the product subject, protecting the subject information and preventing the translation of embedded information such as product names.
|
|
1805
|
+
*
|
|
1806
|
+
* * **Brand name protection**: Allows you to specify whether to translate brand names in the image, protecting brand name information from being translated.
|
|
1807
|
+
*
|
|
1808
|
+
* * **Secondary editing after translation (layer information)**: Allows you to specify whether to return layer information such as text position, font, and color. This information can be used to integrate with image editors for secondary editing of translation results. Refer to platform notifications for updates on the availability of the editor SDK.
|
|
1809
|
+
*
|
|
1810
|
+
* * **Translation intervention**: Allows you to customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF), and skipping translation (ABC-null value). This is commonly used in scenarios such as brand word protection. You can implement this by passing the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention terms. Contact the platform if you need a higher limit.
|
|
1811
|
+
* ## Preparations and call process
|
|
1812
|
+
* * Image Translation Standard Edition supports both synchronous and asynchronous call methods. This topic describes the asynchronous call API. For synchronous calls, refer to [Image Translation Standard Edition](https://www.alibabacloud.com/help/en/aidge/image-translation).
|
|
1813
|
+
* * The asynchronous APIs for Image Translation Standard Edition and other features share the same result retrieval process, RocketMQ subscription rules, message encryption protocols, dependency configurations, and Java consumption and decryption code.
|
|
1814
|
+
* * For the integration process, subscription rules, message formats and encryption protocols, and detailed integration solutions for asynchronous calls, refer to [Asynchronous API call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
|
|
1815
|
+
*
|
|
1816
|
+
* @param request - ImageTranslationStandardAsyncRequest
|
|
1817
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1818
|
+
* @returns ImageTranslationStandardAsyncResponse
|
|
1819
|
+
*/
|
|
1820
|
+
imageTranslationStandardAsyncWithOptions(request: $_model.ImageTranslationStandardAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationStandardAsyncResponse>;
|
|
1821
|
+
/**
|
|
1822
|
+
* Translates e-commerce images by supporting over 400 language pairs, including bridged pairs. Accurately processes complex text layouts within images and ensures that translated content matches the image context, helping e-commerce platforms and developers easily achieve multilingual conversion and presentation of image content. The service also returns layer information such as text position, font, and color, facilitating secondary editing of translation results in image editors.
|
|
1823
|
+
*
|
|
1824
|
+
* @remarks
|
|
1825
|
+
* ## Scenarios
|
|
1826
|
+
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1827
|
+
* ## Features
|
|
1828
|
+
* * **Product subject information protection**: Allows you to specify whether to translate text on the product subject, protecting the subject information and preventing the translation of embedded information such as product names.
|
|
1829
|
+
*
|
|
1830
|
+
* * **Brand name protection**: Allows you to specify whether to translate brand names in the image, protecting brand name information from being translated.
|
|
1831
|
+
*
|
|
1832
|
+
* * **Secondary editing after translation (layer information)**: Allows you to specify whether to return layer information such as text position, font, and color. This information can be used to integrate with image editors for secondary editing of translation results. Refer to platform notifications for updates on the availability of the editor SDK.
|
|
1833
|
+
*
|
|
1834
|
+
* * **Translation intervention**: Allows you to customize translation results, including keeping the original text (ABC-ABC), specifying a translation (ABC-DEF), and skipping translation (ABC-null value). This is commonly used in scenarios such as brand word protection. You can implement this by passing the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. Generally, you can upload up to 100,000 intervention terms. Contact the platform if you need a higher limit.
|
|
1835
|
+
* ## Preparations and call process
|
|
1836
|
+
* * Image Translation Standard Edition supports both synchronous and asynchronous call methods. This topic describes the asynchronous call API. For synchronous calls, refer to [Image Translation Standard Edition](https://www.alibabacloud.com/help/en/aidge/image-translation).
|
|
1837
|
+
* * The asynchronous APIs for Image Translation Standard Edition and other features share the same result retrieval process, RocketMQ subscription rules, message encryption protocols, dependency configurations, and Java consumption and decryption code.
|
|
1838
|
+
* * For the integration process, subscription rules, message formats and encryption protocols, and detailed integration solutions for asynchronous calls, refer to [Asynchronous API call instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
|
|
1839
|
+
*
|
|
1840
|
+
* @param request - ImageTranslationStandardAsyncRequest
|
|
1841
|
+
* @returns ImageTranslationStandardAsyncResponse
|
|
1842
|
+
*/
|
|
1843
|
+
imageTranslationStandardAsync(request: $_model.ImageTranslationStandardAsyncRequest): Promise<$_model.ImageTranslationStandardAsyncResponse>;
|
|
1137
1844
|
/**
|
|
1138
1845
|
* Supports automatic language identification for 31 languages in query scenarios and 35 languages in general scenarios. Applicable to short text such as search terms, titles, and conversations.
|
|
1139
1846
|
*
|
|
@@ -1217,25 +1924,25 @@ export default class Client extends OpenApi {
|
|
|
1217
1924
|
*/
|
|
1218
1925
|
materialInspection(request: $_model.MaterialInspectionRequest): Promise<$_model.MaterialInspectionResponse>;
|
|
1219
1926
|
/**
|
|
1220
|
-
* Detects and identifies products displayed on store shelves or floor stacks by
|
|
1927
|
+
* Detects and identifies products displayed on store shelves or floor stacks by using a multimodal large language model (MLLM) combined with visual vector recall. The service is designed for shelf and floor stack inspection scenarios in offline retail and channel stores. It first uses the MLLM to detect the bounding box and preliminary name of each product in a store photo, then performs similarity recall against a customer-specific SKU vector library to exactly match each product to the customer\\"s own SKUs, and outputs per-product structured results that can be directly integrated with business systems. This service is suitable for large-scale, high-concurrent visual recognition pipelines such as remote display auditing by headquarters, SKU distribution verification, and display compliance inspection for offline stores.
|
|
1221
1928
|
*
|
|
1222
1929
|
* @remarks
|
|
1223
1930
|
* ## **Product Introduction**
|
|
1224
|
-
* Display detection is an intelligent
|
|
1931
|
+
* Display detection is an intelligent product display recognition capability built on a multimodal large language model (MLLM) combined with visual vector recall. It is designed for shelf and floor stack inspection scenarios in offline retail and channel stores. The service takes real photos of store shelves and floor stacks, first uses the MLLM to detect the bounding box and preliminary name of each product, then performs similarity recall against a customer-specific SKU vector library to exactly match each product to the customer\\"s own SKUs, and outputs per-product structured results that can be directly integrated with business systems. This service is suitable for large-scale, high-concurrent visual recognition pipelines such as remote display auditing by headquarters, SKU distribution verification, and display compliance inspection for offline stores.
|
|
1225
1932
|
* ## **Scenarios**
|
|
1226
|
-
* - **Shelf/floor
|
|
1933
|
+
* - **Shelf/floor stack display recognition and inventory**: Identifies each product in a shelf or floor stack image, matches it to the customer\\"s SKU library, and outputs a per-product list (product name + position + similarity score), replacing manual counting.
|
|
1227
1934
|
*
|
|
1228
|
-
* - **Distribution verification/SKU compliance**: Verifies whether a store displays the specified SKUs as required by headquarters and whether any out-of-stock or misplaced items exist
|
|
1935
|
+
* - **Distribution verification/SKU compliance**: Verifies whether a store displays the specified SKUs as required by headquarters and whether any out-of-stock or misplaced items exist. This supports batch automated verification during sales promotions or new product launches.
|
|
1229
1936
|
*
|
|
1230
|
-
* - **Customer-specific SKU library**: Customers can upload their own standard SKU images to build a dedicated vector library (isolated by `RagId`). During recognition,
|
|
1231
|
-
* ## **
|
|
1232
|
-
* - **Two-stage detection +
|
|
1937
|
+
* - **Customer-specific SKU library**: Customers can upload their own standard SKU images to build a dedicated vector library (isolated by `RagId`). During recognition, retrieval is performed only within the corresponding customer library, ensuring name accuracy and data isolation between customers.
|
|
1938
|
+
* ## **Functions and features**
|
|
1939
|
+
* - **Two-stage detection + retrieval pipeline**: The MLLM detects each product bounding box and preliminary name across the entire image (semantic-level understanding, adapted for dense displays and partial occlusion). Then, visual embedding vectors are used for similarity retrieval within the customer\\"s SKU library, and the top-1 precise SKU name overrides the preliminary name, balancing recall rate and name accuracy.
|
|
1233
1940
|
*
|
|
1234
|
-
* - **
|
|
1941
|
+
* - **Isolated retrieval with dedicated vector libraries**: A dedicated SKU vector library is maintained for each customer by `RagId`. Recognition retrieves only within the corresponding library, ensuring strict isolation between customers. Newly added or updated SKUs take effect in real time.
|
|
1235
1942
|
*
|
|
1236
|
-
* - **Per-product structured output**: Output is unified as `Result.Items[]`, with each product independently providing a bounding box, recalled SKU name, SKU code, and similarity score. This facilitates direct integration with downstream inventory
|
|
1943
|
+
* - **Per-product structured output**: Output is unified as `Result.Items[]`, with each product independently providing a bounding box, recalled SKU name, SKU code, and similarity score. This facilitates direct integration with downstream inventory and verification systems and supports case-level manual review and traceability.
|
|
1237
1944
|
*
|
|
1238
|
-
* - **Supported input formats**: Currently supports image URLs accessible over the Internet or
|
|
1945
|
+
* - **Supported input formats**: Currently supports image URLs accessible over the Internet or through OSS. A single shelf or floor stack image is sufficient for recognition, and the output structure is consistent.
|
|
1239
1946
|
*
|
|
1240
1947
|
* @param request - MerchandisePlacementDetectionRequest
|
|
1241
1948
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1243,30 +1950,252 @@ export default class Client extends OpenApi {
|
|
|
1243
1950
|
*/
|
|
1244
1951
|
merchandisePlacementDetectionWithOptions(request: $_model.MerchandisePlacementDetectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MerchandisePlacementDetectionResponse>;
|
|
1245
1952
|
/**
|
|
1246
|
-
* Detects and identifies products displayed on store shelves or floor stacks by
|
|
1953
|
+
* Detects and identifies products displayed on store shelves or floor stacks by using a multimodal large language model (MLLM) combined with visual vector recall. The service is designed for shelf and floor stack inspection scenarios in offline retail and channel stores. It first uses the MLLM to detect the bounding box and preliminary name of each product in a store photo, then performs similarity recall against a customer-specific SKU vector library to exactly match each product to the customer\\"s own SKUs, and outputs per-product structured results that can be directly integrated with business systems. This service is suitable for large-scale, high-concurrent visual recognition pipelines such as remote display auditing by headquarters, SKU distribution verification, and display compliance inspection for offline stores.
|
|
1247
1954
|
*
|
|
1248
1955
|
* @remarks
|
|
1249
1956
|
* ## **Product Introduction**
|
|
1250
|
-
* Display detection is an intelligent
|
|
1957
|
+
* Display detection is an intelligent product display recognition capability built on a multimodal large language model (MLLM) combined with visual vector recall. It is designed for shelf and floor stack inspection scenarios in offline retail and channel stores. The service takes real photos of store shelves and floor stacks, first uses the MLLM to detect the bounding box and preliminary name of each product, then performs similarity recall against a customer-specific SKU vector library to exactly match each product to the customer\\"s own SKUs, and outputs per-product structured results that can be directly integrated with business systems. This service is suitable for large-scale, high-concurrent visual recognition pipelines such as remote display auditing by headquarters, SKU distribution verification, and display compliance inspection for offline stores.
|
|
1251
1958
|
* ## **Scenarios**
|
|
1252
|
-
* - **Shelf/floor
|
|
1959
|
+
* - **Shelf/floor stack display recognition and inventory**: Identifies each product in a shelf or floor stack image, matches it to the customer\\"s SKU library, and outputs a per-product list (product name + position + similarity score), replacing manual counting.
|
|
1253
1960
|
*
|
|
1254
|
-
* - **Distribution verification/SKU compliance**: Verifies whether a store displays the specified SKUs as required by headquarters and whether any out-of-stock or misplaced items exist
|
|
1961
|
+
* - **Distribution verification/SKU compliance**: Verifies whether a store displays the specified SKUs as required by headquarters and whether any out-of-stock or misplaced items exist. This supports batch automated verification during sales promotions or new product launches.
|
|
1255
1962
|
*
|
|
1256
|
-
* - **Customer-specific SKU library**: Customers can upload their own standard SKU images to build a dedicated vector library (isolated by `RagId`). During recognition,
|
|
1257
|
-
* ## **
|
|
1258
|
-
* - **Two-stage detection +
|
|
1963
|
+
* - **Customer-specific SKU library**: Customers can upload their own standard SKU images to build a dedicated vector library (isolated by `RagId`). During recognition, retrieval is performed only within the corresponding customer library, ensuring name accuracy and data isolation between customers.
|
|
1964
|
+
* ## **Functions and features**
|
|
1965
|
+
* - **Two-stage detection + retrieval pipeline**: The MLLM detects each product bounding box and preliminary name across the entire image (semantic-level understanding, adapted for dense displays and partial occlusion). Then, visual embedding vectors are used for similarity retrieval within the customer\\"s SKU library, and the top-1 precise SKU name overrides the preliminary name, balancing recall rate and name accuracy.
|
|
1259
1966
|
*
|
|
1260
|
-
* - **
|
|
1967
|
+
* - **Isolated retrieval with dedicated vector libraries**: A dedicated SKU vector library is maintained for each customer by `RagId`. Recognition retrieves only within the corresponding library, ensuring strict isolation between customers. Newly added or updated SKUs take effect in real time.
|
|
1261
1968
|
*
|
|
1262
|
-
* - **Per-product structured output**: Output is unified as `Result.Items[]`, with each product independently providing a bounding box, recalled SKU name, SKU code, and similarity score. This facilitates direct integration with downstream inventory
|
|
1969
|
+
* - **Per-product structured output**: Output is unified as `Result.Items[]`, with each product independently providing a bounding box, recalled SKU name, SKU code, and similarity score. This facilitates direct integration with downstream inventory and verification systems and supports case-level manual review and traceability.
|
|
1263
1970
|
*
|
|
1264
|
-
* - **Supported input formats**: Currently supports image URLs accessible over the Internet or
|
|
1971
|
+
* - **Supported input formats**: Currently supports image URLs accessible over the Internet or through OSS. A single shelf or floor stack image is sufficient for recognition, and the output structure is consistent.
|
|
1265
1972
|
*
|
|
1266
1973
|
* @param request - MerchandisePlacementDetectionRequest
|
|
1267
1974
|
* @returns MerchandisePlacementDetectionResponse
|
|
1268
1975
|
*/
|
|
1269
1976
|
merchandisePlacementDetection(request: $_model.MerchandisePlacementDetectionRequest): Promise<$_model.MerchandisePlacementDetectionResponse>;
|
|
1977
|
+
/**
|
|
1978
|
+
* Detects product displays in photos of shelves, endcaps, freezers, display tables, and dump bins by using product SKU recognition and multimodal large model grounding. It aggregates product locations by SKU and supplements the results with visible single-item grounding and short names to facilitate product location display, display inventory, and subsequent distribution verification in business systems.
|
|
1979
|
+
*
|
|
1980
|
+
* @remarks
|
|
1981
|
+
* ## Scenarios
|
|
1982
|
+
* - Display product inventory: Aggregates recognized product bounding boxes by SKU for business system statistics.
|
|
1983
|
+
* - Distribution list verification: Compares the recognized SKU list with the target list on the business side.
|
|
1984
|
+
* - Single-item location review: Assists in checking recognition results by combining product bounding boxes and visible names.
|
|
1985
|
+
* ## Features
|
|
1986
|
+
* - Aggregation by SKU: Aggregates multiple Boxes for the same SkuId in Products, and skuIds returns a deduplicated list of SKU codes.
|
|
1987
|
+
* - Supplementary single-item grounding: The multimodal model individually grounds recognizable sales packages and provides confirmable short names.
|
|
1988
|
+
* - Independent use of two result sets: Products comes from SKU recognition, and grounding comes from supplementary grounding. Grounding does not return SKU codes and does not guarantee item-by-item correspondence with Products.
|
|
1989
|
+
* - Supports single HTTPS image input. Supplementary grounding returns up to 12 targets, each containing a category, a bounding box, and visible text of up to 24 characters. The coverage field indicates whether the grounding is complete.
|
|
1990
|
+
*
|
|
1991
|
+
* @param request - MerchandisePlacementDetectionLiteRequest
|
|
1992
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1993
|
+
* @returns MerchandisePlacementDetectionLiteResponse
|
|
1994
|
+
*/
|
|
1995
|
+
merchandisePlacementDetectionLiteWithOptions(request: $_model.MerchandisePlacementDetectionLiteRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MerchandisePlacementDetectionLiteResponse>;
|
|
1996
|
+
/**
|
|
1997
|
+
* Detects product displays in photos of shelves, endcaps, freezers, display tables, and dump bins by using product SKU recognition and multimodal large model grounding. It aggregates product locations by SKU and supplements the results with visible single-item grounding and short names to facilitate product location display, display inventory, and subsequent distribution verification in business systems.
|
|
1998
|
+
*
|
|
1999
|
+
* @remarks
|
|
2000
|
+
* ## Scenarios
|
|
2001
|
+
* - Display product inventory: Aggregates recognized product bounding boxes by SKU for business system statistics.
|
|
2002
|
+
* - Distribution list verification: Compares the recognized SKU list with the target list on the business side.
|
|
2003
|
+
* - Single-item location review: Assists in checking recognition results by combining product bounding boxes and visible names.
|
|
2004
|
+
* ## Features
|
|
2005
|
+
* - Aggregation by SKU: Aggregates multiple Boxes for the same SkuId in Products, and skuIds returns a deduplicated list of SKU codes.
|
|
2006
|
+
* - Supplementary single-item grounding: The multimodal model individually grounds recognizable sales packages and provides confirmable short names.
|
|
2007
|
+
* - Independent use of two result sets: Products comes from SKU recognition, and grounding comes from supplementary grounding. Grounding does not return SKU codes and does not guarantee item-by-item correspondence with Products.
|
|
2008
|
+
* - Supports single HTTPS image input. Supplementary grounding returns up to 12 targets, each containing a category, a bounding box, and visible text of up to 24 characters. The coverage field indicates whether the grounding is complete.
|
|
2009
|
+
*
|
|
2010
|
+
* @param request - MerchandisePlacementDetectionLiteRequest
|
|
2011
|
+
* @returns MerchandisePlacementDetectionLiteResponse
|
|
2012
|
+
*/
|
|
2013
|
+
merchandisePlacementDetectionLite(request: $_model.MerchandisePlacementDetectionLiteRequest): Promise<$_model.MerchandisePlacementDetectionLiteResponse>;
|
|
2014
|
+
/**
|
|
2015
|
+
* Detects the positions and names of visible products in an image based on a dedicated visual model. The product supports default recognition rules for the Genki Forest business type and custom rules provided by the invoker. It outputs per-product positions and names, applicable to beverage display inspection and product location display.
|
|
2016
|
+
*
|
|
2017
|
+
* @remarks
|
|
2018
|
+
* ## Scenarios
|
|
2019
|
+
* - Beverage display recognition: Uses default rules for the Genki Forest business type to recognize visible beverage products.
|
|
2020
|
+
* - Custom detection rules: Specifies product recognition tasks that comply with output constraints through the rule parameter.
|
|
2021
|
+
* - Product location display: Uses per-product names and bounding boxes for display, statistics, or manual review.
|
|
2022
|
+
* ## Features
|
|
2023
|
+
* - Direct product recognition: Each product outputs a bounding box and a name. The name is returned as unknown if it cannot be determined.
|
|
2024
|
+
* - Two rule entry points: A non-empty rule takes priority. If no valid rule is provided, the type must be set to Genki Forest.
|
|
2025
|
+
* - Unified result validation: Bounding box coordinates are converted to integers and restricted to the range 0–1000. Reversed coordinates are swapped. Missing names default to unknown. The entire batch fails if any item is not a valid product object, has an invalid bounding box, or has no area.
|
|
2026
|
+
* - Result scope: Currently outputs detected names and positions only. Vector library recall, SKU codes, and similarity scores are not included.
|
|
2027
|
+
*
|
|
2028
|
+
* @param request - MerchandisePlacementDetectionProRequest
|
|
2029
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2030
|
+
* @returns MerchandisePlacementDetectionProResponse
|
|
2031
|
+
*/
|
|
2032
|
+
merchandisePlacementDetectionProWithOptions(request: $_model.MerchandisePlacementDetectionProRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MerchandisePlacementDetectionProResponse>;
|
|
2033
|
+
/**
|
|
2034
|
+
* Detects the positions and names of visible products in an image based on a dedicated visual model. The product supports default recognition rules for the Genki Forest business type and custom rules provided by the invoker. It outputs per-product positions and names, applicable to beverage display inspection and product location display.
|
|
2035
|
+
*
|
|
2036
|
+
* @remarks
|
|
2037
|
+
* ## Scenarios
|
|
2038
|
+
* - Beverage display recognition: Uses default rules for the Genki Forest business type to recognize visible beverage products.
|
|
2039
|
+
* - Custom detection rules: Specifies product recognition tasks that comply with output constraints through the rule parameter.
|
|
2040
|
+
* - Product location display: Uses per-product names and bounding boxes for display, statistics, or manual review.
|
|
2041
|
+
* ## Features
|
|
2042
|
+
* - Direct product recognition: Each product outputs a bounding box and a name. The name is returned as unknown if it cannot be determined.
|
|
2043
|
+
* - Two rule entry points: A non-empty rule takes priority. If no valid rule is provided, the type must be set to Genki Forest.
|
|
2044
|
+
* - Unified result validation: Bounding box coordinates are converted to integers and restricted to the range 0–1000. Reversed coordinates are swapped. Missing names default to unknown. The entire batch fails if any item is not a valid product object, has an invalid bounding box, or has no area.
|
|
2045
|
+
* - Result scope: Currently outputs detected names and positions only. Vector library recall, SKU codes, and similarity scores are not included.
|
|
2046
|
+
*
|
|
2047
|
+
* @param request - MerchandisePlacementDetectionProRequest
|
|
2048
|
+
* @returns MerchandisePlacementDetectionProResponse
|
|
2049
|
+
*/
|
|
2050
|
+
merchandisePlacementDetectionPro(request: $_model.MerchandisePlacementDetectionProRequest): Promise<$_model.MerchandisePlacementDetectionProResponse>;
|
|
2051
|
+
/**
|
|
2052
|
+
* Detects display price tags based on price tag recognition and multimodal large model localization, extracting product information, selling prices, original prices, and locations, while providing visible bounding boxes for paper price tags, electronic price tags, and promotional price signs for store price collection, price tag inspection, and business-side price verification.
|
|
2053
|
+
*
|
|
2054
|
+
* @remarks
|
|
2055
|
+
* ## Scenarios
|
|
2056
|
+
* - Store price collection: Reads the recognized selling prices and available original prices of price tags.
|
|
2057
|
+
* - Price execution verification: Compares the recognized prices with the business-side price list.
|
|
2058
|
+
* - Manual price tag review: Locates paper, electronic, and promotional price tags to facilitate reviewing the original images.
|
|
2059
|
+
* ## Features
|
|
2060
|
+
* - Structured price output: Returns the product name, code, price, and location item by item. Prices are retained as strings.
|
|
2061
|
+
* - Multi-type price tag localization: Covers common paper price tags, electronic price tags, and promotional signs with clear selling prices.
|
|
2062
|
+
* - Original text and location-assisted review: Prioritizes extracting clear selling prices from located text, leaving it empty if unreadable. Supplementary localization does not infer that a price tag necessarily corresponds to a specific SKU based on its location.
|
|
2063
|
+
* - Supports single HTTPS image input. Supplementary localization returns up to 12 targets, each containing a category, a bounding box, and up to 24 characters of visible text, and indicates whether the localization is complete through coverage.
|
|
2064
|
+
*
|
|
2065
|
+
* @param request - MerchandisePriceTagDetectionRequest
|
|
2066
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2067
|
+
* @returns MerchandisePriceTagDetectionResponse
|
|
2068
|
+
*/
|
|
2069
|
+
merchandisePriceTagDetectionWithOptions(request: $_model.MerchandisePriceTagDetectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MerchandisePriceTagDetectionResponse>;
|
|
2070
|
+
/**
|
|
2071
|
+
* Detects display price tags based on price tag recognition and multimodal large model localization, extracting product information, selling prices, original prices, and locations, while providing visible bounding boxes for paper price tags, electronic price tags, and promotional price signs for store price collection, price tag inspection, and business-side price verification.
|
|
2072
|
+
*
|
|
2073
|
+
* @remarks
|
|
2074
|
+
* ## Scenarios
|
|
2075
|
+
* - Store price collection: Reads the recognized selling prices and available original prices of price tags.
|
|
2076
|
+
* - Price execution verification: Compares the recognized prices with the business-side price list.
|
|
2077
|
+
* - Manual price tag review: Locates paper, electronic, and promotional price tags to facilitate reviewing the original images.
|
|
2078
|
+
* ## Features
|
|
2079
|
+
* - Structured price output: Returns the product name, code, price, and location item by item. Prices are retained as strings.
|
|
2080
|
+
* - Multi-type price tag localization: Covers common paper price tags, electronic price tags, and promotional signs with clear selling prices.
|
|
2081
|
+
* - Original text and location-assisted review: Prioritizes extracting clear selling prices from located text, leaving it empty if unreadable. Supplementary localization does not infer that a price tag necessarily corresponds to a specific SKU based on its location.
|
|
2082
|
+
* - Supports single HTTPS image input. Supplementary localization returns up to 12 targets, each containing a category, a bounding box, and up to 24 characters of visible text, and indicates whether the localization is complete through coverage.
|
|
2083
|
+
*
|
|
2084
|
+
* @param request - MerchandisePriceTagDetectionRequest
|
|
2085
|
+
* @returns MerchandisePriceTagDetectionResponse
|
|
2086
|
+
*/
|
|
2087
|
+
merchandisePriceTagDetection(request: $_model.MerchandisePriceTagDetectionRequest): Promise<$_model.MerchandisePriceTagDetectionResponse>;
|
|
2088
|
+
/**
|
|
2089
|
+
* Detects store displays based on display scene recognition and holistic positioning powered by multimodal large models. This product identifies display areas such as shelves, refrigerators, and floor displays, and outputs available scene names, locations, and display metrics. It also provides overall facility bounding boxes, making it suitable for display facility inspection, area visualization, and display metric verification.
|
|
2090
|
+
*
|
|
2091
|
+
* @remarks
|
|
2092
|
+
* ## Scenarios
|
|
2093
|
+
* - Display facility inspection: identifies facilities such as shelves, endcaps, floor displays, upright refrigerators, and chest freezers.
|
|
2094
|
+
* - Display metric verification: reads active metrics such as proportion, purity, and plumpness for further evaluation by business systems.
|
|
2095
|
+
* - Display area visualization: displays area locations and overall facility bounding boxes on the original image.
|
|
2096
|
+
* ## Features
|
|
2097
|
+
* - Scene structured output: returns scene names, center points, area contours, and active metrics.
|
|
2098
|
+
* - Holistic facility positioning: uses one bounding box for an independent facility or floor display, which is suitable for overall area review.
|
|
2099
|
+
* - Retains two types of coordinates: the positions in scenes retain the original normalization coordinates of the recognition service, while grounding uses 0–1000 integer bounding boxes.
|
|
2100
|
+
* - Supports a single HTTPS image as input. The supplementary positioning returns up to 12 targets. Each target includes a category, a bounding box, and up to 24 characters of visible text, and uses coverage to indicate whether the positioning is complete.
|
|
2101
|
+
*
|
|
2102
|
+
* @param request - MerchandiseSceneDetectionRequest
|
|
2103
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2104
|
+
* @returns MerchandiseSceneDetectionResponse
|
|
2105
|
+
*/
|
|
2106
|
+
merchandiseSceneDetectionWithOptions(request: $_model.MerchandiseSceneDetectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MerchandiseSceneDetectionResponse>;
|
|
2107
|
+
/**
|
|
2108
|
+
* Detects store displays based on display scene recognition and holistic positioning powered by multimodal large models. This product identifies display areas such as shelves, refrigerators, and floor displays, and outputs available scene names, locations, and display metrics. It also provides overall facility bounding boxes, making it suitable for display facility inspection, area visualization, and display metric verification.
|
|
2109
|
+
*
|
|
2110
|
+
* @remarks
|
|
2111
|
+
* ## Scenarios
|
|
2112
|
+
* - Display facility inspection: identifies facilities such as shelves, endcaps, floor displays, upright refrigerators, and chest freezers.
|
|
2113
|
+
* - Display metric verification: reads active metrics such as proportion, purity, and plumpness for further evaluation by business systems.
|
|
2114
|
+
* - Display area visualization: displays area locations and overall facility bounding boxes on the original image.
|
|
2115
|
+
* ## Features
|
|
2116
|
+
* - Scene structured output: returns scene names, center points, area contours, and active metrics.
|
|
2117
|
+
* - Holistic facility positioning: uses one bounding box for an independent facility or floor display, which is suitable for overall area review.
|
|
2118
|
+
* - Retains two types of coordinates: the positions in scenes retain the original normalization coordinates of the recognition service, while grounding uses 0–1000 integer bounding boxes.
|
|
2119
|
+
* - Supports a single HTTPS image as input. The supplementary positioning returns up to 12 targets. Each target includes a category, a bounding box, and up to 24 characters of visible text, and uses coverage to indicate whether the positioning is complete.
|
|
2120
|
+
*
|
|
2121
|
+
* @param request - MerchandiseSceneDetectionRequest
|
|
2122
|
+
* @returns MerchandiseSceneDetectionResponse
|
|
2123
|
+
*/
|
|
2124
|
+
merchandiseSceneDetection(request: $_model.MerchandiseSceneDetectionRequest): Promise<$_model.MerchandiseSceneDetectionResponse>;
|
|
2125
|
+
/**
|
|
2126
|
+
* Reviews images of milk powder can bottom codes by using recapture detection and multimodal large model-based element localization. The service determines whether an uploaded photo is recaptured and localizes visible milk powder products, can bottoms, and bottom code areas. It is suitable for milk powder channel inspections, can bottom code photo reviews, and manual verifications.
|
|
2127
|
+
*
|
|
2128
|
+
* @remarks
|
|
2129
|
+
* ## Features
|
|
2130
|
+
* - Recapture binary classification: isFake=true indicates a recapture, and false indicates a non-recapture. Element localization is performed for both results.
|
|
2131
|
+
* - Milk powder subject and bottom code localization: Prioritizes the localization of the milk powder subject. Adds corresponding bounding boxes when the can bottom, spray code, batch code, or traceability code areas are clear.
|
|
2132
|
+
* - Visible information output: Outputs only confirmed short names or text without guessing blurred code values. Localization results do not change the recapture conclusion.
|
|
2133
|
+
* - Supports a single HTTPS image input. The supplementary localization returns up to 12 targets. Each target includes a category, a bounding box, and up to 24 characters of visible text. The coverage field indicates whether the localization is complete.
|
|
2134
|
+
* ## Scenarios:
|
|
2135
|
+
* - Can bottom code photo review: Determines whether a photo of a milk powder can bottom code has a recapture risk.
|
|
2136
|
+
* - Milk powder product inspection: Localizes canned, boxed, or bagged milk powder, as well as clearly visible can bottoms and bottom codes.
|
|
2137
|
+
* - Review result playback: Displays target bounding boxes on the original image to assist personnel in verifying the photo content.
|
|
2138
|
+
*
|
|
2139
|
+
* @param request - MilkPowderCanBottomCodeRephotographyDetectionRequest
|
|
2140
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2141
|
+
* @returns MilkPowderCanBottomCodeRephotographyDetectionResponse
|
|
2142
|
+
*/
|
|
2143
|
+
milkPowderCanBottomCodeRephotographyDetectionWithOptions(request: $_model.MilkPowderCanBottomCodeRephotographyDetectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MilkPowderCanBottomCodeRephotographyDetectionResponse>;
|
|
2144
|
+
/**
|
|
2145
|
+
* Reviews images of milk powder can bottom codes by using recapture detection and multimodal large model-based element localization. The service determines whether an uploaded photo is recaptured and localizes visible milk powder products, can bottoms, and bottom code areas. It is suitable for milk powder channel inspections, can bottom code photo reviews, and manual verifications.
|
|
2146
|
+
*
|
|
2147
|
+
* @remarks
|
|
2148
|
+
* ## Features
|
|
2149
|
+
* - Recapture binary classification: isFake=true indicates a recapture, and false indicates a non-recapture. Element localization is performed for both results.
|
|
2150
|
+
* - Milk powder subject and bottom code localization: Prioritizes the localization of the milk powder subject. Adds corresponding bounding boxes when the can bottom, spray code, batch code, or traceability code areas are clear.
|
|
2151
|
+
* - Visible information output: Outputs only confirmed short names or text without guessing blurred code values. Localization results do not change the recapture conclusion.
|
|
2152
|
+
* - Supports a single HTTPS image input. The supplementary localization returns up to 12 targets. Each target includes a category, a bounding box, and up to 24 characters of visible text. The coverage field indicates whether the localization is complete.
|
|
2153
|
+
* ## Scenarios:
|
|
2154
|
+
* - Can bottom code photo review: Determines whether a photo of a milk powder can bottom code has a recapture risk.
|
|
2155
|
+
* - Milk powder product inspection: Localizes canned, boxed, or bagged milk powder, as well as clearly visible can bottoms and bottom codes.
|
|
2156
|
+
* - Review result playback: Displays target bounding boxes on the original image to assist personnel in verifying the photo content.
|
|
2157
|
+
*
|
|
2158
|
+
* @param request - MilkPowderCanBottomCodeRephotographyDetectionRequest
|
|
2159
|
+
* @returns MilkPowderCanBottomCodeRephotographyDetectionResponse
|
|
2160
|
+
*/
|
|
2161
|
+
milkPowderCanBottomCodeRephotographyDetection(request: $_model.MilkPowderCanBottomCodeRephotographyDetectionRequest): Promise<$_model.MilkPowderCanBottomCodeRephotographyDetectionResponse>;
|
|
2162
|
+
/**
|
|
2163
|
+
* Reviews infant formula carton code images based on recapture detection and element localization using multimodal foundation models. It targets photos of infant formula products, outer cartons, and carton codes captured during channel inspections. It determines whether images are non-recaptured, recaptured, or suspected recaptures, and localizes visible infant formula products, outer cartons, and code regions to provide a structured basis for image review and manual verification.
|
|
2164
|
+
*
|
|
2165
|
+
* @remarks
|
|
2166
|
+
* ## Features
|
|
2167
|
+
* - Three-state recapture detection: When photoStatus is 0, 1, or 2, it indicates non-recapture, recapture, or suspected recapture, respectively. The isFake, isSuspect, and score fields are also returned.
|
|
2168
|
+
* - Subject and code area grounding: Prioritizes the grounding of individual milk powder products and outer boxes, and supplements clear box codes, barcodes, and QR code areas. The milk powder subject can still be grounded even if no box code is present.
|
|
2169
|
+
* - Result coordination: Element grounding supplements visible targets without changing the recapture detection conclusion. It does not decode QR codes or provide product authenticity verification.
|
|
2170
|
+
* - Supports a single HTTPS image as input. The supplementary grounding returns up to 12 targets. Each target includes a category, a bounding box, and up to 24 characters of visible text. The coverage field indicates whether the grounding is complete.
|
|
2171
|
+
* ## Scenarios
|
|
2172
|
+
* - Box code photo review: Checks whether milk powder outer box photos uploaded by stores or channels carry recapture risks.
|
|
2173
|
+
* - Milk powder display inspection: Locates visible individual milk powder products, full boxes, and clear code areas in photos.
|
|
2174
|
+
* - Suspected sample review: Filters images that require manual verification based on the suspected status, algorithm score, and bounding boxes.
|
|
2175
|
+
*
|
|
2176
|
+
* @param request - MilkPowderCartonCodeRephotographyDetectionRequest
|
|
2177
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2178
|
+
* @returns MilkPowderCartonCodeRephotographyDetectionResponse
|
|
2179
|
+
*/
|
|
2180
|
+
milkPowderCartonCodeRephotographyDetectionWithOptions(request: $_model.MilkPowderCartonCodeRephotographyDetectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MilkPowderCartonCodeRephotographyDetectionResponse>;
|
|
2181
|
+
/**
|
|
2182
|
+
* Reviews infant formula carton code images based on recapture detection and element localization using multimodal foundation models. It targets photos of infant formula products, outer cartons, and carton codes captured during channel inspections. It determines whether images are non-recaptured, recaptured, or suspected recaptures, and localizes visible infant formula products, outer cartons, and code regions to provide a structured basis for image review and manual verification.
|
|
2183
|
+
*
|
|
2184
|
+
* @remarks
|
|
2185
|
+
* ## Features
|
|
2186
|
+
* - Three-state recapture detection: When photoStatus is 0, 1, or 2, it indicates non-recapture, recapture, or suspected recapture, respectively. The isFake, isSuspect, and score fields are also returned.
|
|
2187
|
+
* - Subject and code area grounding: Prioritizes the grounding of individual milk powder products and outer boxes, and supplements clear box codes, barcodes, and QR code areas. The milk powder subject can still be grounded even if no box code is present.
|
|
2188
|
+
* - Result coordination: Element grounding supplements visible targets without changing the recapture detection conclusion. It does not decode QR codes or provide product authenticity verification.
|
|
2189
|
+
* - Supports a single HTTPS image as input. The supplementary grounding returns up to 12 targets. Each target includes a category, a bounding box, and up to 24 characters of visible text. The coverage field indicates whether the grounding is complete.
|
|
2190
|
+
* ## Scenarios
|
|
2191
|
+
* - Box code photo review: Checks whether milk powder outer box photos uploaded by stores or channels carry recapture risks.
|
|
2192
|
+
* - Milk powder display inspection: Locates visible individual milk powder products, full boxes, and clear code areas in photos.
|
|
2193
|
+
* - Suspected sample review: Filters images that require manual verification based on the suspected status, algorithm score, and bounding boxes.
|
|
2194
|
+
*
|
|
2195
|
+
* @param request - MilkPowderCartonCodeRephotographyDetectionRequest
|
|
2196
|
+
* @returns MilkPowderCartonCodeRephotographyDetectionResponse
|
|
2197
|
+
*/
|
|
2198
|
+
milkPowderCartonCodeRephotographyDetection(request: $_model.MilkPowderCartonCodeRephotographyDetectionRequest): Promise<$_model.MilkPowderCartonCodeRephotographyDetectionResponse>;
|
|
1270
2199
|
/**
|
|
1271
2200
|
* An intelligent logistics parcel review product built on the collaboration of a multimodal large language model (MLLM) and dedicated vision algorithms. It targets automated compliance review for the "piece-weight-dimension" stage in e-commerce logistics. The product performs structured review across multiple dimensions, including bounding box validity, bounding box fit, and foreign object interference for parcels on scanning platforms. It supports different hardware capture scenarios such as white and green background boards, and outputs Boolean review conclusions with Chinese-language reason descriptions that can be directly integrated with business systems. It is suitable for large-scale, high-concurrency inbound quality inspection pipelines.
|
|
1272
2201
|
*
|
|
@@ -1312,6 +2241,21 @@ export default class Client extends OpenApi {
|
|
|
1312
2241
|
* @returns PackageWeightSizeCheckResponse
|
|
1313
2242
|
*/
|
|
1314
2243
|
packageWeightSizeCheck(request: $_model.PackageWeightSizeCheckRequest): Promise<$_model.PackageWeightSizeCheckResponse>;
|
|
2244
|
+
/**
|
|
2245
|
+
* 宠物健康分析
|
|
2246
|
+
*
|
|
2247
|
+
* @param tmpReq - PetHealthAnalysisRequest
|
|
2248
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2249
|
+
* @returns PetHealthAnalysisResponse
|
|
2250
|
+
*/
|
|
2251
|
+
petHealthAnalysisWithOptions(tmpReq: $_model.PetHealthAnalysisRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PetHealthAnalysisResponse>;
|
|
2252
|
+
/**
|
|
2253
|
+
* 宠物健康分析
|
|
2254
|
+
*
|
|
2255
|
+
* @param request - PetHealthAnalysisRequest
|
|
2256
|
+
* @returns PetHealthAnalysisResponse
|
|
2257
|
+
*/
|
|
2258
|
+
petHealthAnalysis(request: $_model.PetHealthAnalysisRequest): Promise<$_model.PetHealthAnalysisResponse>;
|
|
1315
2259
|
/**
|
|
1316
2260
|
* Maas-MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports mutual translation among more than 400 language directions (including bridged translations), especially Chinese-English, Chinese-to-multilingual, and English-to-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
1317
2261
|
*
|
|
@@ -1444,32 +2388,160 @@ export default class Client extends OpenApi {
|
|
|
1444
2388
|
* |  | 0.4 | true |
|
|
1445
2389
|
* |  | 0.4 | false |
|
|
1446
2390
|
*
|
|
1447
|
-
* @param request - SizeChartDetectRequest
|
|
2391
|
+
* @param request - SizeChartDetectRequest
|
|
2392
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2393
|
+
* @returns SizeChartDetectResponse
|
|
2394
|
+
*/
|
|
2395
|
+
sizeChartDetectWithOptions(request: $_model.SizeChartDetectRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SizeChartDetectResponse>;
|
|
2396
|
+
/**
|
|
2397
|
+
* Detects whether an image contains a size chart. (Synchronous)
|
|
2398
|
+
*
|
|
2399
|
+
* @remarks
|
|
2400
|
+
* # 1. Product Introduction
|
|
2401
|
+
* Detects whether an image contains a size chart. (Synchronous)
|
|
2402
|
+
* # 2. Common scenarios
|
|
2403
|
+
* **Batch processing scenario:** Detect images that contain size charts from a batch of images for further image translation or extraction. The size chart detection service helps reduce costs.
|
|
2404
|
+
* # 3. Features
|
|
2405
|
+
* The size chart detection service uses image recognition technology to automatically determine whether an input image contains size chart content. You provide an image URL, and the system returns a detection result (True/False) indicating whether the image is a size chart.
|
|
2406
|
+
* You can customize the confidence threshold (default: 0.4) and flexibly adjust the detection sensitivity based on your business precision requirements. A lower threshold results in more lenient detection, while a higher threshold results in stricter detection. The API processes a single image per request, making it suitable for integration into automated batch workflows for sequential invocation.
|
|
2407
|
+
* # 4. Effect comparison
|
|
2408
|
+
* | **Input image** | **Confidence** | **Output result** |
|
|
2409
|
+
* | --- | --- | --- |
|
|
2410
|
+
* |  | 0.4 | true |
|
|
2411
|
+
* |  | 0.4 | false |
|
|
2412
|
+
*
|
|
2413
|
+
* @param request - SizeChartDetectRequest
|
|
2414
|
+
* @returns SizeChartDetectResponse
|
|
2415
|
+
*/
|
|
2416
|
+
sizeChartDetect(request: $_model.SizeChartDetectRequest): Promise<$_model.SizeChartDetectResponse>;
|
|
2417
|
+
/**
|
|
2418
|
+
* Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
|
|
2419
|
+
*
|
|
2420
|
+
* @remarks
|
|
2421
|
+
* ## Product Introduction
|
|
2422
|
+
* Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
|
|
2423
|
+
* ## Common scenarios
|
|
2424
|
+
* * Size chart: Extracts size charts from apparel category images into text.
|
|
2425
|
+
*
|
|
2426
|
+
* * Package weight/dimensions: Extracts package weight and dimension information from images.
|
|
2427
|
+
* ## Functions and features
|
|
2428
|
+
* The size chart extraction service is based on a multimodal large language model. It automatically recognizes size chart or package weight/dimension information in images and converts it into structured text output. You provide an image URL, and the system processes the request as an asynchronous task and returns the extracted structured data. You can use the ColumnNameList parameter to specify the column names to recognize (such as Size, Bust, and Length) for precise targeted extraction. You can also use the LanguageModel parameter to control the output language. Valid values: cn (Chinese) and en (English). If you leave this parameter empty, the original language is retained. This service is applicable to scenarios such as converting apparel size charts to text and batch structuring of product weight/dimension information.
|
|
2429
|
+
* Core capability: Provide an image URL and optional column name configurations as input, and receive structured data of size charts or package weight/dimensions from the image as output. The API uses an asynchronous task mode (background: true). After submission, a task ID is returned. Poll for the final result. This mode is suitable for processing complex images or high-volume call scenarios.
|
|
2430
|
+
* ## Comparison
|
|
2431
|
+
* | **Input image** | **Output result** |
|
|
2432
|
+
* | --- | --- |
|
|
2433
|
+
* |  | {
|
|
2434
|
+
* "SizeChart": [
|
|
2435
|
+
* {
|
|
2436
|
+
* "尺码": {
|
|
2437
|
+
* "value": "S"
|
|
2438
|
+
* },
|
|
2439
|
+
* "腰围": {
|
|
2440
|
+
* "unit": "CM",
|
|
2441
|
+
* "value": 58
|
|
2442
|
+
* },
|
|
2443
|
+
* "裙长": {
|
|
2444
|
+
* "unit": "CM",
|
|
2445
|
+
* "value": 81
|
|
2446
|
+
* },
|
|
2447
|
+
* "体重建议": {
|
|
2448
|
+
* "unit": "kg",
|
|
2449
|
+
* "lower_value": 40,
|
|
2450
|
+
* "upper_value": 47.5
|
|
2451
|
+
* }
|
|
2452
|
+
* },
|
|
2453
|
+
* {
|
|
2454
|
+
* "尺码": {
|
|
2455
|
+
* "value": "M"
|
|
2456
|
+
* },
|
|
2457
|
+
* "腰围": {
|
|
2458
|
+
* "unit": "CM",
|
|
2459
|
+
* "value": 59
|
|
2460
|
+
* },
|
|
2461
|
+
* "裙长": {
|
|
2462
|
+
* "unit": "CM",
|
|
2463
|
+
* "value": 82
|
|
2464
|
+
* },
|
|
2465
|
+
* "体重建议": {
|
|
2466
|
+
* "unit": "kg",
|
|
2467
|
+
* "lower_value": 45,
|
|
2468
|
+
* "upper_value": 52.5
|
|
2469
|
+
* }
|
|
2470
|
+
* },
|
|
2471
|
+
* {
|
|
2472
|
+
* "尺码": {
|
|
2473
|
+
* "value": "L"
|
|
2474
|
+
* },
|
|
2475
|
+
* "腰围": {
|
|
2476
|
+
* "unit": "CM",
|
|
2477
|
+
* "value": 60
|
|
2478
|
+
* },
|
|
2479
|
+
* "裙长": {
|
|
2480
|
+
* "unit": "CM",
|
|
2481
|
+
* "value": 83
|
|
2482
|
+
* },
|
|
2483
|
+
* "体重建议": {
|
|
2484
|
+
* "unit": "kg",
|
|
2485
|
+
* "lower_value": 50,
|
|
2486
|
+
* "upper_value": 57.5
|
|
2487
|
+
* }
|
|
2488
|
+
* },
|
|
2489
|
+
* {
|
|
2490
|
+
* "尺码": {
|
|
2491
|
+
* "value": "XL"
|
|
2492
|
+
* },
|
|
2493
|
+
* "腰围": {
|
|
2494
|
+
* "unit": "CM",
|
|
2495
|
+
* "value": 61
|
|
2496
|
+
* },
|
|
2497
|
+
* "裙长": {
|
|
2498
|
+
* "unit": "CM",
|
|
2499
|
+
* "value": 84
|
|
2500
|
+
* },
|
|
2501
|
+
* "体重建议": {
|
|
2502
|
+
* "unit": "kg",
|
|
2503
|
+
* "lower_value": 55,
|
|
2504
|
+
* "upper_value": 62.5
|
|
2505
|
+
* }
|
|
2506
|
+
* },
|
|
2507
|
+
* {
|
|
2508
|
+
* "尺码": {
|
|
2509
|
+
* "value": "2XL"
|
|
2510
|
+
* },
|
|
2511
|
+
* "腰围": {
|
|
2512
|
+
* "unit": "CM",
|
|
2513
|
+
* "value": 62
|
|
2514
|
+
* },
|
|
2515
|
+
* "裙长": {
|
|
2516
|
+
* "unit": "CM",
|
|
2517
|
+
* "value": 85
|
|
2518
|
+
* },
|
|
2519
|
+
* "体重建议": {
|
|
2520
|
+
* "unit": "kg",
|
|
2521
|
+
* "lower_value": 60,
|
|
2522
|
+
* "upper_value": 67.5
|
|
2523
|
+
* }
|
|
2524
|
+
* }
|
|
2525
|
+
* \\],
|
|
2526
|
+
* "SizeChartAttributes": [
|
|
2527
|
+
* "尺码",
|
|
2528
|
+
* "裙长",
|
|
2529
|
+
* "腰围",
|
|
2530
|
+
* "体重建议"
|
|
2531
|
+
* \\],
|
|
2532
|
+
* "IntersectionAttributes": [
|
|
2533
|
+
* "尺码",
|
|
2534
|
+
* "裙长",
|
|
2535
|
+
* "腰围(拉伸)",
|
|
2536
|
+
* "体重建议"
|
|
2537
|
+
* \\]
|
|
2538
|
+
* } |
|
|
2539
|
+
*
|
|
2540
|
+
* @param tmpReq - SizeChartExtractRequest
|
|
1448
2541
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1449
|
-
* @returns
|
|
1450
|
-
*/
|
|
1451
|
-
sizeChartDetectWithOptions(request: $_model.SizeChartDetectRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SizeChartDetectResponse>;
|
|
1452
|
-
/**
|
|
1453
|
-
* Detects whether an image contains a size chart. (Synchronous)
|
|
1454
|
-
*
|
|
1455
|
-
* @remarks
|
|
1456
|
-
* # 1. Product Introduction
|
|
1457
|
-
* Detects whether an image contains a size chart. (Synchronous)
|
|
1458
|
-
* # 2. Common scenarios
|
|
1459
|
-
* **Batch processing scenario:** Detect images that contain size charts from a batch of images for further image translation or extraction. The size chart detection service helps reduce costs.
|
|
1460
|
-
* # 3. Features
|
|
1461
|
-
* The size chart detection service uses image recognition technology to automatically determine whether an input image contains size chart content. You provide an image URL, and the system returns a detection result (True/False) indicating whether the image is a size chart.
|
|
1462
|
-
* You can customize the confidence threshold (default: 0.4) and flexibly adjust the detection sensitivity based on your business precision requirements. A lower threshold results in more lenient detection, while a higher threshold results in stricter detection. The API processes a single image per request, making it suitable for integration into automated batch workflows for sequential invocation.
|
|
1463
|
-
* # 4. Effect comparison
|
|
1464
|
-
* | **Input image** | **Confidence** | **Output result** |
|
|
1465
|
-
* | --- | --- | --- |
|
|
1466
|
-
* |  | 0.4 | true |
|
|
1467
|
-
* |  | 0.4 | false |
|
|
1468
|
-
*
|
|
1469
|
-
* @param request - SizeChartDetectRequest
|
|
1470
|
-
* @returns SizeChartDetectResponse
|
|
2542
|
+
* @returns SizeChartExtractResponse
|
|
1471
2543
|
*/
|
|
1472
|
-
|
|
2544
|
+
sizeChartExtractWithOptions(tmpReq: $_model.SizeChartExtractRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SizeChartExtractResponse>;
|
|
1473
2545
|
/**
|
|
1474
2546
|
* Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
|
|
1475
2547
|
*
|
|
@@ -1593,26 +2665,147 @@ export default class Client extends OpenApi {
|
|
|
1593
2665
|
* \\]
|
|
1594
2666
|
* } |
|
|
1595
2667
|
*
|
|
1596
|
-
* @param
|
|
1597
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
2668
|
+
* @param request - SizeChartExtractRequest
|
|
1598
2669
|
* @returns SizeChartExtractResponse
|
|
1599
2670
|
*/
|
|
1600
|
-
|
|
2671
|
+
sizeChartExtract(request: $_model.SizeChartExtractRequest): Promise<$_model.SizeChartExtractResponse>;
|
|
1601
2672
|
/**
|
|
1602
|
-
*
|
|
2673
|
+
* Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large models in asynchronous mode.
|
|
1603
2674
|
*
|
|
1604
2675
|
* @remarks
|
|
1605
|
-
* ##
|
|
1606
|
-
*
|
|
1607
|
-
*
|
|
1608
|
-
*
|
|
2676
|
+
* ## Scenarios
|
|
2677
|
+
* Size charts: Extracts size charts for apparel categories into text.
|
|
2678
|
+
* Package weight and dimensions: Extracts package weight and dimension information from images.
|
|
2679
|
+
* ## Feature description
|
|
2680
|
+
* The size chart extraction service is based on multimodal foundation models. It automatically recognizes size charts or package weight and dimension information in images and converts the information into structured text. Provide an image URL, and the system processes the request as an asynchronous task and returns the extracted structured data. You can specify the column names to be recognized, such as Size, Bust, and Length, by using ColumnNameList for precise targeted extraction. You can also control the output language by using the LanguageModel parameter. Valid values: cn for Chinese and en for English. If you do not specify this parameter, the original language is retained. This service is applicable to scenarios such as text conversion of size charts for apparel categories and batch structuring of package weight and dimension information for commodities.
|
|
2681
|
+
* Core capabilities: Input an image URL and optional column name configurations to output the structured data of the size chart or package weight and dimensions in the image. The API operation uses the asynchronous task mode (background: true). After you submit the task, a task ID is returned. You must poll the task to obtain the final result. This mode is suitable for processing complex images or handling large-scale calls.
|
|
2682
|
+
* ## Example results
|
|
2683
|
+
* | Input image | Output result |
|
|
2684
|
+
* | --- | --- |
|
|
2685
|
+
* |  | {
|
|
2686
|
+
* "SizeChart": [
|
|
2687
|
+
* {
|
|
2688
|
+
* "尺码": {
|
|
2689
|
+
* "value": "S"
|
|
2690
|
+
* },
|
|
2691
|
+
* "腰围": {
|
|
2692
|
+
* "unit": "CM",
|
|
2693
|
+
* "value": 58
|
|
2694
|
+
* },
|
|
2695
|
+
* "裙长": {
|
|
2696
|
+
* "unit": "CM",
|
|
2697
|
+
* "value": 81
|
|
2698
|
+
* },
|
|
2699
|
+
* "体重建议": {
|
|
2700
|
+
* "unit": "kg",
|
|
2701
|
+
* "lower_value": 40,
|
|
2702
|
+
* "upper_value": 47.5
|
|
2703
|
+
* }
|
|
2704
|
+
* },
|
|
2705
|
+
* {
|
|
2706
|
+
* "尺码": {
|
|
2707
|
+
* "value": "M"
|
|
2708
|
+
* },
|
|
2709
|
+
* "腰围": {
|
|
2710
|
+
* "unit": "CM",
|
|
2711
|
+
* "value": 59
|
|
2712
|
+
* },
|
|
2713
|
+
* "裙长": {
|
|
2714
|
+
* "unit": "CM",
|
|
2715
|
+
* "value": 82
|
|
2716
|
+
* },
|
|
2717
|
+
* "体重建议": {
|
|
2718
|
+
* "unit": "kg",
|
|
2719
|
+
* "lower_value": 45,
|
|
2720
|
+
* "upper_value": 52.5
|
|
2721
|
+
* }
|
|
2722
|
+
* },
|
|
2723
|
+
* {
|
|
2724
|
+
* "尺码": {
|
|
2725
|
+
* "value": "L"
|
|
2726
|
+
* },
|
|
2727
|
+
* "腰围": {
|
|
2728
|
+
* "unit": "CM",
|
|
2729
|
+
* "value": 60
|
|
2730
|
+
* },
|
|
2731
|
+
* "裙长": {
|
|
2732
|
+
* "unit": "CM",
|
|
2733
|
+
* "value": 83
|
|
2734
|
+
* },
|
|
2735
|
+
* "体重建议": {
|
|
2736
|
+
* "unit": "kg",
|
|
2737
|
+
* "lower_value": 50,
|
|
2738
|
+
* "upper_value": 57.5
|
|
2739
|
+
* }
|
|
2740
|
+
* },
|
|
2741
|
+
* {
|
|
2742
|
+
* "尺码": {
|
|
2743
|
+
* "value": "XL"
|
|
2744
|
+
* },
|
|
2745
|
+
* "腰围": {
|
|
2746
|
+
* "unit": "CM",
|
|
2747
|
+
* "value": 61
|
|
2748
|
+
* },
|
|
2749
|
+
* "裙长": {
|
|
2750
|
+
* "unit": "CM",
|
|
2751
|
+
* "value": 84
|
|
2752
|
+
* },
|
|
2753
|
+
* "体重建议": {
|
|
2754
|
+
* "unit": "kg",
|
|
2755
|
+
* "lower_value": 55,
|
|
2756
|
+
* "upper_value": 62.5
|
|
2757
|
+
* }
|
|
2758
|
+
* },
|
|
2759
|
+
* {
|
|
2760
|
+
* "尺码": {
|
|
2761
|
+
* "value": "2XL"
|
|
2762
|
+
* },
|
|
2763
|
+
* "腰围": {
|
|
2764
|
+
* "unit": "CM",
|
|
2765
|
+
* "value": 62
|
|
2766
|
+
* },
|
|
2767
|
+
* "裙长": {
|
|
2768
|
+
* "unit": "CM",
|
|
2769
|
+
* "value": 85
|
|
2770
|
+
* },
|
|
2771
|
+
* "体重建议": {
|
|
2772
|
+
* "unit": "kg",
|
|
2773
|
+
* "lower_value": 60,
|
|
2774
|
+
* "upper_value": 67.5
|
|
2775
|
+
* }
|
|
2776
|
+
* }
|
|
2777
|
+
* \\],
|
|
2778
|
+
* "SizeChartAttributes": [
|
|
2779
|
+
* "Size",
|
|
2780
|
+
* "Skirt length",
|
|
2781
|
+
* "Waist",
|
|
2782
|
+
* "Weight recommendation"
|
|
2783
|
+
* \\],
|
|
2784
|
+
* "IntersectionAttributes": [
|
|
2785
|
+
* "Size",
|
|
2786
|
+
* "Skirt length",
|
|
2787
|
+
* "Waist (stretched)",
|
|
2788
|
+
* "Weight recommendation"
|
|
2789
|
+
* \\]
|
|
2790
|
+
* } |
|
|
1609
2791
|
*
|
|
1610
|
-
*
|
|
1611
|
-
*
|
|
1612
|
-
*
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
2792
|
+
* @param tmpReq - SizeChartExtractAsyncRequest
|
|
2793
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2794
|
+
* @returns SizeChartExtractAsyncResponse
|
|
2795
|
+
*/
|
|
2796
|
+
sizeChartExtractAsyncWithOptions(tmpReq: $_model.SizeChartExtractAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SizeChartExtractAsyncResponse>;
|
|
2797
|
+
/**
|
|
2798
|
+
* Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large models in asynchronous mode.
|
|
2799
|
+
*
|
|
2800
|
+
* @remarks
|
|
2801
|
+
* ## Scenarios
|
|
2802
|
+
* Size charts: Extracts size charts for apparel categories into text.
|
|
2803
|
+
* Package weight and dimensions: Extracts package weight and dimension information from images.
|
|
2804
|
+
* ## Feature description
|
|
2805
|
+
* The size chart extraction service is based on multimodal foundation models. It automatically recognizes size charts or package weight and dimension information in images and converts the information into structured text. Provide an image URL, and the system processes the request as an asynchronous task and returns the extracted structured data. You can specify the column names to be recognized, such as Size, Bust, and Length, by using ColumnNameList for precise targeted extraction. You can also control the output language by using the LanguageModel parameter. Valid values: cn for Chinese and en for English. If you do not specify this parameter, the original language is retained. This service is applicable to scenarios such as text conversion of size charts for apparel categories and batch structuring of package weight and dimension information for commodities.
|
|
2806
|
+
* Core capabilities: Input an image URL and optional column name configurations to output the structured data of the size chart or package weight and dimensions in the image. The API operation uses the asynchronous task mode (background: true). After you submit the task, a task ID is returned. You must poll the task to obtain the final result. This mode is suitable for processing complex images or handling large-scale calls.
|
|
2807
|
+
* ## Example results
|
|
2808
|
+
* | Input image | Output result |
|
|
1616
2809
|
* | --- | --- |
|
|
1617
2810
|
* |  | {
|
|
1618
2811
|
* "SizeChart": [
|
|
@@ -1708,23 +2901,60 @@ export default class Client extends OpenApi {
|
|
|
1708
2901
|
* }
|
|
1709
2902
|
* \\],
|
|
1710
2903
|
* "SizeChartAttributes": [
|
|
1711
|
-
* "
|
|
1712
|
-
* "
|
|
1713
|
-
* "
|
|
1714
|
-
* "
|
|
2904
|
+
* "Size",
|
|
2905
|
+
* "Skirt length",
|
|
2906
|
+
* "Waist",
|
|
2907
|
+
* "Weight recommendation"
|
|
1715
2908
|
* \\],
|
|
1716
2909
|
* "IntersectionAttributes": [
|
|
1717
|
-
* "
|
|
1718
|
-
* "
|
|
1719
|
-
* "
|
|
1720
|
-
* "
|
|
2910
|
+
* "Size",
|
|
2911
|
+
* "Skirt length",
|
|
2912
|
+
* "Waist (stretched)",
|
|
2913
|
+
* "Weight recommendation"
|
|
1721
2914
|
* \\]
|
|
1722
2915
|
* } |
|
|
1723
2916
|
*
|
|
1724
|
-
* @param request -
|
|
1725
|
-
* @returns
|
|
2917
|
+
* @param request - SizeChartExtractAsyncRequest
|
|
2918
|
+
* @returns SizeChartExtractAsyncResponse
|
|
1726
2919
|
*/
|
|
1727
|
-
|
|
2920
|
+
sizeChartExtractAsync(request: $_model.SizeChartExtractAsyncRequest): Promise<$_model.SizeChartExtractAsyncResponse>;
|
|
2921
|
+
/**
|
|
2922
|
+
* Reviews store photos based on storefront scene recognition and multimodal large model element localization. It outputs storefront scene classifications and confidence details, and localizes storefronts, signboards, entrances, and business signs. It is applicable to store data collection, storefront photo classification, and inspection reviews.
|
|
2923
|
+
*
|
|
2924
|
+
* @remarks
|
|
2925
|
+
* ## Common scenarios
|
|
2926
|
+
* - Storefront photo classification: Distinguishes storefront-related photos from non-storefront photos.
|
|
2927
|
+
* - Store data verification: Localizes signboards and entrances, and extracts clear and readable short text.
|
|
2928
|
+
* - Multi-store photo review: Localizes visible storefronts and signs of adjacent stores separately.
|
|
2929
|
+
* ## Features
|
|
2930
|
+
* - Scene classification and details: Returns the scenes string array and classification details. Non-storefront photos are also valid classification results.
|
|
2931
|
+
* - Storefront key element localization: Covers storefronts, signboards, store entrances, and business-related signs.
|
|
2932
|
+
* - Readable text extraction: Extracts only clear short text. It does not infer business status based on whether the door is open or closed, and does not infer addresses or store ownership.
|
|
2933
|
+
* - Supports single HTTPS image input. Supplementary localization returns up to 12 targets, each containing a category, a bounding box, and up to 24 characters of visible text. The coverage field indicates whether the localization is complete.
|
|
2934
|
+
*
|
|
2935
|
+
* @param request - StorefrontSceneRecognitionRequest
|
|
2936
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2937
|
+
* @returns StorefrontSceneRecognitionResponse
|
|
2938
|
+
*/
|
|
2939
|
+
storefrontSceneRecognitionWithOptions(request: $_model.StorefrontSceneRecognitionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StorefrontSceneRecognitionResponse>;
|
|
2940
|
+
/**
|
|
2941
|
+
* Reviews store photos based on storefront scene recognition and multimodal large model element localization. It outputs storefront scene classifications and confidence details, and localizes storefronts, signboards, entrances, and business signs. It is applicable to store data collection, storefront photo classification, and inspection reviews.
|
|
2942
|
+
*
|
|
2943
|
+
* @remarks
|
|
2944
|
+
* ## Common scenarios
|
|
2945
|
+
* - Storefront photo classification: Distinguishes storefront-related photos from non-storefront photos.
|
|
2946
|
+
* - Store data verification: Localizes signboards and entrances, and extracts clear and readable short text.
|
|
2947
|
+
* - Multi-store photo review: Localizes visible storefronts and signs of adjacent stores separately.
|
|
2948
|
+
* ## Features
|
|
2949
|
+
* - Scene classification and details: Returns the scenes string array and classification details. Non-storefront photos are also valid classification results.
|
|
2950
|
+
* - Storefront key element localization: Covers storefronts, signboards, store entrances, and business-related signs.
|
|
2951
|
+
* - Readable text extraction: Extracts only clear short text. It does not infer business status based on whether the door is open or closed, and does not infer addresses or store ownership.
|
|
2952
|
+
* - Supports single HTTPS image input. Supplementary localization returns up to 12 targets, each containing a category, a bounding box, and up to 24 characters of visible text. The coverage field indicates whether the localization is complete.
|
|
2953
|
+
*
|
|
2954
|
+
* @param request - StorefrontSceneRecognitionRequest
|
|
2955
|
+
* @returns StorefrontSceneRecognitionResponse
|
|
2956
|
+
*/
|
|
2957
|
+
storefrontSceneRecognition(request: $_model.StorefrontSceneRecognitionRequest): Promise<$_model.StorefrontSceneRecognitionResponse>;
|
|
1728
2958
|
/**
|
|
1729
2959
|
* Generates product detail page assets automatically based on a multimodal large language model (MLLM) and structured image-text extraction, designed for product detail page asset completion scenarios on e-commerce platforms and for brand merchants. The caller pushes product information to be queried (product ID, title, brand, main image, and shop name). The service automatically locates matching products and performs consistency verification, then extracts size information and product attributes from the matching product details, and renders them into size charts and attribute charts (SVG) that can be directly used on detail pages. The service also returns structured detail copy classifications and processing notes.
|
|
1730
2960
|
*
|
|
@@ -1796,32 +3026,34 @@ export default class Client extends OpenApi {
|
|
|
1796
3026
|
*/
|
|
1797
3027
|
textCorrect(request: $_model.TextCorrectRequest): Promise<$_model.TextCorrectResponse>;
|
|
1798
3028
|
/**
|
|
1799
|
-
* Maas-MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs,
|
|
3029
|
+
* Maas-MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, with continuous optimization for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports mutual translation among more than 400 language directions (including bridged directions), especially Chinese-English, Chinese-multilingual, and English-multilingual translation. It supports language detection for query phrases in 31 languages and general scenarios in 35 languages. If you do not specify a source language, automatic detection is performed.
|
|
1800
3030
|
*
|
|
1801
3031
|
* @remarks
|
|
1802
3032
|
* ## Product Introduction
|
|
1803
|
-
*
|
|
3033
|
+
* Maas-MT is an e-commerce translation model trained on over 1 billion\\+ high-quality bilingual sentence pairs, with continuous optimization for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports mutual translation among more than 400 language directions (including bridged directions), especially Chinese-English, Chinese-multilingual, and English-multilingual translation. It supports language detection for query phrases in 31 languages and general scenarios in 35 languages. If you do not specify a source language, automatic detection is performed.
|
|
1804
3034
|
* ## Common scenarios
|
|
1805
|
-
* -
|
|
1806
|
-
* -
|
|
1807
|
-
* -
|
|
1808
|
-
* -
|
|
1809
|
-
*
|
|
3035
|
+
* - Product titles: Maas-MT large model translation accurately translates phrases, keywords, and trending terms in product titles into the target language, improving product visibility on e-commerce platforms.
|
|
3036
|
+
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Maas-MT large model translation supports long text translation and HTML formatting, delivering excellent translation quality and format preservation.
|
|
3037
|
+
* - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and specifications.
|
|
3038
|
+
* - Customer service conversations: In customer service scenarios, Maas-MT optimizes issues such as missing context and typos, and supports polite expressions for certain language directions.
|
|
3039
|
+
* Maas-MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
|
|
1810
3040
|
* ## Functions and features
|
|
1811
3041
|
* - **Supported language directions**
|
|
1812
|
-
*
|
|
3042
|
+
* Maas-MT large model translation supports mutual translation among more than 400 languages and language detection for query phrases in 31 languages and general scenarios in 35 languages.
|
|
3043
|
+
* <props="china">For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/en/document_detail/3041883.html)
|
|
3044
|
+
* <props="intl">For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/zh/aidge/language-direction-mapping)
|
|
1813
3045
|
* - **Ultra-low hallucination rate and high-speed inference**
|
|
1814
|
-
*
|
|
1815
|
-
* - **Supported text format types**
|
|
1816
|
-
* Currently
|
|
1817
|
-
* - **Translation intervention**
|
|
1818
|
-
*
|
|
3046
|
+
* Maas-MT large model translation is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it delivers faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
|
|
3047
|
+
* - **Supported text format types for translation**
|
|
3048
|
+
* Currently, text and html text types are supported.
|
|
3049
|
+
* - **Translation intervention support**
|
|
3050
|
+
* Custom translation results are supported, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for scenarios such as brand name protection. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1819
3051
|
* ## Translation quality comparison
|
|
1820
|
-
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation
|
|
3052
|
+
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantages** |
|
|
1821
3053
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
1822
3054
|
* | 75mm 4Pin 0.38A GA81S2U 12V GTX 960 Cooling Fan for Zotac GTX960 Graphics Card Cooling Fan | 75mm 4Pin 0.38A GA81S2U 12V GTX 960, ventilador de enfriamiento para tarjeta gráfica Zotac GTX960. | Ventilador de refrigeración de 75mm 4Pin 0.38A GA81S2U 12V para la tarjeta gráfica Zotac GTX960 Ventilador de enfriamiento GTX 960. | Ventilador de refrigeración para tarjeta gráfica Zotac GTX960, 75mm, 4 pines, 0,38A, GA81S2U, 12V, GTX 960 | Clearer product subject |
|
|
1823
3055
|
* | New Arrival Classic Style Luxury Brand 6 Hands Swiss Automatic Mechanical Men\\"s Business Steel Watch | Nueva llegada, reloj mecánico automático de lujo con 6 manecillas, estilo clásico, de acero para hombres de negocios | Nueva Llegada Reloj De Acero de Negocios para Hombre con Mecanismo Automático Suizo y 6 Agujas de Estilo Clásico de Marca de Lujo. | Reloj de acero de negocios para hombre, mecánico automático suizo, marca de lujo, estilo clásico, 6 manos, nueva llegada | More complete sentence structure, clearer expression, and more reasonable segmentation |
|
|
1824
|
-
* | Men Key Bag Genuine Cow Leather Buckets Key Cases Pouch Zipper Keychain Auto Car Key Case Women Home Key Holder Wallet | Sac à clés pour hommes en cuir de vache véritable, étuis à clés, pochette à fermeture éclair, porte-clés, étui à clé de voiture, porte-clés pour femmes, organisateur de portefeuille | Porte-clés sac en cuir de vache véritable, étuis à clés en forme de seau, pochette à fermeture éclair, porte-clés auto pour voiture, étui à clés pour femmes, organisateur de clés de maison, portefeuille. | Hommes porte-clés en cuir de vache véritable sac/pochette fermature éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | Clearer and more accurate product subject
|
|
3056
|
+
* | Men Key Bag Genuine Cow Leather Buckets Key Cases Pouch Zipper Keychain Auto Car Key Case Women Home Key Holder Wallet | Sac à clés pour hommes en cuir de vache véritable, étuis à clés, pochette à fermeture éclair, porte-clés, étui à clé de voiture, porte-clés pour femmes, organisateur de portefeuille | Porte-clés sac en cuir de vache véritable, étuis à clés en forme de seau, pochette à fermeture éclair, porte-clés auto pour voiture, étui à clés pour femmes, organisateur de clés de maison, portefeuille. | Hommes porte-clés en cuir de vache véritable sac/pochette fermature éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | Clearer and more accurate product subject description. The translation correctly identifies the product as a "key bag" rather than a "keychain", avoiding ambiguity present in other translations.
|
|
1825
3057
|
*
|
|
1826
3058
|
* @param tmpReq - TextTranslateRequest
|
|
1827
3059
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1829,57 +3061,132 @@ export default class Client extends OpenApi {
|
|
|
1829
3061
|
*/
|
|
1830
3062
|
textTranslateWithOptions(tmpReq: $_model.TextTranslateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TextTranslateResponse>;
|
|
1831
3063
|
/**
|
|
1832
|
-
* Maas-MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs,
|
|
3064
|
+
* Maas-MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, with continuous optimization for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports mutual translation among more than 400 language directions (including bridged directions), especially Chinese-English, Chinese-multilingual, and English-multilingual translation. It supports language detection for query phrases in 31 languages and general scenarios in 35 languages. If you do not specify a source language, automatic detection is performed.
|
|
1833
3065
|
*
|
|
1834
3066
|
* @remarks
|
|
1835
3067
|
* ## Product Introduction
|
|
1836
|
-
*
|
|
3068
|
+
* Maas-MT is an e-commerce translation model trained on over 1 billion\\+ high-quality bilingual sentence pairs, with continuous optimization for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports mutual translation among more than 400 language directions (including bridged directions), especially Chinese-English, Chinese-multilingual, and English-multilingual translation. It supports language detection for query phrases in 31 languages and general scenarios in 35 languages. If you do not specify a source language, automatic detection is performed.
|
|
1837
3069
|
* ## Common scenarios
|
|
1838
|
-
* -
|
|
1839
|
-
* -
|
|
1840
|
-
* -
|
|
1841
|
-
* -
|
|
1842
|
-
*
|
|
3070
|
+
* - Product titles: Maas-MT large model translation accurately translates phrases, keywords, and trending terms in product titles into the target language, improving product visibility on e-commerce platforms.
|
|
3071
|
+
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Maas-MT large model translation supports long text translation and HTML formatting, delivering excellent translation quality and format preservation.
|
|
3072
|
+
* - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and specifications.
|
|
3073
|
+
* - Customer service conversations: In customer service scenarios, Maas-MT optimizes issues such as missing context and typos, and supports polite expressions for certain language directions.
|
|
3074
|
+
* Maas-MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
|
|
1843
3075
|
* ## Functions and features
|
|
1844
3076
|
* - **Supported language directions**
|
|
1845
|
-
*
|
|
3077
|
+
* Maas-MT large model translation supports mutual translation among more than 400 languages and language detection for query phrases in 31 languages and general scenarios in 35 languages.
|
|
3078
|
+
* <props="china">For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/en/document_detail/3041883.html)
|
|
3079
|
+
* <props="intl">For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/zh/aidge/language-direction-mapping)
|
|
1846
3080
|
* - **Ultra-low hallucination rate and high-speed inference**
|
|
1847
|
-
*
|
|
1848
|
-
* - **Supported text format types**
|
|
1849
|
-
* Currently
|
|
1850
|
-
* - **Translation intervention**
|
|
1851
|
-
*
|
|
3081
|
+
* Maas-MT large model translation is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it delivers faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
|
|
3082
|
+
* - **Supported text format types for translation**
|
|
3083
|
+
* Currently, text and html text types are supported.
|
|
3084
|
+
* - **Translation intervention support**
|
|
3085
|
+
* Custom translation results are supported, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for scenarios such as brand name protection. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1852
3086
|
* ## Translation quality comparison
|
|
1853
|
-
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation
|
|
3087
|
+
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantages** |
|
|
1854
3088
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
1855
3089
|
* | 75mm 4Pin 0.38A GA81S2U 12V GTX 960 Cooling Fan for Zotac GTX960 Graphics Card Cooling Fan | 75mm 4Pin 0.38A GA81S2U 12V GTX 960, ventilador de enfriamiento para tarjeta gráfica Zotac GTX960. | Ventilador de refrigeración de 75mm 4Pin 0.38A GA81S2U 12V para la tarjeta gráfica Zotac GTX960 Ventilador de enfriamiento GTX 960. | Ventilador de refrigeración para tarjeta gráfica Zotac GTX960, 75mm, 4 pines, 0,38A, GA81S2U, 12V, GTX 960 | Clearer product subject |
|
|
1856
3090
|
* | New Arrival Classic Style Luxury Brand 6 Hands Swiss Automatic Mechanical Men\\"s Business Steel Watch | Nueva llegada, reloj mecánico automático de lujo con 6 manecillas, estilo clásico, de acero para hombres de negocios | Nueva Llegada Reloj De Acero de Negocios para Hombre con Mecanismo Automático Suizo y 6 Agujas de Estilo Clásico de Marca de Lujo. | Reloj de acero de negocios para hombre, mecánico automático suizo, marca de lujo, estilo clásico, 6 manos, nueva llegada | More complete sentence structure, clearer expression, and more reasonable segmentation |
|
|
1857
|
-
* | Men Key Bag Genuine Cow Leather Buckets Key Cases Pouch Zipper Keychain Auto Car Key Case Women Home Key Holder Wallet | Sac à clés pour hommes en cuir de vache véritable, étuis à clés, pochette à fermeture éclair, porte-clés, étui à clé de voiture, porte-clés pour femmes, organisateur de portefeuille | Porte-clés sac en cuir de vache véritable, étuis à clés en forme de seau, pochette à fermeture éclair, porte-clés auto pour voiture, étui à clés pour femmes, organisateur de clés de maison, portefeuille. | Hommes porte-clés en cuir de vache véritable sac/pochette fermature éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | Clearer and more accurate product subject
|
|
3091
|
+
* | Men Key Bag Genuine Cow Leather Buckets Key Cases Pouch Zipper Keychain Auto Car Key Case Women Home Key Holder Wallet | Sac à clés pour hommes en cuir de vache véritable, étuis à clés, pochette à fermeture éclair, porte-clés, étui à clé de voiture, porte-clés pour femmes, organisateur de portefeuille | Porte-clés sac en cuir de vache véritable, étuis à clés en forme de seau, pochette à fermeture éclair, porte-clés auto pour voiture, étui à clés pour femmes, organisateur de clés de maison, portefeuille. | Hommes porte-clés en cuir de vache véritable sac/pochette fermature éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | Clearer and more accurate product subject description. The translation correctly identifies the product as a "key bag" rather than a "keychain", avoiding ambiguity present in other translations.
|
|
1858
3092
|
*
|
|
1859
3093
|
* @param request - TextTranslateRequest
|
|
1860
3094
|
* @returns TextTranslateResponse
|
|
1861
3095
|
*/
|
|
1862
3096
|
textTranslate(request: $_model.TextTranslateRequest): Promise<$_model.TextTranslateResponse>;
|
|
1863
3097
|
/**
|
|
1864
|
-
*
|
|
3098
|
+
* 文本翻译异步
|
|
3099
|
+
*
|
|
3100
|
+
* @remarks
|
|
3101
|
+
* ## 适用场景
|
|
3102
|
+
* * 商品标题:Maas MT大模型翻译可以将商品标题中的短语、关键词、流行词等准确翻译成目标语言,提升商品在电商平台的曝光率。
|
|
3103
|
+
*
|
|
3104
|
+
* * 商品详描:商品详描整体文本较长、格式多样且复杂,Maas 大模型翻译支持长文本翻译和 HTML 格式,翻译效果和格式还原能力表现出色。
|
|
3105
|
+
*
|
|
3106
|
+
* * 商品属性:商品属性词汇较短,且存在电商专有词(如型号、参数)等。
|
|
3107
|
+
*
|
|
3108
|
+
* * 客服对话:在客服场景中,可优化“上下文缺失、打字错误“等问题,并在部分语向上支持礼貌用语。
|
|
3109
|
+
*
|
|
3110
|
+
* 同时,Maas MT大模型翻译也可以用于通用场景的翻译,如办公、会议、日常对话等。
|
|
3111
|
+
* ## 功能介绍
|
|
3112
|
+
* * **超低幻觉率与高速推理** Maas MT大模型翻译是在翻译场景上经过偏好对齐的大语言模型,与通用大语言模型相比,翻译推理速度快,幻觉率极低,尤其适合大规模调用的场景。
|
|
3113
|
+
*
|
|
3114
|
+
* * **支持翻译的文本格式类型** 当前支持 text 和 html 的文本类型。
|
|
3115
|
+
*
|
|
3116
|
+
* * **翻译干预能力支持** 支持自定义翻译结果,包含不被翻译(ABC-ABC),指定翻译(ABC-DEF),不翻译(ABC-空值)。常用于品牌词保护等场景。只需调用接口时传入相应的干预词表ID,即可实现,可满足您在不同场景下的翻译需求。一般您可以上传10万条干预词,如有更多需要可以联系平台进行处理。
|
|
3117
|
+
*
|
|
3118
|
+
* * **翻译效果对比**
|
|
3119
|
+
* | **原文** | **Aidge译后** | **其他翻译产品1** | **其他翻译产品2** | **Aidge翻译优势** |
|
|
3120
|
+
* | --- | --- | --- | --- | --- |
|
|
3121
|
+
* | 75mm 4Pin 0.38A GA81S2U 12V GTX 960 Cooling Fan for Zotac GTX960 Graphics Card Cooling Fan | 75mm 4Pin 0.38A GA81S2U 12V GTX 960, ventilador de enfriamiento para tarjeta gráfica Zotac GTX960. | Ventilador de refrigeración de 75mm 4Pin 0.38A GA81S2U 12V para la tarjeta gráfica Zotac GTX960 Ventilador de enfriamiento GTX 960. | Ventilador de refrigeración para tarjeta gráfica Zotac GTX960, 75mm, 4 pines, 0,38A, GA81S2U, 12V, GTX 960 | 商品主体更清晰 |
|
|
3122
|
+
* | New Arrival Classic Style Luxury Brand 6 Hands Swiss Automatic Mechanical Men\\"s Business Steel Watch | Nueva llegada, reloj mecánico automático de lujo con 6 manecillas, estilo clásico, de acero para hombres de negocios | Nueva Llegada Reloj De Acero de Negocios para Hombre con Mecanismo Automático Suizo y 6 Agujas de Estilo Clásico de Marca de Lujo. | Reloj de acero de negocios para hombre, mecánico automático suizo, marca de lujo, estilo clásico, 6 manos, nueva llegada | 句式更完整,表述更清晰,断句更合理 |
|
|
3123
|
+
* | Men Key Bag Genuine Cow Leather Buckets Key Cases Pouch Zipper Keychain Auto Car Key Case Women Home Key Holder Wallet | Sac à clés pour hommes en cuir de vache véritable, étuis à clés, pochette à fermeture éclair, porte-clés, étui à clé de voiture, porte-clés pour femmes, organisateur de portefeuille | Porte-clés sac en cuir de vache véritable, étuis à clés en forme de seau, pochette à fermeture éclair, porte-clés auto pour voiture, étui à clés pour femmes, organisateur de clés de maison, portefeuille. | Hommes porte-clés en cuir de vache véritable sac/pochette fermature éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | 产品主体表述更清晰明确,是“钥匙包”而非“钥匙扣”,其它译文容易对产品主体产生歧义 |
|
|
3124
|
+
* ## 接入准备与调用流程
|
|
3125
|
+
* 文本翻译支持同步和异步两种调用方式。本文介绍异步调用接口,如需使用同步调用,请参阅[《文本翻译-同步接口》](https://api.aliyun.com/document/Aidge/2026-04-28/TextTranslate)。
|
|
3126
|
+
* 文本翻译及其他能力的异步接口共用结果获取流程、RocketMQ 订阅规则、消息加密协议、依赖配置,以及 Java 消费与解密代码。
|
|
3127
|
+
* 异步调用的接入流程,订阅规则,消息格式与加密协议,以及详细的接入方案请参阅[异步接口调用说明](https://help.aliyun.com/zh/aidge/asynchronous-interface-call-instructions)。
|
|
3128
|
+
*
|
|
3129
|
+
* @param tmpReq - TextTranslateAsyncRequest
|
|
3130
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3131
|
+
* @returns TextTranslateAsyncResponse
|
|
3132
|
+
*/
|
|
3133
|
+
textTranslateAsyncWithOptions(tmpReq: $_model.TextTranslateAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TextTranslateAsyncResponse>;
|
|
3134
|
+
/**
|
|
3135
|
+
* 文本翻译异步
|
|
3136
|
+
*
|
|
3137
|
+
* @remarks
|
|
3138
|
+
* ## 适用场景
|
|
3139
|
+
* * 商品标题:Maas MT大模型翻译可以将商品标题中的短语、关键词、流行词等准确翻译成目标语言,提升商品在电商平台的曝光率。
|
|
3140
|
+
*
|
|
3141
|
+
* * 商品详描:商品详描整体文本较长、格式多样且复杂,Maas 大模型翻译支持长文本翻译和 HTML 格式,翻译效果和格式还原能力表现出色。
|
|
3142
|
+
*
|
|
3143
|
+
* * 商品属性:商品属性词汇较短,且存在电商专有词(如型号、参数)等。
|
|
3144
|
+
*
|
|
3145
|
+
* * 客服对话:在客服场景中,可优化“上下文缺失、打字错误“等问题,并在部分语向上支持礼貌用语。
|
|
3146
|
+
*
|
|
3147
|
+
* 同时,Maas MT大模型翻译也可以用于通用场景的翻译,如办公、会议、日常对话等。
|
|
3148
|
+
* ## 功能介绍
|
|
3149
|
+
* * **超低幻觉率与高速推理** Maas MT大模型翻译是在翻译场景上经过偏好对齐的大语言模型,与通用大语言模型相比,翻译推理速度快,幻觉率极低,尤其适合大规模调用的场景。
|
|
3150
|
+
*
|
|
3151
|
+
* * **支持翻译的文本格式类型** 当前支持 text 和 html 的文本类型。
|
|
3152
|
+
*
|
|
3153
|
+
* * **翻译干预能力支持** 支持自定义翻译结果,包含不被翻译(ABC-ABC),指定翻译(ABC-DEF),不翻译(ABC-空值)。常用于品牌词保护等场景。只需调用接口时传入相应的干预词表ID,即可实现,可满足您在不同场景下的翻译需求。一般您可以上传10万条干预词,如有更多需要可以联系平台进行处理。
|
|
3154
|
+
*
|
|
3155
|
+
* * **翻译效果对比**
|
|
3156
|
+
* | **原文** | **Aidge译后** | **其他翻译产品1** | **其他翻译产品2** | **Aidge翻译优势** |
|
|
3157
|
+
* | --- | --- | --- | --- | --- |
|
|
3158
|
+
* | 75mm 4Pin 0.38A GA81S2U 12V GTX 960 Cooling Fan for Zotac GTX960 Graphics Card Cooling Fan | 75mm 4Pin 0.38A GA81S2U 12V GTX 960, ventilador de enfriamiento para tarjeta gráfica Zotac GTX960. | Ventilador de refrigeración de 75mm 4Pin 0.38A GA81S2U 12V para la tarjeta gráfica Zotac GTX960 Ventilador de enfriamiento GTX 960. | Ventilador de refrigeración para tarjeta gráfica Zotac GTX960, 75mm, 4 pines, 0,38A, GA81S2U, 12V, GTX 960 | 商品主体更清晰 |
|
|
3159
|
+
* | New Arrival Classic Style Luxury Brand 6 Hands Swiss Automatic Mechanical Men\\"s Business Steel Watch | Nueva llegada, reloj mecánico automático de lujo con 6 manecillas, estilo clásico, de acero para hombres de negocios | Nueva Llegada Reloj De Acero de Negocios para Hombre con Mecanismo Automático Suizo y 6 Agujas de Estilo Clásico de Marca de Lujo. | Reloj de acero de negocios para hombre, mecánico automático suizo, marca de lujo, estilo clásico, 6 manos, nueva llegada | 句式更完整,表述更清晰,断句更合理 |
|
|
3160
|
+
* | Men Key Bag Genuine Cow Leather Buckets Key Cases Pouch Zipper Keychain Auto Car Key Case Women Home Key Holder Wallet | Sac à clés pour hommes en cuir de vache véritable, étuis à clés, pochette à fermeture éclair, porte-clés, étui à clé de voiture, porte-clés pour femmes, organisateur de portefeuille | Porte-clés sac en cuir de vache véritable, étuis à clés en forme de seau, pochette à fermeture éclair, porte-clés auto pour voiture, étui à clés pour femmes, organisateur de clés de maison, portefeuille. | Hommes porte-clés en cuir de vache véritable sac/pochette fermature éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | 产品主体表述更清晰明确,是“钥匙包”而非“钥匙扣”,其它译文容易对产品主体产生歧义 |
|
|
3161
|
+
* ## 接入准备与调用流程
|
|
3162
|
+
* 文本翻译支持同步和异步两种调用方式。本文介绍异步调用接口,如需使用同步调用,请参阅[《文本翻译-同步接口》](https://api.aliyun.com/document/Aidge/2026-04-28/TextTranslate)。
|
|
3163
|
+
* 文本翻译及其他能力的异步接口共用结果获取流程、RocketMQ 订阅规则、消息加密协议、依赖配置,以及 Java 消费与解密代码。
|
|
3164
|
+
* 异步调用的接入流程,订阅规则,消息格式与加密协议,以及详细的接入方案请参阅[异步接口调用说明](https://help.aliyun.com/zh/aidge/asynchronous-interface-call-instructions)。
|
|
3165
|
+
*
|
|
3166
|
+
* @param request - TextTranslateAsyncRequest
|
|
3167
|
+
* @returns TextTranslateAsyncResponse
|
|
3168
|
+
*/
|
|
3169
|
+
textTranslateAsync(request: $_model.TextTranslateAsyncRequest): Promise<$_model.TextTranslateAsyncResponse>;
|
|
3170
|
+
/**
|
|
3171
|
+
* The e-commerce AI video generation agent is designed for e-commerce merchants and platforms. Based on product main images, titles, and selling points, it automatically generates 5- to 30-second product showcase short videos to help customers efficiently produce and distribute e-commerce content. The product supports multiple resolution outputs such as 720P and 1080P. You can invoke single products quickly and generate multiple products in batches, meeting the needs of daily operations and large-scale product content production. It currently overwrites all clothing categories (tops, pants, skirts, suits, underwear, swimwear, etc.) and is gradually expanding to core e-commerce categories such as skincare, cosmetics, food and beverages, and home appliances.
|
|
1865
3172
|
*
|
|
1866
3173
|
* @remarks
|
|
1867
3174
|
* # Scenarios
|
|
1868
|
-
* -
|
|
1869
|
-
* -
|
|
1870
|
-
* - High-fidelity
|
|
1871
|
-
* -
|
|
1872
|
-
* -
|
|
1873
|
-
* - Multi-product and multi-selling
|
|
3175
|
+
* - Batch generation of product short videos for sellers and platforms: Supports multiple video aspect ratios and sizes (3:4, 9:16), adapting to product detail page video slots, product homepage displays, information feed placements, short video promotions, and event venue materials.
|
|
3176
|
+
* - Quick generation of the first batch of video materials for new product launches: When merchants have a large number of new products to launch, they only need to upload basic information such as product images and titles to quickly generate product showcase videos, model wearing videos, and spoken explanation videos, helping merchants quickly complete material deployment during the launch phase.
|
|
3177
|
+
* - High-fidelity clothing display: Generates model display videos that are closer to real commercial shooting effects based on product main images, focusing on optimizing capabilities such as pattern restoration, fabric texture retention, accurate color presentation, and stable and consistent details. It supports common e-commerce display methods such as wearing, turning, walking, close-up shots, and multi-angle switching.
|
|
3178
|
+
* - Generation of high-quality commercial shooting models: Built-in target audience model library, covering plus-size women, plus-size men, swimwear, girl style, light mature commuting, youth casual, business menswear, sports and fitness, and other body types, skin colors, and races. It supports various commercial shooting expressions such as standing display, side display, walking display, and partial close-ups.
|
|
3179
|
+
* - High-frequency e-commerce scenarios such as standard product explanations: Applicable to standardized product categories such as skincare, cosmetics, personal care small appliances, food and beverages, home cleaning daily necessities, and 3C digital products. It can quickly generate product explanation videos based on product main images, titles, selling point information, and explanation scripts.
|
|
3180
|
+
* - Multi-product and multi-selling point testing to improve delivery efficiency: For information feed advertising, short video delivery, and content promotion scenarios, it can quickly generate multiple versions of video materials, making it easy for enterprises to verify the conversion effects of different selling points and presentation forms at a low cost, and improve delivery ROI.
|
|
1874
3181
|
* # Features
|
|
1875
|
-
* - Fully
|
|
1876
|
-
* - Highly stable generation with low waste rate:
|
|
1877
|
-
* - E-commerce
|
|
1878
|
-
* - Reference image
|
|
1879
|
-
* - Flexible storyboard arrangement and duration control: Supports adjustable video duration
|
|
1880
|
-
* - Cinematic camera movement capabilities: Built-in advanced camera movement modes
|
|
1881
|
-
* - Model library and customization services: Built-in multi-type model resource library
|
|
1882
|
-
* -
|
|
3182
|
+
* - Fully automatic end-to-end batch generation with zero prompt threshold: Callers only need to pass in the product image URL and title, and the system automatically completes the entire process from product understanding, storyboard planning to video generation, without the need to manually write prompts, select templates, or repeatedly adjust parameters. Built-in multiple agents such as product understanding, image quality inspection, script planning, and director camera movement greatly lower the threshold for use.
|
|
3183
|
+
* - Highly stable generation with a low waste rate: Adopts a deterministic generation process and multi-layer quality control mechanism to output usable materials with fewer retries, reducing invalid generation and resource waste, and making the overall production cost more controllable.
|
|
3184
|
+
* - E-commerce exclusive product fidelity capability: Built-in multi-round quality inspection agent locks the product state throughout the video generation process (such as zippers will not be pulled open, sleeves will not be put down, and prints will not disappear), ensuring product consistency through multi-layer defense of script rewriting, explicit constraint injection, and failure-aware retry.
|
|
3185
|
+
* - Reference image first + 6-axis consistency check: Adopts the Reference-Image-First generation paradigm, using the original product image as the only visual source of truth, and automatically performs 6-dimensional VL diagnosis (color drift, pattern missing, contour deviation, structure addition/reduction, model matching, dirt detection) to fundamentally eliminate the problem of generated images not looking like the product.
|
|
3186
|
+
* - Flexible storyboard arrangement and duration control: Supports adjustable video duration of 5 to 30 seconds; the agent independently plans independent storyboards to display the product effects in different scenarios; it also supports a fixed scene mode to deeply display the product tonality under a unified visual style.
|
|
3187
|
+
* - Cinematic camera movement capabilities: Built-in advanced camera movement modes such as bullet time, Grammy slow motion, 360° surround rotation, and model full-body rotation display, achieving deterministic output through segmented precise control.
|
|
3188
|
+
* - Model library and customization services: Built-in multi-type model resource library, supporting merchants to specify fixed models, customize exclusive model images, and bind brand visual personas for a long time to ensure brand visual consistency.
|
|
3189
|
+
* - Adapting to high-frequency e-commerce content scenarios: Supports multiple resolutions such as 720P and 1080P, and multiple aspect ratios such as 3:4 and 9:16, adapting to product detail page video slots, product homepage video displays, waterfall/information feed placements, event venue materials, and new product and promotional video generation.
|
|
1883
3190
|
*
|
|
1884
3191
|
* @param tmpReq - VideoGenerationRequest
|
|
1885
3192
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1887,53 +3194,53 @@ export default class Client extends OpenApi {
|
|
|
1887
3194
|
*/
|
|
1888
3195
|
videoGenerationWithOptions(tmpReq: $_model.VideoGenerationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.VideoGenerationResponse>;
|
|
1889
3196
|
/**
|
|
1890
|
-
* The
|
|
3197
|
+
* The e-commerce AI video generation agent is designed for e-commerce merchants and platforms. Based on product main images, titles, and selling points, it automatically generates 5- to 30-second product showcase short videos to help customers efficiently produce and distribute e-commerce content. The product supports multiple resolution outputs such as 720P and 1080P. You can invoke single products quickly and generate multiple products in batches, meeting the needs of daily operations and large-scale product content production. It currently overwrites all clothing categories (tops, pants, skirts, suits, underwear, swimwear, etc.) and is gradually expanding to core e-commerce categories such as skincare, cosmetics, food and beverages, and home appliances.
|
|
1891
3198
|
*
|
|
1892
3199
|
* @remarks
|
|
1893
3200
|
* # Scenarios
|
|
1894
|
-
* -
|
|
1895
|
-
* -
|
|
1896
|
-
* - High-fidelity
|
|
1897
|
-
* -
|
|
1898
|
-
* -
|
|
1899
|
-
* - Multi-product and multi-selling
|
|
3201
|
+
* - Batch generation of product short videos for sellers and platforms: Supports multiple video aspect ratios and sizes (3:4, 9:16), adapting to product detail page video slots, product homepage displays, information feed placements, short video promotions, and event venue materials.
|
|
3202
|
+
* - Quick generation of the first batch of video materials for new product launches: When merchants have a large number of new products to launch, they only need to upload basic information such as product images and titles to quickly generate product showcase videos, model wearing videos, and spoken explanation videos, helping merchants quickly complete material deployment during the launch phase.
|
|
3203
|
+
* - High-fidelity clothing display: Generates model display videos that are closer to real commercial shooting effects based on product main images, focusing on optimizing capabilities such as pattern restoration, fabric texture retention, accurate color presentation, and stable and consistent details. It supports common e-commerce display methods such as wearing, turning, walking, close-up shots, and multi-angle switching.
|
|
3204
|
+
* - Generation of high-quality commercial shooting models: Built-in target audience model library, covering plus-size women, plus-size men, swimwear, girl style, light mature commuting, youth casual, business menswear, sports and fitness, and other body types, skin colors, and races. It supports various commercial shooting expressions such as standing display, side display, walking display, and partial close-ups.
|
|
3205
|
+
* - High-frequency e-commerce scenarios such as standard product explanations: Applicable to standardized product categories such as skincare, cosmetics, personal care small appliances, food and beverages, home cleaning daily necessities, and 3C digital products. It can quickly generate product explanation videos based on product main images, titles, selling point information, and explanation scripts.
|
|
3206
|
+
* - Multi-product and multi-selling point testing to improve delivery efficiency: For information feed advertising, short video delivery, and content promotion scenarios, it can quickly generate multiple versions of video materials, making it easy for enterprises to verify the conversion effects of different selling points and presentation forms at a low cost, and improve delivery ROI.
|
|
1900
3207
|
* # Features
|
|
1901
|
-
* - Fully
|
|
1902
|
-
* - Highly stable generation with low waste rate:
|
|
1903
|
-
* - E-commerce
|
|
1904
|
-
* - Reference image
|
|
1905
|
-
* - Flexible storyboard arrangement and duration control: Supports adjustable video duration
|
|
1906
|
-
* - Cinematic camera movement capabilities: Built-in advanced camera movement modes
|
|
1907
|
-
* - Model library and customization services: Built-in multi-type model resource library
|
|
1908
|
-
* -
|
|
3208
|
+
* - Fully automatic end-to-end batch generation with zero prompt threshold: Callers only need to pass in the product image URL and title, and the system automatically completes the entire process from product understanding, storyboard planning to video generation, without the need to manually write prompts, select templates, or repeatedly adjust parameters. Built-in multiple agents such as product understanding, image quality inspection, script planning, and director camera movement greatly lower the threshold for use.
|
|
3209
|
+
* - Highly stable generation with a low waste rate: Adopts a deterministic generation process and multi-layer quality control mechanism to output usable materials with fewer retries, reducing invalid generation and resource waste, and making the overall production cost more controllable.
|
|
3210
|
+
* - E-commerce exclusive product fidelity capability: Built-in multi-round quality inspection agent locks the product state throughout the video generation process (such as zippers will not be pulled open, sleeves will not be put down, and prints will not disappear), ensuring product consistency through multi-layer defense of script rewriting, explicit constraint injection, and failure-aware retry.
|
|
3211
|
+
* - Reference image first + 6-axis consistency check: Adopts the Reference-Image-First generation paradigm, using the original product image as the only visual source of truth, and automatically performs 6-dimensional VL diagnosis (color drift, pattern missing, contour deviation, structure addition/reduction, model matching, dirt detection) to fundamentally eliminate the problem of generated images not looking like the product.
|
|
3212
|
+
* - Flexible storyboard arrangement and duration control: Supports adjustable video duration of 5 to 30 seconds; the agent independently plans independent storyboards to display the product effects in different scenarios; it also supports a fixed scene mode to deeply display the product tonality under a unified visual style.
|
|
3213
|
+
* - Cinematic camera movement capabilities: Built-in advanced camera movement modes such as bullet time, Grammy slow motion, 360° surround rotation, and model full-body rotation display, achieving deterministic output through segmented precise control.
|
|
3214
|
+
* - Model library and customization services: Built-in multi-type model resource library, supporting merchants to specify fixed models, customize exclusive model images, and bind brand visual personas for a long time to ensure brand visual consistency.
|
|
3215
|
+
* - Adapting to high-frequency e-commerce content scenarios: Supports multiple resolutions such as 720P and 1080P, and multiple aspect ratios such as 3:4 and 9:16, adapting to product detail page video slots, product homepage video displays, waterfall/information feed placements, event venue materials, and new product and promotional video generation.
|
|
1909
3216
|
*
|
|
1910
3217
|
* @param request - VideoGenerationRequest
|
|
1911
3218
|
* @returns VideoGenerationResponse
|
|
1912
3219
|
*/
|
|
1913
3220
|
videoGeneration(request: $_model.VideoGenerationRequest): Promise<$_model.VideoGenerationResponse>;
|
|
1914
3221
|
/**
|
|
1915
|
-
*
|
|
3222
|
+
* Translates embedded text, such as subtitles and selling points, in video frames into a target language and erases the original text.
|
|
1916
3223
|
*
|
|
1917
3224
|
* @remarks
|
|
1918
|
-
* ##
|
|
1919
|
-
* The video translation API translates
|
|
1920
|
-
*
|
|
1921
|
-
* ##
|
|
1922
|
-
* * **Cross-border e-commerce video localization**: Translates
|
|
3225
|
+
* ## Product introduction
|
|
3226
|
+
* The video translation API translates speech and on-screen text in videos into a target language. You can select speech and subtitle translation, on-screen text translation, or both. This API is suitable for scenarios such as multi-language distribution of e-commerce videos, international social media marketing, and global brand advertising.
|
|
3227
|
+
* This API uses asynchronous invocation. After you submit a translation task, you obtain a TaskId. You can use the query API to poll the task status until the task is completed and then obtain the result.
|
|
3228
|
+
* ## Scenarios
|
|
3229
|
+
* * **Cross-border e-commerce video localization**: Translates selling point text in product introduction videos into the language of the target market to promote products on overseas platforms.
|
|
1923
3230
|
*
|
|
1924
|
-
* * **International social media marketing**: Localizes text
|
|
3231
|
+
* * **International social media marketing**: Localizes on-screen text in videos for platforms such as TikTok, Instagram, and YouTube with one click to improve comprehension and conversion rates among overseas users.
|
|
1925
3232
|
*
|
|
1926
|
-
* * **Global brand advertising**: Automatically generates video versions in the
|
|
3233
|
+
* * **Global brand advertising**: Automatically generates video versions in the languages of the delivery regions to reduce manual production costs.
|
|
1927
3234
|
*
|
|
1928
|
-
* * **Training and product instructions**: Translates on-screen text in training courses or product
|
|
1929
|
-
* ##
|
|
3235
|
+
* * **Training and product instructions**: Translates on-screen text in training courses or product demo videos into multiple languages for global teams.
|
|
3236
|
+
* ## Features
|
|
1930
3237
|
* | Feature | Identifier | Description |
|
|
1931
3238
|
* | --- | --- | --- |
|
|
1932
|
-
* |
|
|
1933
|
-
*
|
|
1934
|
-
*
|
|
1935
|
-
*
|
|
1936
|
-
*
|
|
3239
|
+
* | Speech and subtitle translation | speech | Translates video speech into target language voiceovers. Does not erase original subtitles or add new subtitles. |
|
|
3240
|
+
* | On-screen text translation | visual | Translates embedded text in video frames, such as subtitles and selling points, and erases the original text. You can enable quality check for on-screen text processing by using the API. |
|
|
3241
|
+
* Speech and subtitle translation (speech) generates target language voiceovers based on the spoken content in the video and synthesizes them into the video. It does not erase original subtitles or add new subtitles. Original subtitles refer to the existing subtitles in the video frames that correspond to the spoken content.
|
|
3242
|
+
* On-screen text translation (visual) targets recognizable text in the original video language within the video frames, such as titles, product selling points, and descriptive text. It can be used independently without selecting speech and subtitle translation first. The text does not need to appear in the speech. Original subtitles within the processing scope may also be processed.
|
|
3243
|
+
* When both speech and visual are selected, the speech and subtitle translation is completed and the video is synthesized first. Then, on-screen text processing is performed on this video. The translated voiceover is retained, and a final video is output. The order of features in the array does not affect the execution order. Therefore, not processing original subtitles only means that the speech and subtitle phase does not erase or add subtitles. The subsequent on-screen text processing may still change the original subtitles.
|
|
1937
3244
|
*
|
|
1938
3245
|
* @param tmpReq - VideoTranslationRequest
|
|
1939
3246
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1941,28 +3248,28 @@ export default class Client extends OpenApi {
|
|
|
1941
3248
|
*/
|
|
1942
3249
|
videoTranslationWithOptions(tmpReq: $_model.VideoTranslationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.VideoTranslationResponse>;
|
|
1943
3250
|
/**
|
|
1944
|
-
*
|
|
3251
|
+
* Translates embedded text, such as subtitles and selling points, in video frames into a target language and erases the original text.
|
|
1945
3252
|
*
|
|
1946
3253
|
* @remarks
|
|
1947
|
-
* ##
|
|
1948
|
-
* The video translation API translates
|
|
1949
|
-
*
|
|
1950
|
-
* ##
|
|
1951
|
-
* * **Cross-border e-commerce video localization**: Translates
|
|
3254
|
+
* ## Product introduction
|
|
3255
|
+
* The video translation API translates speech and on-screen text in videos into a target language. You can select speech and subtitle translation, on-screen text translation, or both. This API is suitable for scenarios such as multi-language distribution of e-commerce videos, international social media marketing, and global brand advertising.
|
|
3256
|
+
* This API uses asynchronous invocation. After you submit a translation task, you obtain a TaskId. You can use the query API to poll the task status until the task is completed and then obtain the result.
|
|
3257
|
+
* ## Scenarios
|
|
3258
|
+
* * **Cross-border e-commerce video localization**: Translates selling point text in product introduction videos into the language of the target market to promote products on overseas platforms.
|
|
1952
3259
|
*
|
|
1953
|
-
* * **International social media marketing**: Localizes text
|
|
3260
|
+
* * **International social media marketing**: Localizes on-screen text in videos for platforms such as TikTok, Instagram, and YouTube with one click to improve comprehension and conversion rates among overseas users.
|
|
1954
3261
|
*
|
|
1955
|
-
* * **Global brand advertising**: Automatically generates video versions in the
|
|
3262
|
+
* * **Global brand advertising**: Automatically generates video versions in the languages of the delivery regions to reduce manual production costs.
|
|
1956
3263
|
*
|
|
1957
|
-
* * **Training and product instructions**: Translates on-screen text in training courses or product
|
|
1958
|
-
* ##
|
|
3264
|
+
* * **Training and product instructions**: Translates on-screen text in training courses or product demo videos into multiple languages for global teams.
|
|
3265
|
+
* ## Features
|
|
1959
3266
|
* | Feature | Identifier | Description |
|
|
1960
3267
|
* | --- | --- | --- |
|
|
1961
|
-
* |
|
|
1962
|
-
*
|
|
1963
|
-
*
|
|
1964
|
-
*
|
|
1965
|
-
*
|
|
3268
|
+
* | Speech and subtitle translation | speech | Translates video speech into target language voiceovers. Does not erase original subtitles or add new subtitles. |
|
|
3269
|
+
* | On-screen text translation | visual | Translates embedded text in video frames, such as subtitles and selling points, and erases the original text. You can enable quality check for on-screen text processing by using the API. |
|
|
3270
|
+
* Speech and subtitle translation (speech) generates target language voiceovers based on the spoken content in the video and synthesizes them into the video. It does not erase original subtitles or add new subtitles. Original subtitles refer to the existing subtitles in the video frames that correspond to the spoken content.
|
|
3271
|
+
* On-screen text translation (visual) targets recognizable text in the original video language within the video frames, such as titles, product selling points, and descriptive text. It can be used independently without selecting speech and subtitle translation first. The text does not need to appear in the speech. Original subtitles within the processing scope may also be processed.
|
|
3272
|
+
* When both speech and visual are selected, the speech and subtitle translation is completed and the video is synthesized first. Then, on-screen text processing is performed on this video. The translated voiceover is retained, and a final video is output. The order of features in the array does not affect the execution order. Therefore, not processing original subtitles only means that the speech and subtitle phase does not erase or add subtitles. The subsequent on-screen text processing may still change the original subtitles.
|
|
1966
3273
|
*
|
|
1967
3274
|
* @param request - VideoTranslationRequest
|
|
1968
3275
|
* @returns VideoTranslationResponse
|