Updated on 2026-08-31 GMT+08:00

SDK Overview

This document lists the Software Development Kits (SDKs) provided by ModelArts and the addresses for obtaining the latest versions of these SDKs.

There are two types of ModelArts SDK solutions:

Solution 1 (recommended): UnionSDK, which is automatically generated based on APIs. Its API parameters are identical to those of the service APIs.

Solution 2: An SDK developed based on service logic orchestration. For details, see ModelArts SDK Reference.

The SDK described in this document refers to solution 1 (UnionSDK). For details about privacy data processing policies of SDKs, see Huawei Cloud SDK Privacy Statement.

Generating SDK Code Online

API Explorer can dynamically generate sample code for calling SDKs as required. It makes SDKs easier to use and is therefore recommended.

You can check the SDK code samples of the corresponding programming language on the Sample Code tab in API Explorer, as shown in Figure 1.

Figure 1 Obtaining SDK sample code

SDKs

Before using the SDK, ensure that you have installed the latest version of the SDK. Earlier SDKs may not be compatible or lack the latest features. You can query the version information on the SDK Center page.

Table 1 lists the SDKs supported by ModelArts. You can view SDK updates, obtain installation packages, and view user guides in GitHub.

If you cannot access GitHub, check whether you have access to the Internet.