# Alibaba Cloud PAIModelGallery API

> Alibaba Cloud PAIModelGallery API on Apizie: 5 endpoints (Retrieves the public resources specifications, dedicated resource groups, and quotas available for model…, Retrieves the configuration file (EAS InferenceSpec) for model deployment, Queries the current deployable profiles for a specified model, including the inference framework, scenarios,…, Retrieves a list of models in Model Gallery, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/cloud:aliyun-paimodelgallery/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:aliyun-paimodelgallery`
- Category: Cloud
- Status: byok
- Source: https://api.alibabacloud.com/product/paimodelgallery
- Page: https://apizie.tech/api/cloud/aliyun-paimodelgallery
- OpenAPI: https://apizie.tech/api/cloud/aliyun-paimodelgallery/openapi.json

Alibaba Cloud OpenAPI for PAIModelGallery (paimodelgallery, version 2026-06-03). Calls are signed with ACS3-HMAC-SHA256 using your AccessKey ID and secret.

## Endpoints

### Retrieves the public resources specifications, dedicated resource groups, and quotas available for model…
`GET https://apizie.tech/v1/cloud:aliyun-paimodelgallery/get-model-deployment-resources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://paimodelgallery.ap-southeast-1.aliyuncs.com |
| ModelId | string | yes | The ID of the model to deploy. This value must be the same as the one specified in the request when calling ListModelDeploymentProfiles to… |
| ModelVersion | string | yes | The model version. This value must be the same as the ModelVersion returned in the response when calling ListModelDeploymentProfiles to… |
| WorkspaceId | string | yes | The workspace ID. You can call the https://help.aliyun.com/document_detail/449124.html operation to obtain the ID |
| ProfileId | string | yes | The deployment profile ID |
| BizKey | string | no | The business rule key. This value must be the same as the one specified in the request when calling ListModelDeploymentProfiles to… |

### Retrieves the configuration file (EAS InferenceSpec) for model deployment
`GET https://apizie.tech/v1/cloud:aliyun-paimodelgallery/get-model-deployment-spec` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://paimodelgallery.ap-southeast-1.aliyuncs.com |
| ModelId | string | yes | The ID of the deployed model. This value must be the same as the ModelId specified in the request when you call… |
| ModelVersion | string | yes | The model version. This value must be the same as the ModelVersion returned in the response when you call ListModelDeploymentProfiles to… |
| WorkspaceId | string | yes | The workspace ID. You can call https://help.aliyun.com/document_detail/449124.html to obtain the ID |
| ProfileId | string | yes | The deployment profile ID |
| BizKey | string | no | The business rule key. This value must be the same as the BizKey specified in the request when you call ListModelDeploymentProfiles to… |
| ResourceSelections | string | no | A URL-encoded JSON array of ResourceSelection objects. If this parameter is omitted, the template resources are not overwritten. Field… |

### Queries the current deployable profiles for a specified model, including the inference framework, scenarios,…
`GET https://apizie.tech/v1/cloud:aliyun-paimodelgallery/list-model-deployment-profiles` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://paimodelgallery.ap-southeast-1.aliyuncs.com |
| ModelId | string | yes | The ID of the model to be deployed |
| ModelVersion | string | no | The model version. If omitted, the latest deployable version in the model registry is used |
| BizKey | string | no | The business rule key. Do not specify this parameter for standard ModelGallery. Specify cmu-biz for TokenWorks |

### Retrieves a list of models in Model Gallery
`GET https://apizie.tech/v1/cloud:aliyun-paimodelgallery/list-model-gallery-models` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://paimodelgallery.ap-southeast-1.aliyuncs.com |
| PageNumber | integer | no | The page number of the model list. Pages start from 1. Default value: 1 |
| PageSize | integer | no | The paging Settings for the number of models to return on each page in a paged query. Default value: 10 |
| Order | string | no | The sorting order of the specified field for paging in a paged query. Default value: ASC. Valid values: ASC: Ascending order. DESC:… |
| SortBy | string | no | The field by which to sort the paged query results. The GmtCreateTime field is currently used for sorting. Valid values: GmtCreateTime:… |
| ModelName | string | no | The name of the model. By default, fuzzy match is used to retrieve the model list. To use exact match, enclose the name in double… |
| Domain | string | no | The domain used to filter the model list. Examples: aigc, nlp, cv, audio, biomedical, and other |
| Task | string | no | The task. Examples: text-to-image-synthesis, large-language-model, multimodal-large-language-model, text-classification, embedding,… |
| Origin | string | no | The model source used to filter the model list by community or organization. Examples: ModelScope, Custom, Civitai, Artlab, PAI, LiblibAI,… |
| ModelType | string | no | The model type. Valid values: LoRA, ComfyUIWorkFlow, Checkpoint, AI4DApp, AI4DTool, embeddings, and VAE |
| Collections | string | no | The collection to which the model belongs. The collection for Model Gallery models is QuickStart |
| ModelSeries | string | no | The model series. Valid values: PAI Optimized Model, Qwen, Wan-AI, GLM, Baichuan, DeepSeek, Kimi, MiniMax, Yi, InternLM, InternVL, OpenAI,… |
| Demonstrable | string | no | Specifies whether online experience is supported |
| Deployable | string | no | Specifies whether deployment is supported |
| SupportedInferenceResource | string | no | The supported deployment resources, such as CPU, GPU, and GP7V. If you set this parameter to GP7V, the system filters models that support… |
| Trainable | string | no | Specifies whether training is supported |
| SupportedTrainingResource | string | no | The supported training resources, such as CPU, GPU, and GP7V. If you set this parameter to GP7V, the system filters models that support… |
| Evaluable | string | no | Specifies whether evaluation is supported |
| SupportedEvaluationResource | string | no | The supported evaluation resources, such as CPU, GPU, and GP7V. If you set this parameter to GP7V, the system filters models that support… |
| Compressible | string | no | Specifies whether compression is supported |
| SupportedCompressionResource | string | no | The supported compression resources, such as CPU, GPU, and GP7V. If you set this parameter to GP7V, the system filters models that support… |
| Distillable | string | no | Specifies whether distillation is supported |
| SupportedDistillationResource | string | no | The supported distillation resources, such as CPU, GPU, and GP7V. If you set this parameter to GP7V, the system filters models that… |
| DeepThink | string | no | Specifies whether deep thinking is supported |
| FunctionCall | string | no | Specifies whether function calling is supported |
| Tag | string | no | The list of tags (JSON-encoded) |
| Conditions | string | no | The list of conditions (JSON-encoded) |
| Query | string | no | The query conditions. Fuzzy match is performed across multiple fields such as ModelName, Domain, and Task |

### version
`POST https://apizie.tech/v1/cloud:aliyun-paimodelgallery/version` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://paimodelgallery.ap-southeast-1.aliyuncs.com |

## Example
```
curl "https://apizie.tech/v1/cloud:aliyun-paimodelgallery/get-model-deployment-resources" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Alibaba Cloud PAIModelGallery API?
Create a free Apizie key, then send GET https://apizie.tech/v1/cloud:aliyun-paimodelgallery/get-model-deployment-resources with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Alibaba Cloud PAIModelGallery API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Alibaba Cloud PAIModelGallery itself also needs your own key from aliyuncs.com.

### Can AI agents use the Alibaba Cloud PAIModelGallery API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:aliyun-paimodelgallery.

### What is the status of the Alibaba Cloud PAIModelGallery API?
Needs your own provider key (bring your own key)
