summaryrefslogtreecommitdiff
path: root/data/zh_cn/paimodelgallery/2025-06-30
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
committerZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
commit7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch)
tree0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/zh_cn/paimodelgallery/2025-06-30
downloadacs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.tar.gz
acs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.zip
Diffstat (limited to 'data/zh_cn/paimodelgallery/2025-06-30')
-rw-r--r--data/zh_cn/paimodelgallery/2025-06-30/api-docs.php673
1 files changed, 673 insertions, 0 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
new file mode 100644
index 0000000..06b223f
--- /dev/null
+++ b/data/zh_cn/paimodelgallery/2025-06-30/api-docs.php
@@ -0,0 +1,673 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'ROA',
+ 'product' => 'PAIModelGallery',
+ 'version' => '2025-06-30',
+ ],
+ 'directories' => [
+ [
+ 'id' => 355738,
+ 'title' => 'ModelGallery模型',
+ 'type' => 'directory',
+ 'children' => [
+ 'ListModelGalleryModels',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [
+ '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',
+ ],
+ 'JobPlanSteps' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'JobPlanStepId' => [
+ 'type' => 'string',
+ ],
+ 'JobPlanStepSpec' => [
+ 'type' => 'object',
+ ],
+ 'JobPlanStepType' => [
+ 'type' => 'string',
+ ],
+ 'JobPlanStepName' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'Tags' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => [
+ 'type' => 'string',
+ ],
+ 'Key' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'Tags' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'apis' => [
+ 'ListModelGalleryModels' => [
+ 'summary' => '获取ModelGallery模型列表。',
+ 'path' => '/api/v1/modelgallery/models',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATURElearn9XMQIJ',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ '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',
+ ],
+ ],
+ [
+ 'name' => 'Order',
+ 'in' => 'query',
+ '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',
+ ],
+ ],
+ [
+ 'name' => 'ModelName',
+ 'in' => 'query',
+ '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',
+ ],
+ ],
+ [
+ 'name' => 'Task',
+ 'in' => 'query',
+ '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',
+ ],
+ ],
+ [
+ 'name' => 'ModelType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '模型类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Endpoint',
+ ],
+ ],
+ [
+ 'name' => 'Collections',
+ 'in' => 'query',
+ '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',
+ ],
+ ],
+ [
+ 'name' => 'Demonstrable',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '是否支持在线体验。',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Deployable',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '是否支持部署。',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'SupportedInferenceResource',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '支持的部署资源。CPU,GPU,GP7V等。如GP7V,则筛选部署支持GP7V资源的模型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'GP7V',
+ ],
+ ],
+ [
+ 'name' => 'Trainable',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '是否支持训练。',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'SupportedTrainingResource',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '支持的训练资源。CPU,GPU,GP7V等。如GP7V,则筛选训练支持GP7V资源的模型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'GP7V',
+ ],
+ ],
+ [
+ 'name' => 'Evaluable',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '是否支持评测。',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'SupportedEvaluationResource',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '支持的评测资源。CPU,GPU,GP7V等。如GP7V时,则筛选支持GP7V资源的模型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'GP7V',
+ ],
+ ],
+ [
+ 'name' => 'Compressible',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '是否支持压缩。',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'SupportedCompressionResource',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '支持的压缩资源。CPU,GPU,GP7V等。如GP7V,则筛选压缩支持GP7V资源的模型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'GP7V',
+ ],
+ ],
+ [
+ 'name' => 'Distillable',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '是否支持蒸馏。',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'SupportedDistillationResource',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '支持的蒸馏资源。CPU,GPU,GP7V等。如GP7V,则筛选蒸馏支持GP7V资源的模型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'GP7V',
+ ],
+ ],
+ [
+ 'name' => 'DeepThink',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '是否支持深度思考。',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'FunctionCall',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '是否支持FunctionCall。',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '标签列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '标签。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => [
+ 'description' => '标签值。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'v1',
+ ],
+ 'Key' => [
+ 'description' => '标签键。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'k1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Conditions',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '条件列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '条件。',
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ 'example' => 'LessThan',
+ ],
+ 'Value' => [
+ 'description' => '值,如Column为ParameterSize时,输入为整数,单位M。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1024',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Query',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '配置查询条件。ModelName、Domain、Task等多字段模糊匹配。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Qwen',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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"}]',
+ 'title' => '获取ModelGallery模型列表',
+ ],
+ ],
+ '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',
+ ],
+ ],
+];