1. 第三方工具集成
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
      • /v1/models
    • 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. 第三方工具集成

Clawdbot 中调用api365

修改 /.openclaw/openclaw.json 添加如下配置,比如GPT-4o
"models": {
    "providers": {
      "api-proxy-gpt": {
        "baseUrl": "https://openai.api365.cloud/v1",
        "apiKey": "tk-xxxxxxxxxxxxxxxxxxxxxx",
        "api": "openai-completions",
        "authHeader": true,
        "models": [
          {
            "id": "gpt-4o",
            "name": "GPT-4o",
            "api": "openai-completions",
            "reasoning": false,
            "input": [
              "text"
            ],
            "compat": {
              "maxTokensField": "max_tokens"
            }
          }
        ]
      }
    }
  },
  "agents": {
    "defaults": {
      "model": {
        "primary": "api-proxy-gpt/gpt-4o"
      }
    }
  }
如果使用GPT-5系列可以如下配置
"models": {
    "providers": {
      "api-proxy-gpt": {
        "baseUrl": "https://openai.api365.cloud/v1",
        "apiKey": "tk-xxxxxxxxxxxxxxxxxxxxxx",
        "api": "openai-responses",
        "authHeader": true,
        "models": [
          {
            "id": "gpt-5.1",
            "name": "GPT-5.1",
            "api": "openai-completions",
            "reasoning": false,
            "input": [
              "text"
            ],
            "compat": {
              "maxTokensField": "max_completion_tokens"
            }
          }
        ]
      }
    }
  },
  "agents": {
    "defaults": {
      "model": {
        "primary": "api-proxy-gpt/gpt-5.1"
      }
    }
  }
使用Gemini系列模型采用如下配置
  "models": {
    "providers": {
      "api-proxy-gpt": {
        "baseUrl": "https://gemini.api365.cloud/v1beta",
        "apiKey": "tk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "api": "google-generative-ai",
        "authHeader": true,
        "models": [
          {
            "id": "gemini-2.5-flash",
            "name": "Gemini 2.5 Flash",
            "api": "google-generative-ai",
            "reasoning": false,
            "input": [
              "text"
            ],
            "cost": {
              "input": 0,
              "output": 0,
              "cacheRead": 0,
              "cacheWrite": 0
            }
          }
        ]
      }
    }
  },
  "agents": {
    "defaults": {
      "model": {
        "primary": "api-proxy-gpt/gemini-2.5-flash"
      }
    }
  }
修改于 2026-02-03 07:29:47
上一页
Obsibian + Copilot 调用api365
下一页
CherryStudio 中调用api365
Built with