Text translation (asynchronous)
1. Overview
Maas MT is an e-commerce translation model trained on over 1 billion high-quality bilingual sentence pairs. It is continuously optimized for e-commerce-specific terminology, such as brands, models, materials, and product attributes. The model supports 156 languages with more than 400 language mappings and includes automatic language detection for the source language. For details, see language mapping.
2. Use cases
Product title: The Maas MT large language model can accurately translate phrases, keywords, and popular terms in product titles into the target language, increasing product visibility on e-commerce platforms.
Product description: Product descriptions are often long and have complex, varied formatting. The Maas MT translation model supports long-text translation and preserves HTML format, delivering excellent translation quality and format retention.
Product attribute: Product attributes are short and often include e-commerce-specific terms, such as model numbers and parameters.
Customer service chat: In customer service scenarios, the model helps mitigate issues caused by missing context and typos. It also supports polite expressions for some language mappings.
The Maas MT large language model can also be used for general-purpose translation scenarios, such as for office documents, meetings, and daily conversations.
3. Features
Ultra-low hallucination rate and high-speed inference
Maas MT is a large language model fine-tuned for translation tasks using preference alignment. Compared to general-purpose large language models, it offers faster translation inference and an extremely low hallucination rate, making it ideal for high-volume API call scenarios.
Supported text formats
The service currently supports text in
textandhtmlformats.Glossary support
You can customize translation results by using a glossary. This includes specifying terms that should not be translated (for example, ABC remains ABC), defining specific translations (ABC becomes DEF), or omitting terms entirely (ABC is removed from the output). This feature is commonly used for brand protection. To apply these rules, create a glossary and pass its ID in the API call. You can upload up to 100,000 glossary entries. To request a higher limit, contact platform support.
Translation quality comparison
Source text | Maas MT translation | Other translation product 1 | Other translation product 2 | Advantage |
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 main subject |
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 natural segmentation |
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 | The product is clearly identified as a "key pouch," not a "keychain." Other outputs can make the product type ambiguous. |
4. Prerequisites and call process
4.1 Prerequisites
Text translation supports both synchronous and asynchronous calls. This document describes the asynchronous API. For synchronous calls, see Text Translation - Synchronous Interface.
The asynchronous interfaces for text translation and other capabilities share the same result retrieval process, RocketMQ subscription rules, message encryption protocol, dependency configurations, and Java consumption and decryption code.
For the asynchronous integration process, subscription rules, message format, encryption protocol, and detailed integration solutions, see Asynchronous Interface Call Instructions.
5. Developer guide
5.1 Request parameters
Parameter | Type | Required | Description |
SourceTextList | List<String> | Yes | The text to translate. The list can contain up to 50 items, with a total character count of 50,000 or less. Example value: ["Hello", "Happy Planet"] |
SourceLanguage | String | No | The source language code. See the supported languages list below. If you do not provide this parameter, the service automatically detects the source language. Example: |
TargetLanguage | String | Yes | The target language code. See the supported language mapping list below. Example: |
FormatType | String | No | The format of the source text. Currently, Example: |
Glossary | String | No | The glossary ID. You must create the glossary in the console and provide its ID in the request. If you omit this parameter, no glossary rules are applied. Example: |
TranslateScene | String | No | A business scenario identifier. You can only pass one of the values listed below. When a value is provided, the translation engine uses the corresponding industry-specific termbase and style strategy to produce more relevant translations. If you omit this field or pass an invalid value, the service uses the general translation strategy. Valid values are the English terms below:
|
BizName | String | No | This field helps identify your organization for support and troubleshooting.
|
BizId | String | No | The service includes this ID unmodified in the translation result. |
5.2 Request example
{
"SourceTextList": ["你好", "快乐星球"],
"SourceLanguage": "zh",
"TargetLanguage": "en",
"FormatType": "text",
"TranslateScene": "e-commerce-title",
"BizName": "ExampleBU-Product"
}5.3 Response parameters
After a successful submission, the API returns Data.TaskId but does not include the translated text or final usage information. A Success=true response indicates only that the API call was submitted, not that the translation task is complete. Save the task ID and follow the Asynchronous Interface Call Instructions to check the task status or receive result notifications.
Parameter | Type | Description |
Code | String | The response code for the submission call. A successful call returns |
Success | Boolean | Indicates whether the submission call was successful. This does not mean the translation is complete. |
Message | String | A description of the call status. A successful call returns Success. On failure, this field contains the error message. |
RequestId | String | The request ID for the submission, used for troubleshooting. |
Data | Object | Task submission data. |
Data.TaskId | String | The ID for the asynchronous task. Use this ID to query results and to associate notifications. Do not use the example prefix for business validation. |
5.4 Response example
{
"Data": {
"TaskId": "TID_2c6519c0-834b-4529-9d89-f92e2763890f"
},
"RequestId": "01A11FA1-F64C-14E9-A486-E0CCF9A4F13D",
"Message": "Success",
"Code": "success",
"Success": true
}5.5 Throttling and error handling
By default, the service throttles asynchronous submissions to 1 QPS (Queries Per Second) per primary account. To increase this limit, provide your UID and contact the product team.
The public configuration for the
QueryAsyncTaskResultoperation is 5 calls per second. However, your actual account limit is determined by the service-side configuration. If you have multiple ongoing text tasks, manage the query frequency centrally and set the polling interval based on your business's acceptable latency. Use a backoff and random jitter strategy for throttling and transient errors, and set a local wait timeout.If the API call fails, check the
Code,Message, andRequestIdfields in the response. If a task status isFAILED, read the failure information from the business result. For common error codes, see Error Codes. This API does not currently support idempotent submissions or task cancellation. Retrying a submission may create a new task.For troubleshooting, record the
RequestIdandTaskIdfor both submission and query calls, along with the call time and status. Do not log the full source text, plaintext messages, or secret keys. Follow the common integration documentation for requirements on consumption acknowledgment, redelivery, idempotence, and query fallbacks.
6. Billing
For more information, see Billing Details.