Skip to content

Sub2API 1.2.0

Choose a tag to compare

@github-actions github-actions released this 23 Apr 02:32
· 678 commits to main since this release

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

  • delete OpenAI images APIKey/OAuth/web2api forwarding implementation from openai_images.go

  • force ForwardImages to use /responses image_generation as the single compliant path

  • remove chatgpt backend constants and helper code no longer used after route deletion

  • keep images request parsing and response normalization for compatibility at gateway boundary

  • retain and localize firstNonEmptyString helper required by responses image tool normalization

  • update image routing tests to assert responses-only selection and remove legacy web2api-only tests

  • verify with: GOTOOLCHAIN=go1.26.2 go test ./internal/service -count=1


📥 Installation

Docker:

# GitHub Container Registry
docker pull ghcr.io/atoz03/sub2api:1.2.0

One-line install (Linux):

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

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

📚 Documentation