Getting Started
Make Your First Call
OpenAI GPT:
curl -X POST "https://newapi.xxd.fans/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "glm-5.1",
"messages": [{"role": "user", "content": "Hello! Are you the glm-5.1 model?"}]
}'
Base URL
| Environment | URL |
|---|---|
| Production | https://newapi.xxd.fans/v1 |
Next Steps
Browse the API Reference for complete interactive documentation with auto-generated code examples in multiple languages.