接入步骤
- 准备一个未使用、未过期的兑换码。
- 前往注册页面,填写兑换码、邮箱和密码;注册成功后自动获得 10 美元测试额度。
- 使用邮箱和密码登录控制台,复制默认 API Key 并仅自己保存。
- 在 SDK 中将 Base URL 设置为
https://myloveqian.cn/v1。 - 从可用模型列表中选择模型开始调用。原有用户名开通方式仍可在兑换激活页使用。
查看模型列表:
curl https://myloveqian.cn/v1/models \ -H "Authorization: Bearer sk-你的Key"
OpenAI 兼容调用
下面的请求可用于验证连接。请把 `sk-你的Key` 替换成自己的 Key。
curl https://myloveqian.cn/v1/chat/completions \
-H "Authorization: Bearer sk-你的Key" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.4-mini",
"messages": [
{"role": "user", "content": "你好"}
]
}'可用模型:`gpt-5.4-mini`、`gpt-5.4`、`gpt-5.5`、`gpt-5.6-terra`、`gpt-5.6-sol`。