Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.tkhub.ai/llms.txt

Use this file to discover all available pages before exploring further.

一、账号注册

注册与充值

  1. 访问首页:https://www.tkhub.ai
  2. 联系我们:https://docs.tkhub.ai/about 添加销售好友
  3. 销售会主动与您联系

二、接口配置

1. 获取令牌

  1. 登录后台系统
  2. 进入”令牌”页面
  3. 点击”添加令牌”获取 API Key

2. 接口地址

全球用户:一般情况下直接使用主地址
https://api.tkhub.ai
如果软件在主地址后无自动补全端点路径功能,则使用完整地址(主地址 + 端点路径)
https://api.tkhub.ai/v1
https://api.tkhub.ai/v1/chat/completions
https://api.tkhub.ai/v1/responses

3. 模型选择

模型名称位于网站顶部导航 -> “定价” 栏目列表中,需要保持模型名称一致

三、测试验证

  1. 使用以下方式之一验证接口配置是否正确:
    1. 聊天页面进行在线测试(推荐,如果是想接入到自己的聊天软件中聊天)
    2. 使用文档中的在线调试功能进行测试(推荐,如果是使用接口进行应用开发)
    3. 在 AI 编程软件(比如 Claude Code、Cline、Cherry Studio 等)中调用进行测试
    4. 使用 API 工具(如 Postman)进行接口测试

配置示例

{
  "base_url": "https://api.tkhub.ai",
  "api_key": "your_token_here",
  "model": "selected_model_name"
}