API Playground
在线调试 API 接口,快速集成到您的应用
响应结果
发送请求后查看响应
代码示例
复制代码快速集成到您的应用
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": "你好,请介绍一下你自己"}
]
}'