This commit is contained in:
2025-11-18 23:30:31 +08:00
parent 2a8f9e2ba2
commit 81f531b51b
52 changed files with 4627 additions and 2251 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