v0.2.4
Wei-Shaw/sub2apiv0.2.4Sep 9, 2026by github-actions[bot]
AI Summary
This release introduces MiniMax platform support and HTTP/2 PING keepalive to prevent disconnections for long streaming requests. It also adds OpenAI Image 2.5 model support and various account/channel monitoring enhancements.
Key Highlights
- Added MiniMax platform support with full account types, grouping, and monitoring integration.
- Implemented HTTP/2 PING keepalive for long streaming requests to improve task stability.
- Added OpenAI Image 2.5 model support for image generation capabilities.
- Introduced Grok media capability qualification control at the account level.
New Features
- MiniMax platform support (account types, grouping, quota and channel monitoring)
- OpenAI Image 2.5 model support
- Grok media capability qualification control
- Long stream keepalive via HTTP/2 PING
- OpenAI estimated weekly consumption display in account list
- Channel monitoring V2 user ranking visibility toggle
- Markdown rendering for payment help text
- Drag-and-drop support for custom page link buttons
- Apple container network subnet customization for deployment
Full Release Notes
> AI API Gateway Platform - 将 AI 订阅配额分发和管理 新增 MiniMax 平台接入,并为长时间生成的流式请求加入 HTTP/2 PING 保活,改善长任务断流问题。 ## 新增功能 - MiniMax 平台支持:新增账号类型、分组调度、渠道监控与额度监控完整接线 - OpenAI 生图支持 Image 2.5 模型 - Grok 媒体能力资格控制:可在账号维度配置媒体调用资格 - 长流保活:为长时间生成的上游流式请求启用 HTTP/2 PING 保活 - 账号列表新增 OpenAI 预估周消耗展示 - 渠道监控 V2 新增用户排行显隐开关,可对非管理员隐藏排行榜 - 支付帮助文案支持 Markdown 渲染(已做净化处理) - 自定义页面的打开链接按钮支持拖拽调整位置 - 部署支持自定义 Apple 容器网络子网 ## 优化改进 - 系统日志入库量收敛上限,避免数据库无限增长 - 渠道缓存失效改为集群广播,多实例部署下配置变更即时生效 - 账号调度以持久化冷却时间为准,自动丢弃过期的进程内运行时封锁 - 客户端断开后先取消上游流再关闭连接,并正确归类被取消的流 - 渠道监控中缺失首字延迟样本不再显示为异常,改为「不适用」状态 ## Bug 修复 - 修复 OAuth 账号生图时主控模型选择错误 - 修复 Grok Chat Completions 传入不支持的 external_web_access 参数导致请求失败 - 修复 429 未耗尽额度时仍触发账号退避,关闭默认回避时不再创建 OAuth 冷却 - 修复 Claude Code max_tokens=1 探测请求在部分模型上被拒绝 - 修复代理更新时未提交字段被清空,保留过期时间与回退设置 - 修复代理备份引用方向错误且无法共享的问题 - 修复代理过期回退只能触发一次的问题 - 修复公告与代理的日期范围缺少校验 - 修复代理列表返回异常数据时页面报错 - 修复模型广场未包含生效中的订阅分组 - 修复注册可见性设置在登录页未生效 - 修复账号无法移除已停用分组的问题 - 修复令牌刷新失败的账号在列表中丢失选中状态 - 修复 Antigravity OAuth 账号创建时订阅套餐信息丢失 - 修复账号操作菜单超出视口显示不全 - 修复 Windows 下插件 ZIP 包未关闭导致的提交失败 - 升级 go-redis 至 v9.22.0,修复连接池 nil-ctx panic --- ## 📥 Installation **Docker:** ```bash # Docker Hub docker pull weishaw/sub2api:0.2.4 # GitHub Container Registry docker pull ghcr.io/wei-shaw/sub2api:0.2.4 ``` **One-line install (Linux):** ```bash curl -sSL https://raw.githubusercontent.com/Wei-Shaw/sub2api/main/deploy/install.sh | sudo bash ``` **Manual download:** Download the appropriate archive for your platform from the assets below. ## 📚 Documentation - [GitHub Repository](https://github.com/Wei-Shaw/sub2api) - [Installation Guide](https://github.com/Wei-Shaw/sub2api/blob/main/deploy/README.md)