Skip to content

TokenRouter 0.1.289

Choose a tag to compare

@github-actions github-actions released this 23 Sep 17:50
· 330 commits to main since this release

AI API Gateway Platform - 将 AI 订阅配额分发和管理

  • 渠道新增「同步账号支持模型」:用该渠道下账号的已知支持模型并集覆盖渠道价卡;已有条目保留原价、新增模型显式填 0、并集外模型连同价卡移除并需确认;可选并发从上游刷新账号模型(失效账号忽略)
  • 账号「同步上游支持的模型」由只追加改为覆盖式替换,上游已下线模型不再残留;新增 apply 参数支持服务端直接覆盖写库(空结果不改并报错)
  • 创作台接入 OpenAI 兼容第三方生图模型:按模型名前缀登记请求契约(size 格式、是否显式索要 base64、编辑源图上限),新增同类模型只需登记一条
  • 已登记 gemini-3.1-flash-lite-image(size 传比例,默认 1:1)、qwen-image-2.0 与 wan2.7-image(size 传 WIDTHxHEIGHT,需显式请求 response_format=b64_json)
  • deploy 下 compose、脚本、示例与文档的镜像引用统一改为本仓库 ghcr.io/yegetables/tokenrouter
  • AGENTS.md 增加「渠道信息源」规范:渠道任务先查 .agents/channels/,禁止写死易变数据,获得新信息后回写维护

📥 Installation

Docker:

# GitHub Container Registry
docker pull ghcr.io/yegetables/tokenrouter:0.1.289

One-line install (Linux):

curl -sSL https://raw.githubusercontent.com/yegetables/TokenRouter/main/deploy/install.sh | sudo bash

Manual download:
Download the appropriate archive for your platform from the assets below.

📚 Documentation