summaryrefslogtreecommitdiff
path: root/data/zh_cn/paimodelgallery/2025-06-30
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/paimodelgallery/2025-06-30
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/zh_cn/paimodelgallery/2025-06-30')
-rw-r--r--data/zh_cn/paimodelgallery/2025-06-30/api-docs.php581
1 files changed, 125 insertions, 456 deletions
diff --git a/data/zh_cn/paimodelgallery/2025-06-30/api-docs.php b/data/zh_cn/paimodelgallery/2025-06-30/api-docs.php
index 06b223f..c3046fd 100644
--- a/data/zh_cn/paimodelgallery/2025-06-30/api-docs.php
+++ b/data/zh_cn/paimodelgallery/2025-06-30/api-docs.php
@@ -1,18 +1,12 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'ROA',
- 'product' => 'PAIModelGallery',
- 'version' => '2025-06-30',
- ],
+ 'info' => ['style' => 'ROA', 'product' => 'PAIModelGallery', 'version' => '2025-06-30'],
'directories' => [
[
- 'id' => 355738,
- 'title' => 'ModelGallery模型',
+ 'children' => ['ListModelGalleryModels'],
'type' => 'directory',
- 'children' => [
- 'ListModelGalleryModels',
- ],
+ 'title' => 'ModelGallery模型',
+ 'id' => 433580,
],
],
'components' => [
@@ -20,50 +14,24 @@
'JobPlan' => [
'type' => 'object',
'properties' => [
- 'JobPlanId' => [
- 'type' => 'string',
- ],
- 'GmtCreateTime' => [
- 'type' => 'string',
- ],
- 'GmtModifiedTime' => [
- 'type' => 'string',
- ],
- 'WorkspaceId' => [
- 'type' => 'string',
- ],
- 'UserId' => [
- 'type' => 'string',
- ],
- 'OwnerId' => [
- 'type' => 'string',
- ],
- 'JobPlanType' => [
- 'type' => 'string',
- ],
- 'JobPlanName' => [
- 'type' => 'string',
- ],
- 'JobPlanCurrentStep' => [
- 'type' => 'string',
- ],
+ 'JobPlanId' => ['type' => 'string'],
+ 'GmtCreateTime' => ['type' => 'string'],
+ 'GmtModifiedTime' => ['type' => 'string'],
+ 'WorkspaceId' => ['type' => 'string'],
+ 'UserId' => ['type' => 'string'],
+ 'OwnerId' => ['type' => 'string'],
+ 'JobPlanType' => ['type' => 'string'],
+ 'JobPlanName' => ['type' => 'string'],
+ 'JobPlanCurrentStep' => ['type' => 'string'],
'JobPlanSteps' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'JobPlanStepId' => [
- 'type' => 'string',
- ],
- 'JobPlanStepSpec' => [
- 'type' => 'object',
- ],
- 'JobPlanStepType' => [
- 'type' => 'string',
- ],
- 'JobPlanStepName' => [
- 'type' => 'string',
- ],
+ 'JobPlanStepName' => ['type' => 'string'],
+ 'JobPlanStepType' => ['type' => 'string'],
+ 'JobPlanStepId' => ['type' => 'string'],
+ 'JobPlanStepSpec' => ['type' => 'object'],
],
],
],
@@ -72,12 +40,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Value' => [
- 'type' => 'string',
- ],
- 'Key' => [
- 'type' => 'string',
- ],
+ 'Key' => ['type' => 'string'],
+ 'Value' => ['type' => 'string'],
],
],
],
@@ -86,410 +50,203 @@
'ModelGalleryModel' => [
'type' => 'object',
'properties' => [
- 'GmtCreateTime' => [
- 'type' => 'string',
- ],
- 'GmtModifiedTime' => [
- 'type' => 'string',
- ],
- 'ModelId' => [
- 'type' => 'string',
- ],
- 'ModelName' => [
- 'type' => 'string',
- ],
- 'ModelDescription' => [
- 'type' => 'string',
- ],
- 'LatestVersionName' => [
- 'type' => 'string',
- ],
- 'GmtLatestVersionModified' => [
- 'type' => 'string',
- ],
- 'OrderNumber' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Origin' => [
- 'type' => 'string',
- ],
- 'Domain' => [
- 'type' => 'string',
- ],
- 'Task' => [
- 'type' => 'string',
- ],
- 'ParameterSize' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ModelDoc' => [
- 'type' => 'string',
- ],
- 'ModelType' => [
- 'type' => 'string',
- ],
- 'Collection' => [
- 'type' => 'string',
- ],
- 'SearchWords' => [
- 'type' => 'string',
- ],
- 'ModelSeries' => [
- 'type' => 'string',
- ],
- 'Demonstrable' => [
- 'type' => 'boolean',
- ],
- 'Deployable' => [
- 'type' => 'boolean',
- ],
- 'SupportedInferenceResources' => [
- 'type' => 'string',
- ],
- 'Trainable' => [
- 'type' => 'boolean',
- ],
- 'SupportedTrainingResources' => [
- 'type' => 'string',
- ],
- 'Evaluable' => [
- 'type' => 'boolean',
- ],
- 'SupportedEvaluationResources' => [
- 'type' => 'string',
- ],
- 'Compressible' => [
- 'type' => 'boolean',
- ],
- 'SupportedCompressionResources' => [
- 'type' => 'string',
- ],
- 'Distillable' => [
- 'type' => 'boolean',
- ],
- 'SupportedDistillationResources' => [
- 'type' => 'string',
- ],
+ 'GmtCreateTime' => ['type' => 'string'],
+ 'GmtModifiedTime' => ['type' => 'string'],
+ 'ModelId' => ['type' => 'string'],
+ 'ModelName' => ['type' => 'string'],
+ 'ModelDescription' => ['type' => 'string'],
+ 'LatestVersionName' => ['type' => 'string'],
+ 'GmtLatestVersionModified' => ['type' => 'string'],
+ 'OrderNumber' => ['type' => 'integer', 'format' => 'int64'],
+ 'Origin' => ['type' => 'string'],
+ 'Domain' => ['type' => 'string'],
+ 'Task' => ['type' => 'string'],
+ 'ParameterSize' => ['type' => 'integer', 'format' => 'int64'],
+ 'ModelDoc' => ['type' => 'string'],
+ 'ModelType' => ['type' => 'string'],
+ 'Collection' => ['type' => 'string'],
+ 'SearchWords' => ['type' => 'string'],
+ 'ModelSeries' => ['type' => 'string'],
+ 'Demonstrable' => ['type' => 'boolean'],
+ 'Deployable' => ['type' => 'boolean'],
+ 'SupportedInferenceResources' => ['type' => 'string'],
+ 'Trainable' => ['type' => 'boolean'],
+ 'SupportedTrainingResources' => ['type' => 'string'],
+ 'Evaluable' => ['type' => 'boolean'],
+ 'SupportedEvaluationResources' => ['type' => 'string'],
+ 'Compressible' => ['type' => 'boolean'],
+ 'SupportedCompressionResources' => ['type' => 'string'],
+ 'Distillable' => ['type' => 'boolean'],
+ 'SupportedDistillationResources' => ['type' => 'string'],
'Tags' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'type' => 'string',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
+ 'Key' => ['type' => 'string'],
+ 'Value' => ['type' => 'string'],
],
],
- 'DeepThink' => [
- 'type' => 'boolean',
- ],
- 'FunctionCall' => [
- 'type' => 'boolean',
- ],
- 'ExtraInfo' => [
- 'type' => 'object',
- ],
- 'SupportedInferenceMethods' => [
- 'type' => 'object',
- ],
- 'SupportedTrainingMethods' => [
- 'type' => 'object',
- ],
- 'SupportedEvaluationMethods' => [
- 'type' => 'object',
- ],
- 'SupportedCompressionMethods' => [
- 'type' => 'object',
- ],
- 'SupportedDistillationMethods' => [
- 'type' => 'object',
- ],
+ 'DeepThink' => ['type' => 'boolean'],
+ 'FunctionCall' => ['type' => 'boolean'],
+ 'ExtraInfo' => ['type' => 'object'],
+ 'SupportedInferenceMethods' => ['type' => 'object'],
+ 'SupportedTrainingMethods' => ['type' => 'object'],
+ 'SupportedEvaluationMethods' => ['type' => 'object'],
+ 'SupportedCompressionMethods' => ['type' => 'object'],
+ 'SupportedDistillationMethods' => ['type' => 'object'],
],
],
],
],
'apis' => [
'ListModelGalleryModels' => [
- 'summary' => '获取ModelGallery模型列表。',
'path' => '/api/v1/modelgallery/models',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'produces' => [
- 'application/json',
- ],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATURElearn9XMQIJ',
- ],
+ 'abilityTreeNodes' => ['FEATURElearn9XMQIJ'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'title' => '页数',
- 'description' => '模型列表的页码。起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['title' => '页数', 'description' => '模型列表的页码。起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'title' => '每页大小',
- 'description' => '分页查询时设置的每页显示的模型数量,默认为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['title' => '每页大小', 'description' => '分页查询时设置的每页显示的模型数量,默认为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'Order',
'in' => 'query',
- 'schema' => [
- 'title' => '顺序',
- 'description' => '分页查询时,对指定的排序字段进行升序或降序。默认ASC。'."\n"
- ."\n"
- .'ASC:升序。'."\n"
- .'DESC:降序。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DESC',
- ],
+ 'schema' => ['title' => '顺序', 'description' => '分页查询时,对指定的排序字段进行升序或降序。默认ASC。'."\n"
+ ."\n"
+ .'ASC:升序。'."\n"
+ .'DESC:降序。', 'type' => 'string', 'required' => false, 'example' => 'DESC'],
],
[
'name' => 'SortBy',
'in' => 'query',
- 'schema' => [
- 'title' => '排序依据',
- 'description' => '分页查询时的排序字段。目前使用GmtCreateTime字段用于排序。支持:'."\n"
- ."\n"
- .'- GmtCreateTime 模型创建时间'."\n"
- ."\n"
- .'- GmtLatestVersionModified 模型最新版本更新时间'."\n"
- ."\n"
- .'- OrderNumber 序号',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'GmtCreateTime',
- ],
+ 'schema' => ['title' => '排序依据', 'description' => '分页查询时的排序字段。目前使用GmtCreateTime字段用于排序。支持:'."\n"
+ ."\n"
+ .'- GmtCreateTime 模型创建时间'."\n"
+ ."\n"
+ .'- GmtLatestVersionModified 模型最新版本更新时间'."\n"
+ ."\n"
+ .'- OrderNumber 序号', 'type' => 'string', 'required' => false, 'example' => 'GmtCreateTime'],
],
[
'name' => 'ModelName',
'in' => 'query',
- 'schema' => [
- 'title' => '模型名称',
- 'description' => '配置模型名称,默认模糊匹配获取的模型列表。使用双引号为精确匹配,如"DeepSeek-V3.2",则会精确匹配模型DeepSeek-V3.2。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Qwen3-235B-A22B-Thinking-2507',
- ],
+ 'schema' => ['title' => '模型名称', 'description' => '配置模型名称,默认模糊匹配获取的模型列表。使用双引号为精确匹配,如"DeepSeek-V3.2",则会精确匹配模型DeepSeek-V3.2。', 'type' => 'string', 'required' => false, 'example' => 'Qwen3-235B-A22B-Thinking-2507'],
],
[
'name' => 'Domain',
'in' => 'query',
- 'schema' => [
- 'title' => '领域',
- 'description' => '配置领域来过滤该领域内的模型列表。例如:aigc(生成式AI),nlp(自然语言处理)、cv(计算机视觉)等。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'aigc',
- ],
+ 'schema' => ['title' => '领域', 'description' => '配置领域来过滤该领域内的模型列表。例如:aigc(生成式AI),nlp(自然语言处理)、cv(计算机视觉)等。', 'type' => 'string', 'required' => false, 'example' => 'aigc'],
],
[
'name' => 'Task',
'in' => 'query',
- 'schema' => [
- 'description' => '任务。例如: large-language-model(大语言模型),image-classification(图片分类),embedding等。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'large-language-model',
- ],
+ 'schema' => ['description' => '任务。例如: large-language-model(大语言模型),image-classification(图片分类),embedding等。', 'type' => 'string', 'required' => false, 'example' => 'large-language-model'],
],
[
'name' => 'Origin',
'in' => 'query',
- 'schema' => [
- 'description' => '配置模型源,来过滤属于该社区或组织的模型列表。例如ModelScope,PAI,NIM等。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ModelScope',
- ],
+ 'schema' => ['description' => '配置模型源,来过滤属于该社区或组织的模型列表。例如ModelScope,PAI,NIM等。', 'type' => 'string', 'required' => false, 'example' => 'ModelScope'],
],
[
'name' => 'ModelType',
'in' => 'query',
- 'schema' => [
- 'description' => '模型类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Endpoint',
- ],
+ 'schema' => ['description' => '模型类型。', 'type' => 'string', 'required' => false, 'example' => 'Endpoint'],
],
[
'name' => 'Collections',
'in' => 'query',
- 'schema' => [
- 'description' => '模型所在集合。ModelGallery的模型所在集合为QuickStart。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'QuickStart',
- ],
+ 'schema' => ['description' => '模型所在集合。ModelGallery的模型所在集合为QuickStart。', 'type' => 'string', 'required' => false, 'example' => 'QuickStart'],
],
[
'name' => 'ModelSeries',
'in' => 'query',
- 'schema' => [
- 'description' => '模型系列。'."\n"
- .'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等。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Qwen',
- ],
+ 'schema' => ['description' => '模型系列。'."\n"
+ .'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等。', 'type' => 'string', 'required' => false, 'example' => 'Qwen'],
],
[
'name' => 'Demonstrable',
'in' => 'query',
- 'schema' => [
- 'description' => '是否支持在线体验。',
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['description' => '是否支持在线体验。', 'type' => 'boolean', 'required' => false],
],
[
'name' => 'Deployable',
'in' => 'query',
- 'schema' => [
- 'description' => '是否支持部署。',
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['description' => '是否支持部署。', 'type' => 'boolean', 'required' => false],
],
[
'name' => 'SupportedInferenceResource',
'in' => 'query',
- 'schema' => [
- 'description' => '支持的部署资源。CPU,GPU,GP7V等。如GP7V,则筛选部署支持GP7V资源的模型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'GP7V',
- ],
+ 'schema' => ['description' => '支持的部署资源。CPU,GPU,GP7V等。如GP7V,则筛选部署支持GP7V资源的模型。', 'type' => 'string', 'required' => false, 'example' => 'GP7V'],
],
[
'name' => 'Trainable',
'in' => 'query',
- 'schema' => [
- 'description' => '是否支持训练。',
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['description' => '是否支持训练。', 'type' => 'boolean', 'required' => false],
],
[
'name' => 'SupportedTrainingResource',
'in' => 'query',
- 'schema' => [
- 'description' => '支持的训练资源。CPU,GPU,GP7V等。如GP7V,则筛选训练支持GP7V资源的模型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'GP7V',
- ],
+ 'schema' => ['description' => '支持的训练资源。CPU,GPU,GP7V等。如GP7V,则筛选训练支持GP7V资源的模型。', 'type' => 'string', 'required' => false, 'example' => 'GP7V'],
],
[
'name' => 'Evaluable',
'in' => 'query',
- 'schema' => [
- 'description' => '是否支持评测。',
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['description' => '是否支持评测。', 'type' => 'boolean', 'required' => false],
],
[
'name' => 'SupportedEvaluationResource',
'in' => 'query',
- 'schema' => [
- 'description' => '支持的评测资源。CPU,GPU,GP7V等。如GP7V时,则筛选支持GP7V资源的模型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'GP7V',
- ],
+ 'schema' => ['description' => '支持的评测资源。CPU,GPU,GP7V等。如GP7V时,则筛选支持GP7V资源的模型。', 'type' => 'string', 'required' => false, 'example' => 'GP7V'],
],
[
'name' => 'Compressible',
'in' => 'query',
- 'schema' => [
- 'description' => '是否支持压缩。',
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['description' => '是否支持压缩。', 'type' => 'boolean', 'required' => false],
],
[
'name' => 'SupportedCompressionResource',
'in' => 'query',
- 'schema' => [
- 'description' => '支持的压缩资源。CPU,GPU,GP7V等。如GP7V,则筛选压缩支持GP7V资源的模型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'GP7V',
- ],
+ 'schema' => ['description' => '支持的压缩资源。CPU,GPU,GP7V等。如GP7V,则筛选压缩支持GP7V资源的模型。', 'type' => 'string', 'required' => false, 'example' => 'GP7V'],
],
[
'name' => 'Distillable',
'in' => 'query',
- 'schema' => [
- 'description' => '是否支持蒸馏。',
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['description' => '是否支持蒸馏。', 'type' => 'boolean', 'required' => false],
],
[
'name' => 'SupportedDistillationResource',
'in' => 'query',
- 'schema' => [
- 'description' => '支持的蒸馏资源。CPU,GPU,GP7V等。如GP7V,则筛选蒸馏支持GP7V资源的模型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'GP7V',
- ],
+ 'schema' => ['description' => '支持的蒸馏资源。CPU,GPU,GP7V等。如GP7V,则筛选蒸馏支持GP7V资源的模型。', 'type' => 'string', 'required' => false, 'example' => 'GP7V'],
],
[
'name' => 'DeepThink',
'in' => 'query',
- 'schema' => [
- 'description' => '是否支持深度思考。',
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['description' => '是否支持深度思考。', 'type' => 'boolean', 'required' => false],
],
[
'name' => 'FunctionCall',
'in' => 'query',
- 'schema' => [
- 'description' => '是否支持FunctionCall。',
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['description' => '是否支持FunctionCall。', 'type' => 'boolean', 'required' => false],
],
[
'name' => 'Tag',
@@ -502,18 +259,8 @@
'description' => '标签。',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'v1',
- ],
- 'Key' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'k1',
- ],
+ 'Value' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'v1'],
+ 'Key' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'k1'],
],
'required' => false,
],
@@ -531,32 +278,15 @@
'description' => '条件。',
'type' => 'object',
'properties' => [
- 'Column' => [
- 'description' => '参数名。支持ParameterSize,单位M。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ParameterSize',
- ],
+ 'Column' => ['description' => '参数名。支持ParameterSize,单位M。', 'type' => 'string', 'required' => false, 'example' => 'ParameterSize'],
'Operator' => [
'description' => '操作符。如:LessThan。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'LessThan' => 'LessThan',
- 'LessThanOrEqualTo' => 'LessThanOrEqualTo',
- 'GreaterThan' => 'GreaterThan',
- 'NotEqualTo' => 'NotEqualTo',
- 'EqualTo' => 'EqualTo',
- 'GreaterThanOrEqualTo' => 'GreaterThanOrEqualTo',
- ],
+ 'enumValueTitles' => ['LessThan' => 'LessThan', 'LessThanOrEqualTo' => 'LessThanOrEqualTo', 'GreaterThan' => 'GreaterThan', 'NotEqualTo' => 'NotEqualTo', 'EqualTo' => 'EqualTo', 'GreaterThanOrEqualTo' => 'GreaterThanOrEqualTo'],
'example' => 'LessThan',
],
- 'Value' => [
- 'description' => '值,如Column为ParameterSize时,输入为整数,单位M。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1024',
- ],
+ 'Value' => ['description' => '值,如Column为ParameterSize时,输入为整数,单位M。', 'type' => 'string', 'required' => false, 'example' => '1024'],
],
'required' => false,
],
@@ -566,12 +296,7 @@
[
'name' => 'Query',
'in' => 'query',
- 'schema' => [
- 'description' => '配置查询条件。ModelName、Domain、Task等多字段模糊匹配。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Qwen',
- ],
+ 'schema' => ['description' => '配置查询条件。ModelName、Domain、Task等多字段模糊匹配。', 'type' => 'string', 'required' => false, 'example' => 'Qwen'],
],
],
'responses' => [
@@ -581,93 +306,37 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'B6B54325-C98C-5937-87A3-2F96C07652EC',
- ],
- 'TotalCount' => [
- 'description' => '总数量',
- 'type' => 'string',
- 'example' => '15',
- ],
- 'Models' => [
- 'description' => '模型列表。',
- 'example' => '[{\'SupportResponseSchema\': False, \'ToolCall\': False, \'ModelType\': \'LLM\', \'SupportReasoning\': False, \'Model\': \'ds1\', \'SupportVision\': False, \'MaxModelLength\': 4096}]',
- '$ref' => '#/components/schemas/ModelGalleryModel',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'B6B54325-C98C-5937-87A3-2F96C07652EC'],
+ 'TotalCount' => ['description' => '总数量', 'type' => 'string', 'example' => '15'],
+ 'Models' => ['description' => '模型列表。', 'example' => '[{\'SupportResponseSchema\': False, \'ToolCall\': False, \'ModelType\': \'LLM\', \'SupportReasoning\': False, \'Model\': \'ds1\', \'SupportVision\': False, \'MaxModelLength\': 4096}]', '$ref' => '#/components/schemas/ModelGalleryModel'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B6B54325-C98C-5937-87A3-2F96C07652EC\\",\\n \\"TotalCount\\": \\"15\\",\\n \\"Models\\": {\\n \\"GmtCreateTime\\": \\"\\",\\n \\"GmtModifiedTime\\": \\"\\",\\n \\"ModelId\\": \\"\\",\\n \\"ModelName\\": \\"\\",\\n \\"ModelDescription\\": \\"\\",\\n \\"LatestVersionName\\": \\"\\",\\n \\"GmtLatestVersionModified\\": \\"\\",\\n \\"OrderNumber\\": 0,\\n \\"Origin\\": \\"\\",\\n \\"Domain\\": \\"\\",\\n \\"Task\\": \\"\\",\\n \\"ParameterSize\\": 0,\\n \\"ModelDoc\\": \\"\\",\\n \\"ModelType\\": \\"\\",\\n \\"Collection\\": \\"\\",\\n \\"SearchWords\\": \\"\\",\\n \\"ModelSeries\\": \\"\\",\\n \\"Demonstrable\\": true,\\n \\"Deployable\\": true,\\n \\"SupportedInferenceResources\\": \\"\\",\\n \\"Trainable\\": true,\\n \\"SupportedTrainingResources\\": \\"\\",\\n \\"Evaluable\\": true,\\n \\"SupportedEvaluationResources\\": \\"\\",\\n \\"Compressible\\": true,\\n \\"SupportedCompressionResources\\": \\"\\",\\n \\"Distillable\\": true,\\n \\"SupportedDistillationResources\\": \\"\\",\\n \\"Tags\\": {\\n \\"Key\\": \\"\\",\\n \\"Value\\": \\"\\"\\n },\\n \\"DeepThink\\": true,\\n \\"FunctionCall\\": true,\\n \\"ExtraInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SupportedInferenceMethods\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SupportedTrainingMethods\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SupportedEvaluationMethods\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SupportedCompressionMethods\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SupportedDistillationMethods\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n}","type":"json"}]',
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '获取ModelGallery模型列表',
+ 'summary' => '获取ModelGallery模型列表。',
+ 'changeSet' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B6B54325-C98C-5937-87A3-2F96C07652EC\\",\\n \\"TotalCount\\": \\"15\\",\\n \\"Models\\": {\\n \\"GmtCreateTime\\": \\"\\",\\n \\"GmtModifiedTime\\": \\"\\",\\n \\"ModelId\\": \\"\\",\\n \\"ModelName\\": \\"\\",\\n \\"ModelDescription\\": \\"\\",\\n \\"LatestVersionName\\": \\"\\",\\n \\"GmtLatestVersionModified\\": \\"\\",\\n \\"OrderNumber\\": 0,\\n \\"Origin\\": \\"\\",\\n \\"Domain\\": \\"\\",\\n \\"Task\\": \\"\\",\\n \\"ParameterSize\\": 0,\\n \\"ModelDoc\\": \\"\\",\\n \\"ModelType\\": \\"\\",\\n \\"Collection\\": \\"\\",\\n \\"SearchWords\\": \\"\\",\\n \\"ModelSeries\\": \\"\\",\\n \\"Demonstrable\\": true,\\n \\"Deployable\\": true,\\n \\"SupportedInferenceResources\\": \\"\\",\\n \\"Trainable\\": true,\\n \\"SupportedTrainingResources\\": \\"\\",\\n \\"Evaluable\\": true,\\n \\"SupportedEvaluationResources\\": \\"\\",\\n \\"Compressible\\": true,\\n \\"SupportedCompressionResources\\": \\"\\",\\n \\"Distillable\\": true,\\n \\"SupportedDistillationResources\\": \\"\\",\\n \\"Tags\\": {\\n \\"Key\\": \\"\\",\\n \\"Value\\": \\"\\"\\n },\\n \\"DeepThink\\": true,\\n \\"FunctionCall\\": true,\\n \\"ExtraInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SupportedInferenceMethods\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SupportedTrainingMethods\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SupportedEvaluationMethods\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SupportedCompressionMethods\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SupportedDistillationMethods\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n}","type":"json"}]',
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'paimodelgallery.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'paimodelgallery.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'paimodelgallery.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'paimodelgallery.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-guangzhou',
- 'endpoint' => 'paimodelgallery.cn-guangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'paimodelgallery.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'paimodelgallery.cn-wulanchabu.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'paimodelgallery.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2',
- 'endpoint' => 'paimodelgallery.ap-northeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'paimodelgallery.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'paimodelgallery.ap-southeast-3.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'paimodelgallery.ap-southeast-5.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'paimodelgallery.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'paimodelgallery.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'paimodelgallery.eu-central-1.aliyuncs.com',
- ],
+ ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paimodelgallery.cn-shenzhen.aliyuncs.com', 'endpoint' => 'paimodelgallery.cn-shenzhen.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paimodelgallery.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'paimodelgallery.cn-wulanchabu.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.cn-wulanchabu.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paimodelgallery.cn-beijing.aliyuncs.com', 'endpoint' => 'paimodelgallery.cn-beijing.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-2', 'regionName' => '韩国(首尔)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paimodelgallery.ap-northeast-2.aliyuncs.com', 'endpoint' => 'paimodelgallery.ap-northeast-2.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.ap-northeast-2.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paimodelgallery.ap-northeast-1.aliyuncs.com', 'endpoint' => 'paimodelgallery.ap-northeast-1.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paimodelgallery.cn-shanghai.aliyuncs.com', 'endpoint' => 'paimodelgallery.cn-shanghai.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-guangzhou', 'regionName' => '华南3(广州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paimodelgallery.cn-guangzhou.aliyuncs.com', 'endpoint' => 'paimodelgallery.cn-guangzhou.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.cn-guangzhou.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paimodelgallery.cn-hongkong.aliyuncs.com', 'endpoint' => 'paimodelgallery.cn-hongkong.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paimodelgallery.ap-southeast-1.aliyuncs.com', 'endpoint' => 'paimodelgallery.ap-southeast-1.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paimodelgallery.ap-southeast-3.aliyuncs.com', 'endpoint' => 'paimodelgallery.ap-southeast-3.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.ap-southeast-3.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paimodelgallery.ap-southeast-5.aliyuncs.com', 'endpoint' => 'paimodelgallery.ap-southeast-5.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.ap-southeast-5.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'paimodelgallery.cn-hangzhou.aliyuncs.com', 'endpoint' => 'paimodelgallery.cn-hangzhou.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'paimodelgallery.us-west-1.aliyuncs.com', 'endpoint' => 'paimodelgallery.us-west-1.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.us-west-1.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'paimodelgallery.us-east-1.aliyuncs.com', 'endpoint' => 'paimodelgallery.us-east-1.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.us-east-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'paimodelgallery.eu-central-1.aliyuncs.com', 'endpoint' => 'paimodelgallery.eu-central-1.aliyuncs.com', 'vpc' => 'paimodelgallery-vpc.eu-central-1.aliyuncs.com'],
],
+ 'errorCodes' => [],
+ 'changeSet' => [],
];