使用 OpenAI SDK 或任意兼容客户端,API 地址和密钥如下:
# Base URL
API_BASE = http://103.231.56.210:8088/v1
# API Key (在此页面生成)
API_KEY = sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# curl 示例
curl http://103.231.56.210:8088/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"claude-opus-4.8","messages":[{"role":"user","content":"hello"}]}'