5 分钟快速开始

注册 → 创建 Key → 发起第一次调用

1. 创建 API Key

在控制台「API Keys」页点击"创建 Key",复制保存 cy-xxxx(仅展示一次)。

2. 调用接口

Base URL 为 https://codingplan.cmkey.cn/v1,与 OpenAI 完全兼容:

curl https://codingplan.cmkey.cn/v1/chat/completions \
  -H "Authorization: Bearer cy-xxxx" \
  -H "Content-Type: application/json" \
  -d '{"model":"deepseek-chat","messages":[{"role":"user","content":"你好"}]}'
bash

3. 接入 IDE

在 Cursor / Cherry Studio 中将 Base URL 与 Key 填入自定义 OpenAI 供应商即可。