Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
GLM-4 0520 | テキスト生成
glm-4-0520
POST /v1/chat/completions
MIXROUTE_API_KEY
curl --fail-with-body --request POST 'https://api.mixroute.ai/v1/chat/completions' \ --header "Authorization: Bearer $MIXROUTE_API_KEY" \ --header 'Content-Type: application/json' \ --data '{ "model": "glm-4-0520", "messages": [ { "role": "user", "content": "Reply with OK only." } ], "max_tokens": 64 }'
choices[0].message.content
model
messages