获取模型

GET/v1/models/{model_id}

按 ID 获取单个模型。

model_id 使用 GET /v1/models 返回的 data[].id。响应与 GET /v1/models 的单个 data[] 元素结构相同。

身份验证

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

Path Parameters

model_idstringrequired

来自 GET /v1/models data[].id 的模型 ID。

Response

idstring

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

objectstring

固定为 model。

createdinteger

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

owned_bystring

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

architectureobject

模型架构和模态元数据。

architecture.input_modalitiesstring[]

支持的输入模态,例如 text、image、audio 或 video。

architecture.output_modalitiesstring[]

支持的输出模态,例如 text、image、audio 或 video。

architecture.tokenizerstring|null

可用时返回 tokenizer 类型,否则为 null。

canonical_slugstring

模型 slug,与 id 一致。

context_lengthinteger|null

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

default_parametersobject

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

descriptionstring

模型描述。

expiration_datestring|null

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

hugging_face_idstring|null

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

knowledge_cutoffstring|null

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

linksobject

相关模型资源。

links.detailsstring

Token360 模型详情路径。

namestring

展示名称。

per_request_limitsobject

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

per_request_limits.completion_tokensinteger|null

单请求最大 completion、output 或生成 token 数。

per_request_limits.prompt_tokensinteger|null

单请求最大 prompt 或 input token 数。

supported_parametersstring[]

支持的请求参数名称列表。

parameter_schemaobject

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

parameter_schema.{param}object
supported_voicesstring[]|null

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

请求

Shell
1curl https://api.token360.ai/v1/models/qwen3.5-flash

响应

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