@alicloud/aidge20260428 5.7.1 → 5.8.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 +222 -76
- package/dist/client.js +338 -76
- package/dist/client.js.map +1 -1
- package/dist/models/DiduiAreaDeductionProRequest.d.ts +33 -0
- package/dist/models/DiduiAreaDeductionProRequest.js +60 -0
- package/dist/models/DiduiAreaDeductionProRequest.js.map +1 -0
- package/dist/models/DiduiAreaDeductionProResponse.d.ts +19 -0
- package/dist/models/DiduiAreaDeductionProResponse.js +69 -0
- package/dist/models/DiduiAreaDeductionProResponse.js.map +1 -0
- package/dist/models/DiduiAreaDeductionProResponseBody.d.ts +70 -0
- package/dist/models/DiduiAreaDeductionProResponseBody.js +88 -0
- package/dist/models/DiduiAreaDeductionProResponseBody.js.map +1 -0
- package/dist/models/GeneralRephotographyDetectionRequest.d.ts +23 -0
- package/dist/models/GeneralRephotographyDetectionRequest.js +58 -0
- package/dist/models/GeneralRephotographyDetectionRequest.js.map +1 -0
- package/dist/models/GeneralRephotographyDetectionResponse.d.ts +19 -0
- package/dist/models/GeneralRephotographyDetectionResponse.js +69 -0
- package/dist/models/GeneralRephotographyDetectionResponse.js.map +1 -0
- package/dist/models/GeneralRephotographyDetectionResponseBody.d.ts +170 -0
- package/dist/models/GeneralRephotographyDetectionResponseBody.js +172 -0
- package/dist/models/GeneralRephotographyDetectionResponseBody.js.map +1 -0
- package/dist/models/ImageTranslationPlusResponseBody.d.ts +1 -1
- package/dist/models/ImageTranslationProRequest.d.ts +3 -3
- package/dist/models/ImageTranslationStandardRequest.d.ts +10 -10
- package/dist/models/ImageTranslationStandardResponseBody.d.ts +8 -8
- package/dist/models/MerchandisePlacementDetectionProRequest.d.ts +39 -0
- package/dist/models/MerchandisePlacementDetectionProRequest.js +62 -0
- package/dist/models/MerchandisePlacementDetectionProRequest.js.map +1 -0
- package/dist/models/MerchandisePlacementDetectionProResponse.d.ts +19 -0
- package/dist/models/MerchandisePlacementDetectionProResponse.js +69 -0
- package/dist/models/MerchandisePlacementDetectionProResponse.js.map +1 -0
- package/dist/models/MerchandisePlacementDetectionProResponseBody.d.ts +118 -0
- package/dist/models/MerchandisePlacementDetectionProResponseBody.js +124 -0
- package/dist/models/MerchandisePlacementDetectionProResponseBody.js.map +1 -0
- package/dist/models/MerchandisePlacementDetectionRequest.d.ts +12 -5
- package/dist/models/MerchandisePlacementDetectionRequest.js.map +1 -1
- package/dist/models/MerchandisePlacementDetectionResponseBody.d.ts +7 -7
- package/dist/models/PetHealthAnalysisRequest.d.ts +36 -0
- package/dist/models/PetHealthAnalysisRequest.js +65 -0
- package/dist/models/PetHealthAnalysisRequest.js.map +1 -0
- package/dist/models/PetHealthAnalysisResponse.d.ts +19 -0
- package/dist/models/PetHealthAnalysisResponse.js +69 -0
- package/dist/models/PetHealthAnalysisResponse.js.map +1 -0
- package/dist/models/PetHealthAnalysisResponseBody.d.ts +70 -0
- package/dist/models/PetHealthAnalysisResponseBody.js +88 -0
- package/dist/models/PetHealthAnalysisResponseBody.js.map +1 -0
- package/dist/models/PetHealthAnalysisShrinkRequest.d.ts +36 -0
- package/dist/models/PetHealthAnalysisShrinkRequest.js +62 -0
- package/dist/models/PetHealthAnalysisShrinkRequest.js.map +1 -0
- package/dist/models/TextTranslateRequest.d.ts +6 -6
- package/dist/models/TextTranslateResponseBody.d.ts +1 -1
- package/dist/models/TextTranslateShrinkRequest.d.ts +6 -6
- package/dist/models/model.d.ts +21 -0
- package/dist/models/model.js +46 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +356 -76
- package/src/models/DiduiAreaDeductionProRequest.ts +48 -0
- package/src/models/DiduiAreaDeductionProResponse.ts +40 -0
- package/src/models/DiduiAreaDeductionProResponseBody.ts +104 -0
- package/src/models/GeneralRephotographyDetectionRequest.ts +36 -0
- package/src/models/GeneralRephotographyDetectionResponse.ts +40 -0
- package/src/models/GeneralRephotographyDetectionResponseBody.ts +259 -0
- package/src/models/ImageTranslationPlusResponseBody.ts +1 -1
- package/src/models/ImageTranslationProRequest.ts +3 -3
- package/src/models/ImageTranslationStandardRequest.ts +10 -10
- package/src/models/ImageTranslationStandardResponseBody.ts +8 -8
- package/src/models/MerchandisePlacementDetectionProRequest.ts +56 -0
- package/src/models/MerchandisePlacementDetectionProResponse.ts +40 -0
- package/src/models/MerchandisePlacementDetectionProResponseBody.ts +177 -0
- package/src/models/MerchandisePlacementDetectionRequest.ts +12 -5
- package/src/models/MerchandisePlacementDetectionResponseBody.ts +7 -7
- package/src/models/PetHealthAnalysisRequest.ts +56 -0
- package/src/models/PetHealthAnalysisResponse.ts +40 -0
- package/src/models/PetHealthAnalysisResponseBody.ts +104 -0
- package/src/models/PetHealthAnalysisShrinkRequest.ts +53 -0
- package/src/models/TextTranslateRequest.ts +6 -6
- package/src/models/TextTranslateResponseBody.ts +1 -1
- package/src/models/TextTranslateShrinkRequest.ts +6 -6
- package/src/models/model.ts +21 -0
package/dist/client.d.ts
CHANGED
|
@@ -354,6 +354,43 @@ export default class Client extends OpenApi {
|
|
|
354
354
|
* @returns DiduiAreaDeductionResponse
|
|
355
355
|
*/
|
|
356
356
|
diduiAreaDeduction(request: $_model.DiduiAreaDeductionRequest): Promise<$_model.DiduiAreaDeductionResponse>;
|
|
357
|
+
/**
|
|
358
|
+
* Analyzes the floor display area based on product recognition, SKU asset knowledge base, and a dedicated area reasoning model building. The product first locates floor display products, then reads the actual length, width, height, and reference images of the corresponding SKUs to infer the two side lengths and area of the bounding rectangle of the floor display footprint. This is applicable to floor display scale assessment and inspection review in retail stores.
|
|
359
|
+
*
|
|
360
|
+
* @remarks
|
|
361
|
+
* *Scenarios**
|
|
362
|
+
* - Floor display area assessment: Infers the bounding rectangle area of the floor display footprint based on an overall photo of the floor display and the actual dimensions of the products.
|
|
363
|
+
* - Multi-SKU mixed arrangement analysis: Uses the dimensions of each different product to participate in side length inference.
|
|
364
|
+
* - Area result review: Verifies results by combining the original image, product assets, and the returned two side lengths and area.
|
|
365
|
+
* **Features**
|
|
366
|
+
* - SKU asset-driven: Specifies the asset knowledge base through ragId. Each participating product must have a name, positive length, width, and height values, and at least one HTTPS reference image.
|
|
367
|
+
* - Phased area inference: Sequentially forms decision edges, SKU projections, dimension accumulation, and final area.
|
|
368
|
+
* - Unified units: SKU asset dimensions are stored in centimeters. Result side lengths are output in meters and area in square meters.
|
|
369
|
+
* - Completeness and numerical validation: Returns failure when there are missing assets, no valid bounding boxes, or the area does not satisfy product consistency.
|
|
370
|
+
*
|
|
371
|
+
* @param request - DiduiAreaDeductionProRequest
|
|
372
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
373
|
+
* @returns DiduiAreaDeductionProResponse
|
|
374
|
+
*/
|
|
375
|
+
diduiAreaDeductionProWithOptions(request: $_model.DiduiAreaDeductionProRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DiduiAreaDeductionProResponse>;
|
|
376
|
+
/**
|
|
377
|
+
* Analyzes the floor display area based on product recognition, SKU asset knowledge base, and a dedicated area reasoning model building. The product first locates floor display products, then reads the actual length, width, height, and reference images of the corresponding SKUs to infer the two side lengths and area of the bounding rectangle of the floor display footprint. This is applicable to floor display scale assessment and inspection review in retail stores.
|
|
378
|
+
*
|
|
379
|
+
* @remarks
|
|
380
|
+
* *Scenarios**
|
|
381
|
+
* - Floor display area assessment: Infers the bounding rectangle area of the floor display footprint based on an overall photo of the floor display and the actual dimensions of the products.
|
|
382
|
+
* - Multi-SKU mixed arrangement analysis: Uses the dimensions of each different product to participate in side length inference.
|
|
383
|
+
* - Area result review: Verifies results by combining the original image, product assets, and the returned two side lengths and area.
|
|
384
|
+
* **Features**
|
|
385
|
+
* - SKU asset-driven: Specifies the asset knowledge base through ragId. Each participating product must have a name, positive length, width, and height values, and at least one HTTPS reference image.
|
|
386
|
+
* - Phased area inference: Sequentially forms decision edges, SKU projections, dimension accumulation, and final area.
|
|
387
|
+
* - Unified units: SKU asset dimensions are stored in centimeters. Result side lengths are output in meters and area in square meters.
|
|
388
|
+
* - Completeness and numerical validation: Returns failure when there are missing assets, no valid bounding boxes, or the area does not satisfy product consistency.
|
|
389
|
+
*
|
|
390
|
+
* @param request - DiduiAreaDeductionProRequest
|
|
391
|
+
* @returns DiduiAreaDeductionProResponse
|
|
392
|
+
*/
|
|
393
|
+
diduiAreaDeductionPro(request: $_model.DiduiAreaDeductionProRequest): Promise<$_model.DiduiAreaDeductionProResponse>;
|
|
357
394
|
/**
|
|
358
395
|
* Designed specifically for document translation. Supports translation between more than 400 language pairs (including bridged pairs) to handle multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
|
|
359
396
|
* Excels in the following areas:
|
|
@@ -466,6 +503,43 @@ export default class Client extends OpenApi {
|
|
|
466
503
|
* @returns EcomVideoRecreationResponse
|
|
467
504
|
*/
|
|
468
505
|
ecomVideoRecreation(request: $_model.EcomVideoRecreationRequest): Promise<$_model.EcomVideoRecreationResponse>;
|
|
506
|
+
/**
|
|
507
|
+
* Provides a general-purpose image review service built on recapture recognition and multimodal large model element localization. The service determines whether an image is a recaptured photo and locates primary physical products, screen display areas, printed photos, and visible recapture clues. It is applicable to risk screening and manual review of inspection photos across multiple store categories.
|
|
508
|
+
*
|
|
509
|
+
* @remarks
|
|
510
|
+
* *Scenarios**
|
|
511
|
+
* 1. Inspection photo review: Screens photos submitted by stores for recapture risks.
|
|
512
|
+
* 2. Screen or printed photo recapture verification: Locates visible screens, printed photos, and other carriers.
|
|
513
|
+
* 3. Review clue display: Annotates products and visible clues on the original image to assist re-examination.
|
|
514
|
+
* **Features**
|
|
515
|
+
* 1. General recapture detection: Returns an isFake Boolean result.
|
|
516
|
+
* 2. Review element localization: Distinguishes physical products, screens, printed photos, and visible recapture clues. Products displayed within a screen are not redundantly output as physical products.
|
|
517
|
+
* 3. Separate presentation of clues and conclusions: Localization text describes only visible phenomena. Normal reflections or standard packaging prints are not directly treated as recapture evidence.
|
|
518
|
+
* Supports a single HTTPS image as input. Supplementary localization returns up to 12 targets, each containing a category, a bounding box, and up to 24 characters of visible text. The coverage field indicates whether the localization is complete.
|
|
519
|
+
*
|
|
520
|
+
* @param request - GeneralRephotographyDetectionRequest
|
|
521
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
522
|
+
* @returns GeneralRephotographyDetectionResponse
|
|
523
|
+
*/
|
|
524
|
+
generalRephotographyDetectionWithOptions(request: $_model.GeneralRephotographyDetectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GeneralRephotographyDetectionResponse>;
|
|
525
|
+
/**
|
|
526
|
+
* Provides a general-purpose image review service built on recapture recognition and multimodal large model element localization. The service determines whether an image is a recaptured photo and locates primary physical products, screen display areas, printed photos, and visible recapture clues. It is applicable to risk screening and manual review of inspection photos across multiple store categories.
|
|
527
|
+
*
|
|
528
|
+
* @remarks
|
|
529
|
+
* *Scenarios**
|
|
530
|
+
* 1. Inspection photo review: Screens photos submitted by stores for recapture risks.
|
|
531
|
+
* 2. Screen or printed photo recapture verification: Locates visible screens, printed photos, and other carriers.
|
|
532
|
+
* 3. Review clue display: Annotates products and visible clues on the original image to assist re-examination.
|
|
533
|
+
* **Features**
|
|
534
|
+
* 1. General recapture detection: Returns an isFake Boolean result.
|
|
535
|
+
* 2. Review element localization: Distinguishes physical products, screens, printed photos, and visible recapture clues. Products displayed within a screen are not redundantly output as physical products.
|
|
536
|
+
* 3. Separate presentation of clues and conclusions: Localization text describes only visible phenomena. Normal reflections or standard packaging prints are not directly treated as recapture evidence.
|
|
537
|
+
* Supports a single HTTPS image as input. Supplementary localization returns up to 12 targets, each containing a category, a bounding box, and up to 24 characters of visible text. The coverage field indicates whether the localization is complete.
|
|
538
|
+
*
|
|
539
|
+
* @param request - GeneralRephotographyDetectionRequest
|
|
540
|
+
* @returns GeneralRephotographyDetectionResponse
|
|
541
|
+
*/
|
|
542
|
+
generalRephotographyDetection(request: $_model.GeneralRephotographyDetectionRequest): Promise<$_model.GeneralRephotographyDetectionResponse>;
|
|
469
543
|
/**
|
|
470
544
|
* 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)
|
|
471
545
|
*
|
|
@@ -980,13 +1054,13 @@ export default class Client extends OpenApi {
|
|
|
980
1054
|
*/
|
|
981
1055
|
imageRemove(request: $_model.ImageRemoveRequest): Promise<$_model.ImageRemoveResponse>;
|
|
982
1056
|
/**
|
|
983
|
-
*
|
|
1057
|
+
* Image Translation Plus is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and delivers superior translation accuracy for multiple minority languages compared to the Lite and Pro editions. We recommend using it for the following 12 language pairs, with more language pairs to be supported in the future.
|
|
984
1058
|
*
|
|
985
1059
|
* @remarks
|
|
986
1060
|
* ## Product Introduction
|
|
987
|
-
* Image Translation
|
|
1061
|
+
* Image Translation Plus is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and delivers superior translation accuracy for multiple minority languages compared to the Lite and Pro editions. We recommend using it for the following 8 language pairs, with more language pairs to be supported in the future.
|
|
988
1062
|
* Supported language pairs:
|
|
989
|
-
* | **
|
|
1063
|
+
* | **No.** | **Source language** | | **Target language** | |
|
|
990
1064
|
* | --- | --- | --- | --- | --- |
|
|
991
1065
|
* | | Language code | Language name | Language code | Language name |
|
|
992
1066
|
* | 1 | en | English | ar | Arabic |
|
|
@@ -1008,7 +1082,7 @@ export default class Client extends OpenApi {
|
|
|
1008
1082
|
*
|
|
1009
1083
|
* * **Brand name protection**: Allows you to choose whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
1010
1084
|
*
|
|
1011
|
-
* * **Translation intervention**: Allows you to customize translation results, including keeping text untranslated (ABC-ABC), specifying a translation (ABC-DEF), or removing text (ABC-empty value). This is commonly used for brand name protection and similar scenarios.
|
|
1085
|
+
* * **Translation intervention**: Allows you to customize translation results, including keeping text untranslated (ABC-ABC), specifying a translation (ABC-DEF), or removing text (ABC-empty value). This is commonly used for brand name protection and similar scenarios. Pass the corresponding intervention glossary ID when calling the API operation. This meets your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1012
1086
|
*
|
|
1013
1087
|
* @param request - ImageTranslationPlusRequest
|
|
1014
1088
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1016,13 +1090,13 @@ export default class Client extends OpenApi {
|
|
|
1016
1090
|
*/
|
|
1017
1091
|
imageTranslationPlusWithOptions(request: $_model.ImageTranslationPlusRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationPlusResponse>;
|
|
1018
1092
|
/**
|
|
1019
|
-
*
|
|
1093
|
+
* Image Translation Plus is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and delivers superior translation accuracy for multiple minority languages compared to the Lite and Pro editions. We recommend using it for the following 12 language pairs, with more language pairs to be supported in the future.
|
|
1020
1094
|
*
|
|
1021
1095
|
* @remarks
|
|
1022
1096
|
* ## Product Introduction
|
|
1023
|
-
* Image Translation
|
|
1097
|
+
* Image Translation Plus is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and delivers superior translation accuracy for multiple minority languages compared to the Lite and Pro editions. We recommend using it for the following 8 language pairs, with more language pairs to be supported in the future.
|
|
1024
1098
|
* Supported language pairs:
|
|
1025
|
-
* | **
|
|
1099
|
+
* | **No.** | **Source language** | | **Target language** | |
|
|
1026
1100
|
* | --- | --- | --- | --- | --- |
|
|
1027
1101
|
* | | Language code | Language name | Language code | Language name |
|
|
1028
1102
|
* | 1 | en | English | ar | Arabic |
|
|
@@ -1044,25 +1118,25 @@ export default class Client extends OpenApi {
|
|
|
1044
1118
|
*
|
|
1045
1119
|
* * **Brand name protection**: Allows you to choose whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
1046
1120
|
*
|
|
1047
|
-
* * **Translation intervention**: Allows you to customize translation results, including keeping text untranslated (ABC-ABC), specifying a translation (ABC-DEF), or removing text (ABC-empty value). This is commonly used for brand name protection and similar scenarios.
|
|
1121
|
+
* * **Translation intervention**: Allows you to customize translation results, including keeping text untranslated (ABC-ABC), specifying a translation (ABC-DEF), or removing text (ABC-empty value). This is commonly used for brand name protection and similar scenarios. Pass the corresponding intervention glossary ID when calling the API operation. This meets your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1048
1122
|
*
|
|
1049
1123
|
* @param request - ImageTranslationPlusRequest
|
|
1050
1124
|
* @returns ImageTranslationPlusResponse
|
|
1051
1125
|
*/
|
|
1052
1126
|
imageTranslationPlus(request: $_model.ImageTranslationPlusRequest): Promise<$_model.ImageTranslationPlusResponse>;
|
|
1053
1127
|
/**
|
|
1054
|
-
* Image Translation Pro is designed for e-commerce images. It integrates multimodal
|
|
1128
|
+
* 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 400 language directions (including bridged directions).
|
|
1055
1129
|
*
|
|
1056
1130
|
* @remarks
|
|
1057
1131
|
* ## Product Introduction
|
|
1058
|
-
* Image Translation Pro is designed for e-commerce images. It integrates multimodal
|
|
1132
|
+
* Image Translation Pro is designed for e-commerce images. It integrates multimodal foundation model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. It supports more than 400 language directions (including bridged directions).
|
|
1059
1133
|
* ## Scenarios
|
|
1060
1134
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1061
1135
|
* ## Features
|
|
1062
1136
|
* - **Product subject protection**: Specify whether to translate text on the product subject. This helps you protect subject information from being translated, such as embedded information like product names.
|
|
1063
|
-
* - **Post-translation editing**: Specify whether to return layout information such as text position, font, and color. This can be used for secondary editing when integrated with an image editor. The editor SDK is not yet available. Follow platform notifications for updates.
|
|
1137
|
+
* - **Post-translation editing**: Specify whether to return layout information such as text position, font, and color. This can be used for secondary editing when integrated with an image editor. The editor SDK package is not yet available. Follow platform notifications for updates.
|
|
1064
1138
|
* - **Brand name protection**: Specify whether to translate brand names on images. This helps you protect brand name information from being translated.
|
|
1065
|
-
* - **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
|
|
1139
|
+
* - **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. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1066
1140
|
* - <props="china"> **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1067
1141
|
*
|
|
1068
1142
|
* @param request - ImageTranslationProRequest
|
|
@@ -1071,18 +1145,18 @@ export default class Client extends OpenApi {
|
|
|
1071
1145
|
*/
|
|
1072
1146
|
imageTranslationProWithOptions(request: $_model.ImageTranslationProRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationProResponse>;
|
|
1073
1147
|
/**
|
|
1074
|
-
* Image Translation Pro is designed for e-commerce images. It integrates multimodal
|
|
1148
|
+
* 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 400 language directions (including bridged directions).
|
|
1075
1149
|
*
|
|
1076
1150
|
* @remarks
|
|
1077
1151
|
* ## Product Introduction
|
|
1078
|
-
* Image Translation Pro is designed for e-commerce images. It integrates multimodal
|
|
1152
|
+
* Image Translation Pro is designed for e-commerce images. It integrates multimodal foundation model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. It supports more than 400 language directions (including bridged directions).
|
|
1079
1153
|
* ## Scenarios
|
|
1080
1154
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1081
1155
|
* ## Features
|
|
1082
1156
|
* - **Product subject protection**: Specify whether to translate text on the product subject. This helps you protect subject information from being translated, such as embedded information like product names.
|
|
1083
|
-
* - **Post-translation editing**: Specify whether to return layout information such as text position, font, and color. This can be used for secondary editing when integrated with an image editor. The editor SDK is not yet available. Follow platform notifications for updates.
|
|
1157
|
+
* - **Post-translation editing**: Specify whether to return layout information such as text position, font, and color. This can be used for secondary editing when integrated with an image editor. The editor SDK package is not yet available. Follow platform notifications for updates.
|
|
1084
1158
|
* - **Brand name protection**: Specify whether to translate brand names on images. This helps you protect brand name information from being translated.
|
|
1085
|
-
* - **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
|
|
1159
|
+
* - **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. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1086
1160
|
* - <props="china"> **Image editor integration**: For more information, see [Image Translation Editor Protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1087
1161
|
*
|
|
1088
1162
|
* @param request - ImageTranslationProRequest
|
|
@@ -1090,21 +1164,21 @@ export default class Client extends OpenApi {
|
|
|
1090
1164
|
*/
|
|
1091
1165
|
imageTranslationPro(request: $_model.ImageTranslationProRequest): Promise<$_model.ImageTranslationProResponse>;
|
|
1092
1166
|
/**
|
|
1093
|
-
* Image Translation is designed specifically for e-commerce images. It supports more than
|
|
1167
|
+
* Image Translation is designed specifically for e-commerce images. It supports more than 400 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, which facilitates secondary editing of translation results through an image editor.
|
|
1094
1168
|
*
|
|
1095
1169
|
* @remarks
|
|
1096
1170
|
* # 1. Product Introduction
|
|
1097
|
-
* 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,
|
|
1098
|
-
* # 2.
|
|
1171
|
+
* 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, which facilitates secondary editing of translation results through an image editor.
|
|
1172
|
+
* # 2. Common scenarios
|
|
1099
1173
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1100
1174
|
* # 3. Features
|
|
1101
|
-
* * **Product area protection**:
|
|
1175
|
+
* * **Product area protection**: You can choose whether to translate text on the product area of an image. This helps protect product area information from being translated, such as embedded product names.
|
|
1102
1176
|
*
|
|
1103
|
-
* * **Brand name protection**:
|
|
1177
|
+
* * **Brand name protection**: You can choose whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
1104
1178
|
*
|
|
1105
|
-
* * **Secondary editing after translation (layer information)**:
|
|
1179
|
+
* * **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 connect to an image editor for secondary editing of translation results. For the release progress of the editor SDK package, follow platform notifications.
|
|
1106
1180
|
*
|
|
1107
|
-
* * **Translation intervention**:
|
|
1181
|
+
* * **Translation intervention**: You can customize translation results, including keeping text untranslated (ABC-ABC), specifying translations (ABC-DEF), or removing text (ABC-empty value). This is commonly used for scenarios such as brand name protection. Simply pass the corresponding intervention glossary ID when calling the API operation. This meets your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1108
1182
|
* * **Image editor integration**: For more information, see [Image Translation editor protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1109
1183
|
*
|
|
1110
1184
|
* @param request - ImageTranslationStandardRequest
|
|
@@ -1113,21 +1187,21 @@ export default class Client extends OpenApi {
|
|
|
1113
1187
|
*/
|
|
1114
1188
|
imageTranslationStandardWithOptions(request: $_model.ImageTranslationStandardRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationStandardResponse>;
|
|
1115
1189
|
/**
|
|
1116
|
-
* Image Translation is designed specifically for e-commerce images. It supports more than
|
|
1190
|
+
* Image Translation is designed specifically for e-commerce images. It supports more than 400 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, which facilitates secondary editing of translation results through an image editor.
|
|
1117
1191
|
*
|
|
1118
1192
|
* @remarks
|
|
1119
1193
|
* # 1. Product Introduction
|
|
1120
|
-
* 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,
|
|
1121
|
-
* # 2.
|
|
1194
|
+
* 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, which facilitates secondary editing of translation results through an image editor.
|
|
1195
|
+
* # 2. Common scenarios
|
|
1122
1196
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
1123
1197
|
* # 3. Features
|
|
1124
|
-
* * **Product area protection**:
|
|
1198
|
+
* * **Product area protection**: You can choose whether to translate text on the product area of an image. This helps protect product area information from being translated, such as embedded product names.
|
|
1125
1199
|
*
|
|
1126
|
-
* * **Brand name protection**:
|
|
1200
|
+
* * **Brand name protection**: You can choose whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
1127
1201
|
*
|
|
1128
|
-
* * **Secondary editing after translation (layer information)**:
|
|
1202
|
+
* * **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 connect to an image editor for secondary editing of translation results. For the release progress of the editor SDK package, follow platform notifications.
|
|
1129
1203
|
*
|
|
1130
|
-
* * **Translation intervention**:
|
|
1204
|
+
* * **Translation intervention**: You can customize translation results, including keeping text untranslated (ABC-ABC), specifying translations (ABC-DEF), or removing text (ABC-empty value). This is commonly used for scenarios such as brand name protection. Simply pass the corresponding intervention glossary ID when calling the API operation. This meets your translation needs across different scenarios. You can upload up to 100,000 intervention terms. If you need more, contact the platform for assistance.
|
|
1131
1205
|
* * **Image editor integration**: For more information, see [Image Translation editor protocol](https://www.alibabacloud.com/help/en/document_detail/3042647.html).
|
|
1132
1206
|
*
|
|
1133
1207
|
* @param request - ImageTranslationStandardRequest
|
|
@@ -1217,25 +1291,25 @@ export default class Client extends OpenApi {
|
|
|
1217
1291
|
*/
|
|
1218
1292
|
materialInspection(request: $_model.MaterialInspectionRequest): Promise<$_model.MaterialInspectionResponse>;
|
|
1219
1293
|
/**
|
|
1220
|
-
* Detects and identifies products displayed on store shelves or floor stacks by
|
|
1294
|
+
* Detects and identifies products displayed on store shelves or floor stacks by using a multimodal large language model (MLLM) combined with visual vector recall. The service is designed for shelf and floor stack inspection scenarios in offline retail and channel stores. It first uses the MLLM to detect the bounding box and preliminary name of each product in a store photo, then performs similarity recall against a customer-specific SKU vector library to exactly match each product to the customer\\"s own SKUs, and outputs per-product structured results that can be directly integrated with business systems. This service is suitable for large-scale, high-concurrent visual recognition pipelines such as remote display auditing by headquarters, SKU distribution verification, and display compliance inspection for offline stores.
|
|
1221
1295
|
*
|
|
1222
1296
|
* @remarks
|
|
1223
1297
|
* ## **Product Introduction**
|
|
1224
|
-
* Display detection is an intelligent
|
|
1298
|
+
* Display detection is an intelligent product display recognition capability built on a multimodal large language model (MLLM) combined with visual vector recall. It is designed for shelf and floor stack inspection scenarios in offline retail and channel stores. The service takes real photos of store shelves and floor stacks, first uses the MLLM to detect the bounding box and preliminary name of each product, then performs similarity recall against a customer-specific SKU vector library to exactly match each product to the customer\\"s own SKUs, and outputs per-product structured results that can be directly integrated with business systems. This service is suitable for large-scale, high-concurrent visual recognition pipelines such as remote display auditing by headquarters, SKU distribution verification, and display compliance inspection for offline stores.
|
|
1225
1299
|
* ## **Scenarios**
|
|
1226
|
-
* - **Shelf/floor
|
|
1300
|
+
* - **Shelf/floor stack display recognition and inventory**: Identifies each product in a shelf or floor stack image, matches it to the customer\\"s SKU library, and outputs a per-product list (product name + position + similarity score), replacing manual counting.
|
|
1227
1301
|
*
|
|
1228
|
-
* - **Distribution verification/SKU compliance**: Verifies whether a store displays the specified SKUs as required by headquarters and whether any out-of-stock or misplaced items exist
|
|
1302
|
+
* - **Distribution verification/SKU compliance**: Verifies whether a store displays the specified SKUs as required by headquarters and whether any out-of-stock or misplaced items exist. This supports batch automated verification during sales promotions or new product launches.
|
|
1229
1303
|
*
|
|
1230
|
-
* - **Customer-specific SKU library**: Customers can upload their own standard SKU images to build a dedicated vector library (isolated by `RagId`). During recognition,
|
|
1231
|
-
* ## **
|
|
1232
|
-
* - **Two-stage detection +
|
|
1304
|
+
* - **Customer-specific SKU library**: Customers can upload their own standard SKU images to build a dedicated vector library (isolated by `RagId`). During recognition, retrieval is performed only within the corresponding customer library, ensuring name accuracy and data isolation between customers.
|
|
1305
|
+
* ## **Functions and features**
|
|
1306
|
+
* - **Two-stage detection + retrieval pipeline**: The MLLM detects each product bounding box and preliminary name across the entire image (semantic-level understanding, adapted for dense displays and partial occlusion). Then, visual embedding vectors are used for similarity retrieval within the customer\\"s SKU library, and the top-1 precise SKU name overrides the preliminary name, balancing recall rate and name accuracy.
|
|
1233
1307
|
*
|
|
1234
|
-
* - **
|
|
1308
|
+
* - **Isolated retrieval with dedicated vector libraries**: A dedicated SKU vector library is maintained for each customer by `RagId`. Recognition retrieves only within the corresponding library, ensuring strict isolation between customers. Newly added or updated SKUs take effect in real time.
|
|
1235
1309
|
*
|
|
1236
|
-
* - **Per-product structured output**: Output is unified as `Result.Items[]`, with each product independently providing a bounding box, recalled SKU name, SKU code, and similarity score. This facilitates direct integration with downstream inventory
|
|
1310
|
+
* - **Per-product structured output**: Output is unified as `Result.Items[]`, with each product independently providing a bounding box, recalled SKU name, SKU code, and similarity score. This facilitates direct integration with downstream inventory and verification systems and supports case-level manual review and traceability.
|
|
1237
1311
|
*
|
|
1238
|
-
* - **Supported input formats**: Currently supports image URLs accessible over the Internet or
|
|
1312
|
+
* - **Supported input formats**: Currently supports image URLs accessible over the Internet or through OSS. A single shelf or floor stack image is sufficient for recognition, and the output structure is consistent.
|
|
1239
1313
|
*
|
|
1240
1314
|
* @param request - MerchandisePlacementDetectionRequest
|
|
1241
1315
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1243,30 +1317,67 @@ export default class Client extends OpenApi {
|
|
|
1243
1317
|
*/
|
|
1244
1318
|
merchandisePlacementDetectionWithOptions(request: $_model.MerchandisePlacementDetectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MerchandisePlacementDetectionResponse>;
|
|
1245
1319
|
/**
|
|
1246
|
-
* Detects and identifies products displayed on store shelves or floor stacks by
|
|
1320
|
+
* Detects and identifies products displayed on store shelves or floor stacks by using a multimodal large language model (MLLM) combined with visual vector recall. The service is designed for shelf and floor stack inspection scenarios in offline retail and channel stores. It first uses the MLLM to detect the bounding box and preliminary name of each product in a store photo, then performs similarity recall against a customer-specific SKU vector library to exactly match each product to the customer\\"s own SKUs, and outputs per-product structured results that can be directly integrated with business systems. This service is suitable for large-scale, high-concurrent visual recognition pipelines such as remote display auditing by headquarters, SKU distribution verification, and display compliance inspection for offline stores.
|
|
1247
1321
|
*
|
|
1248
1322
|
* @remarks
|
|
1249
1323
|
* ## **Product Introduction**
|
|
1250
|
-
* Display detection is an intelligent
|
|
1324
|
+
* Display detection is an intelligent product display recognition capability built on a multimodal large language model (MLLM) combined with visual vector recall. It is designed for shelf and floor stack inspection scenarios in offline retail and channel stores. The service takes real photos of store shelves and floor stacks, first uses the MLLM to detect the bounding box and preliminary name of each product, then performs similarity recall against a customer-specific SKU vector library to exactly match each product to the customer\\"s own SKUs, and outputs per-product structured results that can be directly integrated with business systems. This service is suitable for large-scale, high-concurrent visual recognition pipelines such as remote display auditing by headquarters, SKU distribution verification, and display compliance inspection for offline stores.
|
|
1251
1325
|
* ## **Scenarios**
|
|
1252
|
-
* - **Shelf/floor
|
|
1326
|
+
* - **Shelf/floor stack display recognition and inventory**: Identifies each product in a shelf or floor stack image, matches it to the customer\\"s SKU library, and outputs a per-product list (product name + position + similarity score), replacing manual counting.
|
|
1253
1327
|
*
|
|
1254
|
-
* - **Distribution verification/SKU compliance**: Verifies whether a store displays the specified SKUs as required by headquarters and whether any out-of-stock or misplaced items exist
|
|
1328
|
+
* - **Distribution verification/SKU compliance**: Verifies whether a store displays the specified SKUs as required by headquarters and whether any out-of-stock or misplaced items exist. This supports batch automated verification during sales promotions or new product launches.
|
|
1255
1329
|
*
|
|
1256
|
-
* - **Customer-specific SKU library**: Customers can upload their own standard SKU images to build a dedicated vector library (isolated by `RagId`). During recognition,
|
|
1257
|
-
* ## **
|
|
1258
|
-
* - **Two-stage detection +
|
|
1330
|
+
* - **Customer-specific SKU library**: Customers can upload their own standard SKU images to build a dedicated vector library (isolated by `RagId`). During recognition, retrieval is performed only within the corresponding customer library, ensuring name accuracy and data isolation between customers.
|
|
1331
|
+
* ## **Functions and features**
|
|
1332
|
+
* - **Two-stage detection + retrieval pipeline**: The MLLM detects each product bounding box and preliminary name across the entire image (semantic-level understanding, adapted for dense displays and partial occlusion). Then, visual embedding vectors are used for similarity retrieval within the customer\\"s SKU library, and the top-1 precise SKU name overrides the preliminary name, balancing recall rate and name accuracy.
|
|
1259
1333
|
*
|
|
1260
|
-
* - **
|
|
1334
|
+
* - **Isolated retrieval with dedicated vector libraries**: A dedicated SKU vector library is maintained for each customer by `RagId`. Recognition retrieves only within the corresponding library, ensuring strict isolation between customers. Newly added or updated SKUs take effect in real time.
|
|
1261
1335
|
*
|
|
1262
|
-
* - **Per-product structured output**: Output is unified as `Result.Items[]`, with each product independently providing a bounding box, recalled SKU name, SKU code, and similarity score. This facilitates direct integration with downstream inventory
|
|
1336
|
+
* - **Per-product structured output**: Output is unified as `Result.Items[]`, with each product independently providing a bounding box, recalled SKU name, SKU code, and similarity score. This facilitates direct integration with downstream inventory and verification systems and supports case-level manual review and traceability.
|
|
1263
1337
|
*
|
|
1264
|
-
* - **Supported input formats**: Currently supports image URLs accessible over the Internet or
|
|
1338
|
+
* - **Supported input formats**: Currently supports image URLs accessible over the Internet or through OSS. A single shelf or floor stack image is sufficient for recognition, and the output structure is consistent.
|
|
1265
1339
|
*
|
|
1266
1340
|
* @param request - MerchandisePlacementDetectionRequest
|
|
1267
1341
|
* @returns MerchandisePlacementDetectionResponse
|
|
1268
1342
|
*/
|
|
1269
1343
|
merchandisePlacementDetection(request: $_model.MerchandisePlacementDetectionRequest): Promise<$_model.MerchandisePlacementDetectionResponse>;
|
|
1344
|
+
/**
|
|
1345
|
+
* Detects the positions and names of visible products in an image based on a dedicated visual model. The product supports default recognition rules for the Genki Forest business type and custom rules provided by the invoker. It outputs per-product positions and names, applicable to beverage display inspection and product location display.
|
|
1346
|
+
*
|
|
1347
|
+
* @remarks
|
|
1348
|
+
* ## Scenarios
|
|
1349
|
+
* - Beverage display recognition: Uses default rules for the Genki Forest business type to recognize visible beverage products.
|
|
1350
|
+
* - Custom detection rules: Specifies product recognition tasks that comply with output constraints through the rule parameter.
|
|
1351
|
+
* - Product location display: Uses per-product names and bounding boxes for display, statistics, or manual review.
|
|
1352
|
+
* ## Features
|
|
1353
|
+
* - Direct product recognition: Each product outputs a bounding box and a name. The name is returned as unknown if it cannot be determined.
|
|
1354
|
+
* - Two rule entry points: A non-empty rule takes priority. If no valid rule is provided, the type must be set to Genki Forest.
|
|
1355
|
+
* - Unified result validation: Bounding box coordinates are converted to integers and restricted to the range 0–1000. Reversed coordinates are swapped. Missing names default to unknown. The entire batch fails if any item is not a valid product object, has an invalid bounding box, or has no area.
|
|
1356
|
+
* - Result scope: Currently outputs detected names and positions only. Vector library recall, SKU codes, and similarity scores are not included.
|
|
1357
|
+
*
|
|
1358
|
+
* @param request - MerchandisePlacementDetectionProRequest
|
|
1359
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1360
|
+
* @returns MerchandisePlacementDetectionProResponse
|
|
1361
|
+
*/
|
|
1362
|
+
merchandisePlacementDetectionProWithOptions(request: $_model.MerchandisePlacementDetectionProRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MerchandisePlacementDetectionProResponse>;
|
|
1363
|
+
/**
|
|
1364
|
+
* Detects the positions and names of visible products in an image based on a dedicated visual model. The product supports default recognition rules for the Genki Forest business type and custom rules provided by the invoker. It outputs per-product positions and names, applicable to beverage display inspection and product location display.
|
|
1365
|
+
*
|
|
1366
|
+
* @remarks
|
|
1367
|
+
* ## Scenarios
|
|
1368
|
+
* - Beverage display recognition: Uses default rules for the Genki Forest business type to recognize visible beverage products.
|
|
1369
|
+
* - Custom detection rules: Specifies product recognition tasks that comply with output constraints through the rule parameter.
|
|
1370
|
+
* - Product location display: Uses per-product names and bounding boxes for display, statistics, or manual review.
|
|
1371
|
+
* ## Features
|
|
1372
|
+
* - Direct product recognition: Each product outputs a bounding box and a name. The name is returned as unknown if it cannot be determined.
|
|
1373
|
+
* - Two rule entry points: A non-empty rule takes priority. If no valid rule is provided, the type must be set to Genki Forest.
|
|
1374
|
+
* - Unified result validation: Bounding box coordinates are converted to integers and restricted to the range 0–1000. Reversed coordinates are swapped. Missing names default to unknown. The entire batch fails if any item is not a valid product object, has an invalid bounding box, or has no area.
|
|
1375
|
+
* - Result scope: Currently outputs detected names and positions only. Vector library recall, SKU codes, and similarity scores are not included.
|
|
1376
|
+
*
|
|
1377
|
+
* @param request - MerchandisePlacementDetectionProRequest
|
|
1378
|
+
* @returns MerchandisePlacementDetectionProResponse
|
|
1379
|
+
*/
|
|
1380
|
+
merchandisePlacementDetectionPro(request: $_model.MerchandisePlacementDetectionProRequest): Promise<$_model.MerchandisePlacementDetectionProResponse>;
|
|
1270
1381
|
/**
|
|
1271
1382
|
* An intelligent logistics parcel review product built on the collaboration of a multimodal large language model (MLLM) and dedicated vision algorithms. It targets automated compliance review for the "piece-weight-dimension" stage in e-commerce logistics. The product performs structured review across multiple dimensions, including bounding box validity, bounding box fit, and foreign object interference for parcels on scanning platforms. It supports different hardware capture scenarios such as white and green background boards, and outputs Boolean review conclusions with Chinese-language reason descriptions that can be directly integrated with business systems. It is suitable for large-scale, high-concurrency inbound quality inspection pipelines.
|
|
1272
1383
|
*
|
|
@@ -1312,6 +1423,41 @@ export default class Client extends OpenApi {
|
|
|
1312
1423
|
* @returns PackageWeightSizeCheckResponse
|
|
1313
1424
|
*/
|
|
1314
1425
|
packageWeightSizeCheck(request: $_model.PackageWeightSizeCheckRequest): Promise<$_model.PackageWeightSizeCheckResponse>;
|
|
1426
|
+
/**
|
|
1427
|
+
* Analyzes pet excrement images using a pet multimodal model building product. Supports uploading pet excrement images, determines by default whether excrement is present in the image, locates and performs categorization on each visible excrement area, and returns model-generated text containing the categorization results. The invoker can also optionally provide a user prompt and a system prompt to customize image analysis requirements and response format.
|
|
1428
|
+
* Applicable scenarios:
|
|
1429
|
+
* 1. Excrement image analysis: Upload pet excrement images for analysis using the default method.
|
|
1430
|
+
* 2. Observation record organization: Combine multiple excrement images to assist in organizing visible features and observation records.
|
|
1431
|
+
* 3. Custom image-text analysis: Provide a user prompt to specify the image content to focus on and the analysis requirements.
|
|
1432
|
+
*
|
|
1433
|
+
* @remarks
|
|
1434
|
+
* 1. Multi-image input: image_url is a required array of HTTPS image URLs.
|
|
1435
|
+
* 2. Default excrement analysis: If user_prompt is not specified or is an empty string, the system determines whether excrement is present and outputs the location, urine clump/feces category, and subcategory for each region.
|
|
1436
|
+
* 3. Custom analysis: user_prompt and system_prompt are both optional. You can specify analysis requirements and system prompts separately. When submitting custom prompts, use values that comply with JSON string escaping rules.
|
|
1437
|
+
* 4. Text result response: result is always a String. Even if the model text itself is JSON, it is not automatically converted to an object.
|
|
1438
|
+
*
|
|
1439
|
+
* @param tmpReq - PetHealthAnalysisRequest
|
|
1440
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1441
|
+
* @returns PetHealthAnalysisResponse
|
|
1442
|
+
*/
|
|
1443
|
+
petHealthAnalysisWithOptions(tmpReq: $_model.PetHealthAnalysisRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PetHealthAnalysisResponse>;
|
|
1444
|
+
/**
|
|
1445
|
+
* Analyzes pet excrement images using a pet multimodal model building product. Supports uploading pet excrement images, determines by default whether excrement is present in the image, locates and performs categorization on each visible excrement area, and returns model-generated text containing the categorization results. The invoker can also optionally provide a user prompt and a system prompt to customize image analysis requirements and response format.
|
|
1446
|
+
* Applicable scenarios:
|
|
1447
|
+
* 1. Excrement image analysis: Upload pet excrement images for analysis using the default method.
|
|
1448
|
+
* 2. Observation record organization: Combine multiple excrement images to assist in organizing visible features and observation records.
|
|
1449
|
+
* 3. Custom image-text analysis: Provide a user prompt to specify the image content to focus on and the analysis requirements.
|
|
1450
|
+
*
|
|
1451
|
+
* @remarks
|
|
1452
|
+
* 1. Multi-image input: image_url is a required array of HTTPS image URLs.
|
|
1453
|
+
* 2. Default excrement analysis: If user_prompt is not specified or is an empty string, the system determines whether excrement is present and outputs the location, urine clump/feces category, and subcategory for each region.
|
|
1454
|
+
* 3. Custom analysis: user_prompt and system_prompt are both optional. You can specify analysis requirements and system prompts separately. When submitting custom prompts, use values that comply with JSON string escaping rules.
|
|
1455
|
+
* 4. Text result response: result is always a String. Even if the model text itself is JSON, it is not automatically converted to an object.
|
|
1456
|
+
*
|
|
1457
|
+
* @param request - PetHealthAnalysisRequest
|
|
1458
|
+
* @returns PetHealthAnalysisResponse
|
|
1459
|
+
*/
|
|
1460
|
+
petHealthAnalysis(request: $_model.PetHealthAnalysisRequest): Promise<$_model.PetHealthAnalysisResponse>;
|
|
1315
1461
|
/**
|
|
1316
1462
|
* Maas-MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports mutual translation among more than 400 language directions (including bridged translations), especially Chinese-English, Chinese-to-multilingual, and English-to-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
1317
1463
|
*
|
|
@@ -1796,32 +1942,32 @@ export default class Client extends OpenApi {
|
|
|
1796
1942
|
*/
|
|
1797
1943
|
textCorrect(request: $_model.TextCorrectRequest): Promise<$_model.TextCorrectResponse>;
|
|
1798
1944
|
/**
|
|
1799
|
-
* Maas-MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs,
|
|
1945
|
+
* Maas-MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, with continuous optimization for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports mutual translation among more than 400 language directions (including bridged directions), especially Chinese-English, Chinese-multilingual, and English-multilingual translation. It supports language detection for 31 languages in query phrases and 35 languages in general scenarios. If you do not specify a source language, automatic language detection is performed.
|
|
1800
1946
|
*
|
|
1801
1947
|
* @remarks
|
|
1802
1948
|
* ## Product Introduction
|
|
1803
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs,
|
|
1949
|
+
* 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 directions (including bridged directions), 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 language detection is performed.
|
|
1804
1950
|
* ## Common scenarios
|
|
1805
|
-
* -
|
|
1806
|
-
* -
|
|
1807
|
-
* -
|
|
1808
|
-
* -
|
|
1809
|
-
* Marco MT can also be used for general translation scenarios such as office work, meetings, and daily conversations.
|
|
1951
|
+
* - Product titles: Marco MT large model translation accurately translates phrases, keywords, and trending terms in product titles into the target language, improving product visibility on e-commerce platforms.
|
|
1952
|
+
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco MT large model translation supports long text translation and HTML formatting, delivering excellent translation quality and format preservation.
|
|
1953
|
+
* - Product attributes: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
|
|
1954
|
+
* - Customer service conversations: In customer service scenarios, Marco MT optimizes issues such as missing context and typos, and supports polite expressions for certain language directions.
|
|
1955
|
+
* Marco MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
|
|
1810
1956
|
* ## Functions and features
|
|
1811
1957
|
* - **Supported language directions**
|
|
1812
|
-
* Marco MT supports mutual translation among more than 100 languages and language detection for 24 languages. For supported language directions, see [Language direction mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
1958
|
+
* Marco MT large model translation supports mutual translation among more than 100 languages and language detection for 24 languages. For supported language directions, see [Language direction mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
1813
1959
|
* - **Ultra-low hallucination rate and high-speed inference**
|
|
1814
|
-
* Marco MT is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it
|
|
1960
|
+
* Marco MT large model translation 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.
|
|
1815
1961
|
* - **Supported text format types**
|
|
1816
|
-
* Currently
|
|
1817
|
-
* - **Translation intervention**
|
|
1818
|
-
*
|
|
1962
|
+
* Currently, text and html text types are supported.
|
|
1963
|
+
* - **Translation intervention support**
|
|
1964
|
+
* 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.
|
|
1819
1965
|
* ## Translation quality comparison
|
|
1820
1966
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
1821
1967
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
1822
1968
|
* | 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 |
|
|
1823
1969
|
* | 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 |
|
|
1824
|
-
* | 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
|
|
1970
|
+
* | Men Key Bag Genuine Cow Leather Buckets Key Cases Pouch Zipper Keychain Auto Car Key Case Women Home Key Holder Wallet | Sac à clés pour hommes en cuir de vache véritable, étuis à clés, pochette à fermeture éclair, porte-clés, étui à clé de voiture, porte-clés pour femmes, organisateur de portefeuille | Porte-clés sac en cuir de vache véritable, étuis à clés en forme de seau, pochette à fermeture éclair, porte-clés auto pour voiture, étui à clés pour femmes, organisateur de clés de maison, portefeuille. | Hommes porte-clés en cuir de vache véritable sac/pochette fermature éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | Clearer and more accurate product subject expression as "key bag" rather than "keychain", avoiding ambiguity about the product subject in other translations |
|
|
1825
1971
|
*
|
|
1826
1972
|
* @param tmpReq - TextTranslateRequest
|
|
1827
1973
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1829,32 +1975,32 @@ export default class Client extends OpenApi {
|
|
|
1829
1975
|
*/
|
|
1830
1976
|
textTranslateWithOptions(tmpReq: $_model.TextTranslateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TextTranslateResponse>;
|
|
1831
1977
|
/**
|
|
1832
|
-
* Maas-MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs,
|
|
1978
|
+
* Maas-MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, with continuous optimization for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports mutual translation among more than 400 language directions (including bridged directions), especially Chinese-English, Chinese-multilingual, and English-multilingual translation. It supports language detection for 31 languages in query phrases and 35 languages in general scenarios. If you do not specify a source language, automatic language detection is performed.
|
|
1833
1979
|
*
|
|
1834
1980
|
* @remarks
|
|
1835
1981
|
* ## Product Introduction
|
|
1836
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs,
|
|
1982
|
+
* 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 directions (including bridged directions), 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 language detection is performed.
|
|
1837
1983
|
* ## Common scenarios
|
|
1838
|
-
* -
|
|
1839
|
-
* -
|
|
1840
|
-
* -
|
|
1841
|
-
* -
|
|
1842
|
-
* Marco MT can also be used for general translation scenarios such as office work, meetings, and daily conversations.
|
|
1984
|
+
* - Product titles: Marco MT large model translation accurately translates phrases, keywords, and trending terms in product titles into the target language, improving product visibility on e-commerce platforms.
|
|
1985
|
+
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco MT large model translation supports long text translation and HTML formatting, delivering excellent translation quality and format preservation.
|
|
1986
|
+
* - Product attributes: Product attribute terms are typically short and may contain e-commerce-specific terms such as model numbers and specifications.
|
|
1987
|
+
* - Customer service conversations: In customer service scenarios, Marco MT optimizes issues such as missing context and typos, and supports polite expressions for certain language directions.
|
|
1988
|
+
* Marco MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
|
|
1843
1989
|
* ## Functions and features
|
|
1844
1990
|
* - **Supported language directions**
|
|
1845
|
-
* Marco MT supports mutual translation among more than 100 languages and language detection for 24 languages. For supported language directions, see [Language direction mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
1991
|
+
* Marco MT large model translation supports mutual translation among more than 100 languages and language detection for 24 languages. For supported language directions, see [Language direction mapping table](https://www.alibabacloud.com/help/en/document_detail/3041883.html).
|
|
1846
1992
|
* - **Ultra-low hallucination rate and high-speed inference**
|
|
1847
|
-
* Marco MT is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it
|
|
1993
|
+
* Marco MT large model translation 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.
|
|
1848
1994
|
* - **Supported text format types**
|
|
1849
|
-
* Currently
|
|
1850
|
-
* - **Translation intervention**
|
|
1851
|
-
*
|
|
1995
|
+
* Currently, text and html text types are supported.
|
|
1996
|
+
* - **Translation intervention support**
|
|
1997
|
+
* 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.
|
|
1852
1998
|
* ## Translation quality comparison
|
|
1853
1999
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
1854
2000
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
1855
2001
|
* | 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 |
|
|
1856
2002
|
* | 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 |
|
|
1857
|
-
* | 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
|
|
2003
|
+
* | Men Key Bag Genuine Cow Leather Buckets Key Cases Pouch Zipper Keychain Auto Car Key Case Women Home Key Holder Wallet | Sac à clés pour hommes en cuir de vache véritable, étuis à clés, pochette à fermeture éclair, porte-clés, étui à clé de voiture, porte-clés pour femmes, organisateur de portefeuille | Porte-clés sac en cuir de vache véritable, étuis à clés en forme de seau, pochette à fermeture éclair, porte-clés auto pour voiture, étui à clés pour femmes, organisateur de clés de maison, portefeuille. | Hommes porte-clés en cuir de vache véritable sac/pochette fermature éclair porte-clés Auto voiture porte-clés femmes maison porte-clés organisateur portefeuille | Clearer and more accurate product subject expression as "key bag" rather than "keychain", avoiding ambiguity about the product subject in other translations |
|
|
1858
2004
|
*
|
|
1859
2005
|
* @param request - TextTranslateRequest
|
|
1860
2006
|
* @returns TextTranslateResponse
|