仔仔 API 开放平台
OpenAI 兼容 · 开箱即用

申请一个 Key
用标准接口调用私有模型

注册后即可创建自己的 API Key,用 openai 官方 SDK 直接调用, 不需要改一行业务代码。密钥可随时吊销,调用量在控制台实时可见。

1

标准 OpenAI 协议

兼容 /v1/chat/completions,官方 SDK、Cherry Studio、NextChat、Dify 直连可用。

2

密钥自己管

一个账号可创建多个 Key,按用途分开。泄露了立刻吊销,不影响其他 Key。

3

调用量透明

每次调用都记账,控制台能看到今日调用、近 14 天趋势和最近 20 次记录。

三步调通

不需要写任何客户端代码

注册并登录后,在控制台点「新建密钥」,系统会生成一串 sk- 开头的密钥。它只显示一次,请立刻保存。

sk-0123456789abcdef0123456789abcdef
配置项值
Base URLhttps://api.zaizaituandui.cn/v1
API Key你在控制台创建的 sk- 密钥
模型名称deepseek-r1:1.5b

注意 Base URL 要带 /v1,SDK 会自动拼上 /chat/completions。

from openai import OpenAI

client = OpenAI(
    api_key="你的 sk- 密钥",
    base_url="https://api.zaizaituandui.cn/v1",
)

resp = client.chat.completions.create(
    model="deepseek-r1:1.5b",
    messages=[{"role": "user", "content": "你好,介绍一下你自己"}],
)

print(resp.choices[0].message.content)
curl https://api.zaizaituandui.cn/v1/chat/completions \
  -H "Authorization: Bearer 你的 sk- 密钥" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-r1:1.5b",
    "messages": [{"role": "user", "content": "你好"}]
  }'
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: "你的 sk- 密钥",
  baseURL: "https://api.zaizaituandui.cn/v1",
});

const resp = await client.chat.completions.create({
  model: "deepseek-r1:1.5b",
  messages: [{ role: "user", content: "你好" }],
});

console.log(resp.choices[0].message.content);

可用模型

模型名称要和调用时填的完全一致
模型名称类型状态
deepseek-r1:1.5b 对话 / 推理 可用
使用须知
· 密钥等同于账号密码,不要写进前端代码、不要提交到 Git 仓库。
· 该模型是推理模型,响应里可能带 reasoning_content(思考过程),正文在 content 字段。
· 单次请求较慢(CPU 推理),建议客户端把超时设置到 300 秒以上。