

JSON 是当今世界上应用程序之间交换数据最广泛使用的格式之一。
结构化输出是一项功能特性,可确保模型生成的响应始终符合您提供的 JSON Schema,因此您无需担心模型遗漏必需的键,或生成无效的枚举值。
结构化输出的优势包括:
curl 'https://wanqing.streamlakeapi.com/api/gateway/v1/endpoints/chat/completions' \
-H "Authorization: Bearer $WQ_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "模型 id/推理点id",
"messages": [
{
"role": "system",
"content": "你是一个 AI 人工智能助手。"
},
{
"role": "user",
"content": "请介绍一下太阳系的八大行星"
}
],
"response_format": {
"type": "json_object"
},
"stream": false,
}'
模型系列 | 模型名称 |
KAT Coder 系列 | KAT-Coder-Pro-V1 |
KAT-Coder-Air-V1 | |
KAT-Coder-Exp-72B-1010 | |
DeepSeek 系列 | DeepSeek-V3.2-Speciale |
DeepSeek-V3.2-Exp | |
DeepSeek-V3.1 | |
DeepSeek-R1 | |
DeepSeek-V3 | |
Qwen 系列 | Qwen2.5-7B-Instruct |
Qwen3-32B | |
Qwen3-30B-A3B | |
Qwen3-235B-A22B-Thinking-2507 | |
Qwen3-VL-235B-A22B-Instruct | |
Qwen3-VL-235B-A22B-Thinking | |
Qwen3-235B-A22B-Instruct-2507 | |
Qwen3-30B-A3B-Instruct-2507 | |
GLM 系列 | GLM-4.6 |
MiniMax 系列 | MiniMax-M2 |