@alicloud/aidge20260428 2.0.0 → 3.0.1
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 +230 -246
- package/dist/client.js +263 -288
- 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/{ImageTranslationPlusRequest.js → ImageRemovalProRequest.js} +6 -16
- package/dist/models/ImageRemovalProRequest.js.map +1 -0
- package/dist/models/{ImageTranslationPlusResponse.d.ts → ImageRemovalProResponse.d.ts} +3 -3
- package/dist/models/{ImageTranslationPlusResponse.js → ImageRemovalProResponse.js} +6 -6
- package/dist/models/ImageRemovalProResponse.js.map +1 -0
- package/dist/models/{ImageTranslationPlusResponseBody.d.ts → ImageRemovalProResponseBody.d.ts} +21 -6
- package/dist/models/{ImageTranslationPlusResponseBody.js → ImageRemovalProResponseBody.js} +14 -7
- 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 +11 -7
- package/dist/models/ImageTranslationProRequest.js.map +1 -1
- package/dist/models/ImageTranslationProResponseBody.d.ts +55 -55
- package/dist/models/MaterialInspectionRequest.d.ts +14 -0
- package/dist/models/MaterialInspectionRequest.js.map +1 -1
- package/dist/models/MaterialInspectionResponseBody.d.ts +45 -0
- package/dist/models/MaterialInspectionResponseBody.js.map +1 -1
- 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 +4 -4
- package/dist/models/model.js +10 -10
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +269 -297
- 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/{ImageTranslationPlusResponse.ts → ImageRemovalProResponse.ts} +4 -4
- package/src/models/{ImageTranslationPlusResponseBody.ts → ImageRemovalProResponseBody.ts} +27 -7
- 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 -7
- package/src/models/ImageTranslationProResponseBody.ts +55 -55
- package/src/models/MaterialInspectionRequest.ts +14 -0
- package/src/models/MaterialInspectionResponseBody.ts +45 -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 +4 -4
- package/dist/models/ImageTranslationPlusRequest.d.ts +0 -75
- package/dist/models/ImageTranslationPlusRequest.js.map +0 -1
- package/dist/models/ImageTranslationPlusResponse.js.map +0 -1
- package/dist/models/ImageTranslationPlusResponseBody.js.map +0 -1
- package/src/models/ImageTranslationPlusRequest.ts +0 -100
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
|
+
* |  |  |
|
|
591
|
+
*
|
|
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).
|
|
599
|
+
*
|
|
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:**
|
|
586
605
|
*
|
|
587
|
-
*
|
|
606
|
+
* Remove irrelevant visual elements to provide clearer, more focused product displays and enhance the shopping experience.
|
|
607
|
+
* * **Multi-platform product information synchronization:**
|
|
588
608
|
*
|
|
589
|
-
*
|
|
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.
|
|
590
612
|
*
|
|
591
|
-
*
|
|
613
|
+
* 1. Image subject: the core product area in the image.
|
|
592
614
|
*
|
|
593
|
-
*
|
|
594
|
-
*
|
|
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,89 +789,18 @@ export default class Client extends OpenApi {
|
|
|
730
789
|
*/
|
|
731
790
|
imageRemove(request: $_model.ImageRemoveRequest): Promise<$_model.ImageRemoveResponse>;
|
|
732
791
|
/**
|
|
733
|
-
*
|
|
734
|
-
*
|
|
735
|
-
* @remarks
|
|
736
|
-
* ## Product Introduction
|
|
737
|
-
* Image Translation Plus is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and outperforms Image Translation Lite and Pro in translation accuracy for multiple minor languages. We recommend using it for the following language pairs, with more to be supported in the future.
|
|
738
|
-
* Supported language pairs:
|
|
739
|
-
* | **No.** | **Source Language** | | **Target Language** | |
|
|
740
|
-
* | --- | --- | --- | --- | --- |
|
|
741
|
-
* | | Language Code | Language Name | Language Code | Language Name |
|
|
742
|
-
* | 1 | en | English | ar | Arabic |
|
|
743
|
-
* | 2 | en | English | id | Indonesian |
|
|
744
|
-
* | 3 | en | English | th | Thai |
|
|
745
|
-
* | 4 | en | English | ko | Korean |
|
|
746
|
-
* | 5 | en | English | ja | Japanese |
|
|
747
|
-
* | 6 | en | English | vi | Vietnamese |
|
|
748
|
-
* | 7 | en | English | ru | Russian |
|
|
749
|
-
* | 8 | en | English | tl | Filipino |
|
|
750
|
-
* | 9 | en | English | es | Spanish |
|
|
751
|
-
* | 10 | en | English | fr | French |
|
|
752
|
-
* | 11 | en | English | de | German |
|
|
753
|
-
* | 12 | en | English | pl | Polish |.
|
|
754
|
-
* ## Common scenarios
|
|
755
|
-
* Main product images and detail images for cross-border e-commerce.
|
|
756
|
-
* ## Functions and features
|
|
757
|
-
* * **Product body information protection**: Supports custom selection of whether to translate text on the product body. This helps protect body information such as embedded product names from being translated.
|
|
758
|
-
*
|
|
759
|
-
* * **Brand name protection**: Supports custom selection of whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
760
|
-
*
|
|
761
|
-
* * **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. If you need more, contact the platform for assistance.
|
|
762
|
-
*
|
|
763
|
-
* @param request - ImageTranslationPlusRequest
|
|
764
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
765
|
-
* @returns ImageTranslationPlusResponse
|
|
766
|
-
*/
|
|
767
|
-
imageTranslationPlusWithOptions(request: $_model.ImageTranslationPlusRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationPlusResponse>;
|
|
768
|
-
/**
|
|
769
|
-
* Image Translation Plus is designed specifically for e-commerce images. It uses a Mixture of Experts (MOE) architecture and outperforms Image Translation Lite and Pro in translation accuracy for multiple minor languages. We recommend using it for the following 8 language pairs, with more to be supported in the future.
|
|
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).
|
|
770
793
|
*
|
|
771
794
|
* @remarks
|
|
772
795
|
* ## Product Introduction
|
|
773
|
-
* Image Translation
|
|
774
|
-
*
|
|
775
|
-
*
|
|
776
|
-
* | --- | --- | --- | --- | --- |
|
|
777
|
-
* | | Language Code | Language Name | Language Code | Language Name |
|
|
778
|
-
* | 1 | en | English | ar | Arabic |
|
|
779
|
-
* | 2 | en | English | id | Indonesian |
|
|
780
|
-
* | 3 | en | English | th | Thai |
|
|
781
|
-
* | 4 | en | English | ko | Korean |
|
|
782
|
-
* | 5 | en | English | ja | Japanese |
|
|
783
|
-
* | 6 | en | English | vi | Vietnamese |
|
|
784
|
-
* | 7 | en | English | ru | Russian |
|
|
785
|
-
* | 8 | en | English | tl | Filipino |
|
|
786
|
-
* | 9 | en | English | es | Spanish |
|
|
787
|
-
* | 10 | en | English | fr | French |
|
|
788
|
-
* | 11 | en | English | de | German |
|
|
789
|
-
* | 12 | en | English | pl | Polish |.
|
|
790
|
-
* ## Common scenarios
|
|
791
|
-
* Main product images and detail images for cross-border e-commerce.
|
|
792
|
-
* ## Functions and features
|
|
793
|
-
* * **Product body information protection**: Supports custom selection of whether to translate text on the product body. This helps protect body information such as embedded product names from being translated.
|
|
794
|
-
*
|
|
795
|
-
* * **Brand name protection**: Supports custom selection of whether to translate brand names on images. This helps protect brand name information from being translated.
|
|
796
|
-
*
|
|
797
|
-
* * **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. If you need more, contact the platform for assistance.
|
|
798
|
-
*
|
|
799
|
-
* @param request - ImageTranslationPlusRequest
|
|
800
|
-
* @returns ImageTranslationPlusResponse
|
|
801
|
-
*/
|
|
802
|
-
imageTranslationPlus(request: $_model.ImageTranslationPlusRequest): Promise<$_model.ImageTranslationPlusResponse>;
|
|
803
|
-
/**
|
|
804
|
-
* The Image Translation Pro version is specifically designed for e-commerce images, integrating multimodal large model technology to achieve more accurate understanding of images, significantly improving translation quality, and continuously expanding and optimizing multilingual translation capabilities. It supports over 100 language pairs (including bridged translations).
|
|
805
|
-
*
|
|
806
|
-
* @remarks
|
|
807
|
-
* ## Product Introduction
|
|
808
|
-
* The Image Translation Pro version is specifically designed for e-commerce images, integrating multimodal large model technology to achieve more accurate understanding of images, significantly improving translation quality, and continuously expanding and optimizing multilingual translation capabilities. It supports over 100 language pairs (including bridged translations).
|
|
809
|
-
* ## Applicable Scenarios
|
|
810
|
-
* E-commerce product images, marketing images, and images for various other scenarios
|
|
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).
|
|
797
|
+
* ## Scenarios
|
|
798
|
+
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
811
799
|
* ## Features
|
|
812
|
-
* - **Product
|
|
813
|
-
* - **Post-translation
|
|
814
|
-
* - **Brand
|
|
815
|
-
* - **Translation
|
|
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.
|
|
816
804
|
*
|
|
817
805
|
* @param request - ImageTranslationProRequest
|
|
818
806
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -820,18 +808,18 @@ export default class Client extends OpenApi {
|
|
|
820
808
|
*/
|
|
821
809
|
imageTranslationProWithOptions(request: $_model.ImageTranslationProRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ImageTranslationProResponse>;
|
|
822
810
|
/**
|
|
823
|
-
*
|
|
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).
|
|
824
812
|
*
|
|
825
813
|
* @remarks
|
|
826
814
|
* ## Product Introduction
|
|
827
|
-
* The Image Translation Pro
|
|
828
|
-
* ##
|
|
829
|
-
* E-commerce product images, marketing images, and images for various other scenarios
|
|
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).
|
|
816
|
+
* ## Scenarios
|
|
817
|
+
* E-commerce product images, marketing images, and images for various other scenarios.
|
|
830
818
|
* ## Features
|
|
831
|
-
* - **Product
|
|
832
|
-
* - **Post-translation
|
|
833
|
-
* - **Brand
|
|
834
|
-
* - **Translation
|
|
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.
|
|
835
823
|
*
|
|
836
824
|
* @param request - ImageTranslationProRequest
|
|
837
825
|
* @returns ImageTranslationProResponse
|
|
@@ -896,31 +884,29 @@ export default class Client extends OpenApi {
|
|
|
896
884
|
*/
|
|
897
885
|
languageDetect(request: $_model.LanguageDetectRequest): Promise<$_model.LanguageDetectResponse>;
|
|
898
886
|
/**
|
|
899
|
-
*
|
|
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.
|
|
900
888
|
*
|
|
901
889
|
* @remarks
|
|
902
|
-
* ##
|
|
903
|
-
* -
|
|
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."
|
|
904
892
|
*
|
|
905
|
-
* -
|
|
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.
|
|
906
894
|
*
|
|
907
|
-
* -
|
|
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.
|
|
908
898
|
*
|
|
909
|
-
*
|
|
910
|
-
* - **多模式智能路由**:内置物料类型解析能力,基于 `Rules` 自然语言文本自动识别目标物料类型,路由至对应的素材检测链路;调用方仅需传入图像 URL 与规则文本。目前已支持「功能台卡」「海报」「门型展架」「其他素材」4 套检测项路由,后续将持续增加细分营销物料类型的检测链路。
|
|
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.
|
|
911
900
|
*
|
|
912
|
-
* - **
|
|
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.
|
|
913
902
|
*
|
|
914
|
-
* -
|
|
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`.
|
|
915
906
|
*
|
|
916
|
-
* -
|
|
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.
|
|
917
908
|
*
|
|
918
|
-
*
|
|
919
|
-
* - **同步调用**:单次请求即返回检测结果,无需轮询。响应为 `Code` / `Message` / `RequestId` / `Success` / `Data` 统一信封。
|
|
920
|
-
*
|
|
921
|
-
* - **鉴权与签名**:经 Aidge 网关调用,鉴权、签名与公共参数遵循平台统一接入方式。具体请求路径以正式发布的接口文档为准。
|
|
922
|
-
*
|
|
923
|
-
* - **超时设置**:建议将请求超时设置为不低于接口的最长响应时间(具体值以正式发布为准)。
|
|
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).
|
|
924
910
|
*
|
|
925
911
|
* @param request - MaterialInspectionRequest
|
|
926
912
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -928,31 +914,29 @@ export default class Client extends OpenApi {
|
|
|
928
914
|
*/
|
|
929
915
|
materialInspectionWithOptions(request: $_model.MaterialInspectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MaterialInspectionResponse>;
|
|
930
916
|
/**
|
|
931
|
-
*
|
|
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.
|
|
932
918
|
*
|
|
933
919
|
* @remarks
|
|
934
|
-
* ##
|
|
935
|
-
* -
|
|
936
|
-
*
|
|
937
|
-
* - **新品 / 活动期素材落地核验**:新品发布或大促活动期间,对门店实拍图中的活动物料是否已按要求上架进行批量自动核验,替代人工抽检。
|
|
938
|
-
*
|
|
939
|
-
* - **双图比对与单图检测自适应**:同一接口同时支持「参考图 + 目标图」双图比对(模式 A)与「仅目标图」单图检测(模式 B),根据是否传入 `ImageRefer` 自动切换,调用方无需区分调用方式。
|
|
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."
|
|
940
922
|
*
|
|
941
|
-
*
|
|
942
|
-
* - **多模式智能路由**:内置物料类型解析能力,基于 `Rules` 自然语言文本自动识别目标物料类型,路由至对应的素材检测链路;调用方仅需传入图像 URL 与规则文本。目前已支持「功能台卡」「海报」「门型展架」「其他素材」4 套检测项路由,后续将持续增加细分营销物料类型的检测链路。
|
|
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.
|
|
943
924
|
*
|
|
944
|
-
* - **
|
|
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.
|
|
945
928
|
*
|
|
946
|
-
* -
|
|
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.
|
|
947
930
|
*
|
|
948
|
-
* -
|
|
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.
|
|
949
932
|
*
|
|
950
|
-
*
|
|
951
|
-
*
|
|
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`.
|
|
952
936
|
*
|
|
953
|
-
* -
|
|
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.
|
|
954
938
|
*
|
|
955
|
-
* -
|
|
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).
|
|
956
940
|
*
|
|
957
941
|
* @param request - MaterialInspectionRequest
|
|
958
942
|
* @returns MaterialInspectionResponse
|
|
@@ -1378,28 +1362,28 @@ export default class Client extends OpenApi {
|
|
|
1378
1362
|
*/
|
|
1379
1363
|
textCorrect(request: $_model.TextCorrectRequest): Promise<$_model.TextCorrectResponse>;
|
|
1380
1364
|
/**
|
|
1381
|
-
* 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.
|
|
1382
1366
|
*
|
|
1383
1367
|
* @remarks
|
|
1384
1368
|
* ## Product Introduction
|
|
1385
|
-
* 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.
|
|
1386
1370
|
* ## Common scenarios
|
|
1387
|
-
* - Product titles: Marco MT
|
|
1388
|
-
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco
|
|
1389
|
-
* - Product attributes: Product attribute terms are
|
|
1390
|
-
* - Customer service conversations: In customer service scenarios,
|
|
1391
|
-
* 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.
|
|
1392
1376
|
* ## Features
|
|
1393
|
-
* - **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
|
|
1394
|
-
* - **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.
|
|
1395
1379
|
* - **Supported text format types** Currently supports text and html text types.
|
|
1396
|
-
* - **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.
|
|
1397
1381
|
* ## Translation quality comparison
|
|
1398
1382
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
1399
1383
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
1400
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 |
|
|
1401
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 |
|
|
1402
|
-
* | 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 |
|
|
1403
1387
|
*
|
|
1404
1388
|
* @param tmpReq - TextTranslateRequest
|
|
1405
1389
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1407,28 +1391,28 @@ export default class Client extends OpenApi {
|
|
|
1407
1391
|
*/
|
|
1408
1392
|
textTranslateWithOptions(tmpReq: $_model.TextTranslateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TextTranslateResponse>;
|
|
1409
1393
|
/**
|
|
1410
|
-
* 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.
|
|
1411
1395
|
*
|
|
1412
1396
|
* @remarks
|
|
1413
1397
|
* ## Product Introduction
|
|
1414
|
-
* 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.
|
|
1415
1399
|
* ## Common scenarios
|
|
1416
|
-
* - Product titles: Marco MT
|
|
1417
|
-
* - Product descriptions: Product descriptions are typically long with diverse and complex formatting. Marco
|
|
1418
|
-
* - Product attributes: Product attribute terms are
|
|
1419
|
-
* - Customer service conversations: In customer service scenarios,
|
|
1420
|
-
* 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.
|
|
1421
1405
|
* ## Features
|
|
1422
|
-
* - **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
|
|
1423
|
-
* - **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.
|
|
1424
1408
|
* - **Supported text format types** Currently supports text and html text types.
|
|
1425
|
-
* - **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.
|
|
1426
1410
|
* ## Translation quality comparison
|
|
1427
1411
|
* | **Source text** | **Aidge translation** | **Other translation product 1** | **Other translation product 2** | **Aidge translation advantage** |
|
|
1428
1412
|
* |----------|---------------|-----------------------|-----------------------|---------------------|
|
|
1429
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 |
|
|
1430
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 |
|
|
1431
|
-
* | 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 |
|
|
1432
1416
|
*
|
|
1433
1417
|
* @param request - TextTranslateRequest
|
|
1434
1418
|
* @returns TextTranslateResponse
|