1. Moonshot家族
API365
  • api365.cloud
    • 认证方式
    • 域名入口
    • OpenAI家族
      • Chat/Completion
        • /v1/chat/completions
      • Response
        • /v1/responses
      • Image
        • /v1/images/generations
      • Embedding
        • /v1/embeddings
      • Codex
        • /v1/responses
      • /v1/models
    • Google家族
      • Gemini
        • /v1beta/models/{model}:{action}
      • OpenAI兼容模式
        • /v1/chat/completions
      • Imagen4
        • /v1beta/models/{model}:{action}
      • /v1/models
    • Claude家族
      • Anthropic原生协议
        • /v1/messages
      • OpenAI兼容模式
        • /v1/chat/completions
      • /v1/models
    • MiniMAX家族
      • OpenAI格式
        • /v1/chat/completions
      • Anthropic格式
        • /v1/messages
      • /v1/models
    • Moonshot家族
      • /v1/chat/completions
        POST
      • /v1/models
        GET
    • Grok家族
      • /v1/chat/completions
      • /v1/models
    • Deepseek家族
      • /v1/chat/completions
      • /v1/models
    • 通用OpenAI兼容
      • /v1/chat/completions
      • /v1/models
  • Models
    • 模型清单
  • 第三方工具集成
    • VSCode + Cline 使用api365作为代理
    • Dify 中调用 GPT-5.X
    • Dify 中调用 Gemini
    • Trae 企业版中配置api365接入
    • Claude Code 中使用api365作为代理
    • n8n 中调用api365
    • ComfyUI 调用api365生成图片
    • Obsibian + Copilot 调用api365
    • Clawdbot 中调用api365
    • CherryStudio 中调用api365
  1. Moonshot家族

/v1/chat/completions

开发中
POST
https://kimi.api365.cloud/v1/chat/completions
最后修改时间:2026-03-23 08:00:17

请求参数

Authorization
Bearer Token
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
or
Body 参数application/json必填

示例
{
    "model": "kimi-k2.5",
    "messages": [
        {
            "role": "system",
            "content": "You are Kimi, an AI assistant provided by Moonshot AI. You are proficient in Chinese and English conversations. You aim to provide users with safe, helpful, and accurate responses. You will refuse to answer any questions related to terrorism, racism, or explicit content. Moonshot AI is a proper noun and should not be translated into other languages."
        },
        {
            "role": "user",
            "content": "Hello, my name is Li Lei. What is 1+1?"
        }
    ]
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://kimi.api365.cloud/v1/chat/completions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "model": "kimi-k2.5",
    "messages": [
        {
            "role": "system",
            "content": "You are Kimi, an AI assistant provided by Moonshot AI. You are proficient in Chinese and English conversations. You aim to provide users with safe, helpful, and accurate responses. You will refuse to answer any questions related to terrorism, racism, or explicit content. Moonshot AI is a proper noun and should not be translated into other languages."
        },
        {
            "role": "user",
            "content": "Hello, my name is Li Lei. What is 1+1?"
        }
    ]
}'

返回响应

🟢200成功
application/json
Body

示例
{}
修改于 2026-03-23 08:00:17
上一页
/v1/models
下一页
/v1/models
Built with