Getting Started
Make Your First Call
OpenAI GPT:
curl -X POST "https://platform-api.xxd.fans/open/aigw/gateway/generations" \
-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://platform-api.xxd.fans |
Next Steps
Browse the API Reference for complete interactive documentation with auto-generated code examples in multiple languages.