Commit Graph
6 Commits
Author SHA1 Message Date
easyai 3056cf8fca feat(gateway): 补齐桌面端高级媒体直连接口
ci / verify (pull_request) Successful in 15m34s
新增图片矢量化、视频超分、每日用量、计价与任务隔离能力,并通过环境变量解析平台凭据。

已通过 Go 全量门禁、迁移检查、镜像构建以及 Vectorizer 五格式和 Topaz 3 秒视频真实 DEV 验收。
2026-07-22 14:02:53 +08:00
chengcheng e3dfe8162b fix(billing): 视频时长按实际秒数线性计费
将五秒基础价按 duration / 5 比例结算,保留 provider 返回的小数时长,避免六秒视频被按两个完整单位收费。

影响:所有使用 5s 视频基础价的模型,quantity 与 durationUnitCount 允许小数。新增迁移同步现存规则的旧 ceil 公式元数据。

验证:go vet ./...;pnpm lint;pnpm test;pnpm build;./tests/ci/migrations-test.sh
2026-07-21 13:32:23 +08:00
wangbo 97f29ed156 Restore standard MiniMax resolutions and client mapping 2026-06-08 09:29:45 +08:00
wangbo dc14866210 迁移音频生成与语音合成到 gateway 并补充 simulation 测试 2026-06-07 10:26:57 +08:00
wangbo 11a2c13e4a fix: prefer generated video metadata for billing 2026-05-20 00:11:28 +08:00
wangbo 37d0f919e5 feat: add gateway billing estimate and rate limit details 2026-05-15 01:53:52 +08:00