1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
|
<?php return [
'version' => '1.0',
'info' => ['style' => 'ROA', 'product' => 'PAIModelGallery', 'version' => '2025-06-30'],
'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' => [
'JobPlanStepName' => ['type' => 'string'],
'JobPlanStepType' => ['type' => 'string'],
'JobPlanStepId' => ['type' => 'string'],
'JobPlanStepSpec' => ['type' => 'object'],
],
],
],
'Tags' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Key' => ['type' => 'string'],
'Value' => ['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' => [
'path' => '/api/v1/modelgallery/models',
'methods' => ['get'],
'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'PageNumber',
'in' => 'query',
'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Order',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'SortBy',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ModelName',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Domain',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Task',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Origin',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ModelType',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Collections',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ModelSeries',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Demonstrable',
'in' => 'query',
'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'Deployable',
'in' => 'query',
'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'SupportedInferenceResource',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Trainable',
'in' => 'query',
'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'SupportedTrainingResource',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Evaluable',
'in' => 'query',
'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'SupportedEvaluationResource',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Compressible',
'in' => 'query',
'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'SupportedCompressionResource',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Distillable',
'in' => 'query',
'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'SupportedDistillationResource',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'DeepThink',
'in' => 'query',
'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'FunctionCall',
'in' => 'query',
'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'json',
'schema' => [
'type' => 'array',
'required' => false,
'items' => [
'type' => 'object',
'required' => false,
'properties' => [
'Value' => ['type' => 'string', 'required' => false],
'Key' => ['type' => 'string', 'required' => false],
],
],
],
],
[
'name' => 'Conditions',
'in' => 'query',
'style' => 'json',
'schema' => [
'type' => 'array',
'required' => false,
'items' => [
'type' => 'object',
'required' => false,
'properties' => [
'Column' => ['type' => 'string', 'required' => false],
'Operator' => ['type' => 'string', 'required' => false],
'Value' => ['type' => 'string', 'required' => false],
],
],
],
],
[
'name' => 'Query',
'in' => 'query',
'schema' => ['type' => 'string', 'required' => false],
],
],
],
],
'endpoints' => [
['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'],
],
];
|