Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
POST /v1/chat/completions
curl https://bearlab.ai/v1/chat/completions \ -H "Authorization: Bearer $BEARLAB_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "your-model-id", "messages": [{"role": "user", "content": "你好"}], "stream": false }'
model
/v1/models
messages
stream
true
temperature
max_tokens
choices[0].message.content