mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-12-05 16:07:33 +00:00
- Require per-request/image mode for group image pricing so token-mode group cards no longer settle images at $0. - Force per-image billing for channel token pricing when the group switch is enabled, matching the OpenAI pipeline. - Add an ImageEndpoint marker so the switch only applies to dedicated image endpoints; mixed Responses/Chat/WS requests keep token billing. - Only fall back to one image when the switch is enabled, preserving the previous count semantics when it is off. - Validate image_count_billing in GroupService and gate the admin checkbox on allow_image_generation. - Bump the API key auth snapshot version for the new group field.