ListModelGalleryModels - 获取ModelGallery模型列表

更新时间:
复制 MD 格式

获取ModelGallery模型列表

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求语法

GET /api/v2/modelgallery/models HTTP/1.1

请求参数

名称

类型

必填

描述

示例值

PageNumber

integer

模型列表的页码。起始值为 1,默认为 1。

1

PageSize

integer

分页查询时设置的每页显示的模型数量,默认为 10。

10

Order

string

分页查询时,对指定的排序字段进行升序或降序。默认 ASC。

ASC:升序。 DESC:降序。

DESC

SortBy

string

分页查询时的排序字段。目前使用 GmtCreateTime 字段用于排序。支持:

  • GmtCreateTime 模型创建时间

  • GmtLatestVersionModified 模型最新版本更新时间

  • OrderNumber 序号

GmtCreateTime

ModelName

string

配置模型名称,默认模糊匹配获取的模型列表。使用双引号为精确匹配,如"DeepSeek-V3.2",则会精确匹配模型 DeepSeek-V3.2。

Qwen3-235B-A22B-Thinking-2507

Domain

string

配置领域来过滤该领域内的模型列表。例如:aigc、nlp、cv、audio、biomedical、other。

aigc

Task

string

任务。例如: text-to-image-synthesis、large-language-model、multimodal-large-language-model、text-classification、embedding、audio-classification、text-to-video-synthesis、object-detection、text-to-speech、image-segmentation、image-classification、image-to-video-synthesis、image-captioning、video-classification、molecule-generation、content-security-detection、pose-estimation、ocr-recognition、text-generation、image-to-image-synthesis、zero-shot-classification、auto-speech-recognition、token-classification、summarization、protein-folding、digital-human、weather-simulation、text-translation、sequence-labeling、question-answering、other、ocr、medical-imaging、amino-acid-prediction。

large-language-model

Origin

string

配置模型源,来过滤属于该社区或组织的模型列表。例如:ModelScope、Custom、Civitai、Artlab、PAI、LiblibAI、NIM、GitHub、EasyCV、HuggingFace。

ModelScope

ModelType

string

模型类型。取值:LoRA、ComfyUIWorkFlow、Checkpoint、AI4DApp、AI4DTool、embeddings、VAE。

LoRA

Collections

string

模型所在集合。ModelGallery 的模型所在集合为 QuickStart。

QuickStart

ModelSeries

string

模型系列。 PAI Optimized Model,Qwen,Wan-AI,GLM,Baichuan,DeepSeek,Kimi,MiniMax,Yi,InternLM,InternVL,OpenAI,NVIDIA,Gemma,Phi,dots_vlm,Llama,Mistral,Stable Diffusion,FLUX,Byte Dance,StepFun AI,ERNIE Bot,Tencent Hunyuan,YOLO。

Qwen

Demonstrable

boolean

是否支持在线体验。

true

Deployable

boolean

是否支持部署。

true

SupportedInferenceResource

string

支持的部署资源。CPU,GPU,GP7V 等。如 GP7V,则筛选部署支持 GP7V 资源的模型。

GP7V

Trainable

boolean

是否支持训练。

true

SupportedTrainingResource

string

支持的训练资源。CPU,GPU,GP7V 等。如 GP7V,则筛选训练支持 GP7V 资源的模型。

GP7V

Evaluable

boolean

是否支持评测。

true

SupportedEvaluationResource

string

支持的评测资源。CPU,GPU,GP7V 等。如 GP7V 时,则筛选支持 GP7V 资源的模型。

GP7V

Compressible

boolean

是否支持压缩。

true

SupportedCompressionResource

string

支持的压缩资源。CPU,GPU,GP7V 等。如 GP7V,则筛选压缩支持 GP7V 资源的模型。

GP7V

Distillable

boolean

是否支持蒸馏。

true

SupportedDistillationResource

string

支持的蒸馏资源。CPU,GPU,GP7V 等。如 GP7V,则筛选蒸馏支持 GP7V 资源的模型。

GP7V

DeepThink

boolean

是否支持深度思考。

true

FunctionCall

boolean

是否支持 FunctionCall。

true

Tag

array<object>

标签列表。

object

标签列表。

Value

string

标签值。

v1

Key

string

标签键。

k1

Conditions

array<object>

条件列表。

object

条件列表。

Column

string

参数名。支持 ParameterSize,单位 M。

ParameterSize

Operator

string

操作符。如:LessThan。

LessThan

Value

string

值,如 Column 为 ParameterSize 时,输入为整数,单位 M。

1024

Query

string

配置查询条件。ModelName、Domain、Task 等多字段模糊匹配。

Qwen

返回参数

名称

类型

描述

示例值

object

Schema of Response

RequestId

string

Id of the request

B6B54325-C98C-5937-87A3-2F96C07652EC

TotalCount

string

总数量

15

Models ModelGalleryModel

模型。

[]

示例

正常返回示例

JSON格式

{
  "RequestId": "B6B54325-C98C-5937-87A3-2F96C07652EC",
  "TotalCount": "15",
  "Models": {
    "GmtCreateTime": "2026-04-03T05:54:02.000Z",
    "GmtModifiedTime": "2026-04-03T05:54:02.000Z",
    "ModelId": "model-gj5mifpeol92kx619y",
    "ModelName": "Qwen3-235B-A22B-Thinking-2507",
    "ModelDescription": "大语言模型。",
    "LatestVersionName": "1.0.0",
    "GmtLatestVersionModified": "2025-12-03T07:21:28.000Z",
    "OrderNumber": 1,
    "Origin": "PAI",
    "Domain": "aigc",
    "Task": "large-language-model",
    "ParameterSize": 1024,
    "ModelDoc": "http://pai-quickstart-test.com",
    "ModelType": "LoRA",
    "Collection": "QuickStart",
    "SearchWords": "llm\n",
    "ModelSeries": "Qwen\n",
    "Demonstrable": true,
    "Deployable": true,
    "SupportedInferenceResources": "GPU,GP7V\n",
    "Trainable": true,
    "SupportedTrainingResources": "GPU,GP7V\n",
    "Evaluable": true,
    "SupportedEvaluationResources": "GPU,GP7V\n",
    "Compressible": true,
    "SupportedCompressionResources": "GPU,GP7V\n",
    "Distillable": true,
    "SupportedDistillationResources": "GPU,GP7V\n",
    "Tags": {
      "Key": "k1",
      "Value": "v1"
    },
    "DeepThink": true,
    "FunctionCall": true,
    "ExtraInfo": {},
    "SupportedInferenceMethods": {
      "Methods": [
        {
          "framework": "blade",
          "scenario": "nvidia-standard",
          "Resource": "GPU"
        }
      ]
    },
    "SupportedTrainingMethods": {
      "Methods": [
        {
          "Method": "SFT",
          "SubMethod": "LoRA_LLM",
          "Resource": "GPU"
        }
      ]
    },
    "SupportedEvaluationMethods": {
      "Methods": [
        {
          "Method": "Single-Node-Standard",
          "Resource": "GPU"
        }
      ]
    },
    "SupportedCompressionMethods": {
      "Methods": [
        {
          "Method": "Quantization",
          "SubMethod": "MinMax-8Bit",
          "Resource": "GPU"
        }
      ]
    },
    "SupportedDistillationMethods": {
      "Methods": [
        {
          "Method": "EasyDistill",
          "SubMethod": "DataSynthesis",
          "Resource": "GPU"
        }
      ]
    }
  }
}

错误码

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情