API overview

更新时间:
复制 MD 格式

API standard and pre-built SDKs in multi-language

The OpenAPI specification of this product (AnyTrans/2025-07-07) follows the ROA standard. Alibaba Cloud provides pre-built SDKs for popular programming languages to abstract low-level complexities such as request signing. This enables developers to call APIs using language-specific syntax without dealing with HTTP details directly.

Custom signature

If your specific needs, such as a customized signature, are not supported by the SDK, manually sign requests using the signature mechanism. Note that manual signing requires significant effort (usually about 5 business days). For support, join our DingTalk group (ID: 147535001692).

Before you begin

An Alibaba Cloud account has full administrative privileges. A compromised AccessKey pair exposes all associated resources to unauthorized access, posing a significant security risk. To call APIs securely, create a Resource Access Management (RAM) user with API access only, configure its AccessKey pairs, and implement the principle of least privilege (PoLP) through RAM policies. Use the Alibaba Cloud account only when its permissions are explicitly required for specific scenarios.

Text translation

API

Title

Description

TextTranslate Text Translation API Tongyi Multimodal Translation: Text Translation
BatchTranslate Batch Text Translation Tongyi Multimodal Translation: Batch Translation
SubmitLongTextTranslateTask Submit a long-text translation job Submitting a long text translation task using Translate Multimodal.
GetLongTextTranslateTask Retrieve long-text translation job result Get document translations from Tongyi Multimodal Translation.
SubmitHtmlTranslateTask Submit an HTML translation job Submitting an HTML translation task with Tongyi Multimodal Translation
GetHtmlTranslateTask Retrieve HTML translation Job Result Retrieves the result of an HTML translation task from Tongyi Multimodal Translation.
TermEdit Glossary Edit Editing the Tongyi Multimodal Translation termbase
TermQuery Glossary Query Queries the Tongyi Multimodal Translation termbase for intervention terms.

Image translation

API

Title

Description

GetImageTranslateTask Retrieve Image Translation Job Result Tongyi Multimodal Translation: Getting image translation results
SubmitImageTranslateTask Submit an image translation job Use Tongyi multimodal translation to submit an image for translation.

Document translation

API

Title

Description

SubmitDocTranslateTask Submit Document Translation Job Submit a document translation task to Tongyi Multimodal Translation.
GetDocTranslateTask Retrieve Document Translation Results Gets the results of a document translation task from Tongyi Multimodal Translation.

Other

API

Title

Description

BatchTranslateForHtml Batch Web Page Translation Tongyi Multimodal Translation: Batch Translation (JS SDK)