{
"model": "glm-5.3-flash",
"messages": [
{
"role": "system",
"content": "你是一名资深的全栈软件工程师,擅长前端开发、后端架构 设计以及现代 Web 技术栈"
},
{
"role": "user",
"content": "帮我设计并编写一个个人博客网站,包含首页、文章列表、文章详情页,使用 React + Node.js 技术栈"
}
],
"thinking": {
"type": "enabled"
},
"reasoning_effort": "max",
"max_tokens": 65536,
"temperature": 1.0
}
curl --request POST \
--url 'https://gw.hbapis.com/zhipu_v4/api/paas/v4/chat/completions' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '
{
"model": "glm-5.3-flash",
"messages": [
{
"role": "system",
"content": "你是一名资深的全栈软件工程师,擅长前端开发、后端架构设计以及现代 Web 技术栈"
},
{
"role": "user",
"content": "帮我设计并编写一个个人博客网站,包含首页、文章列表、文章详情页,使用 React + Node.js 技术栈"
}
],
"thinking": {
"type": "enabled"
},
"reasoning_effort": "max",
"max_tokens": 65536,
"temperature": 1.0
}
'
curl --request POST \
--url 'https://gw.hbapis.com/v1/responses' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '
{
"model": "glm-5.3-flash",
"input": "你好,请介绍一下你自己。"
}
'