⚡
快速接入
兼容 OpenAI SDK,只需替换 Base URL 和 API Key。

https://nexlycn.guangnian.xincurl https://nexlycn.guangnian.xin/v1/chat/completions \
-H "Authorization: Bearer $NEXLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4o-mini",
"messages": [{"role": "user", "content": "你好!"}]
}'模型名称
示例中的模型仅用于演示。请先调用 GET /v1/models,或在控制台查看你的账号当前可用模型。