@alicloud/aidge20260428 1.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +257 -139
- package/dist/client.js +333 -143
- package/dist/client.js.map +1 -1
- package/dist/models/DocumentTranslateRequest.d.ts +3 -3
- package/dist/models/DocumentTranslateResponseBody.d.ts +3 -5
- package/dist/models/DocumentTranslateResponseBody.js.map +1 -1
- package/dist/models/ImageMattingRequest.d.ts +7 -7
- package/dist/models/ImageMattingResponseBody.d.ts +2 -2
- package/dist/models/ImageRemovalProRequest.d.ts +35 -0
- package/dist/models/ImageRemovalProRequest.js +60 -0
- package/dist/models/ImageRemovalProRequest.js.map +1 -0
- package/dist/models/ImageRemovalProResponse.d.ts +19 -0
- package/dist/models/ImageRemovalProResponse.js +69 -0
- package/dist/models/ImageRemovalProResponse.js.map +1 -0
- package/dist/models/ImageRemovalProResponseBody.d.ts +87 -0
- package/dist/models/ImageRemovalProResponseBody.js +95 -0
- package/dist/models/ImageRemovalProResponseBody.js.map +1 -0
- package/dist/models/ImageRemoveRequest.d.ts +15 -5
- package/dist/models/ImageRemoveRequest.js.map +1 -1
- package/dist/models/ImageRemoveResponseBody.d.ts +8 -8
- package/dist/models/ImageRemoveShrinkRequest.d.ts +15 -5
- package/dist/models/ImageRemoveShrinkRequest.js.map +1 -1
- package/dist/models/ImageTranslationProRequest.d.ts +9 -12
- package/dist/models/ImageTranslationProRequest.js +2 -2
- package/dist/models/ImageTranslationProRequest.js.map +1 -1
- package/dist/models/ImageTranslationProResponseBody.d.ts +19 -19
- package/dist/models/MaterialInspectionRequest.d.ts +55 -0
- package/dist/models/MaterialInspectionRequest.js +66 -0
- package/dist/models/MaterialInspectionRequest.js.map +1 -0
- package/dist/models/MaterialInspectionResponse.d.ts +19 -0
- package/dist/models/MaterialInspectionResponse.js +69 -0
- package/dist/models/MaterialInspectionResponse.js.map +1 -0
- package/dist/models/MaterialInspectionResponseBody.d.ts +154 -0
- package/dist/models/MaterialInspectionResponseBody.js +147 -0
- package/dist/models/MaterialInspectionResponseBody.js.map +1 -0
- package/dist/models/TextTranslateRequest.d.ts +15 -5
- package/dist/models/TextTranslateRequest.js +4 -0
- package/dist/models/TextTranslateRequest.js.map +1 -1
- package/dist/models/TextTranslateResponseBody.d.ts +7 -7
- package/dist/models/TextTranslateShrinkRequest.d.ts +15 -5
- package/dist/models/TextTranslateShrinkRequest.js +4 -0
- package/dist/models/TextTranslateShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +10 -0
- package/dist/models/model.js +23 -2
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +347 -144
- package/src/models/DocumentTranslateRequest.ts +3 -3
- package/src/models/DocumentTranslateResponseBody.ts +3 -5
- package/src/models/ImageMattingRequest.ts +7 -7
- package/src/models/ImageMattingResponseBody.ts +2 -2
- package/src/models/ImageRemovalProRequest.ts +50 -0
- package/src/models/ImageRemovalProResponse.ts +40 -0
- package/src/models/ImageRemovalProResponseBody.ts +126 -0
- package/src/models/ImageRemoveRequest.ts +15 -5
- package/src/models/ImageRemoveResponseBody.ts +8 -8
- package/src/models/ImageRemoveShrinkRequest.ts +15 -5
- package/src/models/ImageTranslationProRequest.ts +11 -14
- package/src/models/ImageTranslationProResponseBody.ts +19 -19
- package/src/models/MaterialInspectionRequest.ts +76 -0
- package/src/models/MaterialInspectionResponse.ts +40 -0
- package/src/models/MaterialInspectionResponseBody.ts +227 -0
- package/src/models/TextTranslateRequest.ts +19 -5
- package/src/models/TextTranslateResponseBody.ts +7 -7
- package/src/models/TextTranslateShrinkRequest.ts +19 -5
- package/src/models/model.ts +10 -0
package/dist/client.d.ts
CHANGED
|
@@ -243,25 +243,24 @@ export default class Client extends OpenApi {
|
|
|
243
243
|
*/
|
|
244
244
|
categoryMatch(request: $_model.CategoryMatchRequest): Promise<$_model.CategoryMatchResponse>;
|
|
245
245
|
/**
|
|
246
|
-
*
|
|
247
|
-
*
|
|
248
|
-
* -
|
|
249
|
-
* - Structural integrity: overall layout continuity, page margin and layout preservation.
|
|
246
|
+
* Translates documents between more than 100 language pairs (including bridged pairs), supporting multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported. Excels in the following areas:
|
|
247
|
+
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
248
|
+
* - Structural integrity: overall layout continuity, page margin and layout preservation
|
|
250
249
|
*
|
|
251
250
|
* @remarks
|
|
252
251
|
* ## Product Introduction
|
|
253
|
-
* Designed specifically for document translation, this service supports translation between more than 100 language pairs (including bridged pairs),
|
|
254
|
-
*
|
|
255
|
-
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
256
|
-
* - Structural integrity: overall layout continuity, page margin and layout preservation
|
|
252
|
+
* Designed specifically for document translation, this service supports translation between more than 100 language pairs (including bridged pairs), supporting multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
|
|
253
|
+
* Excels in the following areas:
|
|
254
|
+
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
255
|
+
* - Structural integrity: overall layout continuity, page margin and layout preservation
|
|
257
256
|
* ## Common scenarios
|
|
258
257
|
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks, courseware, and other scenarios.
|
|
259
258
|
* 3. Features
|
|
260
|
-
* - Supports PDF and Word formats. Supports source documents
|
|
261
|
-
* - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
|
|
259
|
+
* - Supports PDF and Word formats. Supports source documents containing multiple languages. Refer to section 4.5 for the detailed language list.
|
|
260
|
+
* - Supports translation of text within images in documents, as well as other complex translation scenarios such as charts and special symbols.
|
|
262
261
|
* - Supports high-fidelity layout preservation after translation.
|
|
263
|
-
* - A single PDF supports up to 100 pages
|
|
264
|
-
* - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value).
|
|
262
|
+
* - A single PDF supports up to 100 pages. A single Word document supports up to 100 pages.
|
|
263
|
+
* - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). Commonly used for brand name protection scenarios. Simply pass the corresponding glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 glossary entries. Contact the platform for additional capacity.
|
|
265
264
|
*
|
|
266
265
|
* @param request - DocumentTranslateRequest
|
|
267
266
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -269,25 +268,24 @@ export default class Client extends OpenApi {
|
|
|
269
268
|
*/
|
|
270
269
|
documentTranslateWithOptions(request: $_model.DocumentTranslateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DocumentTranslateResponse>;
|
|
271
270
|
/**
|
|
272
|
-
*
|
|
273
|
-
*
|
|
274
|
-
* -
|
|
275
|
-
* - Structural integrity: overall layout continuity, page margin and layout preservation.
|
|
271
|
+
* Translates documents between more than 100 language pairs (including bridged pairs), supporting multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported. Excels in the following areas:
|
|
272
|
+
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
273
|
+
* - Structural integrity: overall layout continuity, page margin and layout preservation
|
|
276
274
|
*
|
|
277
275
|
* @remarks
|
|
278
276
|
* ## Product Introduction
|
|
279
|
-
* Designed specifically for document translation, this service supports translation between more than 100 language pairs (including bridged pairs),
|
|
280
|
-
*
|
|
281
|
-
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
282
|
-
* - Structural integrity: overall layout continuity, page margin and layout preservation
|
|
277
|
+
* Designed specifically for document translation, this service supports translation between more than 100 language pairs (including bridged pairs), supporting multi-scenario, multi-page, and highly complex document translation. Scanned documents are not currently supported.
|
|
278
|
+
* Excels in the following areas:
|
|
279
|
+
* - Content accuracy: translation accuracy, parameter and unit accuracy
|
|
280
|
+
* - Structural integrity: overall layout continuity, page margin and layout preservation
|
|
283
281
|
* ## Common scenarios
|
|
284
282
|
* Cross-border e-commerce product manuals, contracts, agreements, business proposals, qualification documents, textbooks, courseware, and other scenarios.
|
|
285
283
|
* 3. Features
|
|
286
|
-
* - Supports PDF and Word formats. Supports source documents
|
|
287
|
-
* - Supports translation of text within images in documents, as well as complex translation scenarios such as charts and special symbols.
|
|
284
|
+
* - Supports PDF and Word formats. Supports source documents containing multiple languages. Refer to section 4.5 for the detailed language list.
|
|
285
|
+
* - Supports translation of text within images in documents, as well as other complex translation scenarios such as charts and special symbols.
|
|
288
286
|
* - Supports high-fidelity layout preservation after translation.
|
|
289
|
-
* - A single PDF supports up to 100 pages
|
|
290
|
-
* - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value).
|
|
287
|
+
* - A single PDF supports up to 100 pages. A single Word document supports up to 100 pages.
|
|
288
|
+
* - Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and skip translation (ABC-empty value). Commonly used for brand name protection scenarios. Simply pass the corresponding glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 glossary entries. Contact the platform for additional capacity.
|
|
291
289
|
*
|
|
292
290
|
* @param request - DocumentTranslateRequest
|
|
293
291
|
* @returns DocumentTranslateResponse
|
|
@@ -349,32 +347,32 @@ export default class Client extends OpenApi {
|
|
|
349
347
|
*/
|
|
350
348
|
imageCropping(request: $_model.ImageCroppingRequest): Promise<$_model.ImageCroppingResponse>;
|
|
351
349
|
/**
|
|
352
|
-
*
|
|
350
|
+
* Automatically identifies salient subjects in images, separates subjects from backgrounds, and returns subject images with backgrounds removed. This product also provides multiple background options and custom size selections to optimize product display. (Synchronous)
|
|
353
351
|
*
|
|
354
352
|
* @remarks
|
|
355
353
|
* ## Product Introduction
|
|
356
|
-
*
|
|
354
|
+
* The intelligent image matting product automatically identifies salient subjects in images, separates subjects from backgrounds, and returns subject images with backgrounds removed. This product also provides multiple background options and custom size selections to optimize product display. (Synchronous)
|
|
357
355
|
* ## Scenarios
|
|
358
356
|
* * **Secondary editing of materials**: After separating the image subject from the background, you can further edit the image.
|
|
359
357
|
*
|
|
360
358
|
* * **Improved material processing efficiency**: Quickly extract subjects from various material images for easy background replacement, improving the production efficiency of advertising visuals and marketing posters.
|
|
361
359
|
* ## Features.
|
|
362
360
|
* #### 1. One-click precise subject recognition
|
|
363
|
-
* * **AI automatic recognition**: Based on deep learning models,
|
|
361
|
+
* * **AI automatic recognition**: Based on deep learning models, intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from backgrounds without manual tracing.
|
|
364
362
|
*
|
|
365
363
|
* * **Multi-scenario adaptation**: Supports precise segmentation in complex scenarios (such as hair strands, transparent objects, and fur edges) with an accuracy rate exceeding 95%.
|
|
366
364
|
* #### 2. Intelligent edge optimization
|
|
367
|
-
* * **Detail-level processing**: Performs automatic optimization
|
|
365
|
+
* * **Detail-level processing**: Performs automatic optimization on edge aliasing and semi-transparent areas (such as smoke and glass) to preserve natural transition effects.
|
|
368
366
|
* #### 3. Multi-format output and background operations
|
|
369
367
|
* * **Transparent background export**: Directly generates PNG images with transparent backgrounds and white backgrounds, suitable for e-commerce, design, and other scenarios.
|
|
370
368
|
*
|
|
371
|
-
* * **Custom background color support
|
|
369
|
+
* * **Custom background color support**
|
|
372
370
|
* ## Effect comparison
|
|
373
371
|
* | **Original image (input)** | **Result image (output)** |
|
|
374
372
|
* | --- | --- |
|
|
375
373
|
* |  |  |
|
|
376
374
|
* |  |  |
|
|
377
|
-
* |  | 
|
|
375
|
+
* |  |  |
|
|
378
376
|
*
|
|
379
377
|
* @param request - ImageMattingRequest
|
|
380
378
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -382,32 +380,32 @@ export default class Client extends OpenApi {
|
|
|
382
380
|
*/
|
|
383
381
|
imageMattingWithOptions(request: $_model.ImageMattingRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageMattingResponse>;
|
|
384
382
|
/**
|
|
385
|
-
*
|
|
383
|
+
* Automatically identifies salient subjects in images, separates subjects from backgrounds, and returns subject images with backgrounds removed. This product also provides multiple background options and custom size selections to optimize product display. (Synchronous)
|
|
386
384
|
*
|
|
387
385
|
* @remarks
|
|
388
386
|
* ## Product Introduction
|
|
389
|
-
*
|
|
387
|
+
* The intelligent image matting product automatically identifies salient subjects in images, separates subjects from backgrounds, and returns subject images with backgrounds removed. This product also provides multiple background options and custom size selections to optimize product display. (Synchronous)
|
|
390
388
|
* ## Scenarios
|
|
391
389
|
* * **Secondary editing of materials**: After separating the image subject from the background, you can further edit the image.
|
|
392
390
|
*
|
|
393
391
|
* * **Improved material processing efficiency**: Quickly extract subjects from various material images for easy background replacement, improving the production efficiency of advertising visuals and marketing posters.
|
|
394
392
|
* ## Features.
|
|
395
393
|
* #### 1. One-click precise subject recognition
|
|
396
|
-
* * **AI automatic recognition**: Based on deep learning models,
|
|
394
|
+
* * **AI automatic recognition**: Based on deep learning models, intelligently distinguishes foreground subjects (portraits, products, objects, etc.) from backgrounds without manual tracing.
|
|
397
395
|
*
|
|
398
396
|
* * **Multi-scenario adaptation**: Supports precise segmentation in complex scenarios (such as hair strands, transparent objects, and fur edges) with an accuracy rate exceeding 95%.
|
|
399
397
|
* #### 2. Intelligent edge optimization
|
|
400
|
-
* * **Detail-level processing**: Performs automatic optimization
|
|
398
|
+
* * **Detail-level processing**: Performs automatic optimization on edge aliasing and semi-transparent areas (such as smoke and glass) to preserve natural transition effects.
|
|
401
399
|
* #### 3. Multi-format output and background operations
|
|
402
400
|
* * **Transparent background export**: Directly generates PNG images with transparent backgrounds and white backgrounds, suitable for e-commerce, design, and other scenarios.
|
|
403
401
|
*
|
|
404
|
-
* * **Custom background color support
|
|
402
|
+
* * **Custom background color support**
|
|
405
403
|
* ## Effect comparison
|
|
406
404
|
* | **Original image (input)** | **Result image (output)** |
|
|
407
405
|
* | --- | --- |
|
|
408
406
|
* |  |  |
|
|
409
407
|
* |  |  |
|
|
410
|
-
* |  | 
|
|
408
|
+
* |  |  |
|
|
411
409
|
*
|
|
412
410
|
* @param request - ImageMattingRequest
|
|
413
411
|
* @returns ImageMattingResponse
|
|
@@ -565,80 +563,142 @@ export default class Client extends OpenApi {
|
|
|
565
563
|
*/
|
|
566
564
|
imageRecognition(request: $_model.ImageRecognitionRequest): Promise<$_model.ImageRecognitionResponse>;
|
|
567
565
|
/**
|
|
568
|
-
*
|
|
566
|
+
* Intelligently identifies and removes text, specific names, transparent text blocks, and watermarks from e-commerce images, supports specifying objects to remove as needed, enables efficient and precise batch processing of images, and simplifies image editing workflows (synchronous/asynchronous).
|
|
569
567
|
*
|
|
570
568
|
* @remarks
|
|
571
|
-
* ## Product
|
|
572
|
-
* The
|
|
573
|
-
* ##
|
|
574
|
-
* * **Efficient
|
|
569
|
+
* ## Product introduction
|
|
570
|
+
* The intelligent image removal product is designed specifically for e-commerce images. It automatically identifies and removes text, specific names, transparent text blocks, and watermarks from e-commerce images. You can specify objects to remove as needed, enabling efficient and precise batch processing of images and simplifying image editing workflows. (Synchronous/Asynchronous)
|
|
571
|
+
* ## Common scenarios
|
|
572
|
+
* * **Efficient e-commerce image processing:**
|
|
575
573
|
*
|
|
576
|
-
* Remove irrelevant visual elements to provide
|
|
577
|
-
* * **Multi-platform
|
|
574
|
+
* Remove irrelevant visual elements to provide clearer, more focused product displays and enhance the shopping experience.
|
|
575
|
+
* * **Multi-platform product information synchronization:**
|
|
578
576
|
*
|
|
579
|
-
* When merchants
|
|
580
|
-
*
|
|
577
|
+
* When merchants list products across different e-commerce platforms, they can quickly remove specific text and watermarks to comply with image specifications of different platforms.
|
|
578
|
+
* ## Features
|
|
579
|
+
* 1. First, clarify the definitions of image subject and image background. When specifying objects to remove, you can choose whether the removal scope is the image subject or the image background area. Both API and editor access methods are supported to meet different types of requirements.
|
|
581
580
|
*
|
|
582
|
-
*
|
|
583
|
-
*
|
|
584
|
-
*
|
|
585
|
-
*
|
|
581
|
+
* 1. Image subject: the core product area in the image.
|
|
582
|
+
*
|
|
583
|
+
* 2. Image background: the remaining part of the image other than the product subject.
|
|
584
|
+
*
|
|
585
|
+
* 2. Second, the following four types of objects can be removed: text, specific names, transparent text blocks, and watermarks. Refer to the following examples to clarify your requirements and perform targeted operations:
|
|
586
|
+
* ## Effect comparison
|
|
587
|
+
* | **Original image** | **Image after removal** |
|
|
588
|
+
* | --- | --- |
|
|
589
|
+
* |  |  |
|
|
590
|
+
* |  |  |
|
|
586
591
|
*
|
|
587
|
-
*
|
|
592
|
+
* @param request - ImageRemovalProRequest
|
|
593
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
594
|
+
* @returns ImageRemovalProResponse
|
|
595
|
+
*/
|
|
596
|
+
imageRemovalProWithOptions(request: $_model.ImageRemovalProRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRemovalProResponse>;
|
|
597
|
+
/**
|
|
598
|
+
* Intelligently identifies and removes text, specific names, transparent text blocks, and watermarks from e-commerce images, supports specifying objects to remove as needed, enables efficient and precise batch processing of images, and simplifies image editing workflows (synchronous/asynchronous).
|
|
588
599
|
*
|
|
589
|
-
*
|
|
600
|
+
* @remarks
|
|
601
|
+
* ## Product introduction
|
|
602
|
+
* The intelligent image removal product is designed specifically for e-commerce images. It automatically identifies and removes text, specific names, transparent text blocks, and watermarks from e-commerce images. You can specify objects to remove as needed, enabling efficient and precise batch processing of images and simplifying image editing workflows. (Synchronous/Asynchronous)
|
|
603
|
+
* ## Common scenarios
|
|
604
|
+
* * **Efficient e-commerce image processing:**
|
|
590
605
|
*
|
|
591
|
-
*
|
|
606
|
+
* Remove irrelevant visual elements to provide clearer, more focused product displays and enhance the shopping experience.
|
|
607
|
+
* * **Multi-platform product information synchronization:**
|
|
592
608
|
*
|
|
593
|
-
*
|
|
594
|
-
*
|
|
609
|
+
* When merchants list products across different e-commerce platforms, they can quickly remove specific text and watermarks to comply with image specifications of different platforms.
|
|
610
|
+
* ## Features
|
|
611
|
+
* 1. First, clarify the definitions of image subject and image background. When specifying objects to remove, you can choose whether the removal scope is the image subject or the image background area. Both API and editor access methods are supported to meet different types of requirements.
|
|
612
|
+
*
|
|
613
|
+
* 1. Image subject: the core product area in the image.
|
|
614
|
+
*
|
|
615
|
+
* 2. Image background: the remaining part of the image other than the product subject.
|
|
616
|
+
*
|
|
617
|
+
* 2. Second, the following four types of objects can be removed: text, specific names, transparent text blocks, and watermarks. Refer to the following examples to clarify your requirements and perform targeted operations:
|
|
618
|
+
* ## Effect comparison
|
|
619
|
+
* | **Original image** | **Image after removal** |
|
|
620
|
+
* | --- | --- |
|
|
621
|
+
* |  |  |
|
|
622
|
+
* |  |  |
|
|
623
|
+
*
|
|
624
|
+
* @param request - ImageRemovalProRequest
|
|
625
|
+
* @returns ImageRemovalProResponse
|
|
626
|
+
*/
|
|
627
|
+
imageRemovalPro(request: $_model.ImageRemovalProRequest): Promise<$_model.ImageRemovalProResponse>;
|
|
628
|
+
/**
|
|
629
|
+
* Intelligently erases unwanted elements from e-commerce images, automatically identifying and removing text, specific names, transparent text blocks, and image blemishes, with support for specifying objects to erase as needed for efficient and precise batch processing that simplifies image editing workflows. (Synchronous)
|
|
630
|
+
*
|
|
631
|
+
* @remarks
|
|
632
|
+
* ## Product Introduction
|
|
633
|
+
* The intelligent image erasure product is designed specifically for e-commerce images. It automatically identifies and removes text, specific names, transparent text blocks, and image blemishes from e-commerce images. You can specify objects to erase as needed, enabling efficient and precise batch processing that simplifies image editing workflows. (Synchronous)
|
|
634
|
+
* ## Scenarios
|
|
635
|
+
* * **Efficient e-commerce image processing:**
|
|
636
|
+
*
|
|
637
|
+
* Removes irrelevant visual elements to provide clearer, more focused product displays that enhance the shopping experience.
|
|
638
|
+
* * **Multi-platform product information synchronization:**
|
|
639
|
+
*
|
|
640
|
+
* When merchants list products across different e-commerce platforms, they can quickly erase specific text and image blemishes to comply with different platform image requirements.
|
|
641
|
+
* * **Marketing material preparation:**
|
|
642
|
+
*
|
|
643
|
+
* Merchants can easily remove existing promotional information and quickly update images with the latest campaign details.
|
|
644
|
+
* > Note: Merchants or platforms can batch-remove impurities from images to optimize image quality. Use this API in combination with the "Intelligent Recognition API" (coming soon). First, filter out images containing text, specific names, transparent text blocks, and image blemishes, then use the "Intelligent Erasure API" for batch removal. The Intelligent Recognition API focuses on "recognition," while the Intelligent Erasure API focuses on "erasure." By calling them sequentially, you can maximize erasure effectiveness and reduce false removals and false identifications.
|
|
645
|
+
* ## Features
|
|
646
|
+
* 1. First, understand the definitions of image subject and image background. When specifying erasure objects, you can choose whether the erasure scope covers the image subject or the image background area. Both API and editor access methods are supported to meet different requirements.
|
|
647
|
+
*
|
|
648
|
+
* 1. Image subject: The core product area in the image.
|
|
649
|
+
*
|
|
650
|
+
* 2. Image background: The remaining portion of the image outside the product subject.
|
|
651
|
+
*
|
|
652
|
+
* 2. The following four types of objects can be erased: text, specific names, transparent text blocks, and image blemishes. Refer to the following examples to clarify your requirements and perform targeted operations:
|
|
653
|
+
* ## Effect comparison
|
|
654
|
+
* | **Erasable objects in images** | **Original image** | **Image after erasure** |
|
|
595
655
|
* | --- | --- | --- |
|
|
596
|
-
* | Text | *
|
|
656
|
+
* | Text | * Involves the image subject area
|
|
597
657
|
*
|
|
598
658
|
* 
|
|
599
659
|
*
|
|
600
|
-
* *
|
|
660
|
+
* * Does not involve the image subject area
|
|
601
661
|
*
|
|
602
|
-
*  | *
|
|
662
|
+
*  | * Involves the image subject area
|
|
603
663
|
*
|
|
604
664
|
* 
|
|
605
|
-
* *
|
|
665
|
+
* * Does not involve the image subject area
|
|
606
666
|
*
|
|
607
667
|
*  |
|
|
608
|
-
* | Specific
|
|
668
|
+
* | Specific names | * Involves the image subject area
|
|
609
669
|
*
|
|
610
670
|
* 
|
|
611
671
|
*
|
|
612
|
-
* *
|
|
672
|
+
* * Does not involve the image subject area
|
|
613
673
|
*
|
|
614
|
-
*  | *
|
|
674
|
+
*  | * Involves the image subject area
|
|
615
675
|
*
|
|
616
676
|
* 
|
|
617
|
-
* *
|
|
677
|
+
* * Does not involve the image subject area
|
|
618
678
|
*
|
|
619
679
|
*  |
|
|
620
|
-
* | Transparent
|
|
680
|
+
* | Transparent text blocks | * Involves the image subject area
|
|
621
681
|
*
|
|
622
682
|
* 
|
|
623
683
|
*
|
|
624
|
-
* *
|
|
684
|
+
* * Does not involve the image subject area
|
|
625
685
|
*
|
|
626
|
-
*  | *
|
|
686
|
+
*  | * Involves the image subject area
|
|
627
687
|
*
|
|
628
688
|
* 
|
|
629
|
-
* *
|
|
689
|
+
* * Does not involve the image subject area
|
|
630
690
|
*
|
|
631
691
|
*  |
|
|
632
|
-
* |
|
|
692
|
+
* | Image blemishes | * Involves the image subject area
|
|
633
693
|
*
|
|
634
694
|
* 
|
|
635
695
|
*
|
|
636
|
-
* *
|
|
696
|
+
* * Does not involve the image subject area
|
|
637
697
|
*
|
|
638
|
-
*  | *
|
|
698
|
+
*  | * Involves the image subject area
|
|
639
699
|
*
|
|
640
700
|
* 
|
|
641
|
-
* *
|
|
701
|
+
* * Does not involve the image subject area
|
|
642
702
|
*
|
|
643
703
|
*  |
|
|
644
704
|
*
|
|
@@ -648,80 +708,79 @@ export default class Client extends OpenApi {
|
|
|
648
708
|
*/
|
|
649
709
|
imageRemoveWithOptions(tmpReq: $_model.ImageRemoveRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageRemoveResponse>;
|
|
650
710
|
/**
|
|
651
|
-
*
|
|
711
|
+
* Intelligently erases unwanted elements from e-commerce images, automatically identifying and removing text, specific names, transparent text blocks, and image blemishes, with support for specifying objects to erase as needed for efficient and precise batch processing that simplifies image editing workflows. (Synchronous)
|
|
652
712
|
*
|
|
653
713
|
* @remarks
|
|
654
|
-
* ## Product
|
|
655
|
-
* The
|
|
656
|
-
* ##
|
|
657
|
-
* * **Efficient
|
|
658
|
-
*
|
|
659
|
-
* Remove irrelevant visual elements to provide a cleaner, more focused product display and enhance the customer shopping experience.
|
|
660
|
-
* * **Multi-platform Product Information Synchronization:**
|
|
714
|
+
* ## Product Introduction
|
|
715
|
+
* The intelligent image erasure product is designed specifically for e-commerce images. It automatically identifies and removes text, specific names, transparent text blocks, and image blemishes from e-commerce images. You can specify objects to erase as needed, enabling efficient and precise batch processing that simplifies image editing workflows. (Synchronous)
|
|
716
|
+
* ## Scenarios
|
|
717
|
+
* * **Efficient e-commerce image processing:**
|
|
661
718
|
*
|
|
662
|
-
*
|
|
663
|
-
* * **
|
|
719
|
+
* Removes irrelevant visual elements to provide clearer, more focused product displays that enhance the shopping experience.
|
|
720
|
+
* * **Multi-platform product information synchronization:**
|
|
664
721
|
*
|
|
665
|
-
*
|
|
666
|
-
*
|
|
667
|
-
* ## Feature Introduction
|
|
668
|
-
* 1. First, clarify the definitions of image subject and image background. In actual use, when specifying removal targets, you can choose whether the removal scope is the image subject or the image background area. Both API and editor integration methods are supported to meet different types of requirements.
|
|
722
|
+
* When merchants list products across different e-commerce platforms, they can quickly erase specific text and image blemishes to comply with different platform image requirements.
|
|
723
|
+
* * **Marketing material preparation:**
|
|
669
724
|
*
|
|
670
|
-
*
|
|
725
|
+
* Merchants can easily remove existing promotional information and quickly update images with the latest campaign details.
|
|
726
|
+
* > Note: Merchants or platforms can batch-remove impurities from images to optimize image quality. Use this API in combination with the "Intelligent Recognition API" (coming soon). First, filter out images containing text, specific names, transparent text blocks, and image blemishes, then use the "Intelligent Erasure API" for batch removal. The Intelligent Recognition API focuses on "recognition," while the Intelligent Erasure API focuses on "erasure." By calling them sequentially, you can maximize erasure effectiveness and reduce false removals and false identifications.
|
|
727
|
+
* ## Features
|
|
728
|
+
* 1. First, understand the definitions of image subject and image background. When specifying erasure objects, you can choose whether the erasure scope covers the image subject or the image background area. Both API and editor access methods are supported to meet different requirements.
|
|
671
729
|
*
|
|
672
|
-
*
|
|
730
|
+
* 1. Image subject: The core product area in the image.
|
|
673
731
|
*
|
|
674
|
-
*
|
|
732
|
+
* 2. Image background: The remaining portion of the image outside the product subject.
|
|
675
733
|
*
|
|
676
|
-
*
|
|
677
|
-
*
|
|
734
|
+
* 2. The following four types of objects can be erased: text, specific names, transparent text blocks, and image blemishes. Refer to the following examples to clarify your requirements and perform targeted operations:
|
|
735
|
+
* ## Effect comparison
|
|
736
|
+
* | **Erasable objects in images** | **Original image** | **Image after erasure** |
|
|
678
737
|
* | --- | --- | --- |
|
|
679
|
-
* | Text | *
|
|
738
|
+
* | Text | * Involves the image subject area
|
|
680
739
|
*
|
|
681
740
|
* 
|
|
682
741
|
*
|
|
683
|
-
* *
|
|
742
|
+
* * Does not involve the image subject area
|
|
684
743
|
*
|
|
685
|
-
*  | *
|
|
744
|
+
*  | * Involves the image subject area
|
|
686
745
|
*
|
|
687
746
|
* 
|
|
688
|
-
* *
|
|
747
|
+
* * Does not involve the image subject area
|
|
689
748
|
*
|
|
690
749
|
*  |
|
|
691
|
-
* | Specific
|
|
750
|
+
* | Specific names | * Involves the image subject area
|
|
692
751
|
*
|
|
693
752
|
* 
|
|
694
753
|
*
|
|
695
|
-
* *
|
|
754
|
+
* * Does not involve the image subject area
|
|
696
755
|
*
|
|
697
|
-
*  | *
|
|
756
|
+
*  | * Involves the image subject area
|
|
698
757
|
*
|
|
699
758
|
* 
|
|
700
|
-
* *
|
|
759
|
+
* * Does not involve the image subject area
|
|
701
760
|
*
|
|
702
761
|
*  |
|
|
703
|
-
* | Transparent
|
|
762
|
+
* | Transparent text blocks | * Involves the image subject area
|
|
704
763
|
*
|
|
705
764
|
* 
|
|
706
765
|
*
|
|
707
|
-
* *
|
|
766
|
+
* * Does not involve the image subject area
|
|
708
767
|
*
|
|
709
|
-
*  | *
|
|
768
|
+
*  | * Involves the image subject area
|
|
710
769
|
*
|
|
711
770
|
* 
|
|
712
|
-
* *
|
|
771
|
+
* * Does not involve the image subject area
|
|
713
772
|
*
|
|
714
773
|
*  |
|
|
715
|
-
* |
|
|
774
|
+
* | Image blemishes | * Involves the image subject area
|
|
716
775
|
*
|
|
717
776
|
* 
|
|
718
777
|
*
|
|
719
|
-
* *
|
|
778
|
+
* * Does not involve the image subject area
|
|
720
779
|
*
|
|
721
|
-
*  | *
|
|
780
|
+
*  | * Involves the image subject area
|
|
722
781
|
*
|
|
723
782
|
* 
|
|
724
|
-
* *
|
|
783
|
+
* * Does not involve the image subject area
|
|
725
784
|
*
|
|
726
785
|
*  |
|
|
727
786
|
*
|
|
@@ -730,18 +789,18 @@ export default class Client extends OpenApi {
|
|
|
730
789
|
*/
|
|
731
790
|
imageRemove(request: $_model.ImageRemoveRequest): Promise<$_model.ImageRemoveResponse>;
|
|
732
791
|
/**
|
|
733
|
-
*
|
|
792
|
+
* Translates images using the Pro edition, which is designed specifically for e-commerce images. This product integrates multimodal large model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. Supports more than 100 language directions (including bridged translations).
|
|
734
793
|
*
|
|
735
794
|
* @remarks
|
|
736
795
|
* ## Product Introduction
|
|
737
|
-
* Image Translation Pro is designed specifically for e-commerce images. It integrates multimodal
|
|
796
|
+
* The Image Translation Pro edition is designed specifically for e-commerce images. It integrates multimodal large model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. Supports more than 100 language directions (including bridged translations).
|
|
738
797
|
* ## Scenarios
|
|
739
798
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
740
799
|
* ## Features
|
|
741
|
-
* - **Product subject
|
|
742
|
-
* - **Post-translation editing**:
|
|
743
|
-
* - **Brand name protection**:
|
|
744
|
-
* - **Translation intervention**:
|
|
800
|
+
* - **Product subject protection**: Supports custom selection of whether to translate text on the product subject, helping you protect subject information from being translated, such as embedded information like product names.
|
|
801
|
+
* - **Post-translation editing**: Supports custom selection of whether to return layout information such as text position, font, and color. This can be used for secondary editing when integrated with an image editor. The editor SDK package is not yet available. Follow platform notifications for updates.
|
|
802
|
+
* - **Brand name protection**: Supports custom selection of whether to translate brand names on images, helping you protect brand name information from being translated.
|
|
803
|
+
* - **Translation intervention**: Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. Contact the platform if you need more.
|
|
745
804
|
*
|
|
746
805
|
* @param request - ImageTranslationProRequest
|
|
747
806
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -749,18 +808,18 @@ export default class Client extends OpenApi {
|
|
|
749
808
|
*/
|
|
750
809
|
imageTranslationProWithOptions(request: $_model.ImageTranslationProRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationProResponse>;
|
|
751
810
|
/**
|
|
752
|
-
*
|
|
811
|
+
* Translates images using the Pro edition, which is designed specifically for e-commerce images. This product integrates multimodal large model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. Supports more than 100 language directions (including bridged translations).
|
|
753
812
|
*
|
|
754
813
|
* @remarks
|
|
755
814
|
* ## Product Introduction
|
|
756
|
-
* Image Translation Pro is designed specifically for e-commerce images. It integrates multimodal
|
|
815
|
+
* The Image Translation Pro edition is designed specifically for e-commerce images. It integrates multimodal large model technology to achieve more accurate image understanding, significantly improve translation quality, and continuously expand and optimize multilingual translation capabilities. Supports more than 100 language directions (including bridged translations).
|
|
757
816
|
* ## Scenarios
|
|
758
817
|
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
759
818
|
* ## Features
|
|
760
|
-
* - **Product subject
|
|
761
|
-
* - **Post-translation editing**:
|
|
762
|
-
* - **Brand name protection**:
|
|
763
|
-
* - **Translation intervention**:
|
|
819
|
+
* - **Product subject protection**: Supports custom selection of whether to translate text on the product subject, helping you protect subject information from being translated, such as embedded information like product names.
|
|
820
|
+
* - **Post-translation editing**: Supports custom selection of whether to return layout information such as text position, font, and color. This can be used for secondary editing when integrated with an image editor. The editor SDK package is not yet available. Follow platform notifications for updates.
|
|
821
|
+
* - **Brand name protection**: Supports custom selection of whether to translate brand names on images, helping you protect brand name information from being translated.
|
|
822
|
+
* - **Translation intervention**: Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs in different scenarios. You can upload up to 100,000 intervention terms. Contact the platform if you need more.
|
|
764
823
|
*
|
|
765
824
|
* @param request - ImageTranslationProRequest
|
|
766
825
|
* @returns ImageTranslationProResponse
|
|
@@ -824,6 +883,65 @@ export default class Client extends OpenApi {
|
|
|
824
883
|
* @returns LanguageDetectResponse
|
|
825
884
|
*/
|
|
826
885
|
languageDetect(request: $_model.LanguageDetectRequest): Promise<$_model.LanguageDetectResponse>;
|
|
886
|
+
/**
|
|
887
|
+
* Material display detection is an intelligent compliance detection capability for in-store marketing materials built on multimodal large language models (MLLMs). It is designed for marketing material inspection scenarios in offline retail and channel stores. For standard materials such as function card stands, posters, and door-shaped display stands, as well as long-tail materials such as light box fabrics, KT boards, floor stickers, and light boxes captured in store photos, the service performs natural-language-level compliance checks based on inspection rules and outputs structured conclusions and Chinese evidence descriptions that can be directly integrated with business systems. This is a **synchronous** call that returns results in a single request.
|
|
888
|
+
*
|
|
889
|
+
* @remarks
|
|
890
|
+
* ## **Common scenarios**
|
|
891
|
+
* - **In-store marketing material compliance inspection**: Automatically determines whether a store has placed or posted specified marketing materials (function card stands, posters, door-shaped display stands, etc.) according to the standard display guidelines issued by headquarters. Identifies typical issues such as "not placed," "placement fault," or "content mismatch."
|
|
892
|
+
*
|
|
893
|
+
* - **New product or campaign material deployment verification**: During new product launches or sales promotions, automatically verifies in batch whether campaign materials in store photos have been listed as required for publishing, overriding manual spot checks.
|
|
894
|
+
*
|
|
895
|
+
* - **Adaptive dual-image comparison and single-image detection**: A single API supports both "reference image + target image" dual-image comparison (Mode A) and "target image only" single-image detection (Mode B). The mode uses automatic switchover based on whether `ImageRefer` is provided. The caller does not need to differentiate between invocation methods.
|
|
896
|
+
* ## **Features**
|
|
897
|
+
* - **Multi-mode intelligent routing**: The service has built-in material type parsing capabilities. It automatically identifies the target material type from the `Rules` natural language text and routes the request to the corresponding detection pipeline. The caller only needs to provide image URLs and rule text. Four detection routing pipelines are currently supported: "function card stand," "poster," "door-shaped display stand," and "other materials." More detection pipelines for specific marketing material types will be added over time.
|
|
898
|
+
*
|
|
899
|
+
* - **MLLM semantic-level understanding + structured rule coordination**: A multimodal large language model performs semantic-level understanding tasks such as material recognition, content comparison, and text OCR. Combined with rule cleaning and a structuring model, natural language rules are broken down into individually evaluable steps (S1, S2, ...), ensuring both accuracy and rule flexibility with full traceability.
|
|
900
|
+
*
|
|
901
|
+
* - **Structured inspection conclusion output**: The output follows a unified structure of `Result.OverallResult` + `Result.Steps[]` + `Result.Evidence`. The overall conclusion is derived by logically ANDing all step results. Each step is independently visible, making it easy to drive downstream business systems and support case-level manual review traceability.
|
|
902
|
+
*
|
|
903
|
+
* - **Supported input formats**: Currently supports publicly accessible image URLs. Both single-image (Mode B) and dual-image (Mode A) call modes are supported, with an identical output structure.
|
|
904
|
+
* ## **How to invoke**
|
|
905
|
+
* - **Synchronous call**: Returns detection results in a single request without polling. The response uses a unified envelope of `Code` / `Message` / `RequestId` / `Success` / `Data`.
|
|
906
|
+
*
|
|
907
|
+
* - **Authentication and signing**: Invoked through the Aidge gateway. Authentication, signing, and common parameters follow the platform\\"s unified access method. Refer to the officially published API reference for the exact request path.
|
|
908
|
+
*
|
|
909
|
+
* - **Timeout settings**: Set the request timeout to no less than the maximum response time of the API (refer to the official release for the specific value).
|
|
910
|
+
*
|
|
911
|
+
* @param request - MaterialInspectionRequest
|
|
912
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
913
|
+
* @returns MaterialInspectionResponse
|
|
914
|
+
*/
|
|
915
|
+
materialInspectionWithOptions(request: $_model.MaterialInspectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MaterialInspectionResponse>;
|
|
916
|
+
/**
|
|
917
|
+
* Material display detection is an intelligent compliance detection capability for in-store marketing materials built on multimodal large language models (MLLMs). It is designed for marketing material inspection scenarios in offline retail and channel stores. For standard materials such as function card stands, posters, and door-shaped display stands, as well as long-tail materials such as light box fabrics, KT boards, floor stickers, and light boxes captured in store photos, the service performs natural-language-level compliance checks based on inspection rules and outputs structured conclusions and Chinese evidence descriptions that can be directly integrated with business systems. This is a **synchronous** call that returns results in a single request.
|
|
918
|
+
*
|
|
919
|
+
* @remarks
|
|
920
|
+
* ## **Common scenarios**
|
|
921
|
+
* - **In-store marketing material compliance inspection**: Automatically determines whether a store has placed or posted specified marketing materials (function card stands, posters, door-shaped display stands, etc.) according to the standard display guidelines issued by headquarters. Identifies typical issues such as "not placed," "placement fault," or "content mismatch."
|
|
922
|
+
*
|
|
923
|
+
* - **New product or campaign material deployment verification**: During new product launches or sales promotions, automatically verifies in batch whether campaign materials in store photos have been listed as required for publishing, overriding manual spot checks.
|
|
924
|
+
*
|
|
925
|
+
* - **Adaptive dual-image comparison and single-image detection**: A single API supports both "reference image + target image" dual-image comparison (Mode A) and "target image only" single-image detection (Mode B). The mode uses automatic switchover based on whether `ImageRefer` is provided. The caller does not need to differentiate between invocation methods.
|
|
926
|
+
* ## **Features**
|
|
927
|
+
* - **Multi-mode intelligent routing**: The service has built-in material type parsing capabilities. It automatically identifies the target material type from the `Rules` natural language text and routes the request to the corresponding detection pipeline. The caller only needs to provide image URLs and rule text. Four detection routing pipelines are currently supported: "function card stand," "poster," "door-shaped display stand," and "other materials." More detection pipelines for specific marketing material types will be added over time.
|
|
928
|
+
*
|
|
929
|
+
* - **MLLM semantic-level understanding + structured rule coordination**: A multimodal large language model performs semantic-level understanding tasks such as material recognition, content comparison, and text OCR. Combined with rule cleaning and a structuring model, natural language rules are broken down into individually evaluable steps (S1, S2, ...), ensuring both accuracy and rule flexibility with full traceability.
|
|
930
|
+
*
|
|
931
|
+
* - **Structured inspection conclusion output**: The output follows a unified structure of `Result.OverallResult` + `Result.Steps[]` + `Result.Evidence`. The overall conclusion is derived by logically ANDing all step results. Each step is independently visible, making it easy to drive downstream business systems and support case-level manual review traceability.
|
|
932
|
+
*
|
|
933
|
+
* - **Supported input formats**: Currently supports publicly accessible image URLs. Both single-image (Mode B) and dual-image (Mode A) call modes are supported, with an identical output structure.
|
|
934
|
+
* ## **How to invoke**
|
|
935
|
+
* - **Synchronous call**: Returns detection results in a single request without polling. The response uses a unified envelope of `Code` / `Message` / `RequestId` / `Success` / `Data`.
|
|
936
|
+
*
|
|
937
|
+
* - **Authentication and signing**: Invoked through the Aidge gateway. Authentication, signing, and common parameters follow the platform\\"s unified access method. Refer to the officially published API reference for the exact request path.
|
|
938
|
+
*
|
|
939
|
+
* - **Timeout settings**: Set the request timeout to no less than the maximum response time of the API (refer to the official release for the specific value).
|
|
940
|
+
*
|
|
941
|
+
* @param request - MaterialInspectionRequest
|
|
942
|
+
* @returns MaterialInspectionResponse
|
|
943
|
+
*/
|
|
944
|
+
materialInspection(request: $_model.MaterialInspectionRequest): Promise<$_model.MaterialInspectionResponse>;
|
|
827
945
|
/**
|
|
828
946
|
* An intelligent logistics parcel auditing product built on the synergy of Multimodal Large Language Models (MLLM) and specialized vision algorithms, designed for automated compliance review in the "piece-weight-dimension" stage of e-commerce logistics. The product performs structured auditing across multiple dimensions including bounding box validity, bounding box fit accuracy, and foreign object interference on parcels placed on scanning platforms. It supports different hardware acquisition scenarios such as white background boards and green background boards, and outputs Boolean audit conclusions with Chinese reason descriptions that can be directly integrated into business systems. It is suitable for large-scale, high-concurrency inbound quality inspection pipelines.
|
|
829
947
|
*
|
|
@@ -1244,28 +1362,28 @@ export default class Client extends OpenApi {
|
|
|
1244
1362
|
*/
|
|
1245
1363
|
textCorrect(request: $_model.TextCorrectRequest): Promise<$_model.TextCorrectResponse>;
|
|
1246
1364
|
/**
|
|
1247
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs
|
|
1365
|
+
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
1248
1366
|
*
|
|
1249
1367
|
* @remarks
|
|
1250
1368
|
* ## Product Introduction
|
|
1251
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs
|
|
1369
|
+
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
1252
1370
|
* ## Common scenarios
|
|
1253
|
-
* - Product titles: Marco MT
|
|
1254
|
-
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco
|
|
1255
|
-
* - Product attributes: Product attribute terms are
|
|
1256
|
-
* - Customer service conversations: In customer service scenarios,
|
|
1257
|
-
* Marco MT can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
|
|
1371
|
+
* - Product titles: Marco MT large model translation accurately translates phrases, keywords, and trending words in product titles into the target language, improving product visibility on e-commerce platforms.
|
|
1372
|
+
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco large model translation supports long text translation and HTML format, delivering excellent translation quality and format preservation.
|
|
1373
|
+
* - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
|
|
1374
|
+
* - Customer service conversations: In customer service scenarios, the model optimizes issues such as missing context and typos, and supports polite expressions for certain language directions.
|
|
1375
|
+
* Marco MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
|
|
1258
1376
|
* ## Features
|
|
1259
|
-
* - **Supported language directions** Marco MT supports translation between more than 100 languages and language detection for 23 languages. For specific language directions, refer to the language mapping table in
|
|
1260
|
-
* - **Ultra-low hallucination rate and high-speed inference** Marco MT is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it
|
|
1377
|
+
* - **Supported language directions** Marco MT large model translation supports translation between more than 100 languages and language detection for 23 languages. For specific language directions, refer to the language mapping table in section 5.6.
|
|
1378
|
+
* - **Ultra-low hallucination rate and high-speed inference** Marco MT large model translation is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it offers faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
|
|
1261
1379
|
* - **Supported text format types** Currently supports text and html text types.
|
|
1262
|
-
* - **Translation intervention** Supports custom translation results, including do-not-translate (ABC
|
|
1380
|
+
* - **Translation intervention support** Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. Contact the platform for additional capacity.
|
|
1263
1381
|
* ## Translation quality comparison
|
|
1264
1382
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
1265
1383
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
1266
1384
|
* | 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 |
|
|
1267
1385
|
* | 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 |
|
|
1268
|
-
* | 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
|
|
1386
|
+
* | 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". Other translations may cause ambiguity about the product subject |
|
|
1269
1387
|
*
|
|
1270
1388
|
* @param tmpReq - TextTranslateRequest
|
|
1271
1389
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1273,28 +1391,28 @@ export default class Client extends OpenApi {
|
|
|
1273
1391
|
*/
|
|
1274
1392
|
textTranslateWithOptions(tmpReq: $_model.TextTranslateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TextTranslateResponse>;
|
|
1275
1393
|
/**
|
|
1276
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs
|
|
1394
|
+
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
1277
1395
|
*
|
|
1278
1396
|
* @remarks
|
|
1279
1397
|
* ## Product Introduction
|
|
1280
|
-
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs
|
|
1398
|
+
* Marco MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs, continuously optimized for e-commerce-specific terminology such as brands, models, materials, and attributes. It supports translation between more than 100 language pairs (including bridged translations), especially Chinese-English, Chinese-multilingual, and English-multilingual translations. It supports language detection for 24 language directions. If you do not specify a source language, automatic detection is performed.
|
|
1281
1399
|
* ## Common scenarios
|
|
1282
|
-
* - Product titles: Marco MT
|
|
1283
|
-
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco
|
|
1284
|
-
* - Product attributes: Product attribute terms are
|
|
1285
|
-
* - Customer service conversations: In customer service scenarios,
|
|
1286
|
-
* Marco MT can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
|
|
1400
|
+
* - Product titles: Marco MT large model translation accurately translates phrases, keywords, and trending words in product titles into the target language, improving product visibility on e-commerce platforms.
|
|
1401
|
+
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco large model translation supports long text translation and HTML format, delivering excellent translation quality and format preservation.
|
|
1402
|
+
* - Product attributes: Product attribute terms are short and may contain e-commerce-specific terms such as model numbers and parameters.
|
|
1403
|
+
* - Customer service conversations: In customer service scenarios, the model optimizes issues such as missing context and typos, and supports polite expressions for certain language directions.
|
|
1404
|
+
* Marco MT large model translation can also be used for general-purpose translation scenarios such as office work, meetings, and daily conversations.
|
|
1287
1405
|
* ## Features
|
|
1288
|
-
* - **Supported language directions** Marco MT supports translation between more than 100 languages and language detection for 23 languages. For specific language directions, refer to the language mapping table in
|
|
1289
|
-
* - **Ultra-low hallucination rate and high-speed inference** Marco MT is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it
|
|
1406
|
+
* - **Supported language directions** Marco MT large model translation supports translation between more than 100 languages and language detection for 23 languages. For specific language directions, refer to the language mapping table in section 5.6.
|
|
1407
|
+
* - **Ultra-low hallucination rate and high-speed inference** Marco MT large model translation is a large language model with preference alignment for translation scenarios. Compared with general-purpose large language models, it offers faster translation inference and an extremely low hallucination rate, making it especially suitable for large-scale invocation scenarios.
|
|
1290
1408
|
* - **Supported text format types** Currently supports text and html text types.
|
|
1291
|
-
* - **Translation intervention** Supports custom translation results, including do-not-translate (ABC
|
|
1409
|
+
* - **Translation intervention support** Supports custom translation results, including do-not-translate (ABC-ABC), specified translation (ABC-DEF), and no translation (ABC-empty value). This is commonly used for brand name protection scenarios. Simply pass the corresponding intervention glossary ID when calling the API to meet your translation needs across different scenarios. You can upload up to 100,000 intervention terms. Contact the platform for additional capacity.
|
|
1292
1410
|
* ## Translation quality comparison
|
|
1293
1411
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
1294
1412
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
1295
1413
|
* | 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 |
|
|
1296
1414
|
* | 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 |
|
|
1297
|
-
* | 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
|
|
1415
|
+
* | 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". Other translations may cause ambiguity about the product subject |
|
|
1298
1416
|
*
|
|
1299
1417
|
* @param request - TextTranslateRequest
|
|
1300
1418
|
* @returns TextTranslateResponse
|