API Playground

在线调试 API 接口,快速集成到您的应用

认证

还没有 API Key?前往获取

模型配置
消息内容
响应结果

发送请求后查看响应

代码示例
复制代码快速集成到您的应用
curl -X POST 'https://aiapi.kaosheng.com/v1/chat/completions' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -d '{
    "model": "ks-education-pro",
    "messages": [
      {"role": "user", "content": "你好,请介绍一下你自己"}
    ]
  }'