Repository navigation
Sub2API 0.1.194
AI API Gateway Platform - 将 AI 订阅配额分发和管理
-
Add GPT Image 2.5 Sunburst and Flare, including their 2026-09-08 snapshots, to backend and account model catalogs.
-
Default omitted image models to
gpt-image-2.5-sunburstfor Images generation/edit requests and Responses/Codex image-generation tools, including WebSocket requests. -
Preserve explicit Flare, dated snapshot and legacy image model selections.
-
Add exact Image 2.5 token rate cards. Existing model prices and group/channel billing modes remain unchanged; configured prices continue to take precedence.
-
Extend routing, pricing, usage-scope and account-test regressions. Update the async Images example to Sunburst.
-
The new default applies when the image model is omitted. Existing explicit account whitelists and model mappings are not rewritten; add the new IDs to restrictive whitelists when needed.
-
No database migration or production configuration change is required.
-
Image 2.5 availability still depends on the selected upstream account/provider. Local acceptance uses an isolated controlled upstream and does not claim paid upstream availability.
-
Backend unit tests, isolated configuration tests and static analysis passed.
-
Frontend: 239 test files / 1,673 tests, typecheck and lint passed.
-
Codex model catalog export: 16 tests passed.
-
Isolated Docker API acceptance: 14 business requests and 14 persisted usage records; default/explicit routing, generation/edit, streaming, image counts and configured billing verified.
-
Browser acceptance: desktop and mobile account model selection and Sunburst image preview passed without runtime errors or horizontal overflow.
-
Original local PostgreSQL and Redis containers and volumes were preserved.
-
https://developers.openai.com/api/docs/models/gpt-image-2.5-sunburst
-
https://developers.openai.com/api/docs/models/gpt-image-2.5-flare
📥 Installation
Docker:
# Docker Hub
docker pull forever94yu/sub2api:0.1.194
One-line install (Linux):
curl -sSL https://raw.githubusercontent.com/forever94yu/sub2api/main/deploy/install.sh | sudo bashManual download:
Download the appropriate archive for your platform from the assets below.