跳到主要内容

快速开始

发起第一次调用

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!你是 glm 5.1 模型吗?"}]
}'

基础 URL

环境URL
生产环境https://platform-api.xxd.fans

下一步

浏览 API 参考文档,查看完整的交互式文档和自动生成的多语言代码示例。