Skip to main content

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

Production base URL for the current documentation domain: https://newapi.xxd.fans/v1

Next Steps

Browse the API Reference for complete interactive documentation with auto-generated code examples in multiple languages.