列出模型

GET/v1/models

列出 Token360 可用模型。

响应使用 OpenAI 兼容的模型列表格式。返回的 id 可作为聊天补全、图像生成、视频生成、音频、批量任务等兼容接口中的 model 参数。

身份验证

不需要身份验证。可以发送 Authorization: Bearer ... API key,但不是必需项。

Query Parameters

currentinteger

页码。

sizeinteger

每页数量。

sort_byenum<string>

排序字段。

sort_orderenum<string>

排序方向。

model_typestring

按模型类型筛选,例如 LLM、IMAGE_GENERATION、VIDEO_GENERATION 或 AUDIO。

keywordstring

按模型名称或展示名称搜索。

namestring

精确模型名称筛选,多个名称可用逗号分隔。

tagsstring

按一个或多个逗号分隔的标签筛选。

input_typesstring

按逗号分隔的输入类型筛选,例如 text,image,audio。

output_typesstring

按逗号分隔的输出类型筛选,例如 text,image,video,audio。

publisher_namesstring

按一个或多个发布者展示名称筛选,可逗号分隔或多次传参。

Response

objectstring

固定为 list。

dataobject[]

模型对象列表。

data.idstring

作为 model 参数传入的模型 ID。

data.objectstring

固定为 model。

data.createdinteger

由模型发布时间或更新时间转换得到的 Unix 时间戳。

data.owned_bystring

发布者或所有者展示名称。

data.architectureobject

模型架构和模态元数据。

data.canonical_slugstring

模型 slug,与 id 一致。

data.context_lengthinteger|null

可从模型 API Usage schema 推导时,表示最大 prompt tokens 与 completion tokens 之和。

data.default_parametersobject

可用时返回该模型应用或推荐的默认请求参数值。

data.parameter_schemaobject

按支持参数名称索引的请求参数元数据。

data.descriptionstring

模型描述。

data.expiration_datestring|null

可用时返回过期日期,否则为 null。

data.hugging_face_idstring|null

可用时返回 Hugging Face 模型标识,否则为 null。

data.knowledge_cutoffstring|null

可用时返回训练数据截止日期,否则为 null。

data.linksobject

相关模型资源。

data.namestring

展示名称。

data.per_request_limitsobject

从标准化 API Usage schema 推导的单请求限制。

data.supported_parametersstring[]

与模型详情页 API Usage 使用同一标准化 schema 的请求参数名称列表。

data.supported_voicesstring[]|null

语音模型可用时返回支持的 voice ID,否则为 null。

请求

Shell
1curl https://api.token360.ai/v1/models

响应

JSON
1{
2  "object": "list",
3  "data": [
4    {
5      "architecture": {
6        "input_modalities": ["text", "image", "video"],
7        "output_modalities": ["text"],
8        "tokenizer": null
9      },
10      "canonical_slug": "qwen3.5-flash",
11      "context_length": null,
12      "created": 1780324099,
13      "default_parameters": {
14        "frequency_penalty": 0,
15        "presence_penalty": 0,
16        "temperature": 0.7,
17        "top_p": 1
18      },
19      "description": "",
20      "expiration_date": null,
21      "hugging_face_id": null,
22      "id": "qwen3.5-flash",
23      "knowledge_cutoff": null,
24      "links": {
25        "details": "/models/qwen3.5-flash"
26      },
27      "name": "Qwen3.5 Flash",
28      "object": "model",
29      "owned_by": "Qwen",
30      "per_request_limits": {
31        "completion_tokens": 4096,
32        "prompt_tokens": null
33      },
34      "supported_parameters": [
35        "temperature",
36        "top_p",
37        "max_completion_tokens",
38        "presence_penalty",
39        "frequency_penalty"
40      ],
41      "parameter_schema": {
42        "temperature": {
43          "type": "number",
44          "options": null,
45          "default": 0.7,
46          "min": 0,
47          "max": 2
48        },
49        "top_p": {
50          "type": "number",
51          "options": null,
52          "default": 1,
53          "min": 0,
54          "max": 1
55        },
56        "max_completion_tokens": {
57          "type": "number",
58          "options": null,
59          "default": 4096,
60          "min": 1,
61          "max": 65536
62        },
63        "presence_penalty": {
64          "type": "number",
65          "options": null,
66          "default": 0,
67          "min": -2,
68          "max": 2
69        },
70        "frequency_penalty": {
71          "type": "number",
72          "options": null,
73          "default": 0,
74          "min": -2,
75          "max": 2
76        }
77      },
78      "supported_voices": null
79    }
80  ]
81}
此页面对您有帮助吗?