@alicloud/aidge20260428 5.6.0 → 5.7.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 +137 -122
- package/dist/client.js +170 -122
- package/dist/client.js.map +1 -1
- package/dist/models/AiTryOnRequest.d.ts +42 -0
- package/dist/models/AiTryOnRequest.js +64 -0
- package/dist/models/AiTryOnRequest.js.map +1 -0
- package/dist/models/AiTryOnResponse.d.ts +19 -0
- package/dist/models/AiTryOnResponse.js +69 -0
- package/dist/models/AiTryOnResponse.js.map +1 -0
- package/dist/models/AiTryOnResponseBody.d.ts +90 -0
- package/dist/models/AiTryOnResponseBody.js +120 -0
- package/dist/models/AiTryOnResponseBody.js.map +1 -0
- package/dist/models/AssetOptimizeLiteResponseBody.d.ts +0 -2
- package/dist/models/AssetOptimizeLiteResponseBody.js +0 -2
- package/dist/models/AssetOptimizeLiteResponseBody.js.map +1 -1
- package/dist/models/DocumentTranslateRequest.d.ts +1 -1
- package/dist/models/DocumentTranslateResponseBody.d.ts +2 -2
- package/dist/models/ImageRecognitionRequest.d.ts +4 -4
- package/dist/models/ImageRecognitionResponseBody.d.ts +2 -2
- package/dist/models/ImageRecognitionShrinkRequest.d.ts +4 -4
- package/dist/models/ImageTranslationProRequest.d.ts +8 -8
- package/dist/models/PrepaidTextTranslateRequest.d.ts +1 -1
- package/dist/models/PrepaidTextTranslateResponseBody.d.ts +2 -2
- package/dist/models/PrepaidTextTranslateShrinkRequest.d.ts +1 -1
- package/dist/models/SizeChartExtractRequest.d.ts +2 -2
- package/dist/models/SizeChartExtractResponseBody.d.ts +1 -1
- package/dist/models/SizeChartExtractShrinkRequest.d.ts +2 -2
- package/dist/models/TextCorrectResponseBody.d.ts +1 -1
- package/dist/models/TextTranslateRequest.d.ts +11 -5
- package/dist/models/TextTranslateRequest.js.map +1 -1
- package/dist/models/TextTranslateResponseBody.d.ts +1 -1
- package/dist/models/TextTranslateShrinkRequest.d.ts +11 -5
- package/dist/models/TextTranslateShrinkRequest.js.map +1 -1
- package/dist/models/VideoTranslationRequest.d.ts +1 -1
- package/dist/models/VideoTranslationResponseBody.d.ts +1 -1
- package/dist/models/VideoTranslationShrinkRequest.d.ts +1 -1
- package/dist/models/VirtualTryOnResponseBody.d.ts +3 -3
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +14 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +176 -122
- package/src/models/AiTryOnRequest.ts +61 -0
- package/src/models/AiTryOnResponse.ts +40 -0
- package/src/models/AiTryOnResponseBody.ts +145 -0
- package/src/models/AssetOptimizeLiteResponseBody.ts +0 -2
- package/src/models/DocumentTranslateRequest.ts +1 -1
- package/src/models/DocumentTranslateResponseBody.ts +2 -2
- package/src/models/ImageRecognitionRequest.ts +4 -4
- package/src/models/ImageRecognitionResponseBody.ts +2 -2
- package/src/models/ImageRecognitionShrinkRequest.ts +4 -4
- package/src/models/ImageTranslationProRequest.ts +8 -8
- package/src/models/PrepaidTextTranslateRequest.ts +1 -1
- package/src/models/PrepaidTextTranslateResponseBody.ts +2 -2
- package/src/models/PrepaidTextTranslateShrinkRequest.ts +1 -1
- package/src/models/SizeChartExtractRequest.ts +2 -2
- package/src/models/SizeChartExtractResponseBody.ts +1 -1
- package/src/models/SizeChartExtractShrinkRequest.ts +2 -2
- package/src/models/TextCorrectResponseBody.ts +1 -1
- package/src/models/TextTranslateRequest.ts +11 -5
- package/src/models/TextTranslateResponseBody.ts +1 -1
- package/src/models/TextTranslateShrinkRequest.ts +11 -5
- package/src/models/VideoTranslationRequest.ts +1 -1
- package/src/models/VideoTranslationResponseBody.ts +1 -1
- package/src/models/VideoTranslationShrinkRequest.ts +1 -1
- package/src/models/VirtualTryOnResponseBody.ts +3 -3
- package/src/models/model.ts +5 -0
package/dist/client.d.ts
CHANGED
|
@@ -8,6 +8,21 @@ export default class Client extends OpenApi {
|
|
|
8
8
|
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
9
9
|
[key: string]: string;
|
|
10
10
|
}, endpoint: string): string;
|
|
11
|
+
/**
|
|
12
|
+
* 虚拟试穿(同步)
|
|
13
|
+
*
|
|
14
|
+
* @param request - AiTryOnRequest
|
|
15
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16
|
+
* @returns AiTryOnResponse
|
|
17
|
+
*/
|
|
18
|
+
aiTryOnWithOptions(request: $_model.AiTryOnRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AiTryOnResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* 虚拟试穿(同步)
|
|
21
|
+
*
|
|
22
|
+
* @param request - AiTryOnRequest
|
|
23
|
+
* @returns AiTryOnResponse
|
|
24
|
+
*/
|
|
25
|
+
aiTryOn(request: $_model.AiTryOnRequest): Promise<$_model.AiTryOnResponse>;
|
|
11
26
|
/**
|
|
12
27
|
* Provides a one-click cross-platform product listing optimization service for cross-border e-commerce sellers (minimum cost edition). Accepts a product link from a source platform and outputs all listing assets adapted to the target platform requirements, including titles, attributes, main images, SKU images, detail images, and copywriting. Uses an officially preset minimum-cost workflow that focuses on filtering and lightweight processing without calling expensive image translation capabilities, maximizing cost control while ensuring listing compliance. (Asynchronous)
|
|
13
28
|
*
|
|
@@ -278,25 +293,25 @@ export default class Client extends OpenApi {
|
|
|
278
293
|
*/
|
|
279
294
|
diduiAreaDeduction(request: $_model.DiduiAreaDeductionRequest): Promise<$_model.DiduiAreaDeductionResponse>;
|
|
280
295
|
/**
|
|
281
|
-
* Designed specifically for document translation. Supports translation between more than
|
|
296
|
+
* 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.
|
|
282
297
|
* Excels in the following areas:
|
|
283
298
|
* - Content accuracy: translation accuracy, parameter and unit accuracy.
|
|
284
299
|
* - Structural integrity: overall layout continuity, page margin and layout restoration.
|
|
285
300
|
*
|
|
286
301
|
* @remarks
|
|
287
302
|
* ## Product Introduction
|
|
288
|
-
* Designed specifically for document translation. Supports translation between more than
|
|
303
|
+
* 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.
|
|
289
304
|
* Excels in the following areas:
|
|
290
305
|
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
291
306
|
* - Structural integrity: overall layout continuity, page margin and layout restoration
|
|
292
307
|
* ## Common scenarios
|
|
293
308
|
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and many other scenarios.
|
|
294
|
-
* ##
|
|
309
|
+
* ## Functions and features
|
|
295
310
|
* - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed language list, see section 4.5.
|
|
296
311
|
* - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
|
|
297
312
|
* - Supports high-fidelity layout restoration after translation.
|
|
298
313
|
* - A single PDF supports up to 100 pages. A single Word document supports up to 100 pages.
|
|
299
|
-
* - 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
|
|
314
|
+
* - 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 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.
|
|
300
315
|
*
|
|
301
316
|
* @param request - DocumentTranslateRequest
|
|
302
317
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -304,25 +319,25 @@ export default class Client extends OpenApi {
|
|
|
304
319
|
*/
|
|
305
320
|
documentTranslateWithOptions(request: $_model.DocumentTranslateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DocumentTranslateResponse>;
|
|
306
321
|
/**
|
|
307
|
-
* Designed specifically for document translation. Supports translation between more than
|
|
322
|
+
* 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.
|
|
308
323
|
* Excels in the following areas:
|
|
309
324
|
* - Content accuracy: translation accuracy, parameter and unit accuracy.
|
|
310
325
|
* - Structural integrity: overall layout continuity, page margin and layout restoration.
|
|
311
326
|
*
|
|
312
327
|
* @remarks
|
|
313
328
|
* ## Product Introduction
|
|
314
|
-
* Designed specifically for document translation. Supports translation between more than
|
|
329
|
+
* 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.
|
|
315
330
|
* Excels in the following areas:
|
|
316
331
|
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
317
332
|
* - Structural integrity: overall layout continuity, page margin and layout restoration
|
|
318
333
|
* ## Common scenarios
|
|
319
334
|
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and many other scenarios.
|
|
320
|
-
* ##
|
|
335
|
+
* ## Functions and features
|
|
321
336
|
* - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed language list, see section 4.5.
|
|
322
337
|
* - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
|
|
323
338
|
* - Supports high-fidelity layout restoration after translation.
|
|
324
339
|
* - A single PDF supports up to 100 pages. A single Word document supports up to 100 pages.
|
|
325
|
-
* - 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
|
|
340
|
+
* - 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 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.
|
|
326
341
|
*
|
|
327
342
|
* @param request - DocumentTranslateRequest
|
|
328
343
|
* @returns DocumentTranslateResponse
|
|
@@ -506,16 +521,16 @@ export default class Client extends OpenApi {
|
|
|
506
521
|
*/
|
|
507
522
|
imageMatting(request: $_model.ImageMattingRequest): Promise<$_model.ImageMattingResponse>;
|
|
508
523
|
/**
|
|
509
|
-
*
|
|
524
|
+
* Intelligent element recognition.
|
|
510
525
|
*
|
|
511
526
|
* @remarks
|
|
512
527
|
* ## Product Introduction
|
|
513
|
-
* The Intelligent Element Recognition API is designed specifically for identifying specific elements in e-commerce images. It
|
|
528
|
+
* The Intelligent Element Recognition API is designed specifically for identifying specific elements in e-commerce images. It analyzes image details in depth, helping users quickly identify elements such as text, logos, watermarks, and text-containing color blocks in both the subject and background of images. This greatly improves the efficiency and accuracy of image screening. (Synchronous)
|
|
514
529
|
* ## Scenarios
|
|
515
530
|
* **1. Intelligent image screening and optimization:**
|
|
516
531
|
* Merchants and platforms can use the Intelligent Element Recognition API for image screening to automatically identify images that contain specific elements such as watermarks and logos. After screening, you can call the Intelligent Removal API to optimize these images, improve image quality, and shorten the product release cycle.
|
|
517
532
|
* **2. Automated image processing and efficiency improvement:**
|
|
518
|
-
*
|
|
533
|
+
* With the Intelligent Element Recognition API, merchants and platforms can automate the image processing workflow by automatically identifying and marking image elements that require optimization. This process reduces manual intervention and improves image processing efficiency.
|
|
519
534
|
* ## Features
|
|
520
535
|
* **1. Definitions of image subject, image background, text, logo, watermark, and text-containing color block: For details, see the related examples in the removal documentation (reserved text link)**
|
|
521
536
|
* * Image subject: The core product area in the image.
|
|
@@ -533,12 +548,12 @@ export default class Client extends OpenApi {
|
|
|
533
548
|
* **2. The main features of the Intelligent Element Recognition API include:**
|
|
534
549
|
* * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
|
|
535
550
|
*
|
|
536
|
-
* * Workflow coordination: Used in combination with the Intelligent Removal API. First,
|
|
551
|
+
* * Workflow coordination: Used in combination with the Intelligent Removal API. First, the Intelligent Element Recognition API identifies elements that need to be removed, and then the Intelligent Removal API removes them effectively, ensuring the accuracy and efficiency of image processing.
|
|
537
552
|
* ## Technical advantages
|
|
538
|
-
* * Synchronous batch processing: As a synchronous API, the Intelligent Element Recognition API can process a large number of images while maintaining fast response times, adapting to business
|
|
553
|
+
* * Synchronous batch processing: As a synchronous API, the Intelligent Element Recognition API can process a large number of images while maintaining fast response times, adapting to business needs of different scales.
|
|
539
554
|
*
|
|
540
|
-
* * Flexibility: Users can select the types of elements to identify
|
|
541
|
-
* ##
|
|
555
|
+
* * Flexibility: Users can select the types of elements to identify, including elements in both the subject and non-subject areas, such as watermarks, logos, and text, to meet personalized recognition needs.
|
|
556
|
+
* ## Comparison
|
|
542
557
|
* | **Original image** | **Recognition result** |
|
|
543
558
|
* | --- | --- |
|
|
544
559
|
* |  | [Subject]
|
|
@@ -582,16 +597,16 @@ export default class Client extends OpenApi {
|
|
|
582
597
|
*/
|
|
583
598
|
imageRecognitionWithOptions(tmpReq: $_model.ImageRecognitionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRecognitionResponse>;
|
|
584
599
|
/**
|
|
585
|
-
*
|
|
600
|
+
* Intelligent element recognition.
|
|
586
601
|
*
|
|
587
602
|
* @remarks
|
|
588
603
|
* ## Product Introduction
|
|
589
|
-
* The Intelligent Element Recognition API is designed specifically for identifying specific elements in e-commerce images. It
|
|
604
|
+
* The Intelligent Element Recognition API is designed specifically for identifying specific elements in e-commerce images. It analyzes image details in depth, helping users quickly identify elements such as text, logos, watermarks, and text-containing color blocks in both the subject and background of images. This greatly improves the efficiency and accuracy of image screening. (Synchronous)
|
|
590
605
|
* ## Scenarios
|
|
591
606
|
* **1. Intelligent image screening and optimization:**
|
|
592
607
|
* Merchants and platforms can use the Intelligent Element Recognition API for image screening to automatically identify images that contain specific elements such as watermarks and logos. After screening, you can call the Intelligent Removal API to optimize these images, improve image quality, and shorten the product release cycle.
|
|
593
608
|
* **2. Automated image processing and efficiency improvement:**
|
|
594
|
-
*
|
|
609
|
+
* With the Intelligent Element Recognition API, merchants and platforms can automate the image processing workflow by automatically identifying and marking image elements that require optimization. This process reduces manual intervention and improves image processing efficiency.
|
|
595
610
|
* ## Features
|
|
596
611
|
* **1. Definitions of image subject, image background, text, logo, watermark, and text-containing color block: For details, see the related examples in the removal documentation (reserved text link)**
|
|
597
612
|
* * Image subject: The core product area in the image.
|
|
@@ -609,12 +624,12 @@ export default class Client extends OpenApi {
|
|
|
609
624
|
* **2. The main features of the Intelligent Element Recognition API include:**
|
|
610
625
|
* * Element recognition: Identifies whether elements such as text, logos, watermarks, and text-containing color blocks exist in the image subject and background.
|
|
611
626
|
*
|
|
612
|
-
* * Workflow coordination: Used in combination with the Intelligent Removal API. First,
|
|
627
|
+
* * Workflow coordination: Used in combination with the Intelligent Removal API. First, the Intelligent Element Recognition API identifies elements that need to be removed, and then the Intelligent Removal API removes them effectively, ensuring the accuracy and efficiency of image processing.
|
|
613
628
|
* ## Technical advantages
|
|
614
|
-
* * Synchronous batch processing: As a synchronous API, the Intelligent Element Recognition API can process a large number of images while maintaining fast response times, adapting to business
|
|
629
|
+
* * Synchronous batch processing: As a synchronous API, the Intelligent Element Recognition API can process a large number of images while maintaining fast response times, adapting to business needs of different scales.
|
|
615
630
|
*
|
|
616
|
-
* * Flexibility: Users can select the types of elements to identify
|
|
617
|
-
* ##
|
|
631
|
+
* * Flexibility: Users can select the types of elements to identify, including elements in both the subject and non-subject areas, such as watermarks, logos, and text, to meet personalized recognition needs.
|
|
632
|
+
* ## Comparison
|
|
618
633
|
* | **Original image** | **Recognition result** |
|
|
619
634
|
* | --- | --- |
|
|
620
635
|
* |  | [Subject]
|
|
@@ -974,19 +989,19 @@ export default class Client extends OpenApi {
|
|
|
974
989
|
*/
|
|
975
990
|
imageTranslationPlus(request: $_model.ImageTranslationPlusRequest): Promise<$_model.ImageTranslationPlusResponse>;
|
|
976
991
|
/**
|
|
977
|
-
* Image Translation Pro is designed for e-commerce images. It integrates multimodal
|
|
992
|
+
* Image Translation Pro is designed for e-commerce images. It integrates multimodal large model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. It supports more than 100 language directions (including bridged directions).
|
|
978
993
|
*
|
|
979
994
|
* @remarks
|
|
980
995
|
* ## Product Introduction
|
|
981
|
-
* Image Translation Pro is designed for e-commerce images. It integrates multimodal
|
|
996
|
+
* Image Translation Pro is designed for e-commerce images. It integrates multimodal large model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. It supports more than 400 language directions (including bridged directions).
|
|
982
997
|
* ## Scenarios
|
|
983
998
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
984
999
|
* ## Features
|
|
985
|
-
* - **Product subject protection**: Specify whether to translate text on the product subject. This helps protect subject information such as embedded product names
|
|
986
|
-
* - **Post-translation editing**: Specify whether to return layout information such as text position, font, and color. This
|
|
987
|
-
* - **Brand name protection**: Specify whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
988
|
-
* - **Translation intervention**: Customize translation results, including do-not-translate (ABC→ABC), specified translation (ABC→DEF), and remove 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 translation
|
|
989
|
-
* - **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1000
|
+
* - **Product subject protection**: Specify whether to translate text on the product subject. This helps you protect subject information from being translated, such as embedded information like product names.
|
|
1001
|
+
* - **Post-translation editing**: Specify 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 is not yet available. Follow platform notifications for updates.
|
|
1002
|
+
* - **Brand name protection**: Specify whether to translate brand names on images. This helps you protect brand name information from being translated.
|
|
1003
|
+
* - **Translation intervention**: Customize translation results, including do-not-translate (ABC→ABC), specified translation (ABC→DEF), and remove 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 in different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1004
|
+
* - <props="china"> **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
990
1005
|
*
|
|
991
1006
|
* @param request - ImageTranslationProRequest
|
|
992
1007
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -994,19 +1009,19 @@ export default class Client extends OpenApi {
|
|
|
994
1009
|
*/
|
|
995
1010
|
imageTranslationProWithOptions(request: $_model.ImageTranslationProRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationProResponse>;
|
|
996
1011
|
/**
|
|
997
|
-
* Image Translation Pro is designed for e-commerce images. It integrates multimodal
|
|
1012
|
+
* Image Translation Pro is designed for e-commerce images. It integrates multimodal large model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. It supports more than 100 language directions (including bridged directions).
|
|
998
1013
|
*
|
|
999
1014
|
* @remarks
|
|
1000
1015
|
* ## Product Introduction
|
|
1001
|
-
* Image Translation Pro is designed for e-commerce images. It integrates multimodal
|
|
1016
|
+
* Image Translation Pro is designed for e-commerce images. It integrates multimodal large model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. It supports more than 400 language directions (including bridged directions).
|
|
1002
1017
|
* ## Scenarios
|
|
1003
1018
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1004
1019
|
* ## Features
|
|
1005
|
-
* - **Product subject protection**: Specify whether to translate text on the product subject. This helps protect subject information such as embedded product names
|
|
1006
|
-
* - **Post-translation editing**: Specify whether to return layout information such as text position, font, and color. This
|
|
1007
|
-
* - **Brand name protection**: Specify whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
1008
|
-
* - **Translation intervention**: Customize translation results, including do-not-translate (ABC→ABC), specified translation (ABC→DEF), and remove 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 translation
|
|
1009
|
-
* - **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1020
|
+
* - **Product subject protection**: Specify whether to translate text on the product subject. This helps you protect subject information from being translated, such as embedded information like product names.
|
|
1021
|
+
* - **Post-translation editing**: Specify 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 is not yet available. Follow platform notifications for updates.
|
|
1022
|
+
* - **Brand name protection**: Specify whether to translate brand names on images. This helps you protect brand name information from being translated.
|
|
1023
|
+
* - **Translation intervention**: Customize translation results, including do-not-translate (ABC→ABC), specified translation (ABC→DEF), and remove 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 in different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1024
|
+
* - <props="china"> **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1010
1025
|
*
|
|
1011
1026
|
* @param request - ImageTranslationProRequest
|
|
1012
1027
|
* @returns ImageTranslationProResponse
|
|
@@ -1236,28 +1251,28 @@ export default class Client extends OpenApi {
|
|
|
1236
1251
|
*/
|
|
1237
1252
|
packageWeightSizeCheck(request: $_model.PackageWeightSizeCheckRequest): Promise<$_model.PackageWeightSizeCheckResponse>;
|
|
1238
1253
|
/**
|
|
1239
|
-
*
|
|
1254
|
+
* Maas-MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports mutual translation among more than 400 language directions (including bridged translations), especially Chinese-English, Chinese-to-multilingual, and English-to-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
1240
1255
|
*
|
|
1241
1256
|
* @remarks
|
|
1242
1257
|
* ## Product Introduction
|
|
1243
|
-
* 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
|
|
1258
|
+
* 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 mutual translation among more than 100 language directions (including bridged translations), especially Chinese-English, Chinese-to-multilingual, and English-to-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
1244
1259
|
* ## Common scenarios
|
|
1245
1260
|
* - Product titles: Marco 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.
|
|
1246
|
-
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco large model translation supports long text translation and HTML
|
|
1247
|
-
* - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and
|
|
1261
|
+
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco MT large model translation supports long text translation and HTML formatting, delivering excellent translation quality and format preservation.
|
|
1262
|
+
* - Product attributes: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
|
|
1248
1263
|
* - 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.
|
|
1249
1264
|
* Marco MT large model translation can also be used for general-purpose translation scenarios, such as office work, meetings, and daily conversations.
|
|
1250
1265
|
* ## Features
|
|
1251
|
-
* - **Supported language directions** Marco MT large model translation supports translation
|
|
1252
|
-
* - **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
|
|
1266
|
+
* - **Supported language directions** Marco MT large model translation supports mutual translation among more than 100 languages and language detection for 23 languages. For specific language directions, refer to the language mapping table in Section 5.6.
|
|
1267
|
+
* - **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 delivers faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
|
|
1253
1268
|
* - **Supported text format types** Currently supports text and html text types.
|
|
1254
|
-
* - **Translation intervention support** Supports custom translation results, including do-not-translate (ABC
|
|
1269
|
+
* - **Translation intervention support** 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 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.
|
|
1255
1270
|
* ## Translation quality comparison
|
|
1256
1271
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
1257
1272
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
1258
1273
|
* | 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 |
|
|
1259
1274
|
* | 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 |
|
|
1260
|
-
* | 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
|
|
1275
|
+
* | 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 — correctly identifies "key bag" rather than "keychain." Other translations may cause ambiguity about the product subject |
|
|
1261
1276
|
*
|
|
1262
1277
|
* @param tmpReq - PrepaidTextTranslateRequest
|
|
1263
1278
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1265,28 +1280,28 @@ export default class Client extends OpenApi {
|
|
|
1265
1280
|
*/
|
|
1266
1281
|
prepaidTextTranslateWithOptions(tmpReq: $_model.PrepaidTextTranslateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PrepaidTextTranslateResponse>;
|
|
1267
1282
|
/**
|
|
1268
|
-
*
|
|
1283
|
+
* Maas-MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports mutual translation among more than 400 language directions (including bridged translations), especially Chinese-English, Chinese-to-multilingual, and English-to-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
1269
1284
|
*
|
|
1270
1285
|
* @remarks
|
|
1271
1286
|
* ## Product Introduction
|
|
1272
|
-
* 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
|
|
1287
|
+
* 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 mutual translation among more than 100 language directions (including bridged translations), especially Chinese-English, Chinese-to-multilingual, and English-to-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
1273
1288
|
* ## Common scenarios
|
|
1274
1289
|
* - Product titles: Marco 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.
|
|
1275
|
-
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco large model translation supports long text translation and HTML
|
|
1276
|
-
* - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and
|
|
1290
|
+
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco MT large model translation supports long text translation and HTML formatting, delivering excellent translation quality and format preservation.
|
|
1291
|
+
* - Product attributes: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
|
|
1277
1292
|
* - 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.
|
|
1278
1293
|
* Marco MT large model translation can also be used for general-purpose translation scenarios, such as office work, meetings, and daily conversations.
|
|
1279
1294
|
* ## Features
|
|
1280
|
-
* - **Supported language directions** Marco MT large model translation supports translation
|
|
1281
|
-
* - **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
|
|
1295
|
+
* - **Supported language directions** Marco MT large model translation supports mutual translation among more than 100 languages and language detection for 23 languages. For specific language directions, refer to the language mapping table in Section 5.6.
|
|
1296
|
+
* - **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 delivers faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
|
|
1282
1297
|
* - **Supported text format types** Currently supports text and html text types.
|
|
1283
|
-
* - **Translation intervention support** Supports custom translation results, including do-not-translate (ABC
|
|
1298
|
+
* - **Translation intervention support** 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 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.
|
|
1284
1299
|
* ## Translation quality comparison
|
|
1285
1300
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
1286
1301
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
1287
1302
|
* | 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 |
|
|
1288
1303
|
* | 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 |
|
|
1289
|
-
* | 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
|
|
1304
|
+
* | 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 — correctly identifies "key bag" rather than "keychain." Other translations may cause ambiguity about the product subject |
|
|
1290
1305
|
*
|
|
1291
1306
|
* @param request - PrepaidTextTranslateRequest
|
|
1292
1307
|
* @returns PrepaidTextTranslateResponse
|
|
@@ -1394,19 +1409,19 @@ export default class Client extends OpenApi {
|
|
|
1394
1409
|
*/
|
|
1395
1410
|
sizeChartDetect(request: $_model.SizeChartDetectRequest): Promise<$_model.SizeChartDetectResponse>;
|
|
1396
1411
|
/**
|
|
1397
|
-
* Intelligently extracts structured information such as size charts and package weight/
|
|
1412
|
+
* Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
|
|
1398
1413
|
*
|
|
1399
1414
|
* @remarks
|
|
1400
1415
|
* ## Product Introduction
|
|
1401
|
-
* Intelligently extracts structured information such as size charts and package weight/
|
|
1416
|
+
* Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
|
|
1402
1417
|
* ## Common scenarios
|
|
1403
1418
|
* * Size chart: Extracts size charts from apparel category images into text.
|
|
1404
1419
|
*
|
|
1405
1420
|
* * Package weight/dimensions: Extracts package weight and dimension information from images.
|
|
1406
1421
|
* ## Functions and features
|
|
1407
|
-
* The size chart extraction service is based on a multimodal
|
|
1408
|
-
* Core
|
|
1409
|
-
* ##
|
|
1422
|
+
* 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.
|
|
1423
|
+
* 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.
|
|
1424
|
+
* ## Comparison
|
|
1410
1425
|
* | **Input image** | **Output result** |
|
|
1411
1426
|
* | --- | --- |
|
|
1412
1427
|
* |  | {
|
|
@@ -1522,19 +1537,19 @@ export default class Client extends OpenApi {
|
|
|
1522
1537
|
*/
|
|
1523
1538
|
sizeChartExtractWithOptions(tmpReq: $_model.SizeChartExtractRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SizeChartExtractResponse>;
|
|
1524
1539
|
/**
|
|
1525
|
-
* Intelligently extracts structured information such as size charts and package weight/
|
|
1540
|
+
* Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
|
|
1526
1541
|
*
|
|
1527
1542
|
* @remarks
|
|
1528
1543
|
* ## Product Introduction
|
|
1529
|
-
* Intelligently extracts structured information such as size charts and package weight/
|
|
1544
|
+
* Intelligently extracts structured information such as size charts and package weight/dimension data from images by using a multimodal large language model. (Asynchronous)
|
|
1530
1545
|
* ## Common scenarios
|
|
1531
1546
|
* * Size chart: Extracts size charts from apparel category images into text.
|
|
1532
1547
|
*
|
|
1533
1548
|
* * Package weight/dimensions: Extracts package weight and dimension information from images.
|
|
1534
1549
|
* ## Functions and features
|
|
1535
|
-
* The size chart extraction service is based on a multimodal
|
|
1536
|
-
* Core
|
|
1537
|
-
* ##
|
|
1550
|
+
* 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.
|
|
1551
|
+
* 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.
|
|
1552
|
+
* ## Comparison
|
|
1538
1553
|
* | **Input image** | **Output result** |
|
|
1539
1554
|
* | --- | --- |
|
|
1540
1555
|
* |  | {
|
|
@@ -1719,32 +1734,32 @@ export default class Client extends OpenApi {
|
|
|
1719
1734
|
*/
|
|
1720
1735
|
textCorrect(request: $_model.TextCorrectRequest): Promise<$_model.TextCorrectResponse>;
|
|
1721
1736
|
/**
|
|
1722
|
-
*
|
|
1737
|
+
* Maas-MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports mutual translation among more than 100 language directions (including bridged directions), especially Chinese-English, Chinese-multilingual, and English-multilingual translation. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
1723
1738
|
*
|
|
1724
1739
|
* @remarks
|
|
1725
1740
|
* ## Product Introduction
|
|
1726
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion
|
|
1741
|
+
* 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 mutual translation among more than 100 language directions (including bridged directions), especially Chinese-English, Chinese-multilingual, and English-multilingual translation. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
1727
1742
|
* ## Common scenarios
|
|
1728
|
-
* - Product titles
|
|
1729
|
-
* - Product descriptions
|
|
1730
|
-
* - Product attributes
|
|
1731
|
-
* - Customer service conversations
|
|
1732
|
-
* Marco MT
|
|
1733
|
-
* ##
|
|
1743
|
+
* - **Product titles**: Marco MT can accurately translate phrases, keywords, and trending terms in product titles into the target language, improving product visibility on e-commerce platforms.
|
|
1744
|
+
* - **Product descriptions**: Product descriptions are typically long with diverse and complex formatting. Marco MT supports long text translation and HTML format, delivering excellent translation quality and format preservation.
|
|
1745
|
+
* - **Product attributes**: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
|
|
1746
|
+
* - **Customer service conversations**: In customer service scenarios, Marco MT can handle issues such as missing context and typos, and supports polite expressions for certain language directions.
|
|
1747
|
+
* Marco MT can also be used for general translation scenarios such as office work, meetings, and daily conversations.
|
|
1748
|
+
* ## Functions and features
|
|
1734
1749
|
* - **Supported language directions**
|
|
1735
|
-
* Marco MT
|
|
1750
|
+
* Marco MT supports mutual translation among more than 100 languages and language detection for 24 languages. For supported language directions, see [Language direction mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
1736
1751
|
* - **Ultra-low hallucination rate and high-speed inference**
|
|
1737
|
-
* Marco MT
|
|
1752
|
+
* Marco MT 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.
|
|
1738
1753
|
* - **Supported text format types**
|
|
1739
|
-
* Currently
|
|
1740
|
-
* - **Translation intervention
|
|
1741
|
-
*
|
|
1754
|
+
* Currently supports text and html text types.
|
|
1755
|
+
* - **Translation intervention**
|
|
1756
|
+
* 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 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.
|
|
1742
1757
|
* ## Translation quality comparison
|
|
1743
1758
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
1744
1759
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
1745
1760
|
* | 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 |
|
|
1746
1761
|
* | 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 |
|
|
1747
|
-
* | 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 expression
|
|
1762
|
+
* | 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 expression — correctly identifies "key bag" rather than "keychain," avoiding ambiguity about the product |
|
|
1748
1763
|
*
|
|
1749
1764
|
* @param tmpReq - TextTranslateRequest
|
|
1750
1765
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1752,32 +1767,32 @@ export default class Client extends OpenApi {
|
|
|
1752
1767
|
*/
|
|
1753
1768
|
textTranslateWithOptions(tmpReq: $_model.TextTranslateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TextTranslateResponse>;
|
|
1754
1769
|
/**
|
|
1755
|
-
*
|
|
1770
|
+
* Maas-MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports mutual translation among more than 100 language directions (including bridged directions), especially Chinese-English, Chinese-multilingual, and English-multilingual translation. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
1756
1771
|
*
|
|
1757
1772
|
* @remarks
|
|
1758
1773
|
* ## Product Introduction
|
|
1759
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion
|
|
1774
|
+
* 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 mutual translation among more than 100 language directions (including bridged directions), especially Chinese-English, Chinese-multilingual, and English-multilingual translation. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
1760
1775
|
* ## Common scenarios
|
|
1761
|
-
* - Product titles
|
|
1762
|
-
* - Product descriptions
|
|
1763
|
-
* - Product attributes
|
|
1764
|
-
* - Customer service conversations
|
|
1765
|
-
* Marco MT
|
|
1766
|
-
* ##
|
|
1776
|
+
* - **Product titles**: Marco MT can accurately translate phrases, keywords, and trending terms in product titles into the target language, improving product visibility on e-commerce platforms.
|
|
1777
|
+
* - **Product descriptions**: Product descriptions are typically long with diverse and complex formatting. Marco MT supports long text translation and HTML format, delivering excellent translation quality and format preservation.
|
|
1778
|
+
* - **Product attributes**: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
|
|
1779
|
+
* - **Customer service conversations**: In customer service scenarios, Marco MT can handle issues such as missing context and typos, and supports polite expressions for certain language directions.
|
|
1780
|
+
* Marco MT can also be used for general translation scenarios such as office work, meetings, and daily conversations.
|
|
1781
|
+
* ## Functions and features
|
|
1767
1782
|
* - **Supported language directions**
|
|
1768
|
-
* Marco MT
|
|
1783
|
+
* Marco MT supports mutual translation among more than 100 languages and language detection for 24 languages. For supported language directions, see [Language direction mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
1769
1784
|
* - **Ultra-low hallucination rate and high-speed inference**
|
|
1770
|
-
* Marco MT
|
|
1785
|
+
* Marco MT 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.
|
|
1771
1786
|
* - **Supported text format types**
|
|
1772
|
-
* Currently
|
|
1773
|
-
* - **Translation intervention
|
|
1774
|
-
*
|
|
1787
|
+
* Currently supports text and html text types.
|
|
1788
|
+
* - **Translation intervention**
|
|
1789
|
+
* 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 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.
|
|
1775
1790
|
* ## Translation quality comparison
|
|
1776
1791
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
1777
1792
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
1778
1793
|
* | 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 |
|
|
1779
1794
|
* | 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 |
|
|
1780
|
-
* | 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 expression
|
|
1795
|
+
* | 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 expression — correctly identifies "key bag" rather than "keychain," avoiding ambiguity about the product |
|
|
1781
1796
|
*
|
|
1782
1797
|
* @param request - TextTranslateRequest
|
|
1783
1798
|
* @returns TextTranslateResponse
|
|
@@ -1848,9 +1863,9 @@ export default class Client extends OpenApi {
|
|
|
1848
1863
|
*
|
|
1849
1864
|
* * **Global brand advertising**: Automatically generates video versions in the language of the target region to reduce manual production costs.
|
|
1850
1865
|
*
|
|
1851
|
-
* * **Training and product
|
|
1866
|
+
* * **Training and product instructions**: Translates on-screen text in training courses or product demonstration videos into multiple languages for use by global teams.
|
|
1852
1867
|
* ## 3. Features
|
|
1853
|
-
* |
|
|
1868
|
+
* | Feature | Identifier | Description |
|
|
1854
1869
|
* | --- | --- | --- |
|
|
1855
1870
|
* | Visual translation | `visual` | Translates embedded text (subtitles, promotional text, etc.) in video frames into the target language and erases the original text. |
|
|
1856
1871
|
* ## 4. Developer guide.
|
|
@@ -1877,9 +1892,9 @@ export default class Client extends OpenApi {
|
|
|
1877
1892
|
*
|
|
1878
1893
|
* * **Global brand advertising**: Automatically generates video versions in the language of the target region to reduce manual production costs.
|
|
1879
1894
|
*
|
|
1880
|
-
* * **Training and product
|
|
1895
|
+
* * **Training and product instructions**: Translates on-screen text in training courses or product demonstration videos into multiple languages for use by global teams.
|
|
1881
1896
|
* ## 3. Features
|
|
1882
|
-
* |
|
|
1897
|
+
* | Feature | Identifier | Description |
|
|
1883
1898
|
* | --- | --- | --- |
|
|
1884
1899
|
* | Visual translation | `visual` | Translates embedded text (subtitles, promotional text, etc.) in video frames into the target language and erases the original text. |
|
|
1885
1900
|
* ## 4. Developer guide.
|
|
@@ -1892,29 +1907,29 @@ export default class Client extends OpenApi {
|
|
|
1892
1907
|
*/
|
|
1893
1908
|
videoTranslation(request: $_model.VideoTranslationRequest): Promise<$_model.VideoTranslationResponse>;
|
|
1894
1909
|
/**
|
|
1895
|
-
* Generates virtual try-on images based on AI algorithms. This API service replaces the clothing on a model with the specified garment based on the input garment image and model image, while preserving the model\\"s appearance details, pose, facial features, and scene details to
|
|
1910
|
+
* Generates virtual try-on images based on AI algorithms. This API service replaces the clothing on a model with the specified garment based on the input garment image and model image, while preserving the model\\"s appearance details, pose, facial features, and scene details to produce realistic and well-fitted try-on results. You only need to provide the URL of the original product image to obtain a processed clean image.
|
|
1896
1911
|
*
|
|
1897
1912
|
* @remarks
|
|
1898
1913
|
* ## Scenarios
|
|
1899
1914
|
* - **Virtual try-on for clothing products:**
|
|
1900
|
-
* Supports multiple clothing categories such as tops, bottoms, jumpsuits, and
|
|
1915
|
+
* Supports multiple clothing categories such as tops, bottoms, jumpsuits, and dresses. After uploading a model image and a product image, the system generates a natural and realistic try-on effect that visually demonstrates how the garment looks when worn.
|
|
1901
1916
|
* - **Virtual try-on for shoes and hats:**
|
|
1902
|
-
* Supports virtual try-on for shoes, hats, and similar products. The system intelligently matches the product position and proportion based on the model\\"s pose and body parts
|
|
1917
|
+
* Supports virtual try-on for shoes, hats, and similar products. The system intelligently matches the product position and proportion based on the model\\"s pose and body parts to produce a coordinated and realistic wearing effect.
|
|
1903
1918
|
* - **E-commerce product display and marketing:**
|
|
1904
|
-
* Helps merchants quickly generate model try-on images for different products, reducing the costs of traditional photography, outfit changes, and post-production
|
|
1919
|
+
* Helps merchants quickly generate model try-on images for different products, reducing the costs of traditional photography, outfit changes, and post-production while improving the production efficiency of product images.
|
|
1905
1920
|
* - **Online shopping experience optimization:**
|
|
1906
|
-
* Consumers can preview how products look when worn through virtual try-on, gaining a more intuitive understanding of the style, coordination, and overall effect of products
|
|
1921
|
+
* Consumers can preview how products look when worn through virtual try-on, gaining a more intuitive understanding of the style, coordination, and overall effect of products to support purchasing decisions and enhance the shopping experience.
|
|
1907
1922
|
* ## Features
|
|
1908
|
-
* - **First,
|
|
1909
|
-
* - a. Model image: the image of the person for
|
|
1923
|
+
* - **First, 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 onto the model:**
|
|
1924
|
+
* - a. Model image: the image of the person for virtual try-on.
|
|
1910
1925
|
* - b. Product image: the image of the clothing, shoes, or hat to be applied onto the model.
|
|
1911
|
-
* - **Second,
|
|
1912
|
-
* - a.
|
|
1913
|
-
* - b. Automatic type recognition: if
|
|
1926
|
+
* - **Second, select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
|
|
1927
|
+
* - a. Specify product type: directly specify the product type, and the system processes accordingly.
|
|
1928
|
+
* - b. Automatic type recognition: if no product type is specified, the system automatically identifies the product category from the product image and performs the virtual try-on based on the recognition result.
|
|
1914
1929
|
* - **Finally, the system combines the model image, product image, and product type to generate a virtual try-on image that shows how the product looks on the model:**
|
|
1915
|
-
* - a.
|
|
1916
|
-
* - b.
|
|
1917
|
-
* - c.
|
|
1930
|
+
* - a. Preserve model details: the generation process does not alter the model\\"s appearance, hairstyle, pose, body shape, or other details from the original model image.
|
|
1931
|
+
* - b. Maintain scene 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.
|
|
1932
|
+
* - c. Generate try-on effect: the product is naturally applied onto the model, conforming to the model\\"s pose and body structure, to produce a coordinated and realistic virtual try-on image.
|
|
1918
1933
|
* ## Sample results
|
|
1919
1934
|
* | **Type** | **Model image** | **Garment image** | **Try-on result** |
|
|
1920
1935
|
* | --- | --- | --- | --- |
|
|
@@ -1922,7 +1937,7 @@ export default class Client extends OpenApi {
|
|
|
1922
1937
|
* | Bottoms |  |  |  |
|
|
1923
1938
|
* | Shoes |  |  |  |
|
|
1924
1939
|
* | Jumpsuits |  |  |  |
|
|
1925
|
-
* |
|
|
1940
|
+
* | Dresses |  |  |  |
|
|
1926
1941
|
* | Hats |  |  |  |
|
|
1927
1942
|
*
|
|
1928
1943
|
* @param request - VirtualTryOnRequest
|
|
@@ -1931,29 +1946,29 @@ export default class Client extends OpenApi {
|
|
|
1931
1946
|
*/
|
|
1932
1947
|
virtualTryOnWithOptions(request: $_model.VirtualTryOnRequest, runtime: $dara.RuntimeOptions): Promise<$_model.VirtualTryOnResponse>;
|
|
1933
1948
|
/**
|
|
1934
|
-
* Generates virtual try-on images based on AI algorithms. This API service replaces the clothing on a model with the specified garment based on the input garment image and model image, while preserving the model\\"s appearance details, pose, facial features, and scene details to
|
|
1949
|
+
* Generates virtual try-on images based on AI algorithms. This API service replaces the clothing on a model with the specified garment based on the input garment image and model image, while preserving the model\\"s appearance details, pose, facial features, and scene details to produce realistic and well-fitted try-on results. You only need to provide the URL of the original product image to obtain a processed clean image.
|
|
1935
1950
|
*
|
|
1936
1951
|
* @remarks
|
|
1937
1952
|
* ## Scenarios
|
|
1938
1953
|
* - **Virtual try-on for clothing products:**
|
|
1939
|
-
* Supports multiple clothing categories such as tops, bottoms, jumpsuits, and
|
|
1954
|
+
* Supports multiple clothing categories such as tops, bottoms, jumpsuits, and dresses. After uploading a model image and a product image, the system generates a natural and realistic try-on effect that visually demonstrates how the garment looks when worn.
|
|
1940
1955
|
* - **Virtual try-on for shoes and hats:**
|
|
1941
|
-
* Supports virtual try-on for shoes, hats, and similar products. The system intelligently matches the product position and proportion based on the model\\"s pose and body parts
|
|
1956
|
+
* Supports virtual try-on for shoes, hats, and similar products. The system intelligently matches the product position and proportion based on the model\\"s pose and body parts to produce a coordinated and realistic wearing effect.
|
|
1942
1957
|
* - **E-commerce product display and marketing:**
|
|
1943
|
-
* Helps merchants quickly generate model try-on images for different products, reducing the costs of traditional photography, outfit changes, and post-production
|
|
1958
|
+
* Helps merchants quickly generate model try-on images for different products, reducing the costs of traditional photography, outfit changes, and post-production while improving the production efficiency of product images.
|
|
1944
1959
|
* - **Online shopping experience optimization:**
|
|
1945
|
-
* Consumers can preview how products look when worn through virtual try-on, gaining a more intuitive understanding of the style, coordination, and overall effect of products
|
|
1960
|
+
* Consumers can preview how products look when worn through virtual try-on, gaining a more intuitive understanding of the style, coordination, and overall effect of products to support purchasing decisions and enhance the shopping experience.
|
|
1946
1961
|
* ## Features
|
|
1947
|
-
* - **First,
|
|
1948
|
-
* - a. Model image: the image of the person for
|
|
1962
|
+
* - **First, 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 onto the model:**
|
|
1963
|
+
* - a. Model image: the image of the person for virtual try-on.
|
|
1949
1964
|
* - b. Product image: the image of the clothing, shoes, or hat to be applied onto the model.
|
|
1950
|
-
* - **Second,
|
|
1951
|
-
* - a.
|
|
1952
|
-
* - b. Automatic type recognition: if
|
|
1965
|
+
* - **Second, select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, dresses, shoes, and hats:**
|
|
1966
|
+
* - a. Specify product type: directly specify the product type, and the system processes accordingly.
|
|
1967
|
+
* - b. Automatic type recognition: if no product type is specified, the system automatically identifies the product category from the product image and performs the virtual try-on based on the recognition result.
|
|
1953
1968
|
* - **Finally, the system combines the model image, product image, and product type to generate a virtual try-on image that shows how the product looks on the model:**
|
|
1954
|
-
* - a.
|
|
1955
|
-
* - b.
|
|
1956
|
-
* - c.
|
|
1969
|
+
* - a. Preserve model details: the generation process does not alter the model\\"s appearance, hairstyle, pose, body shape, or other details from the original model image.
|
|
1970
|
+
* - b. Maintain scene 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.
|
|
1971
|
+
* - c. Generate try-on effect: the product is naturally applied onto the model, conforming to the model\\"s pose and body structure, to produce a coordinated and realistic virtual try-on image.
|
|
1957
1972
|
* ## Sample results
|
|
1958
1973
|
* | **Type** | **Model image** | **Garment image** | **Try-on result** |
|
|
1959
1974
|
* | --- | --- | --- | --- |
|
|
@@ -1961,7 +1976,7 @@ export default class Client extends OpenApi {
|
|
|
1961
1976
|
* | Bottoms |  |  |  |
|
|
1962
1977
|
* | Shoes |  |  |  |
|
|
1963
1978
|
* | Jumpsuits |  |  |  |
|
|
1964
|
-
* |
|
|
1979
|
+
* | Dresses |  |  |  |
|
|
1965
1980
|
* | Hats |  |  |  |
|
|
1966
1981
|
*
|
|
1967
1982
|
* @param request - VirtualTryOnRequest
|