mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-16 07:33:06 +08:00
- 中继 xAI Voice HTTP(/tts /stt /custom-voices)与 Realtime WS(/realtime) 仅 Grok 分组可用;账号选调度沿用 chat 能力,不依赖创作中心 - Voice URL 固定走 api.x.ai(CLI proxy base 自动回落) - 分组级 audio_realtime / TTS / STT 单价:schema + migration 218 + admin API + GroupsView 表单与 i18n(无创作中心 UI)
6 lines
429 B
SQL
6 lines
429 B
SQL
-- Grok Voice 显式定价:realtime / TTS / STT。
|
|
-- NULL 表示未配置(当前中继不强制计费;字段预留给分组配置与后续计费接线)。
|
|
ALTER TABLE groups ADD COLUMN IF NOT EXISTS audio_realtime_price_per_min DECIMAL(20,8);
|
|
ALTER TABLE groups ADD COLUMN IF NOT EXISTS audio_tts_price_per_million_chars DECIMAL(20,8);
|
|
ALTER TABLE groups ADD COLUMN IF NOT EXISTS audio_stt_price_per_hour DECIMAL(20,8);
|