send-stream

This commit is contained in:
wing
2025-11-19 00:12:47 +08:00
parent 7f53203245
commit 33abc33b58
21 changed files with 1630 additions and 2247 deletions

View File

@@ -223,6 +223,11 @@ wx:
# 芋道配置项,设置当前项目所有自定义的配置
yudao:
cosyvoice:
api-key: sk-10c746f8cb8640738f8d6b71af699003
# tik:
# latentsync:
# api-key: ${TIK_LATENTSYNC_API_KEY:} # 建议通过环境变量覆盖仓库默认值
captcha:
enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试;
security:
@@ -265,4 +270,4 @@ justauth:
cache:
type: REDIS
prefix: 'social_auth_state:' # 缓存前缀,目前只对 Redis 缓存生效,默认 JUSTAUTH::STATE::
timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟
timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟

View File

@@ -213,6 +213,13 @@ spring:
sse-endpoint: /sse
yudao:
cosyvoice:
enabled: true
api-key: sk-10c746f8cb8640738f8d6b71af699003
default-model: cosyvoice-v2
sample-rate: 24000
audio-format: mp3
preview-text: 您好,欢迎体验专属音色
ai:
gemini: # 谷歌 Gemini
enable: true