@alicloud/aidge20260428 5.3.2 → 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 +248 -110
- package/dist/client.js +316 -113
- 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/EcomVideoRecreationRequest.d.ts +156 -0
- package/dist/models/EcomVideoRecreationRequest.js +150 -0
- package/dist/models/EcomVideoRecreationRequest.js.map +1 -0
- package/dist/models/EcomVideoRecreationResponse.d.ts +19 -0
- package/dist/models/EcomVideoRecreationResponse.js +69 -0
- package/dist/models/EcomVideoRecreationResponse.js.map +1 -0
- package/dist/models/EcomVideoRecreationResponseBody.d.ts +70 -0
- package/dist/models/EcomVideoRecreationResponseBody.js +88 -0
- package/dist/models/EcomVideoRecreationResponseBody.js.map +1 -0
- package/dist/models/EcomVideoRecreationShrinkRequest.d.ts +25 -0
- package/dist/models/EcomVideoRecreationShrinkRequest.js +60 -0
- package/dist/models/EcomVideoRecreationShrinkRequest.js.map +1 -0
- 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/LanguageDetectRequest.d.ts +1 -1
- package/dist/models/LanguageDetectResponseBody.d.ts +2 -2
- 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/VideoGenerationRequest.d.ts +45 -8
- package/dist/models/VideoGenerationRequest.js.map +1 -1
- package/dist/models/VideoGenerationResponseBody.d.ts +5 -5
- 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 +12 -0
- package/dist/models/model.js +28 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +328 -113
- package/src/models/DocumentTranslateRequest.ts +2 -2
- package/src/models/DocumentTranslateResponseBody.ts +2 -2
- package/src/models/EcomVideoRecreationRequest.ts +234 -0
- package/src/models/EcomVideoRecreationResponse.ts +40 -0
- package/src/models/EcomVideoRecreationResponseBody.ts +104 -0
- package/src/models/EcomVideoRecreationShrinkRequest.ts +40 -0
- 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/LanguageDetectRequest.ts +1 -1
- package/src/models/LanguageDetectResponseBody.ts +2 -2
- package/src/models/TextTranslateRequest.ts +6 -6
- package/src/models/TextTranslateResponseBody.ts +5 -5
- package/src/models/TextTranslateShrinkRequest.ts +6 -6
- package/src/models/VideoGenerationRequest.ts +45 -8
- package/src/models/VideoGenerationResponseBody.ts +5 -5
- 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 +12 -0
package/src/client.ts
CHANGED
|
@@ -12,9 +12,6 @@ export default class Client extends OpenApi {
|
|
|
12
12
|
constructor(config: $OpenApiUtil.Config) {
|
|
13
13
|
super(config);
|
|
14
14
|
this._endpointRule = "regional";
|
|
15
|
-
this._endpointMap = {
|
|
16
|
-
'cn-beijing': "aidge.cn-beijing.aliyuncs.com",
|
|
17
|
-
};
|
|
18
15
|
this.checkConfig(config);
|
|
19
16
|
this._endpoint = this.getEndpoint("aidge", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
20
17
|
}
|
|
@@ -595,25 +592,25 @@ export default class Client extends OpenApi {
|
|
|
595
592
|
}
|
|
596
593
|
|
|
597
594
|
/**
|
|
598
|
-
* Designed specifically for document translation
|
|
599
|
-
*
|
|
600
|
-
* - Content accuracy: translation accuracy, and accuracy
|
|
601
|
-
* - Structural integrity: overall layout continuity,
|
|
595
|
+
* 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.
|
|
596
|
+
* Excels in the following areas:
|
|
597
|
+
* - Content accuracy: translation accuracy, parameter and unit accuracy.
|
|
598
|
+
* - Structural integrity: overall layout continuity, page margin and layout restoration.
|
|
602
599
|
*
|
|
603
600
|
* @remarks
|
|
604
601
|
* ## Product Introduction
|
|
605
|
-
* Designed specifically for document translation
|
|
602
|
+
* 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.
|
|
606
603
|
* Excels in the following areas:
|
|
607
604
|
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
608
|
-
* - Structural integrity: overall layout continuity, page margin and layout
|
|
609
|
-
* ##
|
|
610
|
-
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and other scenarios.
|
|
611
|
-
* ##
|
|
612
|
-
* - Supports PDF and Word formats. Supports source documents
|
|
605
|
+
* - Structural integrity: overall layout continuity, page margin and layout restoration
|
|
606
|
+
* ## Common scenarios
|
|
607
|
+
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and many other scenarios.
|
|
608
|
+
* ## Functions and features
|
|
609
|
+
* - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed language list, see section 4.5.
|
|
613
610
|
* - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
|
|
614
|
-
* - Supports high-fidelity layout
|
|
611
|
+
* - Supports high-fidelity layout restoration after translation.
|
|
615
612
|
* - A single PDF supports up to 100 pages. A single Word document supports up to 100 pages.
|
|
616
|
-
* - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value).
|
|
613
|
+
* - 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.
|
|
617
614
|
*
|
|
618
615
|
* @param request - DocumentTranslateRequest
|
|
619
616
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -656,25 +653,25 @@ export default class Client extends OpenApi {
|
|
|
656
653
|
}
|
|
657
654
|
|
|
658
655
|
/**
|
|
659
|
-
* Designed specifically for document translation
|
|
660
|
-
*
|
|
661
|
-
* - Content accuracy: translation accuracy, and accuracy
|
|
662
|
-
* - Structural integrity: overall layout continuity,
|
|
656
|
+
* 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.
|
|
657
|
+
* Excels in the following areas:
|
|
658
|
+
* - Content accuracy: translation accuracy, parameter and unit accuracy.
|
|
659
|
+
* - Structural integrity: overall layout continuity, page margin and layout restoration.
|
|
663
660
|
*
|
|
664
661
|
* @remarks
|
|
665
662
|
* ## Product Introduction
|
|
666
|
-
* Designed specifically for document translation
|
|
663
|
+
* 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.
|
|
667
664
|
* Excels in the following areas:
|
|
668
665
|
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
669
|
-
* - Structural integrity: overall layout continuity, page margin and layout
|
|
670
|
-
* ##
|
|
671
|
-
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and other scenarios.
|
|
672
|
-
* ##
|
|
673
|
-
* - Supports PDF and Word formats. Supports source documents
|
|
666
|
+
* - Structural integrity: overall layout continuity, page margin and layout restoration
|
|
667
|
+
* ## Common scenarios
|
|
668
|
+
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks and courseware, and many other scenarios.
|
|
669
|
+
* ## Functions and features
|
|
670
|
+
* - Supports PDF and Word formats. Supports source documents that contain multiple languages. For a detailed language list, see section 4.5.
|
|
674
671
|
* - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
|
|
675
|
-
* - Supports high-fidelity layout
|
|
672
|
+
* - Supports high-fidelity layout restoration after translation.
|
|
676
673
|
* - A single PDF supports up to 100 pages. A single Word document supports up to 100 pages.
|
|
677
|
-
* - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value).
|
|
674
|
+
* - 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.
|
|
678
675
|
*
|
|
679
676
|
* @param request - DocumentTranslateRequest
|
|
680
677
|
* @returns DocumentTranslateResponse
|
|
@@ -684,6 +681,108 @@ export default class Client extends OpenApi {
|
|
|
684
681
|
return await this.documentTranslateWithOptions(request, runtime);
|
|
685
682
|
}
|
|
686
683
|
|
|
684
|
+
/**
|
|
685
|
+
* E-commerce Video Remix is an AI video service designed for product content production. It covers video understanding, element replacement, quality verification, and result delivery. The service focuses on product and person consistency, detail restoration, conversion-oriented expression, and large-scale production. It supports targeted replacement of products or persons based on hit video templates while preserving the original actions, shot rhythm, and marketing structure to rapidly generate multi-version content and reduce shooting, editing, and adaptation costs.
|
|
686
|
+
*
|
|
687
|
+
* @remarks
|
|
688
|
+
* ## **Product Introduction**
|
|
689
|
+
* E-commerce Video Remix is an AI video service designed for product content production. It covers video understanding, element replacement, quality verification, and result delivery. The service focuses on product and person consistency, detail restoration, conversion-oriented expression, and large-scale production. It supports targeted replacement of products or persons based on hit video templates while preserving the original actions, shot rhythm, and marketing structure to rapidly generate multi-version content and reduce shooting, editing, and adaptation costs.
|
|
690
|
+
* ## **Scenarios**
|
|
691
|
+
* - **Video asset remix:** Use an existing e-commerce video as a template and replace only the specified product or person while preserving the original shots, rhythm, and marketing expression. This is suitable for multi-SKU, multi-model, multi-region, and multi-version asset production.
|
|
692
|
+
* - **New product launch with rapid asset generation:** For products launched in batches, reduce the need for live shooting, studio time, post-production editing, and repetitive production. Quickly generate video assets for new products and help merchants shorten the cycle from discovering a hit video to scripting and publishing new content.
|
|
693
|
+
* - **Product presentation and selling point expression:** Suitable for apparel, beauty and personal care, food and beverages, home and daily essentials, 3C electronics, and small appliances. Based on the selling point structure, display actions, and shot rhythm of the original video, generate presentation videos optimized for new product conversion.
|
|
694
|
+
* - **Multi-selling-point and multi-version testing:** Rapidly generate multiple versions based on different product selling points, target audiences, scripts, shots, and visual styles to support content testing and ad creative iteration.
|
|
695
|
+
* ## **Capabilities**
|
|
696
|
+
* ### **Core capabilities**
|
|
697
|
+
* Two replacement modes are supported:
|
|
698
|
+
* - **Product replacement (product_replacement):** Preserves the original video host identity, actions, scene, and selling structure while replacing the original product with the target product.
|
|
699
|
+
* - **Person replacement (person_replacement):** Preserves the original video product, actions, scene, and selling structure while replacing the on-screen person with the target person from a reference image or description.
|
|
700
|
+
* - **Fully automated end-to-end generation with zero prompt requirements:** Simply provide a reference video and a target product image or person image. The system automatically completes the entire pipeline including video understanding, script planning, storyboard design, first-frame generation, and video synthesis.
|
|
701
|
+
* - **Product understanding and information structuring:** Identifies product category, appearance, material, color, structure, and key components, and combines merchant-provided titles, attributes, and selling points to generate usable video expression information.
|
|
702
|
+
* - **Template video element replacement:** Supports replacing products or persons within the authorized scope, with configurable replacement and protection ranges to minimize changes in non-target areas.
|
|
703
|
+
* - **Product subject consistency:** Maintains stable product shape, color, texture, pattern, packaging, and logo across different shots, angles, actions, and scenes.
|
|
704
|
+
* - **Product fidelity:** Multi-round VL quality inspection locks product state (color, texture, structure, and print) throughout the process to prevent product feature drift.
|
|
705
|
+
* - **Strength category — Apparel:** Faithfully restores apparel details with attention to silhouette, wrinkles, drape, fabric texture, buttons, zippers, prints, and accessories, reducing clipping, deformation, texture loss, and detail artifacts.
|
|
706
|
+
* - **Selling point script and storyboard replication:** Replicates the selling point structure, video composition, shot sequence, display actions, voiceover content, and closing style of the original video.
|
|
707
|
+
* - **Commercial model matching:** Supports matching model appearance and display style based on product style, silhouette, target audience, and market requirements.
|
|
708
|
+
* - **Quality verification and result feedback:** Performs multi-dimensional checks on product subject, person, apparel, text, frame completeness, audio, and overall usability, and outputs result information for manual review.
|
|
709
|
+
*
|
|
710
|
+
* @param tmpReq - EcomVideoRecreationRequest
|
|
711
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
712
|
+
* @returns EcomVideoRecreationResponse
|
|
713
|
+
*/
|
|
714
|
+
async ecomVideoRecreationWithOptions(tmpReq: $_model.EcomVideoRecreationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EcomVideoRecreationResponse> {
|
|
715
|
+
tmpReq.validate();
|
|
716
|
+
let request = new $_model.EcomVideoRecreationShrinkRequest({ });
|
|
717
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
718
|
+
if (!$dara.isNull(tmpReq.input)) {
|
|
719
|
+
request.inputShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.input, "Input", "json");
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
if (!$dara.isNull(tmpReq.output)) {
|
|
723
|
+
request.outputShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.output, "Output", "json");
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
let query = { };
|
|
727
|
+
if (!$dara.isNull(request.inputShrink)) {
|
|
728
|
+
query["Input"] = request.inputShrink;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
if (!$dara.isNull(request.outputShrink)) {
|
|
732
|
+
query["Output"] = request.outputShrink;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
736
|
+
query: OpenApiUtil.query(query),
|
|
737
|
+
});
|
|
738
|
+
let params = new $OpenApiUtil.Params({
|
|
739
|
+
action: "EcomVideoRecreation",
|
|
740
|
+
version: "2026-04-28",
|
|
741
|
+
protocol: "HTTPS",
|
|
742
|
+
pathname: "/",
|
|
743
|
+
method: "POST",
|
|
744
|
+
authType: "AK",
|
|
745
|
+
style: "RPC",
|
|
746
|
+
reqBodyType: "formData",
|
|
747
|
+
bodyType: "json",
|
|
748
|
+
});
|
|
749
|
+
return $dara.cast<$_model.EcomVideoRecreationResponse>(await this.callApi(params, req, runtime), new $_model.EcomVideoRecreationResponse({}));
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* E-commerce Video Remix is an AI video service designed for product content production. It covers video understanding, element replacement, quality verification, and result delivery. The service focuses on product and person consistency, detail restoration, conversion-oriented expression, and large-scale production. It supports targeted replacement of products or persons based on hit video templates while preserving the original actions, shot rhythm, and marketing structure to rapidly generate multi-version content and reduce shooting, editing, and adaptation costs.
|
|
754
|
+
*
|
|
755
|
+
* @remarks
|
|
756
|
+
* ## **Product Introduction**
|
|
757
|
+
* E-commerce Video Remix is an AI video service designed for product content production. It covers video understanding, element replacement, quality verification, and result delivery. The service focuses on product and person consistency, detail restoration, conversion-oriented expression, and large-scale production. It supports targeted replacement of products or persons based on hit video templates while preserving the original actions, shot rhythm, and marketing structure to rapidly generate multi-version content and reduce shooting, editing, and adaptation costs.
|
|
758
|
+
* ## **Scenarios**
|
|
759
|
+
* - **Video asset remix:** Use an existing e-commerce video as a template and replace only the specified product or person while preserving the original shots, rhythm, and marketing expression. This is suitable for multi-SKU, multi-model, multi-region, and multi-version asset production.
|
|
760
|
+
* - **New product launch with rapid asset generation:** For products launched in batches, reduce the need for live shooting, studio time, post-production editing, and repetitive production. Quickly generate video assets for new products and help merchants shorten the cycle from discovering a hit video to scripting and publishing new content.
|
|
761
|
+
* - **Product presentation and selling point expression:** Suitable for apparel, beauty and personal care, food and beverages, home and daily essentials, 3C electronics, and small appliances. Based on the selling point structure, display actions, and shot rhythm of the original video, generate presentation videos optimized for new product conversion.
|
|
762
|
+
* - **Multi-selling-point and multi-version testing:** Rapidly generate multiple versions based on different product selling points, target audiences, scripts, shots, and visual styles to support content testing and ad creative iteration.
|
|
763
|
+
* ## **Capabilities**
|
|
764
|
+
* ### **Core capabilities**
|
|
765
|
+
* Two replacement modes are supported:
|
|
766
|
+
* - **Product replacement (product_replacement):** Preserves the original video host identity, actions, scene, and selling structure while replacing the original product with the target product.
|
|
767
|
+
* - **Person replacement (person_replacement):** Preserves the original video product, actions, scene, and selling structure while replacing the on-screen person with the target person from a reference image or description.
|
|
768
|
+
* - **Fully automated end-to-end generation with zero prompt requirements:** Simply provide a reference video and a target product image or person image. The system automatically completes the entire pipeline including video understanding, script planning, storyboard design, first-frame generation, and video synthesis.
|
|
769
|
+
* - **Product understanding and information structuring:** Identifies product category, appearance, material, color, structure, and key components, and combines merchant-provided titles, attributes, and selling points to generate usable video expression information.
|
|
770
|
+
* - **Template video element replacement:** Supports replacing products or persons within the authorized scope, with configurable replacement and protection ranges to minimize changes in non-target areas.
|
|
771
|
+
* - **Product subject consistency:** Maintains stable product shape, color, texture, pattern, packaging, and logo across different shots, angles, actions, and scenes.
|
|
772
|
+
* - **Product fidelity:** Multi-round VL quality inspection locks product state (color, texture, structure, and print) throughout the process to prevent product feature drift.
|
|
773
|
+
* - **Strength category — Apparel:** Faithfully restores apparel details with attention to silhouette, wrinkles, drape, fabric texture, buttons, zippers, prints, and accessories, reducing clipping, deformation, texture loss, and detail artifacts.
|
|
774
|
+
* - **Selling point script and storyboard replication:** Replicates the selling point structure, video composition, shot sequence, display actions, voiceover content, and closing style of the original video.
|
|
775
|
+
* - **Commercial model matching:** Supports matching model appearance and display style based on product style, silhouette, target audience, and market requirements.
|
|
776
|
+
* - **Quality verification and result feedback:** Performs multi-dimensional checks on product subject, person, apparel, text, frame completeness, audio, and overall usability, and outputs result information for manual review.
|
|
777
|
+
*
|
|
778
|
+
* @param request - EcomVideoRecreationRequest
|
|
779
|
+
* @returns EcomVideoRecreationResponse
|
|
780
|
+
*/
|
|
781
|
+
async ecomVideoRecreation(request: $_model.EcomVideoRecreationRequest): Promise<$_model.EcomVideoRecreationResponse> {
|
|
782
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
783
|
+
return await this.ecomVideoRecreationWithOptions(request, runtime);
|
|
784
|
+
}
|
|
785
|
+
|
|
687
786
|
/**
|
|
688
787
|
* Intelligently crops images to specified dimensions, automatically identifies the main subject area, and precisely crops to various sizes to meet design requirements across different scenarios. (Synchronous)
|
|
689
788
|
*
|
|
@@ -1563,18 +1662,18 @@ export default class Client extends OpenApi {
|
|
|
1563
1662
|
}
|
|
1564
1663
|
|
|
1565
1664
|
/**
|
|
1566
|
-
*
|
|
1665
|
+
* 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.
|
|
1567
1666
|
*
|
|
1568
1667
|
* @remarks
|
|
1569
1668
|
* ## Product Introduction
|
|
1570
|
-
*
|
|
1669
|
+
* 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.
|
|
1571
1670
|
* ## Scenarios
|
|
1572
1671
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1573
1672
|
* ## Features
|
|
1574
|
-
* - **Product subject protection**:
|
|
1575
|
-
* - **Post-translation editing**:
|
|
1576
|
-
* - **Brand name protection**:
|
|
1577
|
-
* - **Translation intervention**:
|
|
1673
|
+
* - **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.
|
|
1674
|
+
* - **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.
|
|
1675
|
+
* - **Brand name protection**: Specify whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
1676
|
+
* - **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.
|
|
1578
1677
|
* - **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1579
1678
|
*
|
|
1580
1679
|
* @param request - ImageTranslationProRequest
|
|
@@ -1634,18 +1733,18 @@ export default class Client extends OpenApi {
|
|
|
1634
1733
|
}
|
|
1635
1734
|
|
|
1636
1735
|
/**
|
|
1637
|
-
*
|
|
1736
|
+
* 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.
|
|
1638
1737
|
*
|
|
1639
1738
|
* @remarks
|
|
1640
1739
|
* ## Product Introduction
|
|
1641
|
-
*
|
|
1740
|
+
* 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.
|
|
1642
1741
|
* ## Scenarios
|
|
1643
1742
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1644
1743
|
* ## Features
|
|
1645
|
-
* - **Product subject protection**:
|
|
1646
|
-
* - **Post-translation editing**:
|
|
1647
|
-
* - **Brand name protection**:
|
|
1648
|
-
* - **Translation intervention**:
|
|
1744
|
+
* - **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.
|
|
1745
|
+
* - **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.
|
|
1746
|
+
* - **Brand name protection**: Specify whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
1747
|
+
* - **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.
|
|
1649
1748
|
* - **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1650
1749
|
*
|
|
1651
1750
|
* @param request - ImageTranslationProRequest
|
|
@@ -1657,22 +1756,22 @@ export default class Client extends OpenApi {
|
|
|
1657
1756
|
}
|
|
1658
1757
|
|
|
1659
1758
|
/**
|
|
1660
|
-
*
|
|
1759
|
+
* 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.
|
|
1661
1760
|
*
|
|
1662
1761
|
* @remarks
|
|
1663
1762
|
* # 1. Product Introduction
|
|
1664
|
-
*
|
|
1665
|
-
* # 2.
|
|
1763
|
+
* 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.
|
|
1764
|
+
* # 2. Applicable scenarios
|
|
1666
1765
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1667
1766
|
* # 3. Features
|
|
1668
|
-
* * **Product
|
|
1767
|
+
* * **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.
|
|
1669
1768
|
*
|
|
1670
|
-
* * **Brand name protection**:
|
|
1769
|
+
* * **Brand name protection**: You can choose whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
1671
1770
|
*
|
|
1672
|
-
* * **Secondary editing after translation (layer information)**:
|
|
1771
|
+
* * **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.
|
|
1673
1772
|
*
|
|
1674
|
-
* * **Translation intervention**:
|
|
1675
|
-
* * **Image editor integration**: For more information, see [Image
|
|
1773
|
+
* * **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.
|
|
1774
|
+
* * **Image editor integration support**: For more information, see [Image Translation editor protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1676
1775
|
*
|
|
1677
1776
|
* @param request - ImageTranslationStandardRequest
|
|
1678
1777
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1727,22 +1826,22 @@ export default class Client extends OpenApi {
|
|
|
1727
1826
|
}
|
|
1728
1827
|
|
|
1729
1828
|
/**
|
|
1730
|
-
*
|
|
1829
|
+
* 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.
|
|
1731
1830
|
*
|
|
1732
1831
|
* @remarks
|
|
1733
1832
|
* # 1. Product Introduction
|
|
1734
|
-
*
|
|
1735
|
-
* # 2.
|
|
1833
|
+
* 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.
|
|
1834
|
+
* # 2. Applicable scenarios
|
|
1736
1835
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1737
1836
|
* # 3. Features
|
|
1738
|
-
* * **Product
|
|
1837
|
+
* * **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.
|
|
1739
1838
|
*
|
|
1740
|
-
* * **Brand name protection**:
|
|
1839
|
+
* * **Brand name protection**: You can choose whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
1741
1840
|
*
|
|
1742
|
-
* * **Secondary editing after translation (layer information)**:
|
|
1841
|
+
* * **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.
|
|
1743
1842
|
*
|
|
1744
|
-
* * **Translation intervention**:
|
|
1745
|
-
* * **Image editor integration**: For more information, see [Image
|
|
1843
|
+
* * **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.
|
|
1844
|
+
* * **Image editor integration support**: For more information, see [Image Translation editor protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1746
1845
|
*
|
|
1747
1846
|
* @param request - ImageTranslationStandardRequest
|
|
1748
1847
|
* @returns ImageTranslationStandardResponse
|
|
@@ -1753,11 +1852,11 @@ export default class Client extends OpenApi {
|
|
|
1753
1852
|
}
|
|
1754
1853
|
|
|
1755
1854
|
/**
|
|
1756
|
-
* Supports automatic language identification for
|
|
1855
|
+
* Supports automatic language identification for 31 languages in query scenarios and 35 languages in general scenarios. Applicable to short text language identification such as search terms, titles, and conversations.
|
|
1757
1856
|
*
|
|
1758
1857
|
* @remarks
|
|
1759
1858
|
* ## Product Introduction
|
|
1760
|
-
* Supports automatic language identification for
|
|
1859
|
+
* Supports automatic language identification for 31 languages in query phrase scenarios and 35 languages in general scenarios. Applicable to short text language identification such as search terms, titles, and conversations. For supported language directions, refer to the [Language Direction Mapping Table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
1761
1860
|
*
|
|
1762
1861
|
* @param request - LanguageDetectRequest
|
|
1763
1862
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1792,11 +1891,11 @@ export default class Client extends OpenApi {
|
|
|
1792
1891
|
}
|
|
1793
1892
|
|
|
1794
1893
|
/**
|
|
1795
|
-
* Supports automatic language identification for
|
|
1894
|
+
* Supports automatic language identification for 31 languages in query scenarios and 35 languages in general scenarios. Applicable to short text language identification such as search terms, titles, and conversations.
|
|
1796
1895
|
*
|
|
1797
1896
|
* @remarks
|
|
1798
1897
|
* ## Product Introduction
|
|
1799
|
-
* Supports automatic language identification for
|
|
1898
|
+
* Supports automatic language identification for 31 languages in query phrase scenarios and 35 languages in general scenarios. Applicable to short text language identification such as search terms, titles, and conversations. For supported language directions, refer to the [Language Direction Mapping Table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
1800
1899
|
*
|
|
1801
1900
|
* @param request - LanguageDetectRequest
|
|
1802
1901
|
* @returns LanguageDetectResponse
|
|
@@ -2771,32 +2870,32 @@ export default class Client extends OpenApi {
|
|
|
2771
2870
|
}
|
|
2772
2871
|
|
|
2773
2872
|
/**
|
|
2774
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs,
|
|
2873
|
+
* 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.
|
|
2775
2874
|
*
|
|
2776
2875
|
* @remarks
|
|
2777
2876
|
* ## Product Introduction
|
|
2778
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs,
|
|
2877
|
+
* 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.
|
|
2779
2878
|
* ## Common scenarios
|
|
2780
2879
|
* - 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.
|
|
2781
2880
|
* - 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.
|
|
2782
|
-
* - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
|
|
2881
|
+
* - Product attributes: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and parameters.
|
|
2783
2882
|
* - 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.
|
|
2784
|
-
* Marco MT can also be used for general translation scenarios such as office work, meetings, and daily conversations.
|
|
2785
|
-
* ##
|
|
2883
|
+
* Marco MT can also be used for general translation scenarios, such as office work, meetings, and daily conversations.
|
|
2884
|
+
* ## Functions and features
|
|
2786
2885
|
* - **Supported language pairs**
|
|
2787
|
-
* Marco MT supports translation
|
|
2886
|
+
* 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).
|
|
2788
2887
|
* - **Ultra-low hallucination rate and high-speed inference**
|
|
2789
|
-
* Marco MT is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it
|
|
2888
|
+
* 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.
|
|
2790
2889
|
* - **Supported text format types**
|
|
2791
|
-
* Currently
|
|
2792
|
-
* - **Translation intervention**
|
|
2793
|
-
*
|
|
2890
|
+
* Currently, text and html text types are supported.
|
|
2891
|
+
* - **Translation intervention support**
|
|
2892
|
+
* 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.
|
|
2794
2893
|
* ## Translation quality comparison
|
|
2795
2894
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
2796
2895
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
2797
2896
|
* | 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 |
|
|
2798
2897
|
* | 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 |
|
|
2799
|
-
* | 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
|
|
2898
|
+
* | 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 |
|
|
2800
2899
|
*
|
|
2801
2900
|
* @param tmpReq - TextTranslateRequest
|
|
2802
2901
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2857,32 +2956,32 @@ export default class Client extends OpenApi {
|
|
|
2857
2956
|
}
|
|
2858
2957
|
|
|
2859
2958
|
/**
|
|
2860
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs,
|
|
2959
|
+
* 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.
|
|
2861
2960
|
*
|
|
2862
2961
|
* @remarks
|
|
2863
2962
|
* ## Product Introduction
|
|
2864
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs,
|
|
2963
|
+
* 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.
|
|
2865
2964
|
* ## Common scenarios
|
|
2866
2965
|
* - 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.
|
|
2867
2966
|
* - 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.
|
|
2868
|
-
* - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
|
|
2967
|
+
* - Product attributes: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and parameters.
|
|
2869
2968
|
* - 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.
|
|
2870
|
-
* Marco MT can also be used for general translation scenarios such as office work, meetings, and daily conversations.
|
|
2871
|
-
* ##
|
|
2969
|
+
* Marco MT can also be used for general translation scenarios, such as office work, meetings, and daily conversations.
|
|
2970
|
+
* ## Functions and features
|
|
2872
2971
|
* - **Supported language pairs**
|
|
2873
|
-
* Marco MT supports translation
|
|
2972
|
+
* 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).
|
|
2874
2973
|
* - **Ultra-low hallucination rate and high-speed inference**
|
|
2875
|
-
* Marco MT is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it
|
|
2974
|
+
* 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.
|
|
2876
2975
|
* - **Supported text format types**
|
|
2877
|
-
* Currently
|
|
2878
|
-
* - **Translation intervention**
|
|
2879
|
-
*
|
|
2976
|
+
* Currently, text and html text types are supported.
|
|
2977
|
+
* - **Translation intervention support**
|
|
2978
|
+
* 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.
|
|
2880
2979
|
* ## Translation quality comparison
|
|
2881
2980
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
2882
2981
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
2883
2982
|
* | 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 |
|
|
2884
2983
|
* | 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 |
|
|
2885
|
-
* | 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
|
|
2984
|
+
* | 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 |
|
|
2886
2985
|
*
|
|
2887
2986
|
* @param request - TextTranslateRequest
|
|
2888
2987
|
* @returns TextTranslateResponse
|
|
@@ -2893,25 +2992,25 @@ export default class Client extends OpenApi {
|
|
|
2893
2992
|
}
|
|
2894
2993
|
|
|
2895
2994
|
/**
|
|
2896
|
-
*
|
|
2995
|
+
* The E-commerce AI Video Generation Agent is designed for e-commerce merchants and platforms. Based on product main images, titles, selling points, and other information, it automatically generates 5–30 second product showcase short videos, helping customers efficiently produce and distribute e-commerce content. The product supports multiple resolution outputs such as 720P and 1080P, supports both quick single-product calls and multi-product batch generation, and accommodates both daily operations and large-scale product content production needs. Currently, it covers all apparel categories (tops, pants, skirts, suits, underwear, swimwear, etc.) and is gradually expanding to skincare, cosmetics, food and beverages, home appliances, and other core e-commerce categories.
|
|
2897
2996
|
*
|
|
2898
2997
|
* @remarks
|
|
2899
|
-
* #
|
|
2900
|
-
* - Sellers/platforms batch-generate product short videos: Supports multiple video aspect ratios and sizes (3:4, 9:16), suitable for product detail page video slots, product homepage
|
|
2901
|
-
* - New product launches with rapid initial video material generation: When merchants have a large number of new products to list, they only need to upload product images
|
|
2902
|
-
* - High-fidelity apparel display: Generates model showcase videos that closely resemble real commercial photography
|
|
2903
|
-
* - High-quality commercial photography models: Includes 20+ built-in target audience model libraries covering plus-size women, plus-size men, swimwear, youthful style, smart casual
|
|
2904
|
-
* - Standard product explanation and other high-frequency e-commerce scenarios:
|
|
2905
|
-
* - Multi-product
|
|
2998
|
+
* # Scenarios
|
|
2999
|
+
* - Sellers/platforms batch-generate product short videos: Supports multiple video aspect ratios and sizes (3:4, 9:16), suitable for product detail page video slots, product homepage displays, information feed placements, short video content marketing, campaign material, and other scenarios.
|
|
3000
|
+
* - New product launches with rapid initial video material generation: When merchants have a large number of new products to list, they only need to upload product images, product titles, and other basic information to quickly generate product showcase videos, model try-on videos, voiceover explanation videos, and other content, helping merchants rapidly complete material preparation during the launch phase.
|
|
3001
|
+
* - High-fidelity apparel display: Generates model showcase videos based on product main images that closely resemble real commercial photography, with key optimizations for silhouette accuracy, fabric texture preservation, color fidelity, and consistent detail stability. Supports common e-commerce display methods such as garment try-on, turning, walking, close-up shots, and multi-angle switching.
|
|
3002
|
+
* - High-quality commercial photography models: Includes 20+ built-in target audience model libraries covering plus-size women, plus-size men, swimwear, youthful style, smart casual commuter, young casual, business menswear, sports and fitness, and other body types, skin tones, and ethnicities. Supports multiple commercial photography presentation methods such as standing poses, side views, walking displays, and detail close-ups.
|
|
3003
|
+
* - Standard product explanation and other high-frequency e-commerce scenarios: Suitable for standardized product categories such as skincare, cosmetics, personal care small appliances, food and beverages, household cleaning products, and 3C digital products. Quickly generates product explanation videos based on product main images, titles, selling point information, and explanation scripts.
|
|
3004
|
+
* - Multi-product and multi-selling-point testing to improve placement efficiency: For information feed advertising, short video placement, and content marketing scenarios, quickly generates multiple versions of video materials, enabling businesses to cost-effectively validate the conversion performance of different selling points and presentation formats, improving placement ROI.
|
|
2906
3005
|
* # Features
|
|
2907
|
-
* - Fully automated end-to-end batch generation with zero prompt threshold: Callers only need to provide product image URLs and titles. The system automatically completes the entire process from product understanding, storyboard planning, to video generation without manual prompt writing, template selection, or repeated parameter tuning. Built-in multi-agent capabilities
|
|
2908
|
-
* - Highly stable generation with low
|
|
2909
|
-
* - E-commerce-specific product fidelity
|
|
2910
|
-
* - Reference image priority + 6-axis consistency verification:
|
|
2911
|
-
* - Flexible storyboard arrangement and duration control: Supports adjustable video duration
|
|
2912
|
-
* - Cinematic camera movement capabilities: Built-in advanced camera modes including bullet time, Grammy slow motion, 360° orbital rotation, and full-body model rotation display, achieving deterministic output through
|
|
2913
|
-
* - Model library and customization services: Built-in multi-type model resource library
|
|
2914
|
-
* - Adapted
|
|
3006
|
+
* - Fully automated end-to-end batch generation with zero prompt threshold: Callers only need to provide product image URLs and titles. The system automatically completes the entire process from product understanding, storyboard planning, to video generation, without manual prompt writing, template selection, or repeated parameter tuning. Built-in multi-agent capabilities for product understanding, visual quality inspection, script planning, and directing/camera movement significantly lower the barrier to use.
|
|
3007
|
+
* - Highly stable generation with low waste rate: Uses a deterministic generation process and multi-layer quality control mechanism to output usable materials with fewer retries, reducing invalid generation and resource waste, making overall production costs more controllable.
|
|
3008
|
+
* - E-commerce-specific product fidelity: Built-in multi-round quality inspection agents lock product state throughout video generation (for example, zippers will not be unzipped, sleeves will not be lowered, prints will not disappear). Multi-layer defense through "script rewriting + explicit constraint injection + failure-aware retry" ensures product consistency.
|
|
3009
|
+
* - Reference image priority + 6-axis consistency verification: Uses a Reference-Image-First generation paradigm with the original product image as the sole visual source of truth. Automatically performs 6-dimensional VL diagnostics (color drift, pattern loss, contour deviation, structural addition/removal, model matching, stain detection), fundamentally preventing generated images from deviating from the product.
|
|
3010
|
+
* - Flexible storyboard arrangement and duration control: Supports adjustable video duration from 5–30 seconds. The agent autonomously plans independent storyboards to showcase the product in different scenarios. Also supports fixed-scene mode for in-depth product presentation under a unified visual style.
|
|
3011
|
+
* - Cinematic camera movement capabilities: Built-in advanced camera movement modes including bullet time, Grammy-style slow motion, 360° orbital rotation, and full-body model rotation display, achieving deterministic output through segment-level precise control.
|
|
3012
|
+
* - Model library and customization services: Built-in multi-type model resource library. Supports merchants in specifying fixed models, customizing exclusive model personas, and long-term brand visual identity binding to ensure brand visual consistency.
|
|
3013
|
+
* - Adapted for high-frequency e-commerce content scenarios: Supports multiple resolutions such as 720P and 1080P and multiple aspect ratios such as 3:4 and 9:16, suitable for product detail page video slots, product homepage video displays, waterfall/information feed placements, campaign materials, and new product launch and promotional video generation.
|
|
2915
3014
|
*
|
|
2916
3015
|
* @param tmpReq - VideoGenerationRequest
|
|
2917
3016
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2964,25 +3063,25 @@ export default class Client extends OpenApi {
|
|
|
2964
3063
|
}
|
|
2965
3064
|
|
|
2966
3065
|
/**
|
|
2967
|
-
*
|
|
3066
|
+
* The E-commerce AI Video Generation Agent is designed for e-commerce merchants and platforms. Based on product main images, titles, selling points, and other information, it automatically generates 5–30 second product showcase short videos, helping customers efficiently produce and distribute e-commerce content. The product supports multiple resolution outputs such as 720P and 1080P, supports both quick single-product calls and multi-product batch generation, and accommodates both daily operations and large-scale product content production needs. Currently, it covers all apparel categories (tops, pants, skirts, suits, underwear, swimwear, etc.) and is gradually expanding to skincare, cosmetics, food and beverages, home appliances, and other core e-commerce categories.
|
|
2968
3067
|
*
|
|
2969
3068
|
* @remarks
|
|
2970
|
-
* #
|
|
2971
|
-
* - Sellers/platforms batch-generate product short videos: Supports multiple video aspect ratios and sizes (3:4, 9:16), suitable for product detail page video slots, product homepage
|
|
2972
|
-
* - New product launches with rapid initial video material generation: When merchants have a large number of new products to list, they only need to upload product images
|
|
2973
|
-
* - High-fidelity apparel display: Generates model showcase videos that closely resemble real commercial photography
|
|
2974
|
-
* - High-quality commercial photography models: Includes 20+ built-in target audience model libraries covering plus-size women, plus-size men, swimwear, youthful style, smart casual
|
|
2975
|
-
* - Standard product explanation and other high-frequency e-commerce scenarios:
|
|
2976
|
-
* - Multi-product
|
|
3069
|
+
* # Scenarios
|
|
3070
|
+
* - Sellers/platforms batch-generate product short videos: Supports multiple video aspect ratios and sizes (3:4, 9:16), suitable for product detail page video slots, product homepage displays, information feed placements, short video content marketing, campaign material, and other scenarios.
|
|
3071
|
+
* - New product launches with rapid initial video material generation: When merchants have a large number of new products to list, they only need to upload product images, product titles, and other basic information to quickly generate product showcase videos, model try-on videos, voiceover explanation videos, and other content, helping merchants rapidly complete material preparation during the launch phase.
|
|
3072
|
+
* - High-fidelity apparel display: Generates model showcase videos based on product main images that closely resemble real commercial photography, with key optimizations for silhouette accuracy, fabric texture preservation, color fidelity, and consistent detail stability. Supports common e-commerce display methods such as garment try-on, turning, walking, close-up shots, and multi-angle switching.
|
|
3073
|
+
* - High-quality commercial photography models: Includes 20+ built-in target audience model libraries covering plus-size women, plus-size men, swimwear, youthful style, smart casual commuter, young casual, business menswear, sports and fitness, and other body types, skin tones, and ethnicities. Supports multiple commercial photography presentation methods such as standing poses, side views, walking displays, and detail close-ups.
|
|
3074
|
+
* - Standard product explanation and other high-frequency e-commerce scenarios: Suitable for standardized product categories such as skincare, cosmetics, personal care small appliances, food and beverages, household cleaning products, and 3C digital products. Quickly generates product explanation videos based on product main images, titles, selling point information, and explanation scripts.
|
|
3075
|
+
* - Multi-product and multi-selling-point testing to improve placement efficiency: For information feed advertising, short video placement, and content marketing scenarios, quickly generates multiple versions of video materials, enabling businesses to cost-effectively validate the conversion performance of different selling points and presentation formats, improving placement ROI.
|
|
2977
3076
|
* # Features
|
|
2978
|
-
* - Fully automated end-to-end batch generation with zero prompt threshold: Callers only need to provide product image URLs and titles. The system automatically completes the entire process from product understanding, storyboard planning, to video generation without manual prompt writing, template selection, or repeated parameter tuning. Built-in multi-agent capabilities
|
|
2979
|
-
* - Highly stable generation with low
|
|
2980
|
-
* - E-commerce-specific product fidelity
|
|
2981
|
-
* - Reference image priority + 6-axis consistency verification:
|
|
2982
|
-
* - Flexible storyboard arrangement and duration control: Supports adjustable video duration
|
|
2983
|
-
* - Cinematic camera movement capabilities: Built-in advanced camera modes including bullet time, Grammy slow motion, 360° orbital rotation, and full-body model rotation display, achieving deterministic output through
|
|
2984
|
-
* - Model library and customization services: Built-in multi-type model resource library
|
|
2985
|
-
* - Adapted
|
|
3077
|
+
* - Fully automated end-to-end batch generation with zero prompt threshold: Callers only need to provide product image URLs and titles. The system automatically completes the entire process from product understanding, storyboard planning, to video generation, without manual prompt writing, template selection, or repeated parameter tuning. Built-in multi-agent capabilities for product understanding, visual quality inspection, script planning, and directing/camera movement significantly lower the barrier to use.
|
|
3078
|
+
* - Highly stable generation with low waste rate: Uses a deterministic generation process and multi-layer quality control mechanism to output usable materials with fewer retries, reducing invalid generation and resource waste, making overall production costs more controllable.
|
|
3079
|
+
* - E-commerce-specific product fidelity: Built-in multi-round quality inspection agents lock product state throughout video generation (for example, zippers will not be unzipped, sleeves will not be lowered, prints will not disappear). Multi-layer defense through "script rewriting + explicit constraint injection + failure-aware retry" ensures product consistency.
|
|
3080
|
+
* - Reference image priority + 6-axis consistency verification: Uses a Reference-Image-First generation paradigm with the original product image as the sole visual source of truth. Automatically performs 6-dimensional VL diagnostics (color drift, pattern loss, contour deviation, structural addition/removal, model matching, stain detection), fundamentally preventing generated images from deviating from the product.
|
|
3081
|
+
* - Flexible storyboard arrangement and duration control: Supports adjustable video duration from 5–30 seconds. The agent autonomously plans independent storyboards to showcase the product in different scenarios. Also supports fixed-scene mode for in-depth product presentation under a unified visual style.
|
|
3082
|
+
* - Cinematic camera movement capabilities: Built-in advanced camera movement modes including bullet time, Grammy-style slow motion, 360° orbital rotation, and full-body model rotation display, achieving deterministic output through segment-level precise control.
|
|
3083
|
+
* - Model library and customization services: Built-in multi-type model resource library. Supports merchants in specifying fixed models, customizing exclusive model personas, and long-term brand visual identity binding to ensure brand visual consistency.
|
|
3084
|
+
* - Adapted for high-frequency e-commerce content scenarios: Supports multiple resolutions such as 720P and 1080P and multiple aspect ratios such as 3:4 and 9:16, suitable for product detail page video slots, product homepage video displays, waterfall/information feed placements, campaign materials, and new product launch and promotional video generation.
|
|
2986
3085
|
*
|
|
2987
3086
|
* @param request - VideoGenerationRequest
|
|
2988
3087
|
* @returns VideoGenerationResponse
|
|
@@ -3094,6 +3193,122 @@ export default class Client extends OpenApi {
|
|
|
3094
3193
|
return await this.videoTranslationWithOptions(request, runtime);
|
|
3095
3194
|
}
|
|
3096
3195
|
|
|
3196
|
+
/**
|
|
3197
|
+
* 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.
|
|
3198
|
+
*
|
|
3199
|
+
* @remarks
|
|
3200
|
+
* ## Scenarios
|
|
3201
|
+
* - **Virtual try-on for clothing products:**
|
|
3202
|
+
* 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.
|
|
3203
|
+
* - **Virtual try-on for shoes and hats:**
|
|
3204
|
+
* 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.
|
|
3205
|
+
* - **E-commerce product display and marketing:**
|
|
3206
|
+
* 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.
|
|
3207
|
+
* - **Online shopping experience optimization:**
|
|
3208
|
+
* 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.
|
|
3209
|
+
* ## Features
|
|
3210
|
+
* - **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:**
|
|
3211
|
+
* - a. Model image: the image of the person for the virtual try-on.
|
|
3212
|
+
* - b. Product image: the image of the clothing, shoes, or hat to be applied onto the model.
|
|
3213
|
+
* - **Second, the user can select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, skirts, shoes, and hats:**
|
|
3214
|
+
* - a. Specified product type: the user can directly specify the product type, and the system processes accordingly.
|
|
3215
|
+
* - 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.
|
|
3216
|
+
* - **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:**
|
|
3217
|
+
* - 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.
|
|
3218
|
+
* - 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.
|
|
3219
|
+
* - 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.
|
|
3220
|
+
* ## Sample results
|
|
3221
|
+
* | **Type** | **Model image** | **Garment image** | **Try-on result** |
|
|
3222
|
+
* | --- | --- | --- | --- |
|
|
3223
|
+
* | Tops |  |  |  |
|
|
3224
|
+
* | Bottoms |  |  |  |
|
|
3225
|
+
* | Shoes |  |  |  |
|
|
3226
|
+
* | Jumpsuits |  |  |  |
|
|
3227
|
+
* | Skirts |  |  |  |
|
|
3228
|
+
* | Hats |  |  |  |
|
|
3229
|
+
*
|
|
3230
|
+
* @param request - VirtualTryOnRequest
|
|
3231
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3232
|
+
* @returns VirtualTryOnResponse
|
|
3233
|
+
*/
|
|
3234
|
+
async virtualTryOnWithOptions(request: $_model.VirtualTryOnRequest, runtime: $dara.RuntimeOptions): Promise<$_model.VirtualTryOnResponse> {
|
|
3235
|
+
request.validate();
|
|
3236
|
+
let query = { };
|
|
3237
|
+
if (!$dara.isNull(request.clothImageUrl)) {
|
|
3238
|
+
query["ClothImageUrl"] = request.clothImageUrl;
|
|
3239
|
+
}
|
|
3240
|
+
|
|
3241
|
+
if (!$dara.isNull(request.clothType)) {
|
|
3242
|
+
query["ClothType"] = request.clothType;
|
|
3243
|
+
}
|
|
3244
|
+
|
|
3245
|
+
if (!$dara.isNull(request.modelImageUrl)) {
|
|
3246
|
+
query["ModelImageUrl"] = request.modelImageUrl;
|
|
3247
|
+
}
|
|
3248
|
+
|
|
3249
|
+
if (!$dara.isNull(request.resolution)) {
|
|
3250
|
+
query["Resolution"] = request.resolution;
|
|
3251
|
+
}
|
|
3252
|
+
|
|
3253
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3254
|
+
query: OpenApiUtil.query(query),
|
|
3255
|
+
});
|
|
3256
|
+
let params = new $OpenApiUtil.Params({
|
|
3257
|
+
action: "VirtualTryOn",
|
|
3258
|
+
version: "2026-04-28",
|
|
3259
|
+
protocol: "HTTPS",
|
|
3260
|
+
pathname: "/",
|
|
3261
|
+
method: "POST",
|
|
3262
|
+
authType: "AK",
|
|
3263
|
+
style: "RPC",
|
|
3264
|
+
reqBodyType: "formData",
|
|
3265
|
+
bodyType: "json",
|
|
3266
|
+
});
|
|
3267
|
+
return $dara.cast<$_model.VirtualTryOnResponse>(await this.callApi(params, req, runtime), new $_model.VirtualTryOnResponse({}));
|
|
3268
|
+
}
|
|
3269
|
+
|
|
3270
|
+
/**
|
|
3271
|
+
* 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.
|
|
3272
|
+
*
|
|
3273
|
+
* @remarks
|
|
3274
|
+
* ## Scenarios
|
|
3275
|
+
* - **Virtual try-on for clothing products:**
|
|
3276
|
+
* 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.
|
|
3277
|
+
* - **Virtual try-on for shoes and hats:**
|
|
3278
|
+
* 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.
|
|
3279
|
+
* - **E-commerce product display and marketing:**
|
|
3280
|
+
* 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.
|
|
3281
|
+
* - **Online shopping experience optimization:**
|
|
3282
|
+
* 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.
|
|
3283
|
+
* ## Features
|
|
3284
|
+
* - **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:**
|
|
3285
|
+
* - a. Model image: the image of the person for the virtual try-on.
|
|
3286
|
+
* - b. Product image: the image of the clothing, shoes, or hat to be applied onto the model.
|
|
3287
|
+
* - **Second, the user can select the corresponding product type based on the actual product. Supported types include tops, bottoms, jumpsuits, skirts, shoes, and hats:**
|
|
3288
|
+
* - a. Specified product type: the user can directly specify the product type, and the system processes accordingly.
|
|
3289
|
+
* - 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.
|
|
3290
|
+
* - **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:**
|
|
3291
|
+
* - 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.
|
|
3292
|
+
* - 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.
|
|
3293
|
+
* - 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.
|
|
3294
|
+
* ## Sample results
|
|
3295
|
+
* | **Type** | **Model image** | **Garment image** | **Try-on result** |
|
|
3296
|
+
* | --- | --- | --- | --- |
|
|
3297
|
+
* | Tops |  |  |  |
|
|
3298
|
+
* | Bottoms |  |  |  |
|
|
3299
|
+
* | Shoes |  |  |  |
|
|
3300
|
+
* | Jumpsuits |  |  |  |
|
|
3301
|
+
* | Skirts |  |  |  |
|
|
3302
|
+
* | Hats |  |  |  |
|
|
3303
|
+
*
|
|
3304
|
+
* @param request - VirtualTryOnRequest
|
|
3305
|
+
* @returns VirtualTryOnResponse
|
|
3306
|
+
*/
|
|
3307
|
+
async virtualTryOn(request: $_model.VirtualTryOnRequest): Promise<$_model.VirtualTryOnResponse> {
|
|
3308
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3309
|
+
return await this.virtualTryOnWithOptions(request, runtime);
|
|
3310
|
+
}
|
|
3311
|
+
|
|
3097
3312
|
/**
|
|
3098
3313
|
* 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)
|
|
3099
3314
|
*
|