feat(Sora): 完成Sora网关接入与媒体能力
新增 Sora 网关路由、账号调度与同步服务\n补充媒体代理与签名 URL、模型列表动态拉取\n完善计费配置、前端支持与相关测试
This commit is contained in:
11
backend/migrations/047_add_sora_pricing_and_media_type.sql
Normal file
11
backend/migrations/047_add_sora_pricing_and_media_type.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
-- Migration: 047_add_sora_pricing_and_media_type
|
||||
-- 新增 Sora 按次计费字段与 usage_logs.media_type
|
||||
|
||||
ALTER TABLE groups
|
||||
ADD COLUMN IF NOT EXISTS sora_image_price_360 decimal(20,8),
|
||||
ADD COLUMN IF NOT EXISTS sora_image_price_540 decimal(20,8),
|
||||
ADD COLUMN IF NOT EXISTS sora_video_price_per_request decimal(20,8),
|
||||
ADD COLUMN IF NOT EXISTS sora_video_price_per_request_hd decimal(20,8);
|
||||
|
||||
ALTER TABLE usage_logs
|
||||
ADD COLUMN IF NOT EXISTS media_type VARCHAR(16);
|
||||
Reference in New Issue
Block a user