@alicloud/aidge20260428 3.1.1 → 5.0.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 +148 -118
- package/dist/client.js +222 -118
- package/dist/client.js.map +1 -1
- package/dist/models/DocumentTranslateRequest.d.ts +2 -2
- package/dist/models/DocumentTranslateResponseBody.d.ts +1 -1
- package/dist/models/ImageTranslationProRequest.d.ts +11 -8
- package/dist/models/ImageTranslationProRequest.js.map +1 -1
- package/dist/models/ImageTranslationProResponseBody.d.ts +16 -24
- package/dist/models/ImageTranslationProResponseBody.js +0 -2
- package/dist/models/ImageTranslationProResponseBody.js.map +1 -1
- package/dist/models/ImageTranslationStandardRequest.d.ts +6 -9
- package/dist/models/ImageTranslationStandardRequest.js.map +1 -1
- package/dist/models/ImageTranslationStandardResponseBody.d.ts +6 -14
- package/dist/models/ImageTranslationStandardResponseBody.js +0 -2
- package/dist/models/ImageTranslationStandardResponseBody.js.map +1 -1
- package/dist/models/MerchandisePlacementDetectionRequest.d.ts +47 -0
- package/dist/models/MerchandisePlacementDetectionRequest.js +64 -0
- package/dist/models/MerchandisePlacementDetectionRequest.js.map +1 -0
- package/dist/models/MerchandisePlacementDetectionResponse.d.ts +19 -0
- package/dist/models/MerchandisePlacementDetectionResponse.js +69 -0
- package/dist/models/MerchandisePlacementDetectionResponse.js.map +1 -0
- package/dist/models/MerchandisePlacementDetectionResponseBody.d.ts +210 -0
- package/dist/models/MerchandisePlacementDetectionResponseBody.js +182 -0
- package/dist/models/MerchandisePlacementDetectionResponseBody.js.map +1 -0
- package/dist/models/QueryAsyncTaskResultResponseBody.d.ts +4 -4
- package/dist/models/QueryAsyncTaskResultResponseBody.js +1 -1
- package/dist/models/QueryAsyncTaskResultResponseBody.js.map +1 -1
- package/dist/models/TextTranslateRequest.d.ts +7 -7
- package/dist/models/TextTranslateShrinkRequest.d.ts +7 -7
- package/dist/models/VideoGenerationRequest.d.ts +86 -0
- package/dist/models/VideoGenerationRequest.js +144 -0
- package/dist/models/VideoGenerationRequest.js.map +1 -0
- package/dist/models/VideoGenerationResponse.d.ts +19 -0
- package/dist/models/VideoGenerationResponse.js +69 -0
- package/dist/models/VideoGenerationResponse.js.map +1 -0
- package/dist/models/VideoGenerationResponseBody.d.ts +50 -0
- package/dist/models/VideoGenerationResponseBody.js +93 -0
- package/dist/models/VideoGenerationResponseBody.js.map +1 -0
- package/dist/models/VideoGenerationShrinkRequest.d.ts +24 -0
- package/dist/models/VideoGenerationShrinkRequest.js +62 -0
- package/dist/models/VideoGenerationShrinkRequest.js.map +1 -0
- package/dist/models/VideoTranslationRequest.d.ts +9 -0
- package/dist/models/VideoTranslationRequest.js.map +1 -1
- package/dist/models/VideoTranslationResponseBody.d.ts +19 -0
- package/dist/models/VideoTranslationResponseBody.js.map +1 -1
- package/dist/models/VideoTranslationShrinkRequest.d.ts +9 -0
- package/dist/models/VideoTranslationShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +15 -0
- package/dist/models/model.js +33 -3
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +236 -118
- package/src/models/DocumentTranslateRequest.ts +2 -2
- package/src/models/DocumentTranslateResponseBody.ts +1 -1
- package/src/models/ImageTranslationProRequest.ts +11 -8
- package/src/models/ImageTranslationProResponseBody.ts +16 -26
- package/src/models/ImageTranslationStandardRequest.ts +6 -9
- package/src/models/ImageTranslationStandardResponseBody.ts +6 -16
- package/src/models/MerchandisePlacementDetectionRequest.ts +66 -0
- package/src/models/MerchandisePlacementDetectionResponse.ts +40 -0
- package/src/models/MerchandisePlacementDetectionResponseBody.ts +309 -0
- package/src/models/QueryAsyncTaskResultResponseBody.ts +5 -5
- package/src/models/TextTranslateRequest.ts +7 -7
- package/src/models/TextTranslateShrinkRequest.ts +7 -7
- package/src/models/VideoGenerationRequest.ts +156 -0
- package/src/models/VideoGenerationResponse.ts +40 -0
- package/src/models/VideoGenerationResponseBody.ts +87 -0
- package/src/models/VideoGenerationShrinkRequest.ts +41 -0
- package/src/models/VideoTranslationRequest.ts +9 -0
- package/src/models/VideoTranslationResponseBody.ts +19 -0
- package/src/models/VideoTranslationShrinkRequest.ts +9 -0
- package/src/models/model.ts +15 -0
package/dist/client.d.ts
CHANGED
|
@@ -243,9 +243,7 @@ export default class Client extends OpenApi {
|
|
|
243
243
|
*/
|
|
244
244
|
categoryMatch(request: $_model.CategoryMatchRequest): Promise<$_model.CategoryMatchResponse>;
|
|
245
245
|
/**
|
|
246
|
-
* Translates documents between more than 100 language pairs (including bridged pairs), supporting multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported. Excels in the following areas:
|
|
247
|
-
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
248
|
-
* - Structural integrity: overall layout continuity, page margin and layout preservation
|
|
246
|
+
* Translates documents between more than 100 language pairs (including bridged pairs), supporting multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported. Excels in the following areas: - Content accuracy: translation accuracy, parameter and unit accuracy - Structural integrity: overall layout continuity, page margin and layout preservation.
|
|
249
247
|
*
|
|
250
248
|
* @remarks
|
|
251
249
|
* ## Product Introduction
|
|
@@ -254,13 +252,13 @@ export default class Client extends OpenApi {
|
|
|
254
252
|
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
255
253
|
* - Structural integrity: overall layout continuity, page margin and layout preservation
|
|
256
254
|
* ## Common scenarios
|
|
257
|
-
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks
|
|
258
|
-
*
|
|
259
|
-
* - Supports PDF and Word formats. Supports source documents containing multiple languages.
|
|
255
|
+
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and other scenarios.
|
|
256
|
+
* ## Features
|
|
257
|
+
* - Supports PDF and Word formats. Supports source documents containing multiple languages. For a detailed language list, see section 4.5.
|
|
260
258
|
* - Supports translation of text within images in documents, as well as other complex translation scenarios such as charts and special symbols.
|
|
261
259
|
* - Supports high-fidelity layout preservation after translation.
|
|
262
|
-
* - A single PDF supports up to 100 pages
|
|
263
|
-
* - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). Commonly used for brand name protection 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
|
|
260
|
+
* - A single PDF supports up to 100 pages, and a single Word document supports up to 100 pages.
|
|
261
|
+
* - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). Commonly used for brand name protection 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.
|
|
264
262
|
*
|
|
265
263
|
* @param request - DocumentTranslateRequest
|
|
266
264
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -268,9 +266,7 @@ export default class Client extends OpenApi {
|
|
|
268
266
|
*/
|
|
269
267
|
documentTranslateWithOptions(request: $_model.DocumentTranslateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DocumentTranslateResponse>;
|
|
270
268
|
/**
|
|
271
|
-
* Translates documents between more than 100 language pairs (including bridged pairs), supporting multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported. Excels in the following areas:
|
|
272
|
-
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
273
|
-
* - Structural integrity: overall layout continuity, page margin and layout preservation
|
|
269
|
+
* Translates documents between more than 100 language pairs (including bridged pairs), supporting multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported. Excels in the following areas: - Content accuracy: translation accuracy, parameter and unit accuracy - Structural integrity: overall layout continuity, page margin and layout preservation.
|
|
274
270
|
*
|
|
275
271
|
* @remarks
|
|
276
272
|
* ## Product Introduction
|
|
@@ -279,13 +275,13 @@ export default class Client extends OpenApi {
|
|
|
279
275
|
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
280
276
|
* - Structural integrity: overall layout continuity, page margin and layout preservation
|
|
281
277
|
* ## Common scenarios
|
|
282
|
-
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks
|
|
283
|
-
*
|
|
284
|
-
* - Supports PDF and Word formats. Supports source documents containing multiple languages.
|
|
278
|
+
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and other scenarios.
|
|
279
|
+
* ## Features
|
|
280
|
+
* - Supports PDF and Word formats. Supports source documents containing multiple languages. For a detailed language list, see section 4.5.
|
|
285
281
|
* - Supports translation of text within images in documents, as well as other complex translation scenarios such as charts and special symbols.
|
|
286
282
|
* - Supports high-fidelity layout preservation after translation.
|
|
287
|
-
* - A single PDF supports up to 100 pages
|
|
288
|
-
* - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). Commonly used for brand name protection 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
|
|
283
|
+
* - A single PDF supports up to 100 pages, and a single Word document supports up to 100 pages.
|
|
284
|
+
* - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). Commonly used for brand name protection 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.
|
|
289
285
|
*
|
|
290
286
|
* @param request - DocumentTranslateRequest
|
|
291
287
|
* @returns DocumentTranslateResponse
|
|
@@ -789,18 +785,12 @@ export default class Client extends OpenApi {
|
|
|
789
785
|
*/
|
|
790
786
|
imageRemove(request: $_model.ImageRemoveRequest): Promise<$_model.ImageRemoveResponse>;
|
|
791
787
|
/**
|
|
792
|
-
* Translates images using the Pro edition, which
|
|
788
|
+
* Translates text in e-commerce images using the Pro edition, which integrates multimodal foundation model technology for more accurate image understanding and significantly improved translation quality.
|
|
793
789
|
*
|
|
794
790
|
* @remarks
|
|
795
|
-
* ## Product Introduction
|
|
796
|
-
*
|
|
797
|
-
* ##
|
|
798
|
-
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
799
|
-
* ## Features
|
|
800
|
-
* - **Product subject protection**: Supports custom selection of whether to translate text on the product subject, helping you protect subject information from being translated, such as embedded information like product names.
|
|
801
|
-
* - **Post-translation editing**: Supports custom selection of whether to return layout information such as text position, font, and color. This 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.
|
|
802
|
-
* - **Brand name protection**: Supports custom selection of whether to translate brand names on images, helping you protect brand name information from being translated.
|
|
803
|
-
* - **Translation intervention**: Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. Contact the platform if you need more.
|
|
791
|
+
* ## Product Introduction.
|
|
792
|
+
* ## Scenarios.
|
|
793
|
+
* ## Features.
|
|
804
794
|
*
|
|
805
795
|
* @param request - ImageTranslationProRequest
|
|
806
796
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -808,39 +798,24 @@ export default class Client extends OpenApi {
|
|
|
808
798
|
*/
|
|
809
799
|
imageTranslationProWithOptions(request: $_model.ImageTranslationProRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationProResponse>;
|
|
810
800
|
/**
|
|
811
|
-
* Translates images using the Pro edition, which
|
|
801
|
+
* Translates text in e-commerce images using the Pro edition, which integrates multimodal foundation model technology for more accurate image understanding and significantly improved translation quality.
|
|
812
802
|
*
|
|
813
803
|
* @remarks
|
|
814
|
-
* ## Product Introduction
|
|
815
|
-
*
|
|
816
|
-
* ##
|
|
817
|
-
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
818
|
-
* ## Features
|
|
819
|
-
* - **Product subject protection**: Supports custom selection of whether to translate text on the product subject, helping you protect subject information from being translated, such as embedded information like product names.
|
|
820
|
-
* - **Post-translation editing**: Supports custom selection of whether to return layout information such as text position, font, and color. This 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.
|
|
821
|
-
* - **Brand name protection**: Supports custom selection of whether to translate brand names on images, helping you protect brand name information from being translated.
|
|
822
|
-
* - **Translation intervention**: Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. Contact the platform if you need more.
|
|
804
|
+
* ## Product Introduction.
|
|
805
|
+
* ## Scenarios.
|
|
806
|
+
* ## Features.
|
|
823
807
|
*
|
|
824
808
|
* @param request - ImageTranslationProRequest
|
|
825
809
|
* @returns ImageTranslationProResponse
|
|
826
810
|
*/
|
|
827
811
|
imageTranslationPro(request: $_model.ImageTranslationProRequest): Promise<$_model.ImageTranslationProResponse>;
|
|
828
812
|
/**
|
|
829
|
-
*
|
|
813
|
+
* Translates text in images with support for over 100 language pairs (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 presentation of image content. The product also returns layer information such as text position, font, and color within images, facilitating integration with image editors for secondary editing of translation results.
|
|
830
814
|
*
|
|
831
815
|
* @remarks
|
|
832
|
-
* # 1. Product Introduction
|
|
833
|
-
*
|
|
834
|
-
* #
|
|
835
|
-
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
836
|
-
* # 3. Features
|
|
837
|
-
* * **Product subject information protection**: Allows you to choose whether to translate text on the product subject. This helps protect subject information from being translated, avoiding translation of embedded information such as product names.
|
|
838
|
-
*
|
|
839
|
-
* * **Brand name protection**: Allows you to choose whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
840
|
-
*
|
|
841
|
-
* * **Secondary editing after translation (layer information)**: Allows you to choose whether to return layer information such as text position, font, and color. This can be used to connect to an image editor for secondary editing of translation results. For the release progress of the editor SDK package, follow platform notifications.
|
|
842
|
-
*
|
|
843
|
-
* * **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 word protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
816
|
+
* # 1. Product Introduction.
|
|
817
|
+
* # 2. Common scenarios.
|
|
818
|
+
* # 3. Features.
|
|
844
819
|
*
|
|
845
820
|
* @param request - ImageTranslationStandardRequest
|
|
846
821
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -848,21 +823,12 @@ export default class Client extends OpenApi {
|
|
|
848
823
|
*/
|
|
849
824
|
imageTranslationStandardWithOptions(request: $_model.ImageTranslationStandardRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationStandardResponse>;
|
|
850
825
|
/**
|
|
851
|
-
*
|
|
826
|
+
* Translates text in images with support for over 100 language pairs (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 presentation of image content. The product also returns layer information such as text position, font, and color within images, facilitating integration with image editors for secondary editing of translation results.
|
|
852
827
|
*
|
|
853
828
|
* @remarks
|
|
854
|
-
* # 1. Product Introduction
|
|
855
|
-
*
|
|
856
|
-
* #
|
|
857
|
-
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
858
|
-
* # 3. Features
|
|
859
|
-
* * **Product subject information protection**: Allows you to choose whether to translate text on the product subject. This helps protect subject information from being translated, avoiding translation of embedded information such as product names.
|
|
860
|
-
*
|
|
861
|
-
* * **Brand name protection**: Allows you to choose whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
862
|
-
*
|
|
863
|
-
* * **Secondary editing after translation (layer information)**: Allows you to choose whether to return layer information such as text position, font, and color. This can be used to connect to an image editor for secondary editing of translation results. For the release progress of the editor SDK package, follow platform notifications.
|
|
864
|
-
*
|
|
865
|
-
* * **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 word protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
829
|
+
* # 1. Product Introduction.
|
|
830
|
+
* # 2. Common scenarios.
|
|
831
|
+
* # 3. Features.
|
|
866
832
|
*
|
|
867
833
|
* @param request - ImageTranslationStandardRequest
|
|
868
834
|
* @returns ImageTranslationStandardResponse
|
|
@@ -950,6 +916,57 @@ export default class Client extends OpenApi {
|
|
|
950
916
|
* @returns MaterialInspectionResponse
|
|
951
917
|
*/
|
|
952
918
|
materialInspection(request: $_model.MaterialInspectionRequest): Promise<$_model.MaterialInspectionResponse>;
|
|
919
|
+
/**
|
|
920
|
+
* Detects and identifies products displayed on store shelves or floor stacks by combining a multimodal large language model (MLLM) with visual vector recall, targeting shelf and floor-stack inspection scenarios in offline retail and channel stores. The service first uses an MLLM to detect bounding boxes and preliminary names for each product in a store photo, then performs similarity recall against a customer-specific SKU vector library to exactly match each product to the customer\\"s own SKUs, and outputs per-product structured results that can be directly integrated with business systems. This is suitable for large-scale, high-concurrency visual recognition pipelines such as remote auditing of in-store displays by headquarters, SKU distribution verification, and display compliance inspection.
|
|
921
|
+
*
|
|
922
|
+
* @remarks
|
|
923
|
+
* ## **Product Introduction**
|
|
924
|
+
* Display detection is an intelligent store product display recognition capability built on a multimodal large language model (MLLM) combined with visual vector recall. It targets shelf and floor-stack display inspection scenarios in offline retail and channel stores. For store photos of shelves or floor stacks, the service first uses an MLLM to detect the bounding box and preliminary name for each product, then performs similarity recall against a customer-specific SKU vector library to exactly match each product to the customer\\"s own SKUs, and outputs per-product structured results that can be directly integrated with business systems. This is suitable for large-scale, high-concurrency visual recognition pipelines such as remote auditing of in-store displays by headquarters, SKU distribution verification, and display compliance inspection.
|
|
925
|
+
* ## **Scenarios**
|
|
926
|
+
* - **Shelf/floor-stack display recognition and inventory**: Identifies each product in a shelf or floor-stack image, matches it to the customer\\"s SKU library, and outputs a per-product list (product name + position + similarity score), replacing manual counting.
|
|
927
|
+
*
|
|
928
|
+
* - **Distribution verification/SKU compliance**: Verifies whether stores display specified SKUs as required by headquarters and whether out-of-stock or misplaced items exist, supporting batch automated verification during promotions or new product launches.
|
|
929
|
+
*
|
|
930
|
+
* - **Customer-specific SKU library**: Customers upload their own standard SKU images to build a dedicated vector library (isolated by `RagId`). During recognition, retrieval is performed only within that customer\\"s library, ensuring name accuracy and data isolation between customers.
|
|
931
|
+
* ## **Features**
|
|
932
|
+
* - **Two-stage detection + retrieval collaboration**: The MLLM detects each product\\"s bounding box and preliminary name across the entire image (semantic-level understanding, adapted for dense displays and partial occlusion). Then visual embedding vectors perform similarity retrieval within the customer\\"s SKU library, overriding the preliminary name with the top-1 precise SKU name to balance recall rate and name accuracy.
|
|
933
|
+
*
|
|
934
|
+
* - **Isolated retrieval with dedicated vector libraries**: A dedicated SKU vector library is maintained for each customer by `RagId`. Recognition retrieves only within the corresponding library, ensuring strict isolation between customers. Newly added or updated SKUs take effect in real time.
|
|
935
|
+
*
|
|
936
|
+
* - **Per-product structured output**: Output is unified as `Result.Items[]`, with each product independently providing a bounding box, recalled SKU name, SKU code, and similarity score. This facilitates direct integration with downstream inventory/verification systems and supports case-level manual review and traceability.
|
|
937
|
+
*
|
|
938
|
+
* - **Supported input formats**: Currently supports image URLs accessible via the public network or OSS. A single shelf or floor-stack image is sufficient for recognition, and the output structure is consistent.
|
|
939
|
+
*
|
|
940
|
+
* @param request - MerchandisePlacementDetectionRequest
|
|
941
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
942
|
+
* @returns MerchandisePlacementDetectionResponse
|
|
943
|
+
*/
|
|
944
|
+
merchandisePlacementDetectionWithOptions(request: $_model.MerchandisePlacementDetectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MerchandisePlacementDetectionResponse>;
|
|
945
|
+
/**
|
|
946
|
+
* Detects and identifies products displayed on store shelves or floor stacks by combining a multimodal large language model (MLLM) with visual vector recall, targeting shelf and floor-stack inspection scenarios in offline retail and channel stores. The service first uses an MLLM to detect bounding boxes and preliminary names for each product in a store photo, then performs similarity recall against a customer-specific SKU vector library to exactly match each product to the customer\\"s own SKUs, and outputs per-product structured results that can be directly integrated with business systems. This is suitable for large-scale, high-concurrency visual recognition pipelines such as remote auditing of in-store displays by headquarters, SKU distribution verification, and display compliance inspection.
|
|
947
|
+
*
|
|
948
|
+
* @remarks
|
|
949
|
+
* ## **Product Introduction**
|
|
950
|
+
* Display detection is an intelligent store product display recognition capability built on a multimodal large language model (MLLM) combined with visual vector recall. It targets shelf and floor-stack display inspection scenarios in offline retail and channel stores. For store photos of shelves or floor stacks, the service first uses an MLLM to detect the bounding box and preliminary name for each product, then performs similarity recall against a customer-specific SKU vector library to exactly match each product to the customer\\"s own SKUs, and outputs per-product structured results that can be directly integrated with business systems. This is suitable for large-scale, high-concurrency visual recognition pipelines such as remote auditing of in-store displays by headquarters, SKU distribution verification, and display compliance inspection.
|
|
951
|
+
* ## **Scenarios**
|
|
952
|
+
* - **Shelf/floor-stack display recognition and inventory**: Identifies each product in a shelf or floor-stack image, matches it to the customer\\"s SKU library, and outputs a per-product list (product name + position + similarity score), replacing manual counting.
|
|
953
|
+
*
|
|
954
|
+
* - **Distribution verification/SKU compliance**: Verifies whether stores display specified SKUs as required by headquarters and whether out-of-stock or misplaced items exist, supporting batch automated verification during promotions or new product launches.
|
|
955
|
+
*
|
|
956
|
+
* - **Customer-specific SKU library**: Customers upload their own standard SKU images to build a dedicated vector library (isolated by `RagId`). During recognition, retrieval is performed only within that customer\\"s library, ensuring name accuracy and data isolation between customers.
|
|
957
|
+
* ## **Features**
|
|
958
|
+
* - **Two-stage detection + retrieval collaboration**: The MLLM detects each product\\"s bounding box and preliminary name across the entire image (semantic-level understanding, adapted for dense displays and partial occlusion). Then visual embedding vectors perform similarity retrieval within the customer\\"s SKU library, overriding the preliminary name with the top-1 precise SKU name to balance recall rate and name accuracy.
|
|
959
|
+
*
|
|
960
|
+
* - **Isolated retrieval with dedicated vector libraries**: A dedicated SKU vector library is maintained for each customer by `RagId`. Recognition retrieves only within the corresponding library, ensuring strict isolation between customers. Newly added or updated SKUs take effect in real time.
|
|
961
|
+
*
|
|
962
|
+
* - **Per-product structured output**: Output is unified as `Result.Items[]`, with each product independently providing a bounding box, recalled SKU name, SKU code, and similarity score. This facilitates direct integration with downstream inventory/verification systems and supports case-level manual review and traceability.
|
|
963
|
+
*
|
|
964
|
+
* - **Supported input formats**: Currently supports image URLs accessible via the public network or OSS. A single shelf or floor-stack image is sufficient for recognition, and the output structure is consistent.
|
|
965
|
+
*
|
|
966
|
+
* @param request - MerchandisePlacementDetectionRequest
|
|
967
|
+
* @returns MerchandisePlacementDetectionResponse
|
|
968
|
+
*/
|
|
969
|
+
merchandisePlacementDetection(request: $_model.MerchandisePlacementDetectionRequest): Promise<$_model.MerchandisePlacementDetectionResponse>;
|
|
953
970
|
/**
|
|
954
971
|
* An intelligent logistics parcel auditing product built on the synergy of Multimodal Large Language Models (MLLM) and specialized vision algorithms, designed for automated compliance review in the "piece-weight-dimension" stage of e-commerce logistics. The product performs structured auditing across multiple dimensions including bounding box validity, bounding box fit accuracy, and foreign object interference on parcels placed on scanning platforms. It supports different hardware acquisition scenarios such as white background boards and green background boards, and outputs Boolean audit conclusions with Chinese reason descriptions that can be directly integrated into business systems. It is suitable for large-scale, high-concurrency inbound quality inspection pipelines.
|
|
955
972
|
*
|
|
@@ -996,10 +1013,10 @@ export default class Client extends OpenApi {
|
|
|
996
1013
|
*/
|
|
997
1014
|
packageWeightSizeCheck(request: $_model.PackageWeightSizeCheckRequest): Promise<$_model.PackageWeightSizeCheckResponse>;
|
|
998
1015
|
/**
|
|
999
|
-
* API name on the POP gateway
|
|
1016
|
+
* Queries the result of an asynchronous task. The API name on the POP gateway is QueryAsyncTaskResult.
|
|
1000
1017
|
*
|
|
1001
1018
|
* @remarks
|
|
1002
|
-
* API name on the POP gateway
|
|
1019
|
+
* The API name on the POP gateway is QueryAsyncTaskResult.
|
|
1003
1020
|
*
|
|
1004
1021
|
* @param request - QueryAsyncTaskResultRequest
|
|
1005
1022
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1007,10 +1024,10 @@ export default class Client extends OpenApi {
|
|
|
1007
1024
|
*/
|
|
1008
1025
|
queryAsyncTaskResultWithOptions(request: $_model.QueryAsyncTaskResultRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryAsyncTaskResultResponse>;
|
|
1009
1026
|
/**
|
|
1010
|
-
* API name on the POP gateway
|
|
1027
|
+
* Queries the result of an asynchronous task. The API name on the POP gateway is QueryAsyncTaskResult.
|
|
1011
1028
|
*
|
|
1012
1029
|
* @remarks
|
|
1013
|
-
* API name on the POP gateway
|
|
1030
|
+
* The API name on the POP gateway is QueryAsyncTaskResult.
|
|
1014
1031
|
*
|
|
1015
1032
|
* @param request - QueryAsyncTaskResultRequest
|
|
1016
1033
|
* @returns QueryAsyncTaskResultResponse
|
|
@@ -1370,28 +1387,28 @@ export default class Client extends OpenApi {
|
|
|
1370
1387
|
*/
|
|
1371
1388
|
textCorrect(request: $_model.TextCorrectRequest): Promise<$_model.TextCorrectResponse>;
|
|
1372
1389
|
/**
|
|
1373
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
1390
|
+
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-to-multilingual, and English-to-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
1374
1391
|
*
|
|
1375
1392
|
* @remarks
|
|
1376
1393
|
* ## Product Introduction
|
|
1377
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion\\+ high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
1394
|
+
* Marco MT is an e-commerce translation model trained on over 1 billion\\+ high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-to-multilingual, and English-to-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
1378
1395
|
* ## Common scenarios
|
|
1379
|
-
* - Product titles: Marco MT large model translation accurately translates phrases, keywords, and trending
|
|
1396
|
+
* - Product titles: Marco MT large model translation accurately translates phrases, keywords, and trending words in product titles into the target language, improving product visibility on e-commerce platforms.
|
|
1380
1397
|
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco large model translation supports long text translation and HTML format, delivering excellent translation quality and format preservation.
|
|
1381
1398
|
* - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
|
|
1382
|
-
* - Customer service conversations: In customer service scenarios,
|
|
1383
|
-
* Marco MT large model translation can also be used for general
|
|
1384
|
-
* ##
|
|
1385
|
-
* - **Supported language directions** Marco MT large model translation supports translation between more than 100 languages and language detection for 23 languages. For specific language directions, refer to the language mapping table in
|
|
1399
|
+
* - Customer service conversations: In customer service scenarios, the model optimizes issues such as missing context and typos, and supports polite expressions for certain language directions.
|
|
1400
|
+
* Marco MT large model translation can also be used for general translation scenarios such as office work, meetings, and daily conversations.
|
|
1401
|
+
* ## Features
|
|
1402
|
+
* - **Supported language directions** Marco MT large model translation supports translation between more than 100 languages and language detection for 23 languages. For specific language directions, refer to the language mapping table in section 5.6.
|
|
1386
1403
|
* - **Ultra-low hallucination rate and high-speed inference** Marco MT large model translation is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it offers faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
|
|
1387
1404
|
* - **Supported text format types** Currently supports text and html text types.
|
|
1388
|
-
* - **Translation intervention support** Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection 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.
|
|
1405
|
+
* - **Translation intervention support** Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection 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. If you need more, contact the platform for assistance.
|
|
1389
1406
|
* ## Translation quality comparison
|
|
1390
1407
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
1391
1408
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
1392
1409
|
* | 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 |
|
|
1393
1410
|
* | 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 |
|
|
1394
|
-
* | 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 precise product subject expression
|
|
1411
|
+
* | 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 precise product subject expression as "key bag" rather than "keychain", avoiding ambiguity about the product type |
|
|
1395
1412
|
*
|
|
1396
1413
|
* @param tmpReq - TextTranslateRequest
|
|
1397
1414
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1399,57 +1416,71 @@ export default class Client extends OpenApi {
|
|
|
1399
1416
|
*/
|
|
1400
1417
|
textTranslateWithOptions(tmpReq: $_model.TextTranslateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TextTranslateResponse>;
|
|
1401
1418
|
/**
|
|
1402
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
1419
|
+
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-to-multilingual, and English-to-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
1403
1420
|
*
|
|
1404
1421
|
* @remarks
|
|
1405
1422
|
* ## Product Introduction
|
|
1406
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion\\+ high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
1423
|
+
* Marco MT is an e-commerce translation model trained on over 1 billion\\+ high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-to-multilingual, and English-to-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
1407
1424
|
* ## Common scenarios
|
|
1408
|
-
* - Product titles: Marco MT large model translation accurately translates phrases, keywords, and trending
|
|
1425
|
+
* - Product titles: Marco MT large model translation accurately translates phrases, keywords, and trending words in product titles into the target language, improving product visibility on e-commerce platforms.
|
|
1409
1426
|
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco large model translation supports long text translation and HTML format, delivering excellent translation quality and format preservation.
|
|
1410
1427
|
* - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
|
|
1411
|
-
* - Customer service conversations: In customer service scenarios,
|
|
1412
|
-
* Marco MT large model translation can also be used for general
|
|
1413
|
-
* ##
|
|
1414
|
-
* - **Supported language directions** Marco MT large model translation supports translation between more than 100 languages and language detection for 23 languages. For specific language directions, refer to the language mapping table in
|
|
1428
|
+
* - Customer service conversations: In customer service scenarios, the model optimizes issues such as missing context and typos, and supports polite expressions for certain language directions.
|
|
1429
|
+
* Marco MT large model translation can also be used for general translation scenarios such as office work, meetings, and daily conversations.
|
|
1430
|
+
* ## Features
|
|
1431
|
+
* - **Supported language directions** Marco MT large model translation supports translation between more than 100 languages and language detection for 23 languages. For specific language directions, refer to the language mapping table in section 5.6.
|
|
1415
1432
|
* - **Ultra-low hallucination rate and high-speed inference** Marco MT large model translation is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it offers faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
|
|
1416
1433
|
* - **Supported text format types** Currently supports text and html text types.
|
|
1417
|
-
* - **Translation intervention support** Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection 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.
|
|
1434
|
+
* - **Translation intervention support** Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection 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. If you need more, contact the platform for assistance.
|
|
1418
1435
|
* ## Translation quality comparison
|
|
1419
1436
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
1420
1437
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
1421
1438
|
* | 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 |
|
|
1422
1439
|
* | 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 |
|
|
1423
|
-
* | 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 precise product subject expression
|
|
1440
|
+
* | 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 precise product subject expression as "key bag" rather than "keychain", avoiding ambiguity about the product type |
|
|
1424
1441
|
*
|
|
1425
1442
|
* @param request - TextTranslateRequest
|
|
1426
1443
|
* @returns TextTranslateResponse
|
|
1427
1444
|
*/
|
|
1428
1445
|
textTranslate(request: $_model.TextTranslateRequest): Promise<$_model.TextTranslateResponse>;
|
|
1429
1446
|
/**
|
|
1430
|
-
*
|
|
1447
|
+
* 电商视频生成(异步提交)
|
|
1431
1448
|
*
|
|
1432
|
-
* @
|
|
1433
|
-
*
|
|
1434
|
-
*
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1449
|
+
* @param tmpReq - VideoGenerationRequest
|
|
1450
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1451
|
+
* @returns VideoGenerationResponse
|
|
1452
|
+
*/
|
|
1453
|
+
videoGenerationWithOptions(tmpReq: $_model.VideoGenerationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.VideoGenerationResponse>;
|
|
1454
|
+
/**
|
|
1455
|
+
* 电商视频生成(异步提交)
|
|
1438
1456
|
*
|
|
1439
|
-
*
|
|
1457
|
+
* @param request - VideoGenerationRequest
|
|
1458
|
+
* @returns VideoGenerationResponse
|
|
1459
|
+
*/
|
|
1460
|
+
videoGeneration(request: $_model.VideoGenerationRequest): Promise<$_model.VideoGenerationResponse>;
|
|
1461
|
+
/**
|
|
1462
|
+
* Translates embedded text (subtitles, promotional text, etc.) in video frames into a target language and erases the original text.
|
|
1440
1463
|
*
|
|
1441
|
-
*
|
|
1464
|
+
* @remarks
|
|
1465
|
+
* ## 1. Product Introduction
|
|
1466
|
+
* The video translation API translates embedded text (subtitles, promotional text, etc.) in video frames into a target language and erases the original text. This API is applicable to scenarios such as multilingual distribution of e-commerce videos, international social media marketing, and global brand advertising.
|
|
1467
|
+
* The API uses an asynchronous call mode: after submitting a translation task, you obtain a `task_id`, then poll the query endpoint for the task status until the task is completed and results are available.
|
|
1468
|
+
* ## 2. Common scenarios
|
|
1469
|
+
* * **Cross-border e-commerce video localization**: Translates promotional text in product introduction videos into the target market language to facilitate overseas platform promotion.
|
|
1470
|
+
*
|
|
1471
|
+
* * **International social media marketing**: Localizes text content in video frames with one click for platforms such as TikTok, Instagram, and YouTube, improving comprehension and conversion rates among overseas users.
|
|
1442
1472
|
*
|
|
1443
|
-
* *
|
|
1473
|
+
* * **Global brand advertising**: Automatically generates video versions in the language of the target region, reducing manual production costs.
|
|
1444
1474
|
*
|
|
1445
|
-
*
|
|
1446
|
-
*
|
|
1475
|
+
* * **Training and product documentation**: Translates on-screen text in training courses or product demonstration videos into multiple languages for use by global teams.
|
|
1476
|
+
* ## 3. Features
|
|
1477
|
+
* | Capability | Identifier | Description |
|
|
1447
1478
|
* | --- | --- | --- |
|
|
1448
|
-
* |
|
|
1449
|
-
* ## 4.
|
|
1450
|
-
* ### 4.1
|
|
1451
|
-
* ####
|
|
1452
|
-
* `POST
|
|
1479
|
+
* | Visual translation | `visual` | Translates embedded text (subtitles, promotional text, etc.) in video frames into the target language and erases the original text |
|
|
1480
|
+
* ## 4. Developer guide.
|
|
1481
|
+
* ### 4.1 Submit a translation task.
|
|
1482
|
+
* #### Request
|
|
1483
|
+
* `POST /api/v1/video/translation`
|
|
1453
1484
|
*
|
|
1454
1485
|
* @param tmpReq - VideoTranslationRequest
|
|
1455
1486
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1457,29 +1488,28 @@ export default class Client extends OpenApi {
|
|
|
1457
1488
|
*/
|
|
1458
1489
|
videoTranslationWithOptions(tmpReq: $_model.VideoTranslationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.VideoTranslationResponse>;
|
|
1459
1490
|
/**
|
|
1460
|
-
*
|
|
1491
|
+
* Translates embedded text (subtitles, promotional text, etc.) in video frames into a target language and erases the original text.
|
|
1461
1492
|
*
|
|
1462
1493
|
* @remarks
|
|
1463
|
-
* ## 1.
|
|
1464
|
-
*
|
|
1465
|
-
* API
|
|
1466
|
-
* ## 2.
|
|
1467
|
-
* *
|
|
1468
|
-
*
|
|
1469
|
-
* * **国际社交媒体营销**:针对 TikTok、Instagram、YouTube 等平台,将视频画面文字内容一键本地化,提升海外用户理解度与转化率。
|
|
1494
|
+
* ## 1. Product Introduction
|
|
1495
|
+
* The video translation API translates embedded text (subtitles, promotional text, etc.) in video frames into a target language and erases the original text. This API is applicable to scenarios such as multilingual distribution of e-commerce videos, international social media marketing, and global brand advertising.
|
|
1496
|
+
* The API uses an asynchronous call mode: after submitting a translation task, you obtain a `task_id`, then poll the query endpoint for the task status until the task is completed and results are available.
|
|
1497
|
+
* ## 2. Common scenarios
|
|
1498
|
+
* * **Cross-border e-commerce video localization**: Translates promotional text in product introduction videos into the target market language to facilitate overseas platform promotion.
|
|
1470
1499
|
*
|
|
1471
|
-
* *
|
|
1500
|
+
* * **International social media marketing**: Localizes text content in video frames with one click for platforms such as TikTok, Instagram, and YouTube, improving comprehension and conversion rates among overseas users.
|
|
1472
1501
|
*
|
|
1473
|
-
* *
|
|
1502
|
+
* * **Global brand advertising**: Automatically generates video versions in the language of the target region, reducing manual production costs.
|
|
1474
1503
|
*
|
|
1475
|
-
*
|
|
1476
|
-
*
|
|
1504
|
+
* * **Training and product documentation**: Translates on-screen text in training courses or product demonstration videos into multiple languages for use by global teams.
|
|
1505
|
+
* ## 3. Features
|
|
1506
|
+
* | Capability | Identifier | Description |
|
|
1477
1507
|
* | --- | --- | --- |
|
|
1478
|
-
* |
|
|
1479
|
-
* ## 4.
|
|
1480
|
-
* ### 4.1
|
|
1481
|
-
* ####
|
|
1482
|
-
* `POST
|
|
1508
|
+
* | Visual translation | `visual` | Translates embedded text (subtitles, promotional text, etc.) in video frames into the target language and erases the original text |
|
|
1509
|
+
* ## 4. Developer guide.
|
|
1510
|
+
* ### 4.1 Submit a translation task.
|
|
1511
|
+
* #### Request
|
|
1512
|
+
* `POST /api/v1/video/translation`
|
|
1483
1513
|
*
|
|
1484
1514
|
* @param request - VideoTranslationRequest
|
|
1485
1515
|
* @returns VideoTranslationResponse
|