Dashboard
Checking...正在加载日志...
修改账户
API Key 鉴权
启用 API Key 鉴权(保护代理接口):
登录 Cursor
选择以下任一方式完成 Cursor 认证:
🔗 方式 A:浏览器登录
启动登录流程,然后在浏览器中打开链接完成认证,服务器会等待回调。
✅ Cursor 已登录
Cursor CLI 已认证,代理就绪。
📖 API 使用说明
🔗 API 地址
https://cursor.myapi.601208.xyz/v1
| 端点 | 方法 | 说明 |
|---|---|---|
| /v1/chat/completions | POST | 聊天补全(支持 stream) |
| /v1/models | GET | 获取模型列表 |
| /health | GET | 健康检查 |
🔑 API Key 说明
在 ⚙️ 设置 页面开启 API Key 鉴权并生成 Key。如果未开启鉴权,api_key 可填任意值(如 not-needed)。
暂无 API Key,请到 ⚙️ 设置 页面生成。
💻 curl 示例
curl -X POST https://cursor.myapi.601208.xyz/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "auto",
"messages": [{"role": "user", "content": "Hello!"}],
"stream": true
}'
🐍 Python (openai SDK) 示例
from openai import OpenAI
client = OpenAI(
base_url="https://cursor.myapi.601208.xyz/v1",
api_key="YOUR_API_KEY",
)
resp = client.chat.completions.create(
model="auto",
messages=[{"role": "user", "content": "Hello!"}],
stream=True,
)
for chunk in resp:
if chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="")
🖥️ OpenClaw / Continue.dev 配置
OPENAI_API_KEY: "YOUR_API_KEY"
OPENAI_BASE_URL: "https://cursor.myapi.601208.xyz/v1"
📋 可用模型
模型 ID 和 agent --list-models 输出一致。常用模型:
| 模型 ID | 说明 |
|---|---|
| auto | 自动选择 |
| gpt-5.2 | GPT-5.2 |
| gpt-5.3-codex | GPT-5.3 Codex |
| opus-4.6-thinking | Claude Opus 4.6 (thinking) |
| sonnet-4.5-thinking | Claude Sonnet 4.5 (thinking) |
| gemini-3-pro | Gemini 3 Pro |
完整列表:curl https://cursor.myapi.601208.xyz/v1/models
🔐 Cursor 账号状态
正在检测...
🔑 API Key 用量排行
暂无数据
📊 模型调用排行
暂无数据
📋 最近请求记录
暂无数据