Jicreate AI API

Qwen3.8-27B 模型服务 · OpenAI 兼容接口

服务状态: 检测中…

基本信息

Base URLhttps://chat.jicreate.cn/v1
模型 IDqwen3.8-27b
认证方式请求头 Authorization: Bearer <API Key>
流式输出支持 SSE(stream: true)
使用服务必须携带 API Key。请向服务管理员获取你的 Key,并在每个请求中通过 Authorization: Bearer <你的Key> 传递。未携带或 Key 错误将返回 401。
想先试试?打开 网页聊天 Demo,粘贴 API Key 即可对话。 本服务已开启 CORS,任何网页(任意域名)都可以直接调用。

接口列表

接口方法说明
/v1/modelsGET列出可用模型
/v1/chat/completionsPOST对话补全(最常用)
/v1/completionsPOST纯文本补全
/v1/responsesPOSTResponses API
/healthGET服务健康检查(无需 Key)

对话补全 /v1/chat/completions

普通请求

curl https://chat.jicreate.cn/v1/chat/completions \
  -H "Authorization: Bearer 你的APIKey" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3.8-27b",
    "messages": [
      {"role": "user", "content": "介绍一下你自己"}
    ]
  }'

流式请求(SSE)

curl -N https://chat.jicreate.cn/v1/chat/completions \
  -H "Authorization: Bearer 你的APIKey" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3.8-27b",
    "messages": [{"role": "user", "content": "你好"}],
    "stream": true
  }'

流式响应按 data: {…} 逐段返回,最后以 data: [DONE] 结束。

OpenAI SDK 示例(Python)

from openai import OpenAI

client = OpenAI(
    base_url="https://chat.jicreate.cn/v1",
    api_key="你的APIKey",
)

resp = client.chat.completions.create(
    model="qwen3.8-27b",
    messages=[{"role": "user", "content": "你好"}],
    stream=True,
)
for chunk in resp:
    print(chunk.choices[0].delta.content or "", end="")

Responses API /v1/responses

curl https://chat.jicreate.cn/v1/responses \
  -H "Authorization: Bearer 你的APIKey" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3.8-27b",
    "input": "写一首关于夏天的短诗",
    "max_output_tokens": 200
  }'

错误码

状态码说明
401缺少或错误的 API Key
404接口路径不存在
503GPU worker 未连接,请稍后重试
504上游响应超时

错误响应统一为 OpenAI 风格:{"error": {"message": "…", "type": "…"}}

注意事项