@alicloud/aidge20260428 5.8.0 → 5.10.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 +1534 -313
- package/dist/client.js +2648 -749
- package/dist/client.js.map +1 -1
- package/dist/models/AddDisplayKnowledgeRequest.d.ts +68 -0
- package/dist/models/AddDisplayKnowledgeRequest.js +88 -0
- package/dist/models/AddDisplayKnowledgeRequest.js.map +1 -0
- package/dist/models/AddDisplayKnowledgeResponse.d.ts +19 -0
- package/dist/models/AddDisplayKnowledgeResponse.js +69 -0
- package/dist/models/AddDisplayKnowledgeResponse.js.map +1 -0
- package/dist/models/AddDisplayKnowledgeResponseBody.d.ts +210 -0
- package/dist/models/AddDisplayKnowledgeResponseBody.js +143 -0
- package/dist/models/AddDisplayKnowledgeResponseBody.js.map +1 -0
- package/dist/models/AddDisplayKnowledgeShrinkRequest.d.ts +30 -0
- package/dist/models/AddDisplayKnowledgeShrinkRequest.js +60 -0
- package/dist/models/AddDisplayKnowledgeShrinkRequest.js.map +1 -0
- package/dist/models/AiTryOnRequest.d.ts +4 -4
- package/dist/models/AiTryOnResponseBody.d.ts +10 -10
- package/dist/models/AiTryOnResponseBody.js +0 -2
- package/dist/models/AiTryOnResponseBody.js.map +1 -1
- package/dist/models/DeleteDisplayKnowledgeRequest.d.ts +30 -0
- package/dist/models/DeleteDisplayKnowledgeRequest.js +63 -0
- package/dist/models/DeleteDisplayKnowledgeRequest.js.map +1 -0
- package/dist/models/DeleteDisplayKnowledgeResponse.d.ts +19 -0
- package/dist/models/DeleteDisplayKnowledgeResponse.js +69 -0
- package/dist/models/DeleteDisplayKnowledgeResponse.js.map +1 -0
- package/dist/models/DeleteDisplayKnowledgeResponseBody.d.ts +214 -0
- package/dist/models/DeleteDisplayKnowledgeResponseBody.js +145 -0
- package/dist/models/DeleteDisplayKnowledgeResponseBody.js.map +1 -0
- package/dist/models/DeleteDisplayKnowledgeShrinkRequest.d.ts +30 -0
- package/dist/models/DeleteDisplayKnowledgeShrinkRequest.js +60 -0
- package/dist/models/DeleteDisplayKnowledgeShrinkRequest.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/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/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 +11 -7
- package/dist/models/ImageTranslationStandardRequest.js.map +1 -1
- package/dist/models/ImageTranslationStandardResponseBody.d.ts +8 -8
- 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/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 +2 -10
- package/dist/models/PetHealthAnalysisRequest.js.map +1 -1
- package/dist/models/PetHealthAnalysisResponseBody.d.ts +0 -19
- package/dist/models/PetHealthAnalysisResponseBody.js.map +1 -1
- package/dist/models/PetHealthAnalysisShrinkRequest.d.ts +2 -10
- package/dist/models/PetHealthAnalysisShrinkRequest.js.map +1 -1
- package/dist/models/QueryDisplayKnowledgeRequest.d.ts +60 -0
- package/dist/models/QueryDisplayKnowledgeRequest.js +71 -0
- package/dist/models/QueryDisplayKnowledgeRequest.js.map +1 -0
- package/dist/models/QueryDisplayKnowledgeResponse.d.ts +19 -0
- package/dist/models/QueryDisplayKnowledgeResponse.js +69 -0
- package/dist/models/QueryDisplayKnowledgeResponse.js.map +1 -0
- package/dist/models/QueryDisplayKnowledgeResponseBody.d.ts +240 -0
- package/dist/models/QueryDisplayKnowledgeResponseBody.js +151 -0
- package/dist/models/QueryDisplayKnowledgeResponseBody.js.map +1 -0
- package/dist/models/QueryDisplayKnowledgeShrinkRequest.d.ts +60 -0
- package/dist/models/QueryDisplayKnowledgeShrinkRequest.js +68 -0
- package/dist/models/QueryDisplayKnowledgeShrinkRequest.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 +84 -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 +70 -0
- package/dist/models/TextTranslateAsyncResponseBody.js +88 -0
- package/dist/models/TextTranslateAsyncResponseBody.js.map +1 -0
- package/dist/models/TextTranslateAsyncShrinkRequest.d.ts +84 -0
- package/dist/models/TextTranslateAsyncShrinkRequest.js +72 -0
- package/dist/models/TextTranslateAsyncShrinkRequest.js.map +1 -0
- package/dist/models/TextTranslateRequest.d.ts +10 -10
- package/dist/models/TextTranslateResponseBody.d.ts +1 -1
- package/dist/models/TextTranslateShrinkRequest.d.ts +10 -10
- package/dist/models/UpdateDisplayKnowledgeRequest.d.ts +74 -0
- package/dist/models/UpdateDisplayKnowledgeRequest.js +88 -0
- package/dist/models/UpdateDisplayKnowledgeRequest.js.map +1 -0
- package/dist/models/UpdateDisplayKnowledgeResponse.d.ts +19 -0
- package/dist/models/UpdateDisplayKnowledgeResponse.js +69 -0
- package/dist/models/UpdateDisplayKnowledgeResponse.js.map +1 -0
- package/dist/models/UpdateDisplayKnowledgeResponseBody.d.ts +206 -0
- package/dist/models/UpdateDisplayKnowledgeResponseBody.js +143 -0
- package/dist/models/UpdateDisplayKnowledgeResponseBody.js.map +1 -0
- package/dist/models/UpdateDisplayKnowledgeShrinkRequest.d.ts +30 -0
- package/dist/models/UpdateDisplayKnowledgeShrinkRequest.js +60 -0
- package/dist/models/UpdateDisplayKnowledgeShrinkRequest.js.map +1 -0
- 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 +4 -4
- 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 +115 -0
- package/dist/models/model.js +237 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2810 -786
- package/src/models/AddDisplayKnowledgeRequest.ts +100 -0
- package/src/models/AddDisplayKnowledgeResponse.ts +40 -0
- package/src/models/AddDisplayKnowledgeResponseBody.ts +288 -0
- package/src/models/AddDisplayKnowledgeShrinkRequest.ts +45 -0
- package/src/models/AiTryOnRequest.ts +4 -4
- package/src/models/AiTryOnResponseBody.ts +10 -10
- package/src/models/DeleteDisplayKnowledgeRequest.ts +48 -0
- package/src/models/DeleteDisplayKnowledgeResponse.ts +40 -0
- package/src/models/DeleteDisplayKnowledgeResponseBody.ts +294 -0
- package/src/models/DeleteDisplayKnowledgeShrinkRequest.ts +45 -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/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/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 +11 -7
- package/src/models/ImageTranslationStandardResponseBody.ts +8 -8
- package/src/models/MerchandisePlacementDetectionLiteRequest.ts +36 -0
- package/src/models/MerchandisePlacementDetectionLiteResponse.ts +40 -0
- package/src/models/MerchandisePlacementDetectionLiteResponseBody.ts +367 -0
- 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 +2 -10
- package/src/models/PetHealthAnalysisResponseBody.ts +0 -19
- package/src/models/PetHealthAnalysisShrinkRequest.ts +2 -10
- package/src/models/QueryDisplayKnowledgeRequest.ts +86 -0
- package/src/models/QueryDisplayKnowledgeResponse.ts +40 -0
- package/src/models/QueryDisplayKnowledgeResponseBody.ts +326 -0
- package/src/models/QueryDisplayKnowledgeShrinkRequest.ts +83 -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 +114 -0
- package/src/models/TextTranslateAsyncResponse.ts +40 -0
- package/src/models/TextTranslateAsyncResponseBody.ts +104 -0
- package/src/models/TextTranslateAsyncShrinkRequest.ts +111 -0
- package/src/models/TextTranslateRequest.ts +10 -10
- package/src/models/TextTranslateResponseBody.ts +1 -1
- package/src/models/TextTranslateShrinkRequest.ts +10 -10
- package/src/models/UpdateDisplayKnowledgeRequest.ts +108 -0
- package/src/models/UpdateDisplayKnowledgeResponse.ts +40 -0
- package/src/models/UpdateDisplayKnowledgeResponseBody.ts +284 -0
- package/src/models/UpdateDisplayKnowledgeShrinkRequest.ts +45 -0
- 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 +4 -4
- package/src/models/VideoTranslationShrinkRequest.ts +44 -6
- package/src/models/model.ts +115 -0
package/dist/client.d.ts
CHANGED
|
@@ -9,31 +9,46 @@ export default class Client extends OpenApi {
|
|
|
9
9
|
[key: string]: string;
|
|
10
10
|
}, endpoint: string): string;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Synchronously adds content to a display knowledge base in batches.
|
|
13
|
+
*
|
|
14
|
+
* @param tmpReq - AddDisplayKnowledgeRequest
|
|
15
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16
|
+
* @returns AddDisplayKnowledgeResponse
|
|
17
|
+
*/
|
|
18
|
+
addDisplayKnowledgeWithOptions(tmpReq: $_model.AddDisplayKnowledgeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddDisplayKnowledgeResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Synchronously adds content to a display knowledge base in batches.
|
|
21
|
+
*
|
|
22
|
+
* @param request - AddDisplayKnowledgeRequest
|
|
23
|
+
* @returns AddDisplayKnowledgeResponse
|
|
24
|
+
*/
|
|
25
|
+
addDisplayKnowledge(request: $_model.AddDisplayKnowledgeRequest): Promise<$_model.AddDisplayKnowledgeResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* Generates virtual try-on images by applying a specified garment to a model image based on AI algorithms. The service preserves the model\\"s pose, facial features, and background details while ensuring a realistic and well-fitted appearance. You only need to provide the URLs of the original model and garment images to obtain the processed image.
|
|
13
28
|
*
|
|
14
29
|
* @remarks
|
|
15
30
|
* ## Scenarios
|
|
16
|
-
* - **Virtual try-on for clothing
|
|
17
|
-
* Supports
|
|
31
|
+
* - **Virtual try-on for clothing:**
|
|
32
|
+
* Supports various clothing categories such as tops, bottoms, jumpsuits, and dresses. After you upload a model image and a garment image, the service generates natural and realistic try-on effects to visually demonstrate how the garment looks on the model.
|
|
18
33
|
* - **Virtual try-on for shoes and hats:**
|
|
19
|
-
* Supports virtual try-on for shoes
|
|
34
|
+
* Supports virtual try-on for accessories such as shoes and hats. The service intelligently matches the position and proportion of the product based on the model\\"s pose and body parts to present a coordinated and realistic wearing effect.
|
|
20
35
|
* - **E-commerce product display and marketing:**
|
|
21
|
-
* Helps merchants quickly generate model try-on images for different products
|
|
36
|
+
* Helps merchants quickly generate model try-on images for different products. This reduces the costs of traditional photography, outfit changes, and post-production, and improves the production efficiency of product images.
|
|
22
37
|
* - **Online shopping experience optimization:**
|
|
23
|
-
*
|
|
38
|
+
* Allows consumers to preview the wearing effect of products through virtual try-on. This provides a more intuitive understanding of the style, matching, and overall effect of the product, which assists in purchase decisions and enhances the shopping experience.
|
|
24
39
|
* ## Features
|
|
25
|
-
* - **
|
|
26
|
-
* - a. Model image: The person
|
|
27
|
-
* - b. Product image: The clothing, shoes, or hat
|
|
28
|
-
* - **
|
|
29
|
-
* - a. Specify product type:
|
|
30
|
-
* - b. Automatic type recognition: If
|
|
31
|
-
* - **
|
|
32
|
-
* - a. Preserve model details: The generation process does not alter the
|
|
33
|
-
* - b. Maintain
|
|
34
|
-
* - c. Generate try-on
|
|
35
|
-
* ##
|
|
36
|
-
* | **Type** | **Model image** | **
|
|
40
|
+
* - **Provide a model image and a product image. The system uses the model image as the try-on subject and applies the garment from the product image to the model:**
|
|
41
|
+
* - a. Model image: The image of the person who will wear the garment in the virtual try-on.
|
|
42
|
+
* - b. Product image: The image of the clothing, shoes, or hat to be worn by the model.
|
|
43
|
+
* - **Select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
|
|
44
|
+
* - a. Specify product type: You can directly specify the type of the current product, and the system will process it accordingly.
|
|
45
|
+
* - b. Automatic type recognition: If you do not specify the product type, the system automatically recognizes the product category in the product image and performs the virtual try-on based on the recognition result.
|
|
46
|
+
* - **The system generates a virtual try-on image by combining the model image, product image, and product type to show the wearing effect of the product on the model:**
|
|
47
|
+
* - a. Preserve model details: The generation process does not alter the appearance, hairstyle, pose, body shape, or other details of the person in the original model image.
|
|
48
|
+
* - b. Maintain image consistency: The background, composition, lighting, and overall visual effect of the original model image remain unchanged. Only the wearing area corresponding to the product is processed.
|
|
49
|
+
* - c. Generate try-on effect: The product is naturally applied to the model, fitting the person\\"s pose and body structure to generate a coordinated and realistic virtual try-on image.
|
|
50
|
+
* ## Examples
|
|
51
|
+
* | **Type** | **Model image** | **Garment image** | **Try-on result** |
|
|
37
52
|
* | --- | --- | --- | --- |
|
|
38
53
|
* | Tops |  |  |  |
|
|
39
54
|
* | Bottoms |  |  |  |
|
|
@@ -48,31 +63,31 @@ export default class Client extends OpenApi {
|
|
|
48
63
|
*/
|
|
49
64
|
aiTryOnWithOptions(request: $_model.AiTryOnRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AiTryOnResponse>;
|
|
50
65
|
/**
|
|
51
|
-
*
|
|
66
|
+
* Generates virtual try-on images by applying a specified garment to a model image based on AI algorithms. The service preserves the model\\"s pose, facial features, and background details while ensuring a realistic and well-fitted appearance. You only need to provide the URLs of the original model and garment images to obtain the processed image.
|
|
52
67
|
*
|
|
53
68
|
* @remarks
|
|
54
69
|
* ## Scenarios
|
|
55
|
-
* - **Virtual try-on for clothing
|
|
56
|
-
* Supports
|
|
70
|
+
* - **Virtual try-on for clothing:**
|
|
71
|
+
* Supports various clothing categories such as tops, bottoms, jumpsuits, and dresses. After you upload a model image and a garment image, the service generates natural and realistic try-on effects to visually demonstrate how the garment looks on the model.
|
|
57
72
|
* - **Virtual try-on for shoes and hats:**
|
|
58
|
-
* Supports virtual try-on for shoes
|
|
73
|
+
* Supports virtual try-on for accessories such as shoes and hats. The service intelligently matches the position and proportion of the product based on the model\\"s pose and body parts to present a coordinated and realistic wearing effect.
|
|
59
74
|
* - **E-commerce product display and marketing:**
|
|
60
|
-
* Helps merchants quickly generate model try-on images for different products
|
|
75
|
+
* Helps merchants quickly generate model try-on images for different products. This reduces the costs of traditional photography, outfit changes, and post-production, and improves the production efficiency of product images.
|
|
61
76
|
* - **Online shopping experience optimization:**
|
|
62
|
-
*
|
|
77
|
+
* Allows consumers to preview the wearing effect of products through virtual try-on. This provides a more intuitive understanding of the style, matching, and overall effect of the product, which assists in purchase decisions and enhances the shopping experience.
|
|
63
78
|
* ## Features
|
|
64
|
-
* - **
|
|
65
|
-
* - a. Model image: The person
|
|
66
|
-
* - b. Product image: The clothing, shoes, or hat
|
|
67
|
-
* - **
|
|
68
|
-
* - a. Specify product type:
|
|
69
|
-
* - b. Automatic type recognition: If
|
|
70
|
-
* - **
|
|
71
|
-
* - a. Preserve model details: The generation process does not alter the
|
|
72
|
-
* - b. Maintain
|
|
73
|
-
* - c. Generate try-on
|
|
74
|
-
* ##
|
|
75
|
-
* | **Type** | **Model image** | **
|
|
79
|
+
* - **Provide a model image and a product image. The system uses the model image as the try-on subject and applies the garment from the product image to the model:**
|
|
80
|
+
* - a. Model image: The image of the person who will wear the garment in the virtual try-on.
|
|
81
|
+
* - b. Product image: The image of the clothing, shoes, or hat to be worn by the model.
|
|
82
|
+
* - **Select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
|
|
83
|
+
* - a. Specify product type: You can directly specify the type of the current product, and the system will process it accordingly.
|
|
84
|
+
* - b. Automatic type recognition: If you do not specify the product type, the system automatically recognizes the product category in the product image and performs the virtual try-on based on the recognition result.
|
|
85
|
+
* - **The system generates a virtual try-on image by combining the model image, product image, and product type to show the wearing effect of the product on the model:**
|
|
86
|
+
* - a. Preserve model details: The generation process does not alter the appearance, hairstyle, pose, body shape, or other details of the person in the original model image.
|
|
87
|
+
* - b. Maintain image consistency: The background, composition, lighting, and overall visual effect of the original model image remain unchanged. Only the wearing area corresponding to the product is processed.
|
|
88
|
+
* - c. Generate try-on effect: The product is naturally applied to the model, fitting the person\\"s pose and body structure to generate a coordinated and realistic virtual try-on image.
|
|
89
|
+
* ## Examples
|
|
90
|
+
* | **Type** | **Model image** | **Garment image** | **Try-on result** |
|
|
76
91
|
* | --- | --- | --- | --- |
|
|
77
92
|
* | Tops |  |  |  |
|
|
78
93
|
* | Bottoms |  |  |  |
|
|
@@ -319,6 +334,21 @@ export default class Client extends OpenApi {
|
|
|
319
334
|
* @returns CategoryMatchResponse
|
|
320
335
|
*/
|
|
321
336
|
categoryMatch(request: $_model.CategoryMatchRequest): Promise<$_model.CategoryMatchResponse>;
|
|
337
|
+
/**
|
|
338
|
+
* Deletes display knowledge base content in batches synchronously.
|
|
339
|
+
*
|
|
340
|
+
* @param tmpReq - DeleteDisplayKnowledgeRequest
|
|
341
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
342
|
+
* @returns DeleteDisplayKnowledgeResponse
|
|
343
|
+
*/
|
|
344
|
+
deleteDisplayKnowledgeWithOptions(tmpReq: $_model.DeleteDisplayKnowledgeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteDisplayKnowledgeResponse>;
|
|
345
|
+
/**
|
|
346
|
+
* Deletes display knowledge base content in batches synchronously.
|
|
347
|
+
*
|
|
348
|
+
* @param request - DeleteDisplayKnowledgeRequest
|
|
349
|
+
* @returns DeleteDisplayKnowledgeResponse
|
|
350
|
+
*/
|
|
351
|
+
deleteDisplayKnowledge(request: $_model.DeleteDisplayKnowledgeRequest): Promise<$_model.DeleteDisplayKnowledgeResponse>;
|
|
322
352
|
/**
|
|
323
353
|
* Calculates the edge lengths and floor area of a floor display based on the floor display image and product detection boxes.
|
|
324
354
|
*
|
|
@@ -392,8 +422,7 @@ export default class Client extends OpenApi {
|
|
|
392
422
|
*/
|
|
393
423
|
diduiAreaDeductionPro(request: $_model.DiduiAreaDeductionProRequest): Promise<$_model.DiduiAreaDeductionProResponse>;
|
|
394
424
|
/**
|
|
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.
|
|
396
|
-
* Excels in the following areas:
|
|
425
|
+
* 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:
|
|
397
426
|
* - Content accuracy: translation accuracy, parameter and unit accuracy.
|
|
398
427
|
* - Structural integrity: overall layout continuity, page margin and layout restoration.
|
|
399
428
|
*
|
|
@@ -404,13 +433,13 @@ export default class Client extends OpenApi {
|
|
|
404
433
|
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
405
434
|
* - Structural integrity: overall layout continuity, page margin and layout restoration
|
|
406
435
|
* ## Common scenarios
|
|
407
|
-
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks
|
|
436
|
+
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks, courseware, and other scenarios.
|
|
408
437
|
* ## Functions and features
|
|
409
|
-
* - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed language list, see
|
|
410
|
-
* - Supports translation of text within images in documents, as well as complex translation scenarios
|
|
438
|
+
* - 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).
|
|
439
|
+
* - Supports translation of text within images in documents, as well as complex translation scenarios involving charts, special symbols, and more.
|
|
411
440
|
* - Supports high-fidelity layout restoration after translation.
|
|
412
441
|
* - A single PDF supports up to 100 pages. A single Word document supports up to 100 pages.
|
|
413
|
-
* - 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
|
|
442
|
+
* - 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.
|
|
414
443
|
*
|
|
415
444
|
* @param request - DocumentTranslateRequest
|
|
416
445
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -418,8 +447,7 @@ export default class Client extends OpenApi {
|
|
|
418
447
|
*/
|
|
419
448
|
documentTranslateWithOptions(request: $_model.DocumentTranslateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DocumentTranslateResponse>;
|
|
420
449
|
/**
|
|
421
|
-
* 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.
|
|
422
|
-
* Excels in the following areas:
|
|
450
|
+
* 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:
|
|
423
451
|
* - Content accuracy: translation accuracy, parameter and unit accuracy.
|
|
424
452
|
* - Structural integrity: overall layout continuity, page margin and layout restoration.
|
|
425
453
|
*
|
|
@@ -430,43 +458,58 @@ export default class Client extends OpenApi {
|
|
|
430
458
|
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
431
459
|
* - Structural integrity: overall layout continuity, page margin and layout restoration
|
|
432
460
|
* ## Common scenarios
|
|
433
|
-
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks
|
|
461
|
+
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks, courseware, and other scenarios.
|
|
434
462
|
* ## Functions and features
|
|
435
|
-
* - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed language list, see
|
|
436
|
-
* - Supports translation of text within images in documents, as well as complex translation scenarios
|
|
463
|
+
* - 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).
|
|
464
|
+
* - Supports translation of text within images in documents, as well as complex translation scenarios involving charts, special symbols, and more.
|
|
437
465
|
* - Supports high-fidelity layout restoration after translation.
|
|
438
466
|
* - A single PDF supports up to 100 pages. A single Word document supports up to 100 pages.
|
|
439
|
-
* - 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
|
|
467
|
+
* - 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.
|
|
440
468
|
*
|
|
441
469
|
* @param request - DocumentTranslateRequest
|
|
442
470
|
* @returns DocumentTranslateResponse
|
|
443
471
|
*/
|
|
444
472
|
documentTranslate(request: $_model.DocumentTranslateRequest): Promise<$_model.DocumentTranslateResponse>;
|
|
445
473
|
/**
|
|
446
|
-
*
|
|
474
|
+
* 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.
|
|
447
475
|
*
|
|
448
476
|
* @remarks
|
|
449
|
-
* ## **Product
|
|
450
|
-
* E-commerce
|
|
477
|
+
* ## **Product introduction**
|
|
478
|
+
* 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.
|
|
451
479
|
* ## **Scenarios**
|
|
452
|
-
* - **Video asset
|
|
453
|
-
* - **
|
|
454
|
-
* - **Product
|
|
455
|
-
* - **Multi-selling
|
|
456
|
-
* ## **
|
|
457
|
-
* ### **Core
|
|
458
|
-
*
|
|
459
|
-
*
|
|
460
|
-
*
|
|
461
|
-
*
|
|
462
|
-
*
|
|
463
|
-
*
|
|
464
|
-
*
|
|
465
|
-
*
|
|
466
|
-
*
|
|
467
|
-
*
|
|
468
|
-
*
|
|
469
|
-
*
|
|
480
|
+
* - **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.
|
|
481
|
+
* - **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.
|
|
482
|
+
* - **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.
|
|
483
|
+
* - **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.
|
|
484
|
+
* ## **Feature overview**
|
|
485
|
+
* ### **Core features**
|
|
486
|
+
* * **Supports two replacement modes:**
|
|
487
|
+
*
|
|
488
|
+
* * **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.
|
|
489
|
+
*
|
|
490
|
+
* * **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.
|
|
491
|
+
*
|
|
492
|
+
* * **Supports two generation modes:**
|
|
493
|
+
*
|
|
494
|
+
* * **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.
|
|
495
|
+
*
|
|
496
|
+
* * **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.
|
|
497
|
+
*
|
|
498
|
+
* * **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.
|
|
499
|
+
*
|
|
500
|
+
* * **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.
|
|
501
|
+
*
|
|
502
|
+
* * **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.
|
|
503
|
+
*
|
|
504
|
+
* * **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.
|
|
505
|
+
*
|
|
506
|
+
* * **Product fidelity**: Multi-round VL quality inspection locks the product state (color, texture, structure, print) throughout the process to prevent product feature drift.
|
|
507
|
+
*
|
|
508
|
+
* * **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.
|
|
509
|
+
*
|
|
510
|
+
* * **Commercial model adaptation**: Supports matching the corresponding model image and display method based on the product style, fit, target audience, and market demand.
|
|
511
|
+
*
|
|
512
|
+
* * **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.
|
|
470
513
|
*
|
|
471
514
|
* @param tmpReq - EcomVideoRecreationRequest
|
|
472
515
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -474,30 +517,45 @@ export default class Client extends OpenApi {
|
|
|
474
517
|
*/
|
|
475
518
|
ecomVideoRecreationWithOptions(tmpReq: $_model.EcomVideoRecreationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EcomVideoRecreationResponse>;
|
|
476
519
|
/**
|
|
477
|
-
*
|
|
520
|
+
* 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.
|
|
478
521
|
*
|
|
479
522
|
* @remarks
|
|
480
|
-
* ## **Product
|
|
481
|
-
* E-commerce
|
|
523
|
+
* ## **Product introduction**
|
|
524
|
+
* 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.
|
|
482
525
|
* ## **Scenarios**
|
|
483
|
-
* - **Video asset
|
|
484
|
-
* - **
|
|
485
|
-
* - **Product
|
|
486
|
-
* - **Multi-selling
|
|
487
|
-
* ## **
|
|
488
|
-
* ### **Core
|
|
489
|
-
*
|
|
490
|
-
*
|
|
491
|
-
*
|
|
492
|
-
*
|
|
493
|
-
*
|
|
494
|
-
*
|
|
495
|
-
*
|
|
496
|
-
*
|
|
497
|
-
*
|
|
498
|
-
*
|
|
499
|
-
*
|
|
500
|
-
*
|
|
526
|
+
* - **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.
|
|
527
|
+
* - **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.
|
|
528
|
+
* - **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.
|
|
529
|
+
* - **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.
|
|
530
|
+
* ## **Feature overview**
|
|
531
|
+
* ### **Core features**
|
|
532
|
+
* * **Supports two replacement modes:**
|
|
533
|
+
*
|
|
534
|
+
* * **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.
|
|
535
|
+
*
|
|
536
|
+
* * **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.
|
|
537
|
+
*
|
|
538
|
+
* * **Supports two generation modes:**
|
|
539
|
+
*
|
|
540
|
+
* * **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.
|
|
541
|
+
*
|
|
542
|
+
* * **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.
|
|
543
|
+
*
|
|
544
|
+
* * **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.
|
|
545
|
+
*
|
|
546
|
+
* * **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.
|
|
547
|
+
*
|
|
548
|
+
* * **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.
|
|
549
|
+
*
|
|
550
|
+
* * **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.
|
|
551
|
+
*
|
|
552
|
+
* * **Product fidelity**: Multi-round VL quality inspection locks the product state (color, texture, structure, print) throughout the process to prevent product feature drift.
|
|
553
|
+
*
|
|
554
|
+
* * **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.
|
|
555
|
+
*
|
|
556
|
+
* * **Commercial model adaptation**: Supports matching the corresponding model image and display method based on the product style, fit, target audience, and market demand.
|
|
557
|
+
*
|
|
558
|
+
* * **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.
|
|
501
559
|
*
|
|
502
560
|
* @param request - EcomVideoRecreationRequest
|
|
503
561
|
* @returns EcomVideoRecreationResponse
|
|
@@ -656,6 +714,67 @@ export default class Client extends OpenApi {
|
|
|
656
714
|
* @returns ImageMattingResponse
|
|
657
715
|
*/
|
|
658
716
|
imageMatting(request: $_model.ImageMattingRequest): Promise<$_model.ImageMattingResponse>;
|
|
717
|
+
/**
|
|
718
|
+
* 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.
|
|
719
|
+
*
|
|
720
|
+
* @remarks
|
|
721
|
+
* # Scenarios
|
|
722
|
+
* * Supports secondary editing of materials: After the image subject is separated from the background, you can further edit the image.
|
|
723
|
+
*
|
|
724
|
+
* * 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.
|
|
725
|
+
* # Features.
|
|
726
|
+
* #### 1. One-click precise subject recognition
|
|
727
|
+
* * **AI-based automatic recognition**: Based on deep learning models, it intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from the background without manual outlining.
|
|
728
|
+
*
|
|
729
|
+
* * **Multi-scenario adaptation**: Supports precise segmentation in complex scenarios (such as hair, transparent objects, and fur edges) with an accuracy rate of over 95%.
|
|
730
|
+
* #### 2. Intelligent edge optimization
|
|
731
|
+
* * **Detail-level processing**: Performs automatic optimization on edge jaggies and semi-transparent areas (such as smoke and glass) to retain natural transition effects.
|
|
732
|
+
* #### 3. Multi-format output and background operations
|
|
733
|
+
* * **Transparent background export**: Directly generates PNG images with transparent or white backgrounds, which adapts to e-commerce and design scenarios.
|
|
734
|
+
*
|
|
735
|
+
* * **Supports custom background colors**
|
|
736
|
+
* # Effect comparison
|
|
737
|
+
* | **Original image (input)** | **Result image (output)** |
|
|
738
|
+
* | --- | --- |
|
|
739
|
+
* |  |  |
|
|
740
|
+
* |  |  |
|
|
741
|
+
* |  |  |
|
|
742
|
+
*
|
|
743
|
+
* @param request - ImageMattingAsyncRequest
|
|
744
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
745
|
+
* @returns ImageMattingAsyncResponse
|
|
746
|
+
*/
|
|
747
|
+
imageMattingAsyncWithOptions(request: $_model.ImageMattingAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageMattingAsyncResponse>;
|
|
748
|
+
/**
|
|
749
|
+
* 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.
|
|
750
|
+
*
|
|
751
|
+
* @remarks
|
|
752
|
+
* # Scenarios
|
|
753
|
+
* * Supports secondary editing of materials: After the image subject is separated from the background, you can further edit the image.
|
|
754
|
+
*
|
|
755
|
+
* * 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.
|
|
756
|
+
* # Features.
|
|
757
|
+
* #### 1. One-click precise subject recognition
|
|
758
|
+
* * **AI-based automatic recognition**: Based on deep learning models, it intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from the background without manual outlining.
|
|
759
|
+
*
|
|
760
|
+
* * **Multi-scenario adaptation**: Supports precise segmentation in complex scenarios (such as hair, transparent objects, and fur edges) with an accuracy rate of over 95%.
|
|
761
|
+
* #### 2. Intelligent edge optimization
|
|
762
|
+
* * **Detail-level processing**: Performs automatic optimization on edge jaggies and semi-transparent areas (such as smoke and glass) to retain natural transition effects.
|
|
763
|
+
* #### 3. Multi-format output and background operations
|
|
764
|
+
* * **Transparent background export**: Directly generates PNG images with transparent or white backgrounds, which adapts to e-commerce and design scenarios.
|
|
765
|
+
*
|
|
766
|
+
* * **Supports custom background colors**
|
|
767
|
+
* # Effect comparison
|
|
768
|
+
* | **Original image (input)** | **Result image (output)** |
|
|
769
|
+
* | --- | --- |
|
|
770
|
+
* |  |  |
|
|
771
|
+
* |  |  |
|
|
772
|
+
* |  |  |
|
|
773
|
+
*
|
|
774
|
+
* @param request - ImageMattingAsyncRequest
|
|
775
|
+
* @returns ImageMattingAsyncResponse
|
|
776
|
+
*/
|
|
777
|
+
imageMattingAsync(request: $_model.ImageMattingAsyncRequest): Promise<$_model.ImageMattingAsyncResponse>;
|
|
659
778
|
/**
|
|
660
779
|
* Intelligent element recognition.
|
|
661
780
|
*
|
|
@@ -807,6 +926,155 @@ export default class Client extends OpenApi {
|
|
|
807
926
|
* @returns ImageRecognitionResponse
|
|
808
927
|
*/
|
|
809
928
|
imageRecognition(request: $_model.ImageRecognitionRequest): Promise<$_model.ImageRecognitionResponse>;
|
|
929
|
+
/**
|
|
930
|
+
* 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.
|
|
931
|
+
*
|
|
932
|
+
* @remarks
|
|
933
|
+
* # Scenarios
|
|
934
|
+
* 1. Intelligent image filtering and optimization:
|
|
935
|
+
* 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.
|
|
936
|
+
* 2. Automated image processing and efficiency improvement:
|
|
937
|
+
* 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.
|
|
938
|
+
* # Features
|
|
939
|
+
* **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).**
|
|
940
|
+
* * Image subject: The core product area in the image.
|
|
941
|
+
*
|
|
942
|
+
* * Image background: The rest of the image other than the product subject.
|
|
943
|
+
*
|
|
944
|
+
* * Text: Horizontal, vertical, or diagonal English or Chinese text.
|
|
945
|
+
*
|
|
946
|
+
* * Logo: A logo or trademark.
|
|
947
|
+
*
|
|
948
|
+
* * Watermark: Monochrome transparent text, logos, images, URLs, or store names.
|
|
949
|
+
*
|
|
950
|
+
* * Text-containing color block: A color block containing text outside the subject.
|
|
951
|
+
*
|
|
952
|
+
* **2. The main features of the intelligent element recognition API include:**
|
|
953
|
+
* * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
|
|
954
|
+
*
|
|
955
|
+
* * 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.
|
|
956
|
+
*
|
|
957
|
+
* **3. Technical advantages:**
|
|
958
|
+
* * 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.
|
|
959
|
+
*
|
|
960
|
+
* * 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.
|
|
961
|
+
* # Effect comparison
|
|
962
|
+
* | **Original image** | **Recognition result** |
|
|
963
|
+
* | --- | --- |
|
|
964
|
+
* |  | [Subject]
|
|
965
|
+
* * Watermark: false
|
|
966
|
+
*
|
|
967
|
+
* * Logo: false
|
|
968
|
+
*
|
|
969
|
+
* * Text: false
|
|
970
|
+
*
|
|
971
|
+
* * Text-containing color block: false
|
|
972
|
+
*
|
|
973
|
+
* [Non-subject]
|
|
974
|
+
* * Watermark: false
|
|
975
|
+
*
|
|
976
|
+
* * Logo: true
|
|
977
|
+
*
|
|
978
|
+
* * Text: true
|
|
979
|
+
*
|
|
980
|
+
* * Text-containing color block: false |
|
|
981
|
+
* |  | [Subject]
|
|
982
|
+
* * Watermark: false
|
|
983
|
+
*
|
|
984
|
+
* * Logo: false
|
|
985
|
+
*
|
|
986
|
+
* * Text: false
|
|
987
|
+
*
|
|
988
|
+
* * Text-containing color block: false
|
|
989
|
+
*
|
|
990
|
+
* [Non-subject]
|
|
991
|
+
* * Watermark: true
|
|
992
|
+
*
|
|
993
|
+
* * Logo: false
|
|
994
|
+
*
|
|
995
|
+
* * Text: true
|
|
996
|
+
*
|
|
997
|
+
* * Text-containing color block: true |
|
|
998
|
+
*
|
|
999
|
+
* @param tmpReq - ImageRecognitionAsyncRequest
|
|
1000
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1001
|
+
* @returns ImageRecognitionAsyncResponse
|
|
1002
|
+
*/
|
|
1003
|
+
imageRecognitionAsyncWithOptions(tmpReq: $_model.ImageRecognitionAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRecognitionAsyncResponse>;
|
|
1004
|
+
/**
|
|
1005
|
+
* 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.
|
|
1006
|
+
*
|
|
1007
|
+
* @remarks
|
|
1008
|
+
* # Scenarios
|
|
1009
|
+
* 1. Intelligent image filtering and optimization:
|
|
1010
|
+
* 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.
|
|
1011
|
+
* 2. Automated image processing and efficiency improvement:
|
|
1012
|
+
* 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.
|
|
1013
|
+
* # Features
|
|
1014
|
+
* **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).**
|
|
1015
|
+
* * Image subject: The core product area in the image.
|
|
1016
|
+
*
|
|
1017
|
+
* * Image background: The rest of the image other than the product subject.
|
|
1018
|
+
*
|
|
1019
|
+
* * Text: Horizontal, vertical, or diagonal English or Chinese text.
|
|
1020
|
+
*
|
|
1021
|
+
* * Logo: A logo or trademark.
|
|
1022
|
+
*
|
|
1023
|
+
* * Watermark: Monochrome transparent text, logos, images, URLs, or store names.
|
|
1024
|
+
*
|
|
1025
|
+
* * Text-containing color block: A color block containing text outside the subject.
|
|
1026
|
+
*
|
|
1027
|
+
* **2. The main features of the intelligent element recognition API include:**
|
|
1028
|
+
* * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
|
|
1029
|
+
*
|
|
1030
|
+
* * 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.
|
|
1031
|
+
*
|
|
1032
|
+
* **3. Technical advantages:**
|
|
1033
|
+
* * 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.
|
|
1034
|
+
*
|
|
1035
|
+
* * 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.
|
|
1036
|
+
* # Effect comparison
|
|
1037
|
+
* | **Original image** | **Recognition result** |
|
|
1038
|
+
* | --- | --- |
|
|
1039
|
+
* |  | [Subject]
|
|
1040
|
+
* * Watermark: false
|
|
1041
|
+
*
|
|
1042
|
+
* * Logo: false
|
|
1043
|
+
*
|
|
1044
|
+
* * Text: false
|
|
1045
|
+
*
|
|
1046
|
+
* * Text-containing color block: false
|
|
1047
|
+
*
|
|
1048
|
+
* [Non-subject]
|
|
1049
|
+
* * Watermark: false
|
|
1050
|
+
*
|
|
1051
|
+
* * Logo: true
|
|
1052
|
+
*
|
|
1053
|
+
* * Text: true
|
|
1054
|
+
*
|
|
1055
|
+
* * Text-containing color block: false |
|
|
1056
|
+
* |  | [Subject]
|
|
1057
|
+
* * Watermark: false
|
|
1058
|
+
*
|
|
1059
|
+
* * Logo: false
|
|
1060
|
+
*
|
|
1061
|
+
* * Text: false
|
|
1062
|
+
*
|
|
1063
|
+
* * Text-containing color block: false
|
|
1064
|
+
*
|
|
1065
|
+
* [Non-subject]
|
|
1066
|
+
* * Watermark: true
|
|
1067
|
+
*
|
|
1068
|
+
* * Logo: false
|
|
1069
|
+
*
|
|
1070
|
+
* * Text: true
|
|
1071
|
+
*
|
|
1072
|
+
* * Text-containing color block: true |
|
|
1073
|
+
*
|
|
1074
|
+
* @param request - ImageRecognitionAsyncRequest
|
|
1075
|
+
* @returns ImageRecognitionAsyncResponse
|
|
1076
|
+
*/
|
|
1077
|
+
imageRecognitionAsync(request: $_model.ImageRecognitionAsyncRequest): Promise<$_model.ImageRecognitionAsyncResponse>;
|
|
810
1078
|
/**
|
|
811
1079
|
* 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).
|
|
812
1080
|
*
|
|
@@ -870,6 +1138,61 @@ export default class Client extends OpenApi {
|
|
|
870
1138
|
* @returns ImageRemovalProResponse
|
|
871
1139
|
*/
|
|
872
1140
|
imageRemovalPro(request: $_model.ImageRemovalProRequest): Promise<$_model.ImageRemovalProResponse>;
|
|
1141
|
+
/**
|
|
1142
|
+
* 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.
|
|
1143
|
+
*
|
|
1144
|
+
* @remarks
|
|
1145
|
+
* ## Scenarios
|
|
1146
|
+
* * **Efficient e-commerce image processing:**
|
|
1147
|
+
* Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
|
|
1148
|
+
* * **Multi-platform product information synchronization:**
|
|
1149
|
+
* 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.
|
|
1150
|
+
* ## Features
|
|
1151
|
+
* 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.
|
|
1152
|
+
*
|
|
1153
|
+
* 1. Image subject: the core product area in the image.
|
|
1154
|
+
*
|
|
1155
|
+
* 2. Image background: the rest of the image other than the product subject.
|
|
1156
|
+
*
|
|
1157
|
+
* 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:
|
|
1158
|
+
* ## Before and after
|
|
1159
|
+
* | **Original image** | **Erased image** |
|
|
1160
|
+
* | --- | --- |
|
|
1161
|
+
* |  |  |
|
|
1162
|
+
* |  |  |
|
|
1163
|
+
*
|
|
1164
|
+
* @param request - ImageRemovalProAsyncRequest
|
|
1165
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1166
|
+
* @returns ImageRemovalProAsyncResponse
|
|
1167
|
+
*/
|
|
1168
|
+
imageRemovalProAsyncWithOptions(request: $_model.ImageRemovalProAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRemovalProAsyncResponse>;
|
|
1169
|
+
/**
|
|
1170
|
+
* 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.
|
|
1171
|
+
*
|
|
1172
|
+
* @remarks
|
|
1173
|
+
* ## Scenarios
|
|
1174
|
+
* * **Efficient e-commerce image processing:**
|
|
1175
|
+
* Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
|
|
1176
|
+
* * **Multi-platform product information synchronization:**
|
|
1177
|
+
* 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.
|
|
1178
|
+
* ## Features
|
|
1179
|
+
* 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.
|
|
1180
|
+
*
|
|
1181
|
+
* 1. Image subject: the core product area in the image.
|
|
1182
|
+
*
|
|
1183
|
+
* 2. Image background: the rest of the image other than the product subject.
|
|
1184
|
+
*
|
|
1185
|
+
* 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:
|
|
1186
|
+
* ## Before and after
|
|
1187
|
+
* | **Original image** | **Erased image** |
|
|
1188
|
+
* | --- | --- |
|
|
1189
|
+
* |  |  |
|
|
1190
|
+
* |  |  |
|
|
1191
|
+
*
|
|
1192
|
+
* @param request - ImageRemovalProAsyncRequest
|
|
1193
|
+
* @returns ImageRemovalProAsyncResponse
|
|
1194
|
+
*/
|
|
1195
|
+
imageRemovalProAsync(request: $_model.ImageRemovalProAsyncRequest): Promise<$_model.ImageRemovalProAsyncResponse>;
|
|
873
1196
|
/**
|
|
874
1197
|
* 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)
|
|
875
1198
|
*
|
|
@@ -1054,51 +1377,224 @@ export default class Client extends OpenApi {
|
|
|
1054
1377
|
*/
|
|
1055
1378
|
imageRemove(request: $_model.ImageRemoveRequest): Promise<$_model.ImageRemoveResponse>;
|
|
1056
1379
|
/**
|
|
1057
|
-
*
|
|
1380
|
+
* 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.
|
|
1058
1381
|
*
|
|
1059
1382
|
* @remarks
|
|
1060
|
-
* ## Product Introduction
|
|
1061
|
-
* 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 Lite and Pro editions. We recommend using it for the following 8 language pairs, with more language pairs to be supported in the future.
|
|
1062
|
-
* Supported language pairs:
|
|
1063
|
-
* | **No.** | **Source language** | | **Target language** | |
|
|
1064
|
-
* | --- | --- | --- | --- | --- |
|
|
1065
|
-
* | | Language code | Language name | Language code | Language name |
|
|
1066
|
-
* | 1 | en | English | ar | Arabic |
|
|
1067
|
-
* | 2 | en | English | id | Indonesian |
|
|
1068
|
-
* | 3 | en | English | th | Thai |
|
|
1069
|
-
* | 4 | en | English | ko | Korean |
|
|
1070
|
-
* | 5 | en | English | ja | Japanese |
|
|
1071
|
-
* | 6 | en | English | vi | Vietnamese |
|
|
1072
|
-
* | 7 | en | English | ru | Russian |
|
|
1073
|
-
* | 8 | en | English | tl | Filipino |
|
|
1074
|
-
* | 9 | en | English | es | Spanish |
|
|
1075
|
-
* | 10 | en | English | fr | French |
|
|
1076
|
-
* | 11 | en | English | de | German |
|
|
1077
|
-
* | 12 | en | English | pl | Polish |
|
|
1078
1383
|
* ## Scenarios
|
|
1079
|
-
*
|
|
1384
|
+
* * **Efficient processing of e-commerce images:**
|
|
1385
|
+
* Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
|
|
1386
|
+
* * **Multi-platform product information synchronization:**
|
|
1387
|
+
* 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.
|
|
1388
|
+
* * **Marketing material preparation:**
|
|
1389
|
+
* Merchants can easily remove original promotional information and quickly update it with the latest campaign information.
|
|
1390
|
+
* > 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".
|
|
1080
1391
|
* ## Features
|
|
1081
|
-
*
|
|
1392
|
+
* 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.
|
|
1082
1393
|
*
|
|
1083
|
-
*
|
|
1394
|
+
* 1. Image subject: the core product area in the image.
|
|
1084
1395
|
*
|
|
1085
|
-
*
|
|
1396
|
+
* 2. Image background: the rest of the image other than the product subject.
|
|
1086
1397
|
*
|
|
1087
|
-
*
|
|
1088
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
1089
|
-
* @returns ImageTranslationPlusResponse
|
|
1090
|
-
*/
|
|
1091
|
-
imageTranslationPlusWithOptions(request: $_model.ImageTranslationPlusRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationPlusResponse>;
|
|
1092
|
-
/**
|
|
1093
|
-
* 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 Lite and Pro editions. We recommend using it for the following 12 language pairs, with more language pairs to be supported in the future.
|
|
1398
|
+
* 2. Second, the objects to remove support the following three cases:
|
|
1094
1399
|
*
|
|
1095
|
-
*
|
|
1096
|
-
*
|
|
1097
|
-
*
|
|
1098
|
-
*
|
|
1099
|
-
*
|
|
1100
|
-
*
|
|
1101
|
-
*
|
|
1400
|
+
* 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.
|
|
1401
|
+
*
|
|
1402
|
+
* 2. (Upgraded) Provides specified image erasure. Users can specify multiple images at a time.
|
|
1403
|
+
*
|
|
1404
|
+
* 3. (Upgraded) Provides specified text erasure. Users can specify multiple texts at a time.
|
|
1405
|
+
*
|
|
1406
|
+
* 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.
|
|
1407
|
+
* ## Effect comparison
|
|
1408
|
+
* | **Objects that can be removed from the image** | **Original image** | **Image after erasure** |
|
|
1409
|
+
* | --- | --- | --- |
|
|
1410
|
+
* | Text | * Involves the image subject area
|
|
1411
|
+
*
|
|
1412
|
+
* 
|
|
1413
|
+
*
|
|
1414
|
+
* * Does not involve the image subject area
|
|
1415
|
+
*
|
|
1416
|
+
*  | * Involves the image subject area
|
|
1417
|
+
*
|
|
1418
|
+
* 
|
|
1419
|
+
* * Does not involve the image subject area
|
|
1420
|
+
*
|
|
1421
|
+
*  |
|
|
1422
|
+
* | Specific names | * Involves the image subject area
|
|
1423
|
+
*
|
|
1424
|
+
* 
|
|
1425
|
+
*
|
|
1426
|
+
* * Does not involve the image subject area
|
|
1427
|
+
*
|
|
1428
|
+
*  | * Involves the image subject area
|
|
1429
|
+
*
|
|
1430
|
+
* 
|
|
1431
|
+
* * Does not involve the image subject area
|
|
1432
|
+
*
|
|
1433
|
+
*  |
|
|
1434
|
+
* | Transparent text blocks | * Involves the image subject area
|
|
1435
|
+
*
|
|
1436
|
+
* 
|
|
1437
|
+
*
|
|
1438
|
+
* * Does not involve the image subject area
|
|
1439
|
+
*
|
|
1440
|
+
*  | * Involves the image subject area
|
|
1441
|
+
*
|
|
1442
|
+
* 
|
|
1443
|
+
* * Does not involve the image subject area
|
|
1444
|
+
*
|
|
1445
|
+
*  |
|
|
1446
|
+
* | Watermarks | * Involves the image subject area
|
|
1447
|
+
*
|
|
1448
|
+
* 
|
|
1449
|
+
*
|
|
1450
|
+
* * Does not involve the image subject area
|
|
1451
|
+
*
|
|
1452
|
+
*  | * Involves the image subject area
|
|
1453
|
+
*
|
|
1454
|
+
* 
|
|
1455
|
+
* * Does not involve the image subject area
|
|
1456
|
+
*
|
|
1457
|
+
*  |
|
|
1458
|
+
* | Specified image element erasure (supports multiple image links) |  |  |
|
|
1459
|
+
* | Specified text erasure (supports multiple texts) |  |  |
|
|
1460
|
+
*
|
|
1461
|
+
* @param tmpReq - ImageRemoveAsyncRequest
|
|
1462
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1463
|
+
* @returns ImageRemoveAsyncResponse
|
|
1464
|
+
*/
|
|
1465
|
+
imageRemoveAsyncWithOptions(tmpReq: $_model.ImageRemoveAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRemoveAsyncResponse>;
|
|
1466
|
+
/**
|
|
1467
|
+
* 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.
|
|
1468
|
+
*
|
|
1469
|
+
* @remarks
|
|
1470
|
+
* ## Scenarios
|
|
1471
|
+
* * **Efficient processing of e-commerce images:**
|
|
1472
|
+
* Removes irrelevant visual elements to provide clearer and more focused product displays, enhancing the customer shopping experience.
|
|
1473
|
+
* * **Multi-platform product information synchronization:**
|
|
1474
|
+
* 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.
|
|
1475
|
+
* * **Marketing material preparation:**
|
|
1476
|
+
* Merchants can easily remove original promotional information and quickly update it with the latest campaign information.
|
|
1477
|
+
* > 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".
|
|
1478
|
+
* ## Features
|
|
1479
|
+
* 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.
|
|
1480
|
+
*
|
|
1481
|
+
* 1. Image subject: the core product area in the image.
|
|
1482
|
+
*
|
|
1483
|
+
* 2. Image background: the rest of the image other than the product subject.
|
|
1484
|
+
*
|
|
1485
|
+
* 2. Second, the objects to remove support the following three cases:
|
|
1486
|
+
*
|
|
1487
|
+
* 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.
|
|
1488
|
+
*
|
|
1489
|
+
* 2. (Upgraded) Provides specified image erasure. Users can specify multiple images at a time.
|
|
1490
|
+
*
|
|
1491
|
+
* 3. (Upgraded) Provides specified text erasure. Users can specify multiple texts at a time.
|
|
1492
|
+
*
|
|
1493
|
+
* 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.
|
|
1494
|
+
* ## Effect comparison
|
|
1495
|
+
* | **Objects that can be removed from the image** | **Original image** | **Image after erasure** |
|
|
1496
|
+
* | --- | --- | --- |
|
|
1497
|
+
* | Text | * Involves the image subject area
|
|
1498
|
+
*
|
|
1499
|
+
* 
|
|
1500
|
+
*
|
|
1501
|
+
* * Does not involve the image subject area
|
|
1502
|
+
*
|
|
1503
|
+
*  | * Involves the image subject area
|
|
1504
|
+
*
|
|
1505
|
+
* 
|
|
1506
|
+
* * Does not involve the image subject area
|
|
1507
|
+
*
|
|
1508
|
+
*  |
|
|
1509
|
+
* | Specific names | * Involves the image subject area
|
|
1510
|
+
*
|
|
1511
|
+
* 
|
|
1512
|
+
*
|
|
1513
|
+
* * Does not involve the image subject area
|
|
1514
|
+
*
|
|
1515
|
+
*  | * Involves the image subject area
|
|
1516
|
+
*
|
|
1517
|
+
* 
|
|
1518
|
+
* * Does not involve the image subject area
|
|
1519
|
+
*
|
|
1520
|
+
*  |
|
|
1521
|
+
* | Transparent text blocks | * Involves the image subject area
|
|
1522
|
+
*
|
|
1523
|
+
* 
|
|
1524
|
+
*
|
|
1525
|
+
* * Does not involve the image subject area
|
|
1526
|
+
*
|
|
1527
|
+
*  | * Involves the image subject area
|
|
1528
|
+
*
|
|
1529
|
+
* 
|
|
1530
|
+
* * Does not involve the image subject area
|
|
1531
|
+
*
|
|
1532
|
+
*  |
|
|
1533
|
+
* | Watermarks | * Involves the image subject area
|
|
1534
|
+
*
|
|
1535
|
+
* 
|
|
1536
|
+
*
|
|
1537
|
+
* * Does not involve the image subject area
|
|
1538
|
+
*
|
|
1539
|
+
*  | * Involves the image subject area
|
|
1540
|
+
*
|
|
1541
|
+
* 
|
|
1542
|
+
* * Does not involve the image subject area
|
|
1543
|
+
*
|
|
1544
|
+
*  |
|
|
1545
|
+
* | Specified image element erasure (supports multiple image links) |  |  |
|
|
1546
|
+
* | Specified text erasure (supports multiple texts) |  |  |
|
|
1547
|
+
*
|
|
1548
|
+
* @param request - ImageRemoveAsyncRequest
|
|
1549
|
+
* @returns ImageRemoveAsyncResponse
|
|
1550
|
+
*/
|
|
1551
|
+
imageRemoveAsync(request: $_model.ImageRemoveAsyncRequest): Promise<$_model.ImageRemoveAsyncResponse>;
|
|
1552
|
+
/**
|
|
1553
|
+
* 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.
|
|
1554
|
+
*
|
|
1555
|
+
* @remarks
|
|
1556
|
+
* ## Product Introduction
|
|
1557
|
+
* 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.
|
|
1558
|
+
* Supported language pairs:
|
|
1559
|
+
* | **No.** | **Source language** | | **Target language** | |
|
|
1560
|
+
* | --- | --- | --- | --- | --- |
|
|
1561
|
+
* | | Language code | Language name | Language code | Language name |
|
|
1562
|
+
* | 1 | en | English | ar | Arabic |
|
|
1563
|
+
* | 2 | en | English | id | Indonesian |
|
|
1564
|
+
* | 3 | en | English | th | Thai |
|
|
1565
|
+
* | 4 | en | English | ko | Korean |
|
|
1566
|
+
* | 5 | en | English | ja | Japanese |
|
|
1567
|
+
* | 6 | en | English | vi | Vietnamese |
|
|
1568
|
+
* | 7 | en | English | ru | Russian |
|
|
1569
|
+
* | 8 | en | English | tl | Filipino |
|
|
1570
|
+
* | 9 | en | English | es | Spanish |
|
|
1571
|
+
* | 10 | en | English | fr | French |
|
|
1572
|
+
* | 11 | en | English | de | German |
|
|
1573
|
+
* | 12 | en | English | pl | Polish |
|
|
1574
|
+
* ## Scenarios
|
|
1575
|
+
* Main product images and detail images for cross-border e-commerce.
|
|
1576
|
+
* ## Features
|
|
1577
|
+
* * **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.
|
|
1578
|
+
*
|
|
1579
|
+
* * **Brand name protection**: Allows you to choose whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
1580
|
+
*
|
|
1581
|
+
* * **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.
|
|
1582
|
+
*
|
|
1583
|
+
* @param request - ImageTranslationPlusRequest
|
|
1584
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1585
|
+
* @returns ImageTranslationPlusResponse
|
|
1586
|
+
*/
|
|
1587
|
+
imageTranslationPlusWithOptions(request: $_model.ImageTranslationPlusRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationPlusResponse>;
|
|
1588
|
+
/**
|
|
1589
|
+
* 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.
|
|
1590
|
+
*
|
|
1591
|
+
* @remarks
|
|
1592
|
+
* ## Product Introduction
|
|
1593
|
+
* 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.
|
|
1594
|
+
* Supported language pairs:
|
|
1595
|
+
* | **No.** | **Source language** | | **Target language** | |
|
|
1596
|
+
* | --- | --- | --- | --- | --- |
|
|
1597
|
+
* | | Language code | Language name | Language code | Language name |
|
|
1102
1598
|
* | 1 | en | English | ar | Arabic |
|
|
1103
1599
|
* | 2 | en | English | id | Indonesian |
|
|
1104
1600
|
* | 3 | en | English | th | Thai |
|
|
@@ -1118,25 +1614,98 @@ export default class Client extends OpenApi {
|
|
|
1118
1614
|
*
|
|
1119
1615
|
* * **Brand name protection**: Allows you to choose whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
1120
1616
|
*
|
|
1121
|
-
* * **Translation intervention**: Allows you to customize translation results, including keeping text untranslated (ABC
|
|
1617
|
+
* * **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.
|
|
1122
1618
|
*
|
|
1123
1619
|
* @param request - ImageTranslationPlusRequest
|
|
1124
1620
|
* @returns ImageTranslationPlusResponse
|
|
1125
1621
|
*/
|
|
1126
1622
|
imageTranslationPlus(request: $_model.ImageTranslationPlusRequest): Promise<$_model.ImageTranslationPlusResponse>;
|
|
1127
1623
|
/**
|
|
1128
|
-
*
|
|
1624
|
+
* 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.
|
|
1625
|
+
*
|
|
1626
|
+
* @remarks
|
|
1627
|
+
* ## Scenarios
|
|
1628
|
+
* Main images and detail images for cross-border e-commerce.
|
|
1629
|
+
* ## Features
|
|
1630
|
+
* * **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.
|
|
1631
|
+
*
|
|
1632
|
+
* * **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.
|
|
1633
|
+
*
|
|
1634
|
+
* * **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.
|
|
1635
|
+
* ## Supported language pairs
|
|
1636
|
+
* | **No.** | **Source language** | | **Target language** | |
|
|
1637
|
+
* | --- | --- | --- | --- | --- |
|
|
1638
|
+
* | | Language code | Language name | Language code | Language name |
|
|
1639
|
+
* | 1 | en | English | ar | Arabic |
|
|
1640
|
+
* | 2 | en | English | id | Indonesian |
|
|
1641
|
+
* | 3 | en | English | th | Thai |
|
|
1642
|
+
* | 4 | en | English | ko | Korean |
|
|
1643
|
+
* | 5 | en | English | ja | Japanese |
|
|
1644
|
+
* | 6 | en | English | vi | Vietnamese |
|
|
1645
|
+
* | 7 | en | English | ru | Russian |
|
|
1646
|
+
* | 8 | en | English | tl | Filipino |
|
|
1647
|
+
* | 9 | en | English | es | Spanish |
|
|
1648
|
+
* | 10 | en | English | fr | French |
|
|
1649
|
+
* | 11 | en | English | de | German |
|
|
1650
|
+
* | 12 | en | English | pl | Polish |
|
|
1651
|
+
* ## Preparations and call process
|
|
1652
|
+
* 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.
|
|
1653
|
+
* 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).
|
|
1654
|
+
*
|
|
1655
|
+
* @param request - ImageTranslationPlusAsyncRequest
|
|
1656
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1657
|
+
* @returns ImageTranslationPlusAsyncResponse
|
|
1658
|
+
*/
|
|
1659
|
+
imageTranslationPlusAsyncWithOptions(request: $_model.ImageTranslationPlusAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationPlusAsyncResponse>;
|
|
1660
|
+
/**
|
|
1661
|
+
* 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.
|
|
1662
|
+
*
|
|
1663
|
+
* @remarks
|
|
1664
|
+
* ## Scenarios
|
|
1665
|
+
* Main images and detail images for cross-border e-commerce.
|
|
1666
|
+
* ## Features
|
|
1667
|
+
* * **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.
|
|
1668
|
+
*
|
|
1669
|
+
* * **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.
|
|
1670
|
+
*
|
|
1671
|
+
* * **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.
|
|
1672
|
+
* ## Supported language pairs
|
|
1673
|
+
* | **No.** | **Source language** | | **Target language** | |
|
|
1674
|
+
* | --- | --- | --- | --- | --- |
|
|
1675
|
+
* | | Language code | Language name | Language code | Language name |
|
|
1676
|
+
* | 1 | en | English | ar | Arabic |
|
|
1677
|
+
* | 2 | en | English | id | Indonesian |
|
|
1678
|
+
* | 3 | en | English | th | Thai |
|
|
1679
|
+
* | 4 | en | English | ko | Korean |
|
|
1680
|
+
* | 5 | en | English | ja | Japanese |
|
|
1681
|
+
* | 6 | en | English | vi | Vietnamese |
|
|
1682
|
+
* | 7 | en | English | ru | Russian |
|
|
1683
|
+
* | 8 | en | English | tl | Filipino |
|
|
1684
|
+
* | 9 | en | English | es | Spanish |
|
|
1685
|
+
* | 10 | en | English | fr | French |
|
|
1686
|
+
* | 11 | en | English | de | German |
|
|
1687
|
+
* | 12 | en | English | pl | Polish |
|
|
1688
|
+
* ## Preparations and call process
|
|
1689
|
+
* 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.
|
|
1690
|
+
* 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).
|
|
1691
|
+
*
|
|
1692
|
+
* @param request - ImageTranslationPlusAsyncRequest
|
|
1693
|
+
* @returns ImageTranslationPlusAsyncResponse
|
|
1694
|
+
*/
|
|
1695
|
+
imageTranslationPlusAsync(request: $_model.ImageTranslationPlusAsyncRequest): Promise<$_model.ImageTranslationPlusAsyncResponse>;
|
|
1696
|
+
/**
|
|
1697
|
+
* 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.
|
|
1129
1698
|
*
|
|
1130
1699
|
* @remarks
|
|
1131
1700
|
* ## Product Introduction
|
|
1132
|
-
* Image Translation Pro 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.
|
|
1701
|
+
* 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.
|
|
1133
1702
|
* ## Scenarios
|
|
1134
1703
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1135
|
-
* ##
|
|
1136
|
-
* - **Product subject protection**:
|
|
1137
|
-
* - **Post-translation editing**:
|
|
1138
|
-
* - **Brand name protection**:
|
|
1139
|
-
* - **Translation intervention**:
|
|
1704
|
+
* ## Functions and features
|
|
1705
|
+
* - **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.
|
|
1706
|
+
* - **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.
|
|
1707
|
+
* - **Brand name protection**: You can choose whether to translate brand names on images, which helps protect brand name information from being translated.
|
|
1708
|
+
* - **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.
|
|
1140
1709
|
* - <props="china"> **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1141
1710
|
*
|
|
1142
1711
|
* @param request - ImageTranslationProRequest
|
|
@@ -1145,18 +1714,18 @@ export default class Client extends OpenApi {
|
|
|
1145
1714
|
*/
|
|
1146
1715
|
imageTranslationProWithOptions(request: $_model.ImageTranslationProRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationProResponse>;
|
|
1147
1716
|
/**
|
|
1148
|
-
*
|
|
1717
|
+
* 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.
|
|
1149
1718
|
*
|
|
1150
1719
|
* @remarks
|
|
1151
1720
|
* ## Product Introduction
|
|
1152
|
-
* Image Translation Pro 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.
|
|
1721
|
+
* 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.
|
|
1153
1722
|
* ## Scenarios
|
|
1154
1723
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1155
|
-
* ##
|
|
1156
|
-
* - **Product subject protection**:
|
|
1157
|
-
* - **Post-translation editing**:
|
|
1158
|
-
* - **Brand name protection**:
|
|
1159
|
-
* - **Translation intervention**:
|
|
1724
|
+
* ## Functions and features
|
|
1725
|
+
* - **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.
|
|
1726
|
+
* - **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.
|
|
1727
|
+
* - **Brand name protection**: You can choose whether to translate brand names on images, which helps protect brand name information from being translated.
|
|
1728
|
+
* - **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.
|
|
1160
1729
|
* - <props="china"> **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1161
1730
|
*
|
|
1162
1731
|
* @param request - ImageTranslationProRequest
|
|
@@ -1164,22 +1733,69 @@ export default class Client extends OpenApi {
|
|
|
1164
1733
|
*/
|
|
1165
1734
|
imageTranslationPro(request: $_model.ImageTranslationProRequest): Promise<$_model.ImageTranslationProResponse>;
|
|
1166
1735
|
/**
|
|
1167
|
-
* Image Translation is designed specifically for e-commerce images
|
|
1736
|
+
* 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.
|
|
1737
|
+
*
|
|
1738
|
+
* @remarks
|
|
1739
|
+
* ## Scenarios
|
|
1740
|
+
* E-commerce product images, marketing images, and images in various other scenarios.
|
|
1741
|
+
* ## Features
|
|
1742
|
+
* * 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.
|
|
1743
|
+
*
|
|
1744
|
+
* * 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.
|
|
1745
|
+
*
|
|
1746
|
+
* * Brand name protection: Allows you to specify whether to translate brand names in the image. This helps protect brand name information from being translated.
|
|
1747
|
+
*
|
|
1748
|
+
* * 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.
|
|
1749
|
+
* ## Preparations and call process
|
|
1750
|
+
* 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).
|
|
1751
|
+
* 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.
|
|
1752
|
+
* 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).
|
|
1753
|
+
*
|
|
1754
|
+
* @param request - ImageTranslationProAsyncRequest
|
|
1755
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1756
|
+
* @returns ImageTranslationProAsyncResponse
|
|
1757
|
+
*/
|
|
1758
|
+
imageTranslationProAsyncWithOptions(request: $_model.ImageTranslationProAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationProAsyncResponse>;
|
|
1759
|
+
/**
|
|
1760
|
+
* 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.
|
|
1761
|
+
*
|
|
1762
|
+
* @remarks
|
|
1763
|
+
* ## Scenarios
|
|
1764
|
+
* E-commerce product images, marketing images, and images in various other scenarios.
|
|
1765
|
+
* ## Features
|
|
1766
|
+
* * 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.
|
|
1767
|
+
*
|
|
1768
|
+
* * 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.
|
|
1769
|
+
*
|
|
1770
|
+
* * Brand name protection: Allows you to specify whether to translate brand names in the image. This helps protect brand name information from being translated.
|
|
1771
|
+
*
|
|
1772
|
+
* * 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.
|
|
1773
|
+
* ## Preparations and call process
|
|
1774
|
+
* 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).
|
|
1775
|
+
* 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.
|
|
1776
|
+
* 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).
|
|
1777
|
+
*
|
|
1778
|
+
* @param request - ImageTranslationProAsyncRequest
|
|
1779
|
+
* @returns ImageTranslationProAsyncResponse
|
|
1780
|
+
*/
|
|
1781
|
+
imageTranslationProAsync(request: $_model.ImageTranslationProAsyncRequest): Promise<$_model.ImageTranslationProAsyncResponse>;
|
|
1782
|
+
/**
|
|
1783
|
+
* 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.
|
|
1168
1784
|
*
|
|
1169
1785
|
* @remarks
|
|
1170
1786
|
* # 1. Product Introduction
|
|
1171
|
-
*
|
|
1787
|
+
* 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.
|
|
1172
1788
|
* # 2. Common scenarios
|
|
1173
1789
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1174
1790
|
* # 3. Features
|
|
1175
|
-
* * **Product
|
|
1791
|
+
* * **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.
|
|
1176
1792
|
*
|
|
1177
|
-
* * **Brand name protection**:
|
|
1793
|
+
* * **Brand name protection**: Allows you to choose whether to translate brand names on images, helping protect brand name information from being translated.
|
|
1178
1794
|
*
|
|
1179
|
-
* * **Secondary editing after translation (layer information)**:
|
|
1795
|
+
* * **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.
|
|
1180
1796
|
*
|
|
1181
|
-
* * **Translation intervention**:
|
|
1182
|
-
*
|
|
1797
|
+
* * **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.
|
|
1798
|
+
* <props="china">* **Image editor integration support**: For more information, see [Image translation editor protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1183
1799
|
*
|
|
1184
1800
|
* @param request - ImageTranslationStandardRequest
|
|
1185
1801
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1187,27 +1803,74 @@ export default class Client extends OpenApi {
|
|
|
1187
1803
|
*/
|
|
1188
1804
|
imageTranslationStandardWithOptions(request: $_model.ImageTranslationStandardRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationStandardResponse>;
|
|
1189
1805
|
/**
|
|
1190
|
-
*
|
|
1806
|
+
* 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.
|
|
1191
1807
|
*
|
|
1192
1808
|
* @remarks
|
|
1193
1809
|
* # 1. Product Introduction
|
|
1194
|
-
*
|
|
1810
|
+
* 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.
|
|
1195
1811
|
* # 2. Common scenarios
|
|
1196
1812
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1197
1813
|
* # 3. Features
|
|
1198
|
-
* * **Product
|
|
1814
|
+
* * **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.
|
|
1199
1815
|
*
|
|
1200
|
-
* * **Brand name protection**:
|
|
1816
|
+
* * **Brand name protection**: Allows you to choose whether to translate brand names on images, helping protect brand name information from being translated.
|
|
1201
1817
|
*
|
|
1202
|
-
* * **Secondary editing after translation (layer information)**:
|
|
1818
|
+
* * **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.
|
|
1203
1819
|
*
|
|
1204
|
-
* * **Translation intervention**:
|
|
1205
|
-
*
|
|
1820
|
+
* * **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.
|
|
1821
|
+
* <props="china">* **Image editor integration support**: For more information, see [Image translation editor protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1206
1822
|
*
|
|
1207
1823
|
* @param request - ImageTranslationStandardRequest
|
|
1208
1824
|
* @returns ImageTranslationStandardResponse
|
|
1209
1825
|
*/
|
|
1210
1826
|
imageTranslationStandard(request: $_model.ImageTranslationStandardRequest): Promise<$_model.ImageTranslationStandardResponse>;
|
|
1827
|
+
/**
|
|
1828
|
+
* 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.
|
|
1829
|
+
*
|
|
1830
|
+
* @remarks
|
|
1831
|
+
* ## Scenarios
|
|
1832
|
+
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1833
|
+
* ## Features
|
|
1834
|
+
* * **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.
|
|
1835
|
+
*
|
|
1836
|
+
* * **Brand name protection**: Allows you to specify whether to translate brand names in the image, protecting brand name information from being translated.
|
|
1837
|
+
*
|
|
1838
|
+
* * **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.
|
|
1839
|
+
*
|
|
1840
|
+
* * **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.
|
|
1841
|
+
* ## Preparations and call process
|
|
1842
|
+
* * 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).
|
|
1843
|
+
* * 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.
|
|
1844
|
+
* * 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).
|
|
1845
|
+
*
|
|
1846
|
+
* @param request - ImageTranslationStandardAsyncRequest
|
|
1847
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1848
|
+
* @returns ImageTranslationStandardAsyncResponse
|
|
1849
|
+
*/
|
|
1850
|
+
imageTranslationStandardAsyncWithOptions(request: $_model.ImageTranslationStandardAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationStandardAsyncResponse>;
|
|
1851
|
+
/**
|
|
1852
|
+
* 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.
|
|
1853
|
+
*
|
|
1854
|
+
* @remarks
|
|
1855
|
+
* ## Scenarios
|
|
1856
|
+
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1857
|
+
* ## Features
|
|
1858
|
+
* * **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.
|
|
1859
|
+
*
|
|
1860
|
+
* * **Brand name protection**: Allows you to specify whether to translate brand names in the image, protecting brand name information from being translated.
|
|
1861
|
+
*
|
|
1862
|
+
* * **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.
|
|
1863
|
+
*
|
|
1864
|
+
* * **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.
|
|
1865
|
+
* ## Preparations and call process
|
|
1866
|
+
* * 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).
|
|
1867
|
+
* * 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.
|
|
1868
|
+
* * 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).
|
|
1869
|
+
*
|
|
1870
|
+
* @param request - ImageTranslationStandardAsyncRequest
|
|
1871
|
+
* @returns ImageTranslationStandardAsyncResponse
|
|
1872
|
+
*/
|
|
1873
|
+
imageTranslationStandardAsync(request: $_model.ImageTranslationStandardAsyncRequest): Promise<$_model.ImageTranslationStandardAsyncResponse>;
|
|
1211
1874
|
/**
|
|
1212
1875
|
* 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.
|
|
1213
1876
|
*
|
|
@@ -1341,6 +2004,43 @@ export default class Client extends OpenApi {
|
|
|
1341
2004
|
* @returns MerchandisePlacementDetectionResponse
|
|
1342
2005
|
*/
|
|
1343
2006
|
merchandisePlacementDetection(request: $_model.MerchandisePlacementDetectionRequest): Promise<$_model.MerchandisePlacementDetectionResponse>;
|
|
2007
|
+
/**
|
|
2008
|
+
* 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.
|
|
2009
|
+
*
|
|
2010
|
+
* @remarks
|
|
2011
|
+
* ## Scenarios
|
|
2012
|
+
* - Display product inventory: Aggregates recognized product bounding boxes by SKU for business system statistics.
|
|
2013
|
+
* - Distribution list verification: Compares the recognized SKU list with the target list on the business side.
|
|
2014
|
+
* - Single-item location review: Assists in checking recognition results by combining product bounding boxes and visible names.
|
|
2015
|
+
* ## Features
|
|
2016
|
+
* - Aggregation by SKU: Aggregates multiple Boxes for the same SkuId in Products, and skuIds returns a deduplicated list of SKU codes.
|
|
2017
|
+
* - Supplementary single-item grounding: The multimodal model individually grounds recognizable sales packages and provides confirmable short names.
|
|
2018
|
+
* - 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.
|
|
2019
|
+
* - 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.
|
|
2020
|
+
*
|
|
2021
|
+
* @param request - MerchandisePlacementDetectionLiteRequest
|
|
2022
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2023
|
+
* @returns MerchandisePlacementDetectionLiteResponse
|
|
2024
|
+
*/
|
|
2025
|
+
merchandisePlacementDetectionLiteWithOptions(request: $_model.MerchandisePlacementDetectionLiteRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MerchandisePlacementDetectionLiteResponse>;
|
|
2026
|
+
/**
|
|
2027
|
+
* 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.
|
|
2028
|
+
*
|
|
2029
|
+
* @remarks
|
|
2030
|
+
* ## Scenarios
|
|
2031
|
+
* - Display product inventory: Aggregates recognized product bounding boxes by SKU for business system statistics.
|
|
2032
|
+
* - Distribution list verification: Compares the recognized SKU list with the target list on the business side.
|
|
2033
|
+
* - Single-item location review: Assists in checking recognition results by combining product bounding boxes and visible names.
|
|
2034
|
+
* ## Features
|
|
2035
|
+
* - Aggregation by SKU: Aggregates multiple Boxes for the same SkuId in Products, and skuIds returns a deduplicated list of SKU codes.
|
|
2036
|
+
* - Supplementary single-item grounding: The multimodal model individually grounds recognizable sales packages and provides confirmable short names.
|
|
2037
|
+
* - 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.
|
|
2038
|
+
* - 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.
|
|
2039
|
+
*
|
|
2040
|
+
* @param request - MerchandisePlacementDetectionLiteRequest
|
|
2041
|
+
* @returns MerchandisePlacementDetectionLiteResponse
|
|
2042
|
+
*/
|
|
2043
|
+
merchandisePlacementDetectionLite(request: $_model.MerchandisePlacementDetectionLiteRequest): Promise<$_model.MerchandisePlacementDetectionLiteResponse>;
|
|
1344
2044
|
/**
|
|
1345
2045
|
* 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.
|
|
1346
2046
|
*
|
|
@@ -1378,6 +2078,154 @@ export default class Client extends OpenApi {
|
|
|
1378
2078
|
* @returns MerchandisePlacementDetectionProResponse
|
|
1379
2079
|
*/
|
|
1380
2080
|
merchandisePlacementDetectionPro(request: $_model.MerchandisePlacementDetectionProRequest): Promise<$_model.MerchandisePlacementDetectionProResponse>;
|
|
2081
|
+
/**
|
|
2082
|
+
* 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.
|
|
2083
|
+
*
|
|
2084
|
+
* @remarks
|
|
2085
|
+
* ## Scenarios
|
|
2086
|
+
* - Store price collection: Reads the recognized selling prices and available original prices of price tags.
|
|
2087
|
+
* - Price execution verification: Compares the recognized prices with the business-side price list.
|
|
2088
|
+
* - Manual price tag review: Locates paper, electronic, and promotional price tags to facilitate reviewing the original images.
|
|
2089
|
+
* ## Features
|
|
2090
|
+
* - Structured price output: Returns the product name, code, price, and location item by item. Prices are retained as strings.
|
|
2091
|
+
* - Multi-type price tag localization: Covers common paper price tags, electronic price tags, and promotional signs with clear selling prices.
|
|
2092
|
+
* - 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.
|
|
2093
|
+
* - 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.
|
|
2094
|
+
*
|
|
2095
|
+
* @param request - MerchandisePriceTagDetectionRequest
|
|
2096
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2097
|
+
* @returns MerchandisePriceTagDetectionResponse
|
|
2098
|
+
*/
|
|
2099
|
+
merchandisePriceTagDetectionWithOptions(request: $_model.MerchandisePriceTagDetectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MerchandisePriceTagDetectionResponse>;
|
|
2100
|
+
/**
|
|
2101
|
+
* 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.
|
|
2102
|
+
*
|
|
2103
|
+
* @remarks
|
|
2104
|
+
* ## Scenarios
|
|
2105
|
+
* - Store price collection: Reads the recognized selling prices and available original prices of price tags.
|
|
2106
|
+
* - Price execution verification: Compares the recognized prices with the business-side price list.
|
|
2107
|
+
* - Manual price tag review: Locates paper, electronic, and promotional price tags to facilitate reviewing the original images.
|
|
2108
|
+
* ## Features
|
|
2109
|
+
* - Structured price output: Returns the product name, code, price, and location item by item. Prices are retained as strings.
|
|
2110
|
+
* - Multi-type price tag localization: Covers common paper price tags, electronic price tags, and promotional signs with clear selling prices.
|
|
2111
|
+
* - 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.
|
|
2112
|
+
* - 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.
|
|
2113
|
+
*
|
|
2114
|
+
* @param request - MerchandisePriceTagDetectionRequest
|
|
2115
|
+
* @returns MerchandisePriceTagDetectionResponse
|
|
2116
|
+
*/
|
|
2117
|
+
merchandisePriceTagDetection(request: $_model.MerchandisePriceTagDetectionRequest): Promise<$_model.MerchandisePriceTagDetectionResponse>;
|
|
2118
|
+
/**
|
|
2119
|
+
* 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.
|
|
2120
|
+
*
|
|
2121
|
+
* @remarks
|
|
2122
|
+
* ## Scenarios
|
|
2123
|
+
* - Display facility inspection: identifies facilities such as shelves, endcaps, floor displays, upright refrigerators, and chest freezers.
|
|
2124
|
+
* - Display metric verification: reads active metrics such as proportion, purity, and plumpness for further evaluation by business systems.
|
|
2125
|
+
* - Display area visualization: displays area locations and overall facility bounding boxes on the original image.
|
|
2126
|
+
* ## Features
|
|
2127
|
+
* - Scene structured output: returns scene names, center points, area contours, and active metrics.
|
|
2128
|
+
* - Holistic facility positioning: uses one bounding box for an independent facility or floor display, which is suitable for overall area review.
|
|
2129
|
+
* - 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.
|
|
2130
|
+
* - 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.
|
|
2131
|
+
*
|
|
2132
|
+
* @param request - MerchandiseSceneDetectionRequest
|
|
2133
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2134
|
+
* @returns MerchandiseSceneDetectionResponse
|
|
2135
|
+
*/
|
|
2136
|
+
merchandiseSceneDetectionWithOptions(request: $_model.MerchandiseSceneDetectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MerchandiseSceneDetectionResponse>;
|
|
2137
|
+
/**
|
|
2138
|
+
* 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.
|
|
2139
|
+
*
|
|
2140
|
+
* @remarks
|
|
2141
|
+
* ## Scenarios
|
|
2142
|
+
* - Display facility inspection: identifies facilities such as shelves, endcaps, floor displays, upright refrigerators, and chest freezers.
|
|
2143
|
+
* - Display metric verification: reads active metrics such as proportion, purity, and plumpness for further evaluation by business systems.
|
|
2144
|
+
* - Display area visualization: displays area locations and overall facility bounding boxes on the original image.
|
|
2145
|
+
* ## Features
|
|
2146
|
+
* - Scene structured output: returns scene names, center points, area contours, and active metrics.
|
|
2147
|
+
* - Holistic facility positioning: uses one bounding box for an independent facility or floor display, which is suitable for overall area review.
|
|
2148
|
+
* - 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.
|
|
2149
|
+
* - 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.
|
|
2150
|
+
*
|
|
2151
|
+
* @param request - MerchandiseSceneDetectionRequest
|
|
2152
|
+
* @returns MerchandiseSceneDetectionResponse
|
|
2153
|
+
*/
|
|
2154
|
+
merchandiseSceneDetection(request: $_model.MerchandiseSceneDetectionRequest): Promise<$_model.MerchandiseSceneDetectionResponse>;
|
|
2155
|
+
/**
|
|
2156
|
+
* 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.
|
|
2157
|
+
*
|
|
2158
|
+
* @remarks
|
|
2159
|
+
* ## Features
|
|
2160
|
+
* - Recapture binary classification: isFake=true indicates a recapture, and false indicates a non-recapture. Element localization is performed for both results.
|
|
2161
|
+
* - 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.
|
|
2162
|
+
* - Visible information output: Outputs only confirmed short names or text without guessing blurred code values. Localization results do not change the recapture conclusion.
|
|
2163
|
+
* - 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.
|
|
2164
|
+
* ## Scenarios:
|
|
2165
|
+
* - Can bottom code photo review: Determines whether a photo of a milk powder can bottom code has a recapture risk.
|
|
2166
|
+
* - Milk powder product inspection: Localizes canned, boxed, or bagged milk powder, as well as clearly visible can bottoms and bottom codes.
|
|
2167
|
+
* - Review result playback: Displays target bounding boxes on the original image to assist personnel in verifying the photo content.
|
|
2168
|
+
*
|
|
2169
|
+
* @param request - MilkPowderCanBottomCodeRephotographyDetectionRequest
|
|
2170
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2171
|
+
* @returns MilkPowderCanBottomCodeRephotographyDetectionResponse
|
|
2172
|
+
*/
|
|
2173
|
+
milkPowderCanBottomCodeRephotographyDetectionWithOptions(request: $_model.MilkPowderCanBottomCodeRephotographyDetectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MilkPowderCanBottomCodeRephotographyDetectionResponse>;
|
|
2174
|
+
/**
|
|
2175
|
+
* 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.
|
|
2176
|
+
*
|
|
2177
|
+
* @remarks
|
|
2178
|
+
* ## Features
|
|
2179
|
+
* - Recapture binary classification: isFake=true indicates a recapture, and false indicates a non-recapture. Element localization is performed for both results.
|
|
2180
|
+
* - 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.
|
|
2181
|
+
* - Visible information output: Outputs only confirmed short names or text without guessing blurred code values. Localization results do not change the recapture conclusion.
|
|
2182
|
+
* - 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.
|
|
2183
|
+
* ## Scenarios:
|
|
2184
|
+
* - Can bottom code photo review: Determines whether a photo of a milk powder can bottom code has a recapture risk.
|
|
2185
|
+
* - Milk powder product inspection: Localizes canned, boxed, or bagged milk powder, as well as clearly visible can bottoms and bottom codes.
|
|
2186
|
+
* - Review result playback: Displays target bounding boxes on the original image to assist personnel in verifying the photo content.
|
|
2187
|
+
*
|
|
2188
|
+
* @param request - MilkPowderCanBottomCodeRephotographyDetectionRequest
|
|
2189
|
+
* @returns MilkPowderCanBottomCodeRephotographyDetectionResponse
|
|
2190
|
+
*/
|
|
2191
|
+
milkPowderCanBottomCodeRephotographyDetection(request: $_model.MilkPowderCanBottomCodeRephotographyDetectionRequest): Promise<$_model.MilkPowderCanBottomCodeRephotographyDetectionResponse>;
|
|
2192
|
+
/**
|
|
2193
|
+
* 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.
|
|
2194
|
+
*
|
|
2195
|
+
* @remarks
|
|
2196
|
+
* ## Features
|
|
2197
|
+
* - 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.
|
|
2198
|
+
* - 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.
|
|
2199
|
+
* - Result coordination: Element grounding supplements visible targets without changing the recapture detection conclusion. It does not decode QR codes or provide product authenticity verification.
|
|
2200
|
+
* - 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.
|
|
2201
|
+
* ## Scenarios
|
|
2202
|
+
* - Box code photo review: Checks whether milk powder outer box photos uploaded by stores or channels carry recapture risks.
|
|
2203
|
+
* - Milk powder display inspection: Locates visible individual milk powder products, full boxes, and clear code areas in photos.
|
|
2204
|
+
* - Suspected sample review: Filters images that require manual verification based on the suspected status, algorithm score, and bounding boxes.
|
|
2205
|
+
*
|
|
2206
|
+
* @param request - MilkPowderCartonCodeRephotographyDetectionRequest
|
|
2207
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2208
|
+
* @returns MilkPowderCartonCodeRephotographyDetectionResponse
|
|
2209
|
+
*/
|
|
2210
|
+
milkPowderCartonCodeRephotographyDetectionWithOptions(request: $_model.MilkPowderCartonCodeRephotographyDetectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MilkPowderCartonCodeRephotographyDetectionResponse>;
|
|
2211
|
+
/**
|
|
2212
|
+
* 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.
|
|
2213
|
+
*
|
|
2214
|
+
* @remarks
|
|
2215
|
+
* ## Features
|
|
2216
|
+
* - 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.
|
|
2217
|
+
* - 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.
|
|
2218
|
+
* - Result coordination: Element grounding supplements visible targets without changing the recapture detection conclusion. It does not decode QR codes or provide product authenticity verification.
|
|
2219
|
+
* - 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.
|
|
2220
|
+
* ## Scenarios
|
|
2221
|
+
* - Box code photo review: Checks whether milk powder outer box photos uploaded by stores or channels carry recapture risks.
|
|
2222
|
+
* - Milk powder display inspection: Locates visible individual milk powder products, full boxes, and clear code areas in photos.
|
|
2223
|
+
* - Suspected sample review: Filters images that require manual verification based on the suspected status, algorithm score, and bounding boxes.
|
|
2224
|
+
*
|
|
2225
|
+
* @param request - MilkPowderCartonCodeRephotographyDetectionRequest
|
|
2226
|
+
* @returns MilkPowderCartonCodeRephotographyDetectionResponse
|
|
2227
|
+
*/
|
|
2228
|
+
milkPowderCartonCodeRephotographyDetection(request: $_model.MilkPowderCartonCodeRephotographyDetectionRequest): Promise<$_model.MilkPowderCartonCodeRephotographyDetectionResponse>;
|
|
1381
2229
|
/**
|
|
1382
2230
|
* 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.
|
|
1383
2231
|
*
|
|
@@ -1424,17 +2272,7 @@ export default class Client extends OpenApi {
|
|
|
1424
2272
|
*/
|
|
1425
2273
|
packageWeightSizeCheck(request: $_model.PackageWeightSizeCheckRequest): Promise<$_model.PackageWeightSizeCheckResponse>;
|
|
1426
2274
|
/**
|
|
1427
|
-
*
|
|
1428
|
-
* Applicable scenarios:
|
|
1429
|
-
* 1. Excrement image analysis: Upload pet excrement images for analysis using the default method.
|
|
1430
|
-
* 2. Observation record organization: Combine multiple excrement images to assist in organizing visible features and observation records.
|
|
1431
|
-
* 3. Custom image-text analysis: Provide a user prompt to specify the image content to focus on and the analysis requirements.
|
|
1432
|
-
*
|
|
1433
|
-
* @remarks
|
|
1434
|
-
* 1. Multi-image input: image_url is a required array of HTTPS image URLs.
|
|
1435
|
-
* 2. Default excrement analysis: If user_prompt is not specified or is an empty string, the system determines whether excrement is present and outputs the location, urine clump/feces category, and subcategory for each region.
|
|
1436
|
-
* 3. Custom analysis: user_prompt and system_prompt are both optional. You can specify analysis requirements and system prompts separately. When submitting custom prompts, use values that comply with JSON string escaping rules.
|
|
1437
|
-
* 4. Text result response: result is always a String. Even if the model text itself is JSON, it is not automatically converted to an object.
|
|
2275
|
+
* 宠物健康分析
|
|
1438
2276
|
*
|
|
1439
2277
|
* @param tmpReq - PetHealthAnalysisRequest
|
|
1440
2278
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1442,17 +2280,7 @@ export default class Client extends OpenApi {
|
|
|
1442
2280
|
*/
|
|
1443
2281
|
petHealthAnalysisWithOptions(tmpReq: $_model.PetHealthAnalysisRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PetHealthAnalysisResponse>;
|
|
1444
2282
|
/**
|
|
1445
|
-
*
|
|
1446
|
-
* Applicable scenarios:
|
|
1447
|
-
* 1. Excrement image analysis: Upload pet excrement images for analysis using the default method.
|
|
1448
|
-
* 2. Observation record organization: Combine multiple excrement images to assist in organizing visible features and observation records.
|
|
1449
|
-
* 3. Custom image-text analysis: Provide a user prompt to specify the image content to focus on and the analysis requirements.
|
|
1450
|
-
*
|
|
1451
|
-
* @remarks
|
|
1452
|
-
* 1. Multi-image input: image_url is a required array of HTTPS image URLs.
|
|
1453
|
-
* 2. Default excrement analysis: If user_prompt is not specified or is an empty string, the system determines whether excrement is present and outputs the location, urine clump/feces category, and subcategory for each region.
|
|
1454
|
-
* 3. Custom analysis: user_prompt and system_prompt are both optional. You can specify analysis requirements and system prompts separately. When submitting custom prompts, use values that comply with JSON string escaping rules.
|
|
1455
|
-
* 4. Text result response: result is always a String. Even if the model text itself is JSON, it is not automatically converted to an object.
|
|
2283
|
+
* 宠物健康分析
|
|
1456
2284
|
*
|
|
1457
2285
|
* @param request - PetHealthAnalysisRequest
|
|
1458
2286
|
* @returns PetHealthAnalysisResponse
|
|
@@ -1573,6 +2401,43 @@ export default class Client extends OpenApi {
|
|
|
1573
2401
|
* @returns QueryAsyncTaskResultResponse
|
|
1574
2402
|
*/
|
|
1575
2403
|
queryAsyncTaskResult(request: $_model.QueryAsyncTaskResultRequest): Promise<$_model.QueryAsyncTaskResultResponse>;
|
|
2404
|
+
/**
|
|
2405
|
+
* Performs a paged query on the content of a display knowledge base with paging (synchronization).
|
|
2406
|
+
*
|
|
2407
|
+
* @param tmpReq - QueryDisplayKnowledgeRequest
|
|
2408
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2409
|
+
* @returns QueryDisplayKnowledgeResponse
|
|
2410
|
+
*/
|
|
2411
|
+
queryDisplayKnowledgeWithOptions(tmpReq: $_model.QueryDisplayKnowledgeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryDisplayKnowledgeResponse>;
|
|
2412
|
+
/**
|
|
2413
|
+
* Performs a paged query on the content of a display knowledge base with paging (synchronization).
|
|
2414
|
+
*
|
|
2415
|
+
* @param request - QueryDisplayKnowledgeRequest
|
|
2416
|
+
* @returns QueryDisplayKnowledgeResponse
|
|
2417
|
+
*/
|
|
2418
|
+
queryDisplayKnowledge(request: $_model.QueryDisplayKnowledgeRequest): Promise<$_model.QueryDisplayKnowledgeResponse>;
|
|
2419
|
+
/**
|
|
2420
|
+
* Detects whether an image contains a size chart. (Synchronous)
|
|
2421
|
+
*
|
|
2422
|
+
* @remarks
|
|
2423
|
+
* # 1. Product Introduction
|
|
2424
|
+
* Detects whether an image contains a size chart. (Synchronous)
|
|
2425
|
+
* # 2. Common scenarios
|
|
2426
|
+
* **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.
|
|
2427
|
+
* # 3. Features
|
|
2428
|
+
* 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.
|
|
2429
|
+
* 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.
|
|
2430
|
+
* # 4. Effect comparison
|
|
2431
|
+
* | **Input image** | **Confidence** | **Output result** |
|
|
2432
|
+
* | --- | --- | --- |
|
|
2433
|
+
* |  | 0.4 | true |
|
|
2434
|
+
* |  | 0.4 | false |
|
|
2435
|
+
*
|
|
2436
|
+
* @param request - SizeChartDetectRequest
|
|
2437
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2438
|
+
* @returns SizeChartDetectResponse
|
|
2439
|
+
*/
|
|
2440
|
+
sizeChartDetectWithOptions(request: $_model.SizeChartDetectRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SizeChartDetectResponse>;
|
|
1576
2441
|
/**
|
|
1577
2442
|
* Detects whether an image contains a size chart. (Synchronous)
|
|
1578
2443
|
*
|
|
@@ -1590,32 +2455,138 @@ export default class Client extends OpenApi {
|
|
|
1590
2455
|
* |  | 0.4 | true |
|
|
1591
2456
|
* |  | 0.4 | false |
|
|
1592
2457
|
*
|
|
1593
|
-
* @param request - SizeChartDetectRequest
|
|
2458
|
+
* @param request - SizeChartDetectRequest
|
|
2459
|
+
* @returns SizeChartDetectResponse
|
|
2460
|
+
*/
|
|
2461
|
+
sizeChartDetect(request: $_model.SizeChartDetectRequest): Promise<$_model.SizeChartDetectResponse>;
|
|
2462
|
+
/**
|
|
2463
|
+
* Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
|
|
2464
|
+
*
|
|
2465
|
+
* @remarks
|
|
2466
|
+
* ## Product Introduction
|
|
2467
|
+
* Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
|
|
2468
|
+
* ## Common scenarios
|
|
2469
|
+
* * Size chart: Extracts size charts from apparel category images into text.
|
|
2470
|
+
*
|
|
2471
|
+
* * Package weight/dimensions: Extracts package weight and dimension information from images.
|
|
2472
|
+
* ## Functions and features
|
|
2473
|
+
* 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.
|
|
2474
|
+
* 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.
|
|
2475
|
+
* ## Comparison
|
|
2476
|
+
* | **Input image** | **Output result** |
|
|
2477
|
+
* | --- | --- |
|
|
2478
|
+
* |  | {
|
|
2479
|
+
* "SizeChart": [
|
|
2480
|
+
* {
|
|
2481
|
+
* "尺码": {
|
|
2482
|
+
* "value": "S"
|
|
2483
|
+
* },
|
|
2484
|
+
* "腰围": {
|
|
2485
|
+
* "unit": "CM",
|
|
2486
|
+
* "value": 58
|
|
2487
|
+
* },
|
|
2488
|
+
* "裙长": {
|
|
2489
|
+
* "unit": "CM",
|
|
2490
|
+
* "value": 81
|
|
2491
|
+
* },
|
|
2492
|
+
* "体重建议": {
|
|
2493
|
+
* "unit": "kg",
|
|
2494
|
+
* "lower_value": 40,
|
|
2495
|
+
* "upper_value": 47.5
|
|
2496
|
+
* }
|
|
2497
|
+
* },
|
|
2498
|
+
* {
|
|
2499
|
+
* "尺码": {
|
|
2500
|
+
* "value": "M"
|
|
2501
|
+
* },
|
|
2502
|
+
* "腰围": {
|
|
2503
|
+
* "unit": "CM",
|
|
2504
|
+
* "value": 59
|
|
2505
|
+
* },
|
|
2506
|
+
* "裙长": {
|
|
2507
|
+
* "unit": "CM",
|
|
2508
|
+
* "value": 82
|
|
2509
|
+
* },
|
|
2510
|
+
* "体重建议": {
|
|
2511
|
+
* "unit": "kg",
|
|
2512
|
+
* "lower_value": 45,
|
|
2513
|
+
* "upper_value": 52.5
|
|
2514
|
+
* }
|
|
2515
|
+
* },
|
|
2516
|
+
* {
|
|
2517
|
+
* "尺码": {
|
|
2518
|
+
* "value": "L"
|
|
2519
|
+
* },
|
|
2520
|
+
* "腰围": {
|
|
2521
|
+
* "unit": "CM",
|
|
2522
|
+
* "value": 60
|
|
2523
|
+
* },
|
|
2524
|
+
* "裙长": {
|
|
2525
|
+
* "unit": "CM",
|
|
2526
|
+
* "value": 83
|
|
2527
|
+
* },
|
|
2528
|
+
* "体重建议": {
|
|
2529
|
+
* "unit": "kg",
|
|
2530
|
+
* "lower_value": 50,
|
|
2531
|
+
* "upper_value": 57.5
|
|
2532
|
+
* }
|
|
2533
|
+
* },
|
|
2534
|
+
* {
|
|
2535
|
+
* "尺码": {
|
|
2536
|
+
* "value": "XL"
|
|
2537
|
+
* },
|
|
2538
|
+
* "腰围": {
|
|
2539
|
+
* "unit": "CM",
|
|
2540
|
+
* "value": 61
|
|
2541
|
+
* },
|
|
2542
|
+
* "裙长": {
|
|
2543
|
+
* "unit": "CM",
|
|
2544
|
+
* "value": 84
|
|
2545
|
+
* },
|
|
2546
|
+
* "体重建议": {
|
|
2547
|
+
* "unit": "kg",
|
|
2548
|
+
* "lower_value": 55,
|
|
2549
|
+
* "upper_value": 62.5
|
|
2550
|
+
* }
|
|
2551
|
+
* },
|
|
2552
|
+
* {
|
|
2553
|
+
* "尺码": {
|
|
2554
|
+
* "value": "2XL"
|
|
2555
|
+
* },
|
|
2556
|
+
* "腰围": {
|
|
2557
|
+
* "unit": "CM",
|
|
2558
|
+
* "value": 62
|
|
2559
|
+
* },
|
|
2560
|
+
* "裙长": {
|
|
2561
|
+
* "unit": "CM",
|
|
2562
|
+
* "value": 85
|
|
2563
|
+
* },
|
|
2564
|
+
* "体重建议": {
|
|
2565
|
+
* "unit": "kg",
|
|
2566
|
+
* "lower_value": 60,
|
|
2567
|
+
* "upper_value": 67.5
|
|
2568
|
+
* }
|
|
2569
|
+
* }
|
|
2570
|
+
* \\],
|
|
2571
|
+
* "SizeChartAttributes": [
|
|
2572
|
+
* "尺码",
|
|
2573
|
+
* "裙长",
|
|
2574
|
+
* "腰围",
|
|
2575
|
+
* "体重建议"
|
|
2576
|
+
* \\],
|
|
2577
|
+
* "IntersectionAttributes": [
|
|
2578
|
+
* "尺码",
|
|
2579
|
+
* "裙长",
|
|
2580
|
+
* "腰围(拉伸)",
|
|
2581
|
+
* "体重建议"
|
|
2582
|
+
* \\]
|
|
2583
|
+
* } |
|
|
2584
|
+
*
|
|
2585
|
+
* @param tmpReq - SizeChartExtractRequest
|
|
1594
2586
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1595
|
-
* @returns
|
|
1596
|
-
*/
|
|
1597
|
-
sizeChartDetectWithOptions(request: $_model.SizeChartDetectRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SizeChartDetectResponse>;
|
|
1598
|
-
/**
|
|
1599
|
-
* Detects whether an image contains a size chart. (Synchronous)
|
|
1600
|
-
*
|
|
1601
|
-
* @remarks
|
|
1602
|
-
* # 1. Product Introduction
|
|
1603
|
-
* Detects whether an image contains a size chart. (Synchronous)
|
|
1604
|
-
* # 2. Common scenarios
|
|
1605
|
-
* **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.
|
|
1606
|
-
* # 3. Features
|
|
1607
|
-
* 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.
|
|
1608
|
-
* 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.
|
|
1609
|
-
* # 4. Effect comparison
|
|
1610
|
-
* | **Input image** | **Confidence** | **Output result** |
|
|
1611
|
-
* | --- | --- | --- |
|
|
1612
|
-
* |  | 0.4 | true |
|
|
1613
|
-
* |  | 0.4 | false |
|
|
1614
|
-
*
|
|
1615
|
-
* @param request - SizeChartDetectRequest
|
|
1616
|
-
* @returns SizeChartDetectResponse
|
|
2587
|
+
* @returns SizeChartExtractResponse
|
|
1617
2588
|
*/
|
|
1618
|
-
|
|
2589
|
+
sizeChartExtractWithOptions(tmpReq: $_model.SizeChartExtractRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SizeChartExtractResponse>;
|
|
1619
2590
|
/**
|
|
1620
2591
|
* Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
|
|
1621
2592
|
*
|
|
@@ -1739,26 +2710,147 @@ export default class Client extends OpenApi {
|
|
|
1739
2710
|
* \\]
|
|
1740
2711
|
* } |
|
|
1741
2712
|
*
|
|
1742
|
-
* @param
|
|
1743
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
2713
|
+
* @param request - SizeChartExtractRequest
|
|
1744
2714
|
* @returns SizeChartExtractResponse
|
|
1745
2715
|
*/
|
|
1746
|
-
|
|
2716
|
+
sizeChartExtract(request: $_model.SizeChartExtractRequest): Promise<$_model.SizeChartExtractResponse>;
|
|
1747
2717
|
/**
|
|
1748
|
-
*
|
|
2718
|
+
* Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large models in asynchronous mode.
|
|
1749
2719
|
*
|
|
1750
2720
|
* @remarks
|
|
1751
|
-
* ##
|
|
1752
|
-
*
|
|
1753
|
-
*
|
|
1754
|
-
*
|
|
2721
|
+
* ## Scenarios
|
|
2722
|
+
* Size charts: Extracts size charts for apparel categories into text.
|
|
2723
|
+
* Package weight and dimensions: Extracts package weight and dimension information from images.
|
|
2724
|
+
* ## Feature description
|
|
2725
|
+
* 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.
|
|
2726
|
+
* 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.
|
|
2727
|
+
* ## Example results
|
|
2728
|
+
* | Input image | Output result |
|
|
2729
|
+
* | --- | --- |
|
|
2730
|
+
* |  | {
|
|
2731
|
+
* "SizeChart": [
|
|
2732
|
+
* {
|
|
2733
|
+
* "尺码": {
|
|
2734
|
+
* "value": "S"
|
|
2735
|
+
* },
|
|
2736
|
+
* "腰围": {
|
|
2737
|
+
* "unit": "CM",
|
|
2738
|
+
* "value": 58
|
|
2739
|
+
* },
|
|
2740
|
+
* "裙长": {
|
|
2741
|
+
* "unit": "CM",
|
|
2742
|
+
* "value": 81
|
|
2743
|
+
* },
|
|
2744
|
+
* "体重建议": {
|
|
2745
|
+
* "unit": "kg",
|
|
2746
|
+
* "lower_value": 40,
|
|
2747
|
+
* "upper_value": 47.5
|
|
2748
|
+
* }
|
|
2749
|
+
* },
|
|
2750
|
+
* {
|
|
2751
|
+
* "尺码": {
|
|
2752
|
+
* "value": "M"
|
|
2753
|
+
* },
|
|
2754
|
+
* "腰围": {
|
|
2755
|
+
* "unit": "CM",
|
|
2756
|
+
* "value": 59
|
|
2757
|
+
* },
|
|
2758
|
+
* "裙长": {
|
|
2759
|
+
* "unit": "CM",
|
|
2760
|
+
* "value": 82
|
|
2761
|
+
* },
|
|
2762
|
+
* "体重建议": {
|
|
2763
|
+
* "unit": "kg",
|
|
2764
|
+
* "lower_value": 45,
|
|
2765
|
+
* "upper_value": 52.5
|
|
2766
|
+
* }
|
|
2767
|
+
* },
|
|
2768
|
+
* {
|
|
2769
|
+
* "尺码": {
|
|
2770
|
+
* "value": "L"
|
|
2771
|
+
* },
|
|
2772
|
+
* "腰围": {
|
|
2773
|
+
* "unit": "CM",
|
|
2774
|
+
* "value": 60
|
|
2775
|
+
* },
|
|
2776
|
+
* "裙长": {
|
|
2777
|
+
* "unit": "CM",
|
|
2778
|
+
* "value": 83
|
|
2779
|
+
* },
|
|
2780
|
+
* "体重建议": {
|
|
2781
|
+
* "unit": "kg",
|
|
2782
|
+
* "lower_value": 50,
|
|
2783
|
+
* "upper_value": 57.5
|
|
2784
|
+
* }
|
|
2785
|
+
* },
|
|
2786
|
+
* {
|
|
2787
|
+
* "尺码": {
|
|
2788
|
+
* "value": "XL"
|
|
2789
|
+
* },
|
|
2790
|
+
* "腰围": {
|
|
2791
|
+
* "unit": "CM",
|
|
2792
|
+
* "value": 61
|
|
2793
|
+
* },
|
|
2794
|
+
* "裙长": {
|
|
2795
|
+
* "unit": "CM",
|
|
2796
|
+
* "value": 84
|
|
2797
|
+
* },
|
|
2798
|
+
* "体重建议": {
|
|
2799
|
+
* "unit": "kg",
|
|
2800
|
+
* "lower_value": 55,
|
|
2801
|
+
* "upper_value": 62.5
|
|
2802
|
+
* }
|
|
2803
|
+
* },
|
|
2804
|
+
* {
|
|
2805
|
+
* "尺码": {
|
|
2806
|
+
* "value": "2XL"
|
|
2807
|
+
* },
|
|
2808
|
+
* "腰围": {
|
|
2809
|
+
* "unit": "CM",
|
|
2810
|
+
* "value": 62
|
|
2811
|
+
* },
|
|
2812
|
+
* "裙长": {
|
|
2813
|
+
* "unit": "CM",
|
|
2814
|
+
* "value": 85
|
|
2815
|
+
* },
|
|
2816
|
+
* "体重建议": {
|
|
2817
|
+
* "unit": "kg",
|
|
2818
|
+
* "lower_value": 60,
|
|
2819
|
+
* "upper_value": 67.5
|
|
2820
|
+
* }
|
|
2821
|
+
* }
|
|
2822
|
+
* \\],
|
|
2823
|
+
* "SizeChartAttributes": [
|
|
2824
|
+
* "Size",
|
|
2825
|
+
* "Skirt length",
|
|
2826
|
+
* "Waist",
|
|
2827
|
+
* "Weight recommendation"
|
|
2828
|
+
* \\],
|
|
2829
|
+
* "IntersectionAttributes": [
|
|
2830
|
+
* "Size",
|
|
2831
|
+
* "Skirt length",
|
|
2832
|
+
* "Waist (stretched)",
|
|
2833
|
+
* "Weight recommendation"
|
|
2834
|
+
* \\]
|
|
2835
|
+
* } |
|
|
1755
2836
|
*
|
|
1756
|
-
*
|
|
1757
|
-
*
|
|
1758
|
-
*
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
2837
|
+
* @param tmpReq - SizeChartExtractAsyncRequest
|
|
2838
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2839
|
+
* @returns SizeChartExtractAsyncResponse
|
|
2840
|
+
*/
|
|
2841
|
+
sizeChartExtractAsyncWithOptions(tmpReq: $_model.SizeChartExtractAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SizeChartExtractAsyncResponse>;
|
|
2842
|
+
/**
|
|
2843
|
+
* Extracts structured information such as size charts and package weight and dimensions from images by using multimodal large models in asynchronous mode.
|
|
2844
|
+
*
|
|
2845
|
+
* @remarks
|
|
2846
|
+
* ## Scenarios
|
|
2847
|
+
* Size charts: Extracts size charts for apparel categories into text.
|
|
2848
|
+
* Package weight and dimensions: Extracts package weight and dimension information from images.
|
|
2849
|
+
* ## Feature description
|
|
2850
|
+
* 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.
|
|
2851
|
+
* 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.
|
|
2852
|
+
* ## Example results
|
|
2853
|
+
* | Input image | Output result |
|
|
1762
2854
|
* | --- | --- |
|
|
1763
2855
|
* |  | {
|
|
1764
2856
|
* "SizeChart": [
|
|
@@ -1854,23 +2946,60 @@ export default class Client extends OpenApi {
|
|
|
1854
2946
|
* }
|
|
1855
2947
|
* \\],
|
|
1856
2948
|
* "SizeChartAttributes": [
|
|
1857
|
-
* "
|
|
1858
|
-
* "
|
|
1859
|
-
* "
|
|
1860
|
-
* "
|
|
2949
|
+
* "Size",
|
|
2950
|
+
* "Skirt length",
|
|
2951
|
+
* "Waist",
|
|
2952
|
+
* "Weight recommendation"
|
|
1861
2953
|
* \\],
|
|
1862
2954
|
* "IntersectionAttributes": [
|
|
1863
|
-
* "
|
|
1864
|
-
* "
|
|
1865
|
-
* "
|
|
1866
|
-
* "
|
|
2955
|
+
* "Size",
|
|
2956
|
+
* "Skirt length",
|
|
2957
|
+
* "Waist (stretched)",
|
|
2958
|
+
* "Weight recommendation"
|
|
1867
2959
|
* \\]
|
|
1868
2960
|
* } |
|
|
1869
2961
|
*
|
|
1870
|
-
* @param request -
|
|
1871
|
-
* @returns
|
|
2962
|
+
* @param request - SizeChartExtractAsyncRequest
|
|
2963
|
+
* @returns SizeChartExtractAsyncResponse
|
|
1872
2964
|
*/
|
|
1873
|
-
|
|
2965
|
+
sizeChartExtractAsync(request: $_model.SizeChartExtractAsyncRequest): Promise<$_model.SizeChartExtractAsyncResponse>;
|
|
2966
|
+
/**
|
|
2967
|
+
* 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.
|
|
2968
|
+
*
|
|
2969
|
+
* @remarks
|
|
2970
|
+
* ## Common scenarios
|
|
2971
|
+
* - Storefront photo classification: Distinguishes storefront-related photos from non-storefront photos.
|
|
2972
|
+
* - Store data verification: Localizes signboards and entrances, and extracts clear and readable short text.
|
|
2973
|
+
* - Multi-store photo review: Localizes visible storefronts and signs of adjacent stores separately.
|
|
2974
|
+
* ## Features
|
|
2975
|
+
* - Scene classification and details: Returns the scenes string array and classification details. Non-storefront photos are also valid classification results.
|
|
2976
|
+
* - Storefront key element localization: Covers storefronts, signboards, store entrances, and business-related signs.
|
|
2977
|
+
* - 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.
|
|
2978
|
+
* - 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.
|
|
2979
|
+
*
|
|
2980
|
+
* @param request - StorefrontSceneRecognitionRequest
|
|
2981
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2982
|
+
* @returns StorefrontSceneRecognitionResponse
|
|
2983
|
+
*/
|
|
2984
|
+
storefrontSceneRecognitionWithOptions(request: $_model.StorefrontSceneRecognitionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StorefrontSceneRecognitionResponse>;
|
|
2985
|
+
/**
|
|
2986
|
+
* 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.
|
|
2987
|
+
*
|
|
2988
|
+
* @remarks
|
|
2989
|
+
* ## Common scenarios
|
|
2990
|
+
* - Storefront photo classification: Distinguishes storefront-related photos from non-storefront photos.
|
|
2991
|
+
* - Store data verification: Localizes signboards and entrances, and extracts clear and readable short text.
|
|
2992
|
+
* - Multi-store photo review: Localizes visible storefronts and signs of adjacent stores separately.
|
|
2993
|
+
* ## Features
|
|
2994
|
+
* - Scene classification and details: Returns the scenes string array and classification details. Non-storefront photos are also valid classification results.
|
|
2995
|
+
* - Storefront key element localization: Covers storefronts, signboards, store entrances, and business-related signs.
|
|
2996
|
+
* - 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.
|
|
2997
|
+
* - 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.
|
|
2998
|
+
*
|
|
2999
|
+
* @param request - StorefrontSceneRecognitionRequest
|
|
3000
|
+
* @returns StorefrontSceneRecognitionResponse
|
|
3001
|
+
*/
|
|
3002
|
+
storefrontSceneRecognition(request: $_model.StorefrontSceneRecognitionRequest): Promise<$_model.StorefrontSceneRecognitionResponse>;
|
|
1874
3003
|
/**
|
|
1875
3004
|
* 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.
|
|
1876
3005
|
*
|
|
@@ -1942,32 +3071,34 @@ export default class Client extends OpenApi {
|
|
|
1942
3071
|
*/
|
|
1943
3072
|
textCorrect(request: $_model.TextCorrectRequest): Promise<$_model.TextCorrectResponse>;
|
|
1944
3073
|
/**
|
|
1945
|
-
* 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
|
|
3074
|
+
* 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.
|
|
1946
3075
|
*
|
|
1947
3076
|
* @remarks
|
|
1948
3077
|
* ## Product Introduction
|
|
1949
|
-
*
|
|
3078
|
+
* 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.
|
|
1950
3079
|
* ## Common scenarios
|
|
1951
|
-
* - Product titles:
|
|
1952
|
-
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting.
|
|
1953
|
-
* - Product attributes: Product attribute terms are
|
|
1954
|
-
* - Customer service conversations: In customer service scenarios,
|
|
1955
|
-
*
|
|
3080
|
+
* - 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.
|
|
3081
|
+
* - 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.
|
|
3082
|
+
* - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and specifications.
|
|
3083
|
+
* - 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.
|
|
3084
|
+
* Maas-MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
|
|
1956
3085
|
* ## Functions and features
|
|
1957
3086
|
* - **Supported language directions**
|
|
1958
|
-
*
|
|
3087
|
+
* 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.
|
|
3088
|
+
* <props="china">For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/en/document_detail/3041883.html)
|
|
3089
|
+
* <props="intl">For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/zh/aidge/language-direction-mapping)
|
|
1959
3090
|
* - **Ultra-low hallucination rate and high-speed inference**
|
|
1960
|
-
*
|
|
1961
|
-
* - **Supported text format types**
|
|
3091
|
+
* 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.
|
|
3092
|
+
* - **Supported text format types for translation**
|
|
1962
3093
|
* Currently, text and html text types are supported.
|
|
1963
3094
|
* - **Translation intervention support**
|
|
1964
|
-
* Custom translation results are supported, including do-not-translate (ABC
|
|
3095
|
+
* 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.
|
|
1965
3096
|
* ## Translation quality comparison
|
|
1966
|
-
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation
|
|
3097
|
+
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantages** |
|
|
1967
3098
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
1968
3099
|
* | 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 |
|
|
1969
3100
|
* | 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 |
|
|
1970
|
-
* | 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
|
|
3101
|
+
* | 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.
|
|
1971
3102
|
*
|
|
1972
3103
|
* @param tmpReq - TextTranslateRequest
|
|
1973
3104
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1975,57 +3106,147 @@ export default class Client extends OpenApi {
|
|
|
1975
3106
|
*/
|
|
1976
3107
|
textTranslateWithOptions(tmpReq: $_model.TextTranslateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TextTranslateResponse>;
|
|
1977
3108
|
/**
|
|
1978
|
-
* 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
|
|
3109
|
+
* 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.
|
|
1979
3110
|
*
|
|
1980
3111
|
* @remarks
|
|
1981
3112
|
* ## Product Introduction
|
|
1982
|
-
*
|
|
3113
|
+
* 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.
|
|
1983
3114
|
* ## Common scenarios
|
|
1984
|
-
* - Product titles:
|
|
1985
|
-
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting.
|
|
1986
|
-
* - Product attributes: Product attribute terms are
|
|
1987
|
-
* - Customer service conversations: In customer service scenarios,
|
|
1988
|
-
*
|
|
3115
|
+
* - 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.
|
|
3116
|
+
* - 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.
|
|
3117
|
+
* - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and specifications.
|
|
3118
|
+
* - 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.
|
|
3119
|
+
* Maas-MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
|
|
1989
3120
|
* ## Functions and features
|
|
1990
3121
|
* - **Supported language directions**
|
|
1991
|
-
*
|
|
3122
|
+
* 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.
|
|
3123
|
+
* <props="china">For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/en/document_detail/3041883.html)
|
|
3124
|
+
* <props="intl">For supported language directions, see [Language direction mapping](https://www.alibabacloud.com/help/zh/aidge/language-direction-mapping)
|
|
1992
3125
|
* - **Ultra-low hallucination rate and high-speed inference**
|
|
1993
|
-
*
|
|
1994
|
-
* - **Supported text format types**
|
|
3126
|
+
* 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.
|
|
3127
|
+
* - **Supported text format types for translation**
|
|
1995
3128
|
* Currently, text and html text types are supported.
|
|
1996
3129
|
* - **Translation intervention support**
|
|
1997
|
-
* Custom translation results are supported, including do-not-translate (ABC
|
|
3130
|
+
* 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.
|
|
1998
3131
|
* ## Translation quality comparison
|
|
1999
|
-
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation
|
|
3132
|
+
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantages** |
|
|
2000
3133
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
2001
3134
|
* | 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 |
|
|
2002
3135
|
* | 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 |
|
|
2003
|
-
* | 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
|
|
3136
|
+
* | 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.
|
|
2004
3137
|
*
|
|
2005
3138
|
* @param request - TextTranslateRequest
|
|
2006
3139
|
* @returns TextTranslateResponse
|
|
2007
3140
|
*/
|
|
2008
3141
|
textTranslate(request: $_model.TextTranslateRequest): Promise<$_model.TextTranslateResponse>;
|
|
2009
3142
|
/**
|
|
2010
|
-
*
|
|
3143
|
+
* Translates text by using the Maas MT model, an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs and optimized for e-commerce terms such as brands, models, materials, and attributes. It supports 156 languages, more than 400 language pairs, and automatic language detection for source texts.
|
|
3144
|
+
*
|
|
3145
|
+
* @remarks
|
|
3146
|
+
* ## Scenarios
|
|
3147
|
+
* * Product titles: The Maas MT large language model accurately translates phrases, keywords, and trending words in product titles into the target language to increase product exposure on e-commerce platforms.
|
|
3148
|
+
*
|
|
3149
|
+
* * Product descriptions: Product descriptions are typically long and have diverse and complex formats. The Maas large language model supports long-text translation and HTML formatting, delivering excellent translation quality and format restoration.
|
|
3150
|
+
*
|
|
3151
|
+
* * Product attributes: Product attribute terms are short and contain e-commerce-specific words such as models and parameters.
|
|
3152
|
+
*
|
|
3153
|
+
* * Customer service conversations: In customer service scenarios, the model optimizes issues such as missing context and typos, and supports polite expressions in specific language pairs.
|
|
3154
|
+
*
|
|
3155
|
+
* The Maas MT large language model can also be used for translation in general scenarios, such as office work, meetings, and daily conversations.
|
|
3156
|
+
* ## Features
|
|
3157
|
+
* * **Ultra-low hallucination rate and high-speed inference** The Maas MT large language model is aligned with preferences for translation scenarios. Compared with general-purpose large language models, it provides faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
|
|
3158
|
+
*
|
|
3159
|
+
* * **Supported text formats** The model supports text and HTML formats.
|
|
3160
|
+
*
|
|
3161
|
+
* * **Translation intervention** You can customize translation results, including keeping terms untranslated (ABC-ABC), specifying translations (ABC-DEF), and omitting translations (ABC-null value). This feature is commonly used for brand word protection. You only need to pass the corresponding intervention glossary ID when calling the API. This 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.
|
|
3162
|
+
*
|
|
3163
|
+
* * **Translation quality comparison**
|
|
3164
|
+
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantages** |
|
|
3165
|
+
* | --- | --- | --- | --- | --- |
|
|
3166
|
+
* | 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 |
|
|
3167
|
+
* | 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 punctuation |
|
|
3168
|
+
* | 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 fermeture éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | Clearer and more explicit product subject expression, identifying it as a "key bag" rather than a "keychain", avoiding ambiguity in other translations |
|
|
3169
|
+
* ## Preparations and invocation flow
|
|
3170
|
+
* Text translation supports both synchronous and asynchronous invocation methods. This topic describes the asynchronous invocation API. To use synchronous calls, see [Text Translation - Synchronous API](https://api.aliyun.com/document/Aidge/2026-04-28/TextTranslate).
|
|
3171
|
+
* The asynchronous APIs for text translation and other features share the same result retrieval flow, RocketMQ subscribe rules, message encryption protocols, dependency configurations, and Java consumption and decryption code.
|
|
3172
|
+
* For the asynchronous invocation onboarding flow, subscribe rules, message formats and encryption protocols, and detailed integration solutions, see [Asynchronous API invocation instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
|
|
3173
|
+
*
|
|
3174
|
+
* @param tmpReq - TextTranslateAsyncRequest
|
|
3175
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3176
|
+
* @returns TextTranslateAsyncResponse
|
|
3177
|
+
*/
|
|
3178
|
+
textTranslateAsyncWithOptions(tmpReq: $_model.TextTranslateAsyncRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TextTranslateAsyncResponse>;
|
|
3179
|
+
/**
|
|
3180
|
+
* Translates text by using the Maas MT model, an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs and optimized for e-commerce terms such as brands, models, materials, and attributes. It supports 156 languages, more than 400 language pairs, and automatic language detection for source texts.
|
|
3181
|
+
*
|
|
3182
|
+
* @remarks
|
|
3183
|
+
* ## Scenarios
|
|
3184
|
+
* * Product titles: The Maas MT large language model accurately translates phrases, keywords, and trending words in product titles into the target language to increase product exposure on e-commerce platforms.
|
|
3185
|
+
*
|
|
3186
|
+
* * Product descriptions: Product descriptions are typically long and have diverse and complex formats. The Maas large language model supports long-text translation and HTML formatting, delivering excellent translation quality and format restoration.
|
|
3187
|
+
*
|
|
3188
|
+
* * Product attributes: Product attribute terms are short and contain e-commerce-specific words such as models and parameters.
|
|
3189
|
+
*
|
|
3190
|
+
* * Customer service conversations: In customer service scenarios, the model optimizes issues such as missing context and typos, and supports polite expressions in specific language pairs.
|
|
3191
|
+
*
|
|
3192
|
+
* The Maas MT large language model can also be used for translation in general scenarios, such as office work, meetings, and daily conversations.
|
|
3193
|
+
* ## Features
|
|
3194
|
+
* * **Ultra-low hallucination rate and high-speed inference** The Maas MT large language model is aligned with preferences for translation scenarios. Compared with general-purpose large language models, it provides faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
|
|
3195
|
+
*
|
|
3196
|
+
* * **Supported text formats** The model supports text and HTML formats.
|
|
3197
|
+
*
|
|
3198
|
+
* * **Translation intervention** You can customize translation results, including keeping terms untranslated (ABC-ABC), specifying translations (ABC-DEF), and omitting translations (ABC-null value). This feature is commonly used for brand word protection. You only need to pass the corresponding intervention glossary ID when calling the API. This 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.
|
|
3199
|
+
*
|
|
3200
|
+
* * **Translation quality comparison**
|
|
3201
|
+
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantages** |
|
|
3202
|
+
* | --- | --- | --- | --- | --- |
|
|
3203
|
+
* | 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 |
|
|
3204
|
+
* | 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 punctuation |
|
|
3205
|
+
* | 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 fermeture éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | Clearer and more explicit product subject expression, identifying it as a "key bag" rather than a "keychain", avoiding ambiguity in other translations |
|
|
3206
|
+
* ## Preparations and invocation flow
|
|
3207
|
+
* Text translation supports both synchronous and asynchronous invocation methods. This topic describes the asynchronous invocation API. To use synchronous calls, see [Text Translation - Synchronous API](https://api.aliyun.com/document/Aidge/2026-04-28/TextTranslate).
|
|
3208
|
+
* The asynchronous APIs for text translation and other features share the same result retrieval flow, RocketMQ subscribe rules, message encryption protocols, dependency configurations, and Java consumption and decryption code.
|
|
3209
|
+
* For the asynchronous invocation onboarding flow, subscribe rules, message formats and encryption protocols, and detailed integration solutions, see [Asynchronous API invocation instructions](https://www.alibabacloud.com/help/en/aidge/asynchronous-interface-call-instructions).
|
|
3210
|
+
*
|
|
3211
|
+
* @param request - TextTranslateAsyncRequest
|
|
3212
|
+
* @returns TextTranslateAsyncResponse
|
|
3213
|
+
*/
|
|
3214
|
+
textTranslateAsync(request: $_model.TextTranslateAsyncRequest): Promise<$_model.TextTranslateAsyncResponse>;
|
|
3215
|
+
/**
|
|
3216
|
+
* Synchronously updates the content of a display knowledge base in batches.
|
|
3217
|
+
*
|
|
3218
|
+
* @param tmpReq - UpdateDisplayKnowledgeRequest
|
|
3219
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3220
|
+
* @returns UpdateDisplayKnowledgeResponse
|
|
3221
|
+
*/
|
|
3222
|
+
updateDisplayKnowledgeWithOptions(tmpReq: $_model.UpdateDisplayKnowledgeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateDisplayKnowledgeResponse>;
|
|
3223
|
+
/**
|
|
3224
|
+
* Synchronously updates the content of a display knowledge base in batches.
|
|
3225
|
+
*
|
|
3226
|
+
* @param request - UpdateDisplayKnowledgeRequest
|
|
3227
|
+
* @returns UpdateDisplayKnowledgeResponse
|
|
3228
|
+
*/
|
|
3229
|
+
updateDisplayKnowledge(request: $_model.UpdateDisplayKnowledgeRequest): Promise<$_model.UpdateDisplayKnowledgeResponse>;
|
|
3230
|
+
/**
|
|
3231
|
+
* 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.
|
|
2011
3232
|
*
|
|
2012
3233
|
* @remarks
|
|
2013
3234
|
* # Scenarios
|
|
2014
|
-
* -
|
|
2015
|
-
* -
|
|
2016
|
-
* - High-fidelity
|
|
2017
|
-
* -
|
|
2018
|
-
* -
|
|
2019
|
-
* - Multi-product and multi-selling
|
|
3235
|
+
* - 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.
|
|
3236
|
+
* - 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.
|
|
3237
|
+
* - 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.
|
|
3238
|
+
* - 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.
|
|
3239
|
+
* - 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.
|
|
3240
|
+
* - 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.
|
|
2020
3241
|
* # Features
|
|
2021
|
-
* - Fully
|
|
2022
|
-
* - Highly stable generation with low waste rate:
|
|
2023
|
-
* - E-commerce
|
|
2024
|
-
* - Reference image
|
|
2025
|
-
* - Flexible storyboard arrangement and duration control: Supports adjustable video duration
|
|
2026
|
-
* - Cinematic camera movement capabilities: Built-in advanced camera movement modes
|
|
2027
|
-
* - Model library and customization services: Built-in multi-type model resource library
|
|
2028
|
-
* -
|
|
3242
|
+
* - 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.
|
|
3243
|
+
* - 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.
|
|
3244
|
+
* - 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.
|
|
3245
|
+
* - 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.
|
|
3246
|
+
* - 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.
|
|
3247
|
+
* - 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.
|
|
3248
|
+
* - 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.
|
|
3249
|
+
* - 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.
|
|
2029
3250
|
*
|
|
2030
3251
|
* @param tmpReq - VideoGenerationRequest
|
|
2031
3252
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2033,53 +3254,53 @@ export default class Client extends OpenApi {
|
|
|
2033
3254
|
*/
|
|
2034
3255
|
videoGenerationWithOptions(tmpReq: $_model.VideoGenerationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.VideoGenerationResponse>;
|
|
2035
3256
|
/**
|
|
2036
|
-
* The
|
|
3257
|
+
* 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.
|
|
2037
3258
|
*
|
|
2038
3259
|
* @remarks
|
|
2039
3260
|
* # Scenarios
|
|
2040
|
-
* -
|
|
2041
|
-
* -
|
|
2042
|
-
* - High-fidelity
|
|
2043
|
-
* -
|
|
2044
|
-
* -
|
|
2045
|
-
* - Multi-product and multi-selling
|
|
3261
|
+
* - 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.
|
|
3262
|
+
* - 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.
|
|
3263
|
+
* - 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.
|
|
3264
|
+
* - 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.
|
|
3265
|
+
* - 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.
|
|
3266
|
+
* - 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.
|
|
2046
3267
|
* # Features
|
|
2047
|
-
* - Fully
|
|
2048
|
-
* - Highly stable generation with low waste rate:
|
|
2049
|
-
* - E-commerce
|
|
2050
|
-
* - Reference image
|
|
2051
|
-
* - Flexible storyboard arrangement and duration control: Supports adjustable video duration
|
|
2052
|
-
* - Cinematic camera movement capabilities: Built-in advanced camera movement modes
|
|
2053
|
-
* - Model library and customization services: Built-in multi-type model resource library
|
|
2054
|
-
* -
|
|
3268
|
+
* - 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.
|
|
3269
|
+
* - 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.
|
|
3270
|
+
* - 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.
|
|
3271
|
+
* - 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.
|
|
3272
|
+
* - 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.
|
|
3273
|
+
* - 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.
|
|
3274
|
+
* - 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.
|
|
3275
|
+
* - 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.
|
|
2055
3276
|
*
|
|
2056
3277
|
* @param request - VideoGenerationRequest
|
|
2057
3278
|
* @returns VideoGenerationResponse
|
|
2058
3279
|
*/
|
|
2059
3280
|
videoGeneration(request: $_model.VideoGenerationRequest): Promise<$_model.VideoGenerationResponse>;
|
|
2060
3281
|
/**
|
|
2061
|
-
*
|
|
3282
|
+
* Translates the speech and on-screen text in a video into a target language. You can select speech subtitle translation, on-screen text translation, or both. This API applies to scenarios such as multilingual distribution of e-commerce videos, international social media marketing, and global brand advertising. The API uses an asynchronous invocation mode. After you submit a translation task, you can obtain the task ID and poll the task status by calling the query API until the task is completed and the result is returned.
|
|
2062
3283
|
*
|
|
2063
3284
|
* @remarks
|
|
2064
|
-
* ##
|
|
2065
|
-
* The video translation API translates
|
|
2066
|
-
* The API uses an asynchronous
|
|
2067
|
-
* ##
|
|
2068
|
-
* * **Cross-border e-commerce video localization**: Translates
|
|
3285
|
+
* ## Product introduction
|
|
3286
|
+
* The video translation API translates the speech and on-screen text in a video into a target language. You can select speech subtitle translation, on-screen text translation, or both. This API applies to scenarios such as multilingual distribution of e-commerce videos, international social media marketing, and global brand advertising.
|
|
3287
|
+
* The API uses an asynchronous invocation mode. After you submit a translation task, you can obtain the `TaskId` and poll the task status by calling the query API until the task is completed and the result is returned.
|
|
3288
|
+
* ## Scenarios
|
|
3289
|
+
* * **Cross-border e-commerce video localization**: Translates the selling point text in product introduction videos into the language of the target market to facilitate promotion on overseas platforms.
|
|
2069
3290
|
*
|
|
2070
|
-
* * **International social media marketing**: Localizes text
|
|
3291
|
+
* * **International social media marketing**: Localizes the 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.
|
|
2071
3292
|
*
|
|
2072
|
-
* * **Global brand advertising**: Automatically generates video versions in the
|
|
3293
|
+
* * **Global brand advertising**: Automatically generates video versions in the languages of the target regions to reduce manual production costs.
|
|
2073
3294
|
*
|
|
2074
|
-
* * **Training and product instructions**: Translates on-screen text in training courses or product
|
|
2075
|
-
* ##
|
|
3295
|
+
* * **Training and product instructions**: Translates the on-screen text in training courses or product demo videos into multiple languages for global teams.
|
|
3296
|
+
* ## Features
|
|
2076
3297
|
* | Feature | Identifier | Description |
|
|
2077
3298
|
* | --- | --- | --- |
|
|
2078
|
-
* |
|
|
2079
|
-
*
|
|
2080
|
-
*
|
|
2081
|
-
*
|
|
2082
|
-
* `
|
|
3299
|
+
* | Speech subtitle translation | `speech` | Translates the video speech into target language dubbing. Original subtitles are not removed, and no new subtitles are added. |
|
|
3300
|
+
* | On-screen text translation | `visual` | Translates the embedded text (subtitles, selling point text, etc.) in the video frames and erases the original text. You can enable quality check for on-screen text processing by using the API. |
|
|
3301
|
+
* Speech subtitle translation (`speech`) generates target language dubbing based on the spoken content in the video and synthesizes it into the video. It does not remove original subtitles or add new subtitles. Original subtitles refer to the existing subtitles in the video frames that correspond to the spoken content.
|
|
3302
|
+
* On-screen text translation (`visual`) targets the recognizable original language text in the video frames, such as titles, product selling points, and descriptive text. It can be used independently without selecting speech subtitle translation first, and the text does not need to appear in the speech. Original subtitles within the processing scope may also be processed.
|
|
3303
|
+
* When both `speech` and `visual` are selected, the speech subtitle translation is completed and the video is synthesized first. Then, on-screen text processing is performed on this video, retaining the translated dubbing and outputting a final video. The order of features in the array does not affect the execution order. Therefore, not processing original subtitles only means that no subtitles are removed or added during the speech subtitle phase. Subsequent on-screen text processing may still alter the original subtitles.
|
|
2083
3304
|
*
|
|
2084
3305
|
* @param tmpReq - VideoTranslationRequest
|
|
2085
3306
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2087,28 +3308,28 @@ export default class Client extends OpenApi {
|
|
|
2087
3308
|
*/
|
|
2088
3309
|
videoTranslationWithOptions(tmpReq: $_model.VideoTranslationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.VideoTranslationResponse>;
|
|
2089
3310
|
/**
|
|
2090
|
-
*
|
|
3311
|
+
* Translates the speech and on-screen text in a video into a target language. You can select speech subtitle translation, on-screen text translation, or both. This API applies to scenarios such as multilingual distribution of e-commerce videos, international social media marketing, and global brand advertising. The API uses an asynchronous invocation mode. After you submit a translation task, you can obtain the task ID and poll the task status by calling the query API until the task is completed and the result is returned.
|
|
2091
3312
|
*
|
|
2092
3313
|
* @remarks
|
|
2093
|
-
* ##
|
|
2094
|
-
* The video translation API translates
|
|
2095
|
-
* The API uses an asynchronous
|
|
2096
|
-
* ##
|
|
2097
|
-
* * **Cross-border e-commerce video localization**: Translates
|
|
3314
|
+
* ## Product introduction
|
|
3315
|
+
* The video translation API translates the speech and on-screen text in a video into a target language. You can select speech subtitle translation, on-screen text translation, or both. This API applies to scenarios such as multilingual distribution of e-commerce videos, international social media marketing, and global brand advertising.
|
|
3316
|
+
* The API uses an asynchronous invocation mode. After you submit a translation task, you can obtain the `TaskId` and poll the task status by calling the query API until the task is completed and the result is returned.
|
|
3317
|
+
* ## Scenarios
|
|
3318
|
+
* * **Cross-border e-commerce video localization**: Translates the selling point text in product introduction videos into the language of the target market to facilitate promotion on overseas platforms.
|
|
2098
3319
|
*
|
|
2099
|
-
* * **International social media marketing**: Localizes text
|
|
3320
|
+
* * **International social media marketing**: Localizes the 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.
|
|
2100
3321
|
*
|
|
2101
|
-
* * **Global brand advertising**: Automatically generates video versions in the
|
|
3322
|
+
* * **Global brand advertising**: Automatically generates video versions in the languages of the target regions to reduce manual production costs.
|
|
2102
3323
|
*
|
|
2103
|
-
* * **Training and product instructions**: Translates on-screen text in training courses or product
|
|
2104
|
-
* ##
|
|
3324
|
+
* * **Training and product instructions**: Translates the on-screen text in training courses or product demo videos into multiple languages for global teams.
|
|
3325
|
+
* ## Features
|
|
2105
3326
|
* | Feature | Identifier | Description |
|
|
2106
3327
|
* | --- | --- | --- |
|
|
2107
|
-
* |
|
|
2108
|
-
*
|
|
2109
|
-
*
|
|
2110
|
-
*
|
|
2111
|
-
* `
|
|
3328
|
+
* | Speech subtitle translation | `speech` | Translates the video speech into target language dubbing. Original subtitles are not removed, and no new subtitles are added. |
|
|
3329
|
+
* | On-screen text translation | `visual` | Translates the embedded text (subtitles, selling point text, etc.) in the video frames and erases the original text. You can enable quality check for on-screen text processing by using the API. |
|
|
3330
|
+
* Speech subtitle translation (`speech`) generates target language dubbing based on the spoken content in the video and synthesizes it into the video. It does not remove original subtitles or add new subtitles. Original subtitles refer to the existing subtitles in the video frames that correspond to the spoken content.
|
|
3331
|
+
* On-screen text translation (`visual`) targets the recognizable original language text in the video frames, such as titles, product selling points, and descriptive text. It can be used independently without selecting speech subtitle translation first, and the text does not need to appear in the speech. Original subtitles within the processing scope may also be processed.
|
|
3332
|
+
* When both `speech` and `visual` are selected, the speech subtitle translation is completed and the video is synthesized first. Then, on-screen text processing is performed on this video, retaining the translated dubbing and outputting a final video. The order of features in the array does not affect the execution order. Therefore, not processing original subtitles only means that no subtitles are removed or added during the speech subtitle phase. Subsequent on-screen text processing may still alter the original subtitles.
|
|
2112
3333
|
*
|
|
2113
3334
|
* @param request - VideoTranslationRequest
|
|
2114
3335
|
* @returns VideoTranslationResponse
|