@alicloud/aidge20260428 5.4.0 → 5.5.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 +151 -74
- package/dist/client.js +184 -74
- package/dist/client.js.map +1 -1
- package/dist/models/DocumentTranslateRequest.d.ts +2 -2
- package/dist/models/DocumentTranslateResponseBody.d.ts +2 -2
- package/dist/models/ImageTranslationProRequest.d.ts +9 -9
- package/dist/models/ImageTranslationProResponseBody.d.ts +5 -5
- package/dist/models/ImageTranslationStandardRequest.d.ts +4 -4
- package/dist/models/ImageTranslationStandardResponseBody.d.ts +3 -3
- package/dist/models/TextTranslateRequest.d.ts +6 -6
- package/dist/models/TextTranslateResponseBody.d.ts +5 -5
- package/dist/models/TextTranslateShrinkRequest.d.ts +6 -6
- package/dist/models/VirtualTryOnRequest.d.ts +51 -0
- package/dist/models/VirtualTryOnRequest.js +64 -0
- package/dist/models/VirtualTryOnRequest.js.map +1 -0
- package/dist/models/VirtualTryOnResponse.d.ts +19 -0
- package/dist/models/VirtualTryOnResponse.js +69 -0
- package/dist/models/VirtualTryOnResponse.js.map +1 -0
- package/dist/models/VirtualTryOnResponseBody.d.ts +77 -0
- package/dist/models/VirtualTryOnResponseBody.js +93 -0
- package/dist/models/VirtualTryOnResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +11 -3
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +190 -74
- package/src/models/DocumentTranslateRequest.ts +2 -2
- package/src/models/DocumentTranslateResponseBody.ts +2 -2
- package/src/models/ImageTranslationProRequest.ts +9 -9
- package/src/models/ImageTranslationProResponseBody.ts +5 -5
- package/src/models/ImageTranslationStandardRequest.ts +4 -4
- package/src/models/ImageTranslationStandardResponseBody.ts +3 -3
- package/src/models/TextTranslateRequest.ts +6 -6
- package/src/models/TextTranslateResponseBody.ts +5 -5
- package/src/models/TextTranslateShrinkRequest.ts +6 -6
- package/src/models/VirtualTryOnRequest.ts +70 -0
- package/src/models/VirtualTryOnResponse.ts +40 -0
- package/src/models/VirtualTryOnResponseBody.ts +114 -0
- package/src/models/model.ts +4 -0
package/dist/client.d.ts
CHANGED
|
@@ -278,25 +278,25 @@ export default class Client extends OpenApi {
|
|
|
278
278
|
*/
|
|
279
279
|
diduiAreaDeduction(request: $_model.DiduiAreaDeductionRequest): Promise<$_model.DiduiAreaDeductionResponse>;
|
|
280
280
|
/**
|
|
281
|
-
* Designed specifically for document translation
|
|
282
|
-
*
|
|
283
|
-
* - Content accuracy: translation accuracy, and accuracy
|
|
284
|
-
* - Structural integrity: overall layout continuity,
|
|
281
|
+
* Designed specifically for document translation. Supports translation between more than 100 language pairs (including bridged pairs) to handle multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
|
|
282
|
+
* Excels in the following areas:
|
|
283
|
+
* - Content accuracy: translation accuracy, parameter and unit accuracy.
|
|
284
|
+
* - Structural integrity: overall layout continuity, page margin and layout restoration.
|
|
285
285
|
*
|
|
286
286
|
* @remarks
|
|
287
287
|
* ## Product Introduction
|
|
288
|
-
* Designed specifically for document translation
|
|
288
|
+
* Designed specifically for document translation. Supports translation between more than 100 language pairs (including bridged pairs) to handle multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
|
|
289
289
|
* Excels in the following areas:
|
|
290
290
|
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
291
|
-
* - Structural integrity: overall layout continuity, page margin and layout
|
|
292
|
-
* ##
|
|
293
|
-
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and other scenarios.
|
|
294
|
-
* ##
|
|
295
|
-
* - Supports PDF and Word formats. Supports source documents
|
|
291
|
+
* - Structural integrity: overall layout continuity, page margin and layout restoration
|
|
292
|
+
* ## Common scenarios
|
|
293
|
+
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and many other scenarios.
|
|
294
|
+
* ## Functions and features
|
|
295
|
+
* - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed language list, see section 4.5.
|
|
296
296
|
* - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
|
|
297
|
-
* - Supports high-fidelity layout
|
|
297
|
+
* - Supports high-fidelity layout restoration after translation.
|
|
298
298
|
* - 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).
|
|
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 scenarios such as brand name protection. Simply pass the corresponding glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 glossary entries. If you need more, contact the platform for assistance.
|
|
300
300
|
*
|
|
301
301
|
* @param request - DocumentTranslateRequest
|
|
302
302
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -304,25 +304,25 @@ export default class Client extends OpenApi {
|
|
|
304
304
|
*/
|
|
305
305
|
documentTranslateWithOptions(request: $_model.DocumentTranslateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DocumentTranslateResponse>;
|
|
306
306
|
/**
|
|
307
|
-
* Designed specifically for document translation
|
|
308
|
-
*
|
|
309
|
-
* - Content accuracy: translation accuracy, and accuracy
|
|
310
|
-
* - Structural integrity: overall layout continuity,
|
|
307
|
+
* Designed specifically for document translation. Supports translation between more than 100 language pairs (including bridged pairs) to handle multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
|
|
308
|
+
* Excels in the following areas:
|
|
309
|
+
* - Content accuracy: translation accuracy, parameter and unit accuracy.
|
|
310
|
+
* - Structural integrity: overall layout continuity, page margin and layout restoration.
|
|
311
311
|
*
|
|
312
312
|
* @remarks
|
|
313
313
|
* ## Product Introduction
|
|
314
|
-
* Designed specifically for document translation
|
|
314
|
+
* Designed specifically for document translation. Supports translation between more than 100 language pairs (including bridged pairs) to handle multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
|
|
315
315
|
* Excels in the following areas:
|
|
316
316
|
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
317
|
-
* - Structural integrity: overall layout continuity, page margin and layout
|
|
318
|
-
* ##
|
|
319
|
-
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and other scenarios.
|
|
320
|
-
* ##
|
|
321
|
-
* - Supports PDF and Word formats. Supports source documents
|
|
317
|
+
* - Structural integrity: overall layout continuity, page margin and layout restoration
|
|
318
|
+
* ## Common scenarios
|
|
319
|
+
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and many other scenarios.
|
|
320
|
+
* ## Functions and features
|
|
321
|
+
* - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed language list, see section 4.5.
|
|
322
322
|
* - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
|
|
323
|
-
* - Supports high-fidelity layout
|
|
323
|
+
* - Supports high-fidelity layout restoration after translation.
|
|
324
324
|
* - 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).
|
|
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 scenarios such as brand name protection. Simply pass the corresponding glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 glossary entries. If you need more, contact the platform for assistance.
|
|
326
326
|
*
|
|
327
327
|
* @param request - DocumentTranslateRequest
|
|
328
328
|
* @returns DocumentTranslateResponse
|
|
@@ -974,18 +974,18 @@ export default class Client extends OpenApi {
|
|
|
974
974
|
*/
|
|
975
975
|
imageTranslationPlus(request: $_model.ImageTranslationPlusRequest): Promise<$_model.ImageTranslationPlusResponse>;
|
|
976
976
|
/**
|
|
977
|
-
*
|
|
977
|
+
* Image Translation Pro is designed for e-commerce images. It integrates multimodal foundation model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. It supports more than 100 language directions, including bridged translations.
|
|
978
978
|
*
|
|
979
979
|
* @remarks
|
|
980
980
|
* ## Product Introduction
|
|
981
|
-
*
|
|
981
|
+
* Image Translation Pro is designed for e-commerce images. It integrates multimodal foundation model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. It supports more than 100 language directions, including bridged translations.
|
|
982
982
|
* ## Scenarios
|
|
983
983
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
984
984
|
* ## Features
|
|
985
|
-
* - **Product subject protection**:
|
|
986
|
-
* - **Post-translation editing**:
|
|
987
|
-
* - **Brand name protection**:
|
|
988
|
-
* - **Translation intervention**:
|
|
985
|
+
* - **Product subject protection**: Specify whether to translate text on the product subject. This helps protect subject information such as embedded product names from being translated.
|
|
986
|
+
* - **Post-translation editing**: Specify whether to return layout information such as text position, font, and color. This information can be used for secondary editing when integrated with an image editor. The editor SDK is not yet available. Follow platform notifications for updates.
|
|
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 your translation needs across different scenarios. You can upload up to 100,000 intervention terms. Contact the platform if you need a higher limit.
|
|
989
989
|
* - **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
990
990
|
*
|
|
991
991
|
* @param request - ImageTranslationProRequest
|
|
@@ -994,18 +994,18 @@ export default class Client extends OpenApi {
|
|
|
994
994
|
*/
|
|
995
995
|
imageTranslationProWithOptions(request: $_model.ImageTranslationProRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationProResponse>;
|
|
996
996
|
/**
|
|
997
|
-
*
|
|
997
|
+
* Image Translation Pro is designed for e-commerce images. It integrates multimodal foundation model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. It supports more than 100 language directions, including bridged translations.
|
|
998
998
|
*
|
|
999
999
|
* @remarks
|
|
1000
1000
|
* ## Product Introduction
|
|
1001
|
-
*
|
|
1001
|
+
* Image Translation Pro is designed for e-commerce images. It integrates multimodal foundation model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. It supports more than 100 language directions, including bridged translations.
|
|
1002
1002
|
* ## Scenarios
|
|
1003
1003
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1004
1004
|
* ## Features
|
|
1005
|
-
* - **Product subject protection**:
|
|
1006
|
-
* - **Post-translation editing**:
|
|
1007
|
-
* - **Brand name protection**:
|
|
1008
|
-
* - **Translation intervention**:
|
|
1005
|
+
* - **Product subject protection**: Specify whether to translate text on the product subject. This helps protect subject information such as embedded product names from being translated.
|
|
1006
|
+
* - **Post-translation editing**: Specify whether to return layout information such as text position, font, and color. This information can be used for secondary editing when integrated with an image editor. The editor SDK is not yet available. Follow platform notifications for updates.
|
|
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 your translation needs across different scenarios. You can upload up to 100,000 intervention terms. Contact the platform if you need a higher limit.
|
|
1009
1009
|
* - **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1010
1010
|
*
|
|
1011
1011
|
* @param request - ImageTranslationProRequest
|
|
@@ -1013,22 +1013,22 @@ export default class Client extends OpenApi {
|
|
|
1013
1013
|
*/
|
|
1014
1014
|
imageTranslationPro(request: $_model.ImageTranslationProRequest): Promise<$_model.ImageTranslationProResponse>;
|
|
1015
1015
|
/**
|
|
1016
|
-
*
|
|
1016
|
+
* Image Translation is designed specifically for e-commerce images. It supports more than 100 language directions (including bridging), accurately processes complex text layouts within images, and ensures that translated content matches the image content. This helps e-commerce platforms and developers easily achieve multilingual conversion and rendering of image content. The product also returns layer information such as text position, font, and color within images, making it easy to integrate with image editors for secondary editing of translation results.
|
|
1017
1017
|
*
|
|
1018
1018
|
* @remarks
|
|
1019
1019
|
* # 1. Product Introduction
|
|
1020
|
-
*
|
|
1021
|
-
* # 2.
|
|
1020
|
+
* Image Translation is designed specifically for e-commerce images. It supports more than 100 language directions (including bridging), accurately processes complex text layouts within images, and ensures that translated content matches the image content. This helps e-commerce platforms and developers easily achieve multilingual conversion and rendering of image content. The product also returns layer information such as text position, font, and color within images, making it easy to integrate with image editors for secondary editing of translation results.
|
|
1021
|
+
* # 2. Applicable scenarios
|
|
1022
1022
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1023
1023
|
* # 3. Features
|
|
1024
|
-
* * **Product
|
|
1024
|
+
* * **Product subject information protection**: You can 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.
|
|
1025
1025
|
*
|
|
1026
|
-
* * **Brand name protection**:
|
|
1026
|
+
* * **Brand name protection**: You can choose whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
1027
1027
|
*
|
|
1028
|
-
* * **Secondary editing after translation (layer information)**:
|
|
1028
|
+
* * **Secondary editing after translation (layer information)**: You can choose whether to return layer information such as text position, font, and color. This information can be used to integrate with image editors for secondary editing of translation results. For the release progress of the editor SDK package, follow platform notifications.
|
|
1029
1029
|
*
|
|
1030
|
-
* * **Translation intervention**:
|
|
1031
|
-
* * **Image editor integration**: For more information, see [Image
|
|
1030
|
+
* * **Translation intervention support**: You can customize translation results, including no translation (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for scenarios such as brand term protection. 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.
|
|
1031
|
+
* * **Image editor integration support**: For more information, see [Image Translation editor protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1032
1032
|
*
|
|
1033
1033
|
* @param request - ImageTranslationStandardRequest
|
|
1034
1034
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1036,22 +1036,22 @@ export default class Client extends OpenApi {
|
|
|
1036
1036
|
*/
|
|
1037
1037
|
imageTranslationStandardWithOptions(request: $_model.ImageTranslationStandardRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationStandardResponse>;
|
|
1038
1038
|
/**
|
|
1039
|
-
*
|
|
1039
|
+
* Image Translation is designed specifically for e-commerce images. It supports more than 100 language directions (including bridging), accurately processes complex text layouts within images, and ensures that translated content matches the image content. This helps e-commerce platforms and developers easily achieve multilingual conversion and rendering of image content. The product also returns layer information such as text position, font, and color within images, making it easy to integrate with image editors for secondary editing of translation results.
|
|
1040
1040
|
*
|
|
1041
1041
|
* @remarks
|
|
1042
1042
|
* # 1. Product Introduction
|
|
1043
|
-
*
|
|
1044
|
-
* # 2.
|
|
1043
|
+
* Image Translation is designed specifically for e-commerce images. It supports more than 100 language directions (including bridging), accurately processes complex text layouts within images, and ensures that translated content matches the image content. This helps e-commerce platforms and developers easily achieve multilingual conversion and rendering of image content. The product also returns layer information such as text position, font, and color within images, making it easy to integrate with image editors for secondary editing of translation results.
|
|
1044
|
+
* # 2. Applicable scenarios
|
|
1045
1045
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1046
1046
|
* # 3. Features
|
|
1047
|
-
* * **Product
|
|
1047
|
+
* * **Product subject information protection**: You can 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.
|
|
1048
1048
|
*
|
|
1049
|
-
* * **Brand name protection**:
|
|
1049
|
+
* * **Brand name protection**: You can choose whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
1050
1050
|
*
|
|
1051
|
-
* * **Secondary editing after translation (layer information)**:
|
|
1051
|
+
* * **Secondary editing after translation (layer information)**: You can choose whether to return layer information such as text position, font, and color. This information can be used to integrate with image editors for secondary editing of translation results. For the release progress of the editor SDK package, follow platform notifications.
|
|
1052
1052
|
*
|
|
1053
|
-
* * **Translation intervention**:
|
|
1054
|
-
* * **Image editor integration**: For more information, see [Image
|
|
1053
|
+
* * **Translation intervention support**: You can customize translation results, including no translation (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). This is commonly used for scenarios such as brand term protection. 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.
|
|
1054
|
+
* * **Image editor integration support**: For more information, see [Image Translation editor protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1055
1055
|
*
|
|
1056
1056
|
* @param request - ImageTranslationStandardRequest
|
|
1057
1057
|
* @returns ImageTranslationStandardResponse
|
|
@@ -1704,32 +1704,32 @@ export default class Client extends OpenApi {
|
|
|
1704
1704
|
*/
|
|
1705
1705
|
textCorrect(request: $_model.TextCorrectRequest): Promise<$_model.TextCorrectResponse>;
|
|
1706
1706
|
/**
|
|
1707
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs,
|
|
1707
|
+
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, with continuous optimization for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports mutual translation among more than 100 language pairs (including bridged pairs), especially Chinese-English, Chinese-multilingual, and English-multilingual translation. It supports language detection for 24 languages. If you do not specify a source language, automatic detection is performed.
|
|
1708
1708
|
*
|
|
1709
1709
|
* @remarks
|
|
1710
1710
|
* ## Product Introduction
|
|
1711
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs,
|
|
1711
|
+
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, with continuous optimization for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports mutual translation among more than 100 language pairs (including bridged pairs), especially Chinese-English, Chinese-multilingual, and English-multilingual translation. It supports language detection for 24 languages. If you do not specify a source language, automatic detection is performed.
|
|
1712
1712
|
* ## Common scenarios
|
|
1713
1713
|
* - 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.
|
|
1714
1714
|
* - 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.
|
|
1715
|
-
* - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
|
|
1715
|
+
* - Product attributes: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and parameters.
|
|
1716
1716
|
* - 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 pairs.
|
|
1717
|
-
* Marco MT can also be used for general translation scenarios such as office work, meetings, and daily conversations.
|
|
1718
|
-
* ##
|
|
1717
|
+
* Marco MT can also be used for general translation scenarios, such as office work, meetings, and daily conversations.
|
|
1718
|
+
* ## Functions and features
|
|
1719
1719
|
* - **Supported language pairs**
|
|
1720
|
-
* Marco MT supports translation
|
|
1720
|
+
* Marco MT supports mutual translation among more than 100 languages and language detection for 24 languages. For supported language pairs, see [Language pair mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
1721
1721
|
* - **Ultra-low hallucination rate and high-speed inference**
|
|
1722
|
-
* Marco MT is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it
|
|
1722
|
+
* Marco MT is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it provides faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
|
|
1723
1723
|
* - **Supported text format types**
|
|
1724
|
-
* Currently
|
|
1725
|
-
* - **Translation intervention**
|
|
1726
|
-
*
|
|
1724
|
+
* Currently, text and html text types are supported.
|
|
1725
|
+
* - **Translation intervention support**
|
|
1726
|
+
* Custom translation results are supported, including do-not-translate (ABC→ABC), specified translation (ABC→DEF), and skip translation (ABC→empty value). This is commonly used for scenarios such as brand name protection. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1727
1727
|
* ## Translation quality comparison
|
|
1728
1728
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
1729
1729
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
1730
1730
|
* | 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 |
|
|
1731
1731
|
* | 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 |
|
|
1732
|
-
* | 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 product subject
|
|
1732
|
+
* | 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. The translation correctly identifies "key bag" rather than "keychain", avoiding ambiguity about the product type in other translations |
|
|
1733
1733
|
*
|
|
1734
1734
|
* @param tmpReq - TextTranslateRequest
|
|
1735
1735
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1737,32 +1737,32 @@ export default class Client extends OpenApi {
|
|
|
1737
1737
|
*/
|
|
1738
1738
|
textTranslateWithOptions(tmpReq: $_model.TextTranslateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TextTranslateResponse>;
|
|
1739
1739
|
/**
|
|
1740
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs,
|
|
1740
|
+
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, with continuous optimization for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports mutual translation among more than 100 language pairs (including bridged pairs), especially Chinese-English, Chinese-multilingual, and English-multilingual translation. It supports language detection for 24 languages. If you do not specify a source language, automatic detection is performed.
|
|
1741
1741
|
*
|
|
1742
1742
|
* @remarks
|
|
1743
1743
|
* ## Product Introduction
|
|
1744
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs,
|
|
1744
|
+
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, with continuous optimization for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports mutual translation among more than 100 language pairs (including bridged pairs), especially Chinese-English, Chinese-multilingual, and English-multilingual translation. It supports language detection for 24 languages. If you do not specify a source language, automatic detection is performed.
|
|
1745
1745
|
* ## Common scenarios
|
|
1746
1746
|
* - 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.
|
|
1747
1747
|
* - 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.
|
|
1748
|
-
* - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
|
|
1748
|
+
* - Product attributes: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and parameters.
|
|
1749
1749
|
* - 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 pairs.
|
|
1750
|
-
* Marco MT can also be used for general translation scenarios such as office work, meetings, and daily conversations.
|
|
1751
|
-
* ##
|
|
1750
|
+
* Marco MT can also be used for general translation scenarios, such as office work, meetings, and daily conversations.
|
|
1751
|
+
* ## Functions and features
|
|
1752
1752
|
* - **Supported language pairs**
|
|
1753
|
-
* Marco MT supports translation
|
|
1753
|
+
* Marco MT supports mutual translation among more than 100 languages and language detection for 24 languages. For supported language pairs, see [Language pair mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
1754
1754
|
* - **Ultra-low hallucination rate and high-speed inference**
|
|
1755
|
-
* Marco MT is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it
|
|
1755
|
+
* Marco MT is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it provides faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
|
|
1756
1756
|
* - **Supported text format types**
|
|
1757
|
-
* Currently
|
|
1758
|
-
* - **Translation intervention**
|
|
1759
|
-
*
|
|
1757
|
+
* Currently, text and html text types are supported.
|
|
1758
|
+
* - **Translation intervention support**
|
|
1759
|
+
* Custom translation results are supported, including do-not-translate (ABC→ABC), specified translation (ABC→DEF), and skip translation (ABC→empty value). This is commonly used for scenarios such as brand name protection. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1760
1760
|
* ## Translation quality comparison
|
|
1761
1761
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
1762
1762
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
1763
1763
|
* | 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 |
|
|
1764
1764
|
* | 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 |
|
|
1765
|
-
* | 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 product subject
|
|
1765
|
+
* | 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. The translation correctly identifies "key bag" rather than "keychain", avoiding ambiguity about the product type in other translations |
|
|
1766
1766
|
*
|
|
1767
1767
|
* @param request - TextTranslateRequest
|
|
1768
1768
|
* @returns TextTranslateResponse
|
|
@@ -1876,6 +1876,83 @@ export default class Client extends OpenApi {
|
|
|
1876
1876
|
* @returns VideoTranslationResponse
|
|
1877
1877
|
*/
|
|
1878
1878
|
videoTranslation(request: $_model.VideoTranslationRequest): Promise<$_model.VideoTranslationResponse>;
|
|
1879
|
+
/**
|
|
1880
|
+
* 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 achieve a realistic and well-fitted try-on result. You only need to provide the URL of the original product image to obtain a processed clean image.
|
|
1881
|
+
*
|
|
1882
|
+
* @remarks
|
|
1883
|
+
* ## Scenarios
|
|
1884
|
+
* - **Virtual try-on for clothing products:**
|
|
1885
|
+
* Supports multiple clothing categories such as tops, bottoms, jumpsuits, and skirts. After uploading a model image and a product image, the system generates a natural and realistic try-on effect that intuitively showcases how the clothing looks when worn.
|
|
1886
|
+
* - **Virtual try-on for shoes and hats:**
|
|
1887
|
+
* 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, producing a coordinated and realistic wearing effect.
|
|
1888
|
+
* - **E-commerce product display and marketing:**
|
|
1889
|
+
* Helps merchants quickly generate model try-on images for different products, reducing the costs of traditional photography, outfit changes, and post-production, and improving the production efficiency of product images.
|
|
1890
|
+
* - **Online shopping experience optimization:**
|
|
1891
|
+
* 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, which assists purchase decisions and enhances the shopping experience.
|
|
1892
|
+
* ## Features
|
|
1893
|
+
* - **First, the user needs to 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:**
|
|
1894
|
+
* - a. Model image: the image of the person for the virtual try-on.
|
|
1895
|
+
* - b. Product image: the image of the clothing, shoes, or hat to be applied onto the model.
|
|
1896
|
+
* - **Second, the user can select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, skirts, shoes, and hats:**
|
|
1897
|
+
* - a. Specified product type: the user can directly specify the product type, and the system processes accordingly.
|
|
1898
|
+
* - b. Automatic type recognition: if the user does not specify a product type, the system automatically identifies the product category from the product image and performs the virtual try-on based on the recognition result.
|
|
1899
|
+
* - **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:**
|
|
1900
|
+
* - a. Preserves model details: the generation process does not alter the model\\"s appearance, hairstyle, pose, body shape, or other details from the original model image.
|
|
1901
|
+
* - b. Maintains 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.
|
|
1902
|
+
* - c. Generates try-on effect: the product is naturally applied onto the model, fitting the model\\"s pose and body structure to produce a coordinated and realistic virtual try-on image.
|
|
1903
|
+
* ## Sample results
|
|
1904
|
+
* | **Type** | **Model image** | **Garment image** | **Try-on result** |
|
|
1905
|
+
* | --- | --- | --- | --- |
|
|
1906
|
+
* | Tops |  |  |  |
|
|
1907
|
+
* | Bottoms |  |  |  |
|
|
1908
|
+
* | Shoes |  |  |  |
|
|
1909
|
+
* | Jumpsuits |  |  |  |
|
|
1910
|
+
* | Skirts |  |  |  |
|
|
1911
|
+
* | Hats |  |  |  |
|
|
1912
|
+
*
|
|
1913
|
+
* @param request - VirtualTryOnRequest
|
|
1914
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1915
|
+
* @returns VirtualTryOnResponse
|
|
1916
|
+
*/
|
|
1917
|
+
virtualTryOnWithOptions(request: $_model.VirtualTryOnRequest, runtime: $dara.RuntimeOptions): Promise<$_model.VirtualTryOnResponse>;
|
|
1918
|
+
/**
|
|
1919
|
+
* 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 achieve a realistic and well-fitted try-on result. You only need to provide the URL of the original product image to obtain a processed clean image.
|
|
1920
|
+
*
|
|
1921
|
+
* @remarks
|
|
1922
|
+
* ## Scenarios
|
|
1923
|
+
* - **Virtual try-on for clothing products:**
|
|
1924
|
+
* Supports multiple clothing categories such as tops, bottoms, jumpsuits, and skirts. After uploading a model image and a product image, the system generates a natural and realistic try-on effect that intuitively showcases how the clothing looks when worn.
|
|
1925
|
+
* - **Virtual try-on for shoes and hats:**
|
|
1926
|
+
* 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, producing a coordinated and realistic wearing effect.
|
|
1927
|
+
* - **E-commerce product display and marketing:**
|
|
1928
|
+
* Helps merchants quickly generate model try-on images for different products, reducing the costs of traditional photography, outfit changes, and post-production, and improving the production efficiency of product images.
|
|
1929
|
+
* - **Online shopping experience optimization:**
|
|
1930
|
+
* 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, which assists purchase decisions and enhances the shopping experience.
|
|
1931
|
+
* ## Features
|
|
1932
|
+
* - **First, the user needs to 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:**
|
|
1933
|
+
* - a. Model image: the image of the person for the virtual try-on.
|
|
1934
|
+
* - b. Product image: the image of the clothing, shoes, or hat to be applied onto the model.
|
|
1935
|
+
* - **Second, the user can select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, skirts, shoes, and hats:**
|
|
1936
|
+
* - a. Specified product type: the user can directly specify the product type, and the system processes accordingly.
|
|
1937
|
+
* - b. Automatic type recognition: if the user does not specify a product type, the system automatically identifies the product category from the product image and performs the virtual try-on based on the recognition result.
|
|
1938
|
+
* - **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:**
|
|
1939
|
+
* - a. Preserves model details: the generation process does not alter the model\\"s appearance, hairstyle, pose, body shape, or other details from the original model image.
|
|
1940
|
+
* - b. Maintains 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.
|
|
1941
|
+
* - c. Generates try-on effect: the product is naturally applied onto the model, fitting the model\\"s pose and body structure to produce a coordinated and realistic virtual try-on image.
|
|
1942
|
+
* ## Sample results
|
|
1943
|
+
* | **Type** | **Model image** | **Garment image** | **Try-on result** |
|
|
1944
|
+
* | --- | --- | --- | --- |
|
|
1945
|
+
* | Tops |  |  |  |
|
|
1946
|
+
* | Bottoms |  |  |  |
|
|
1947
|
+
* | Shoes |  |  |  |
|
|
1948
|
+
* | Jumpsuits |  |  |  |
|
|
1949
|
+
* | Skirts |  |  |  |
|
|
1950
|
+
* | Hats |  |  |  |
|
|
1951
|
+
*
|
|
1952
|
+
* @param request - VirtualTryOnRequest
|
|
1953
|
+
* @returns VirtualTryOnResponse
|
|
1954
|
+
*/
|
|
1955
|
+
virtualTryOn(request: $_model.VirtualTryOnRequest): Promise<$_model.VirtualTryOnResponse>;
|
|
1879
1956
|
/**
|
|
1880
1957
|
* Provides a one-stop AI-powered image processing service for e-commerce sellers. Orchestrates seven atomic capabilities — element detection, intelligent matting, intelligent removal, Image Translation Pro, image expansion, intelligent cropping, and HD upscaling — into an image processing workflow. Users upload an image once, select the desired capabilities, and complete multiple image optimizations sequentially in a single call to produce product images that meet listing platform requirements. (Asynchronous)
|
|
1881
1958
|
*
|