feat(chat): 集成 ElevenLabs TTS 并支持异步语音生成

This commit is contained in:
2026-01-23 19:45:32 +08:00
parent bb3dcc56ff
commit 6a1bb50318
14 changed files with 1045 additions and 24 deletions

View File

@@ -1,13 +1,13 @@
spring:
ai:
openai:
# api-key: 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
api-key: sk-cf112f49cf4d4138a49575cda1f852b4
# base-url: https://gateway.ai.cloudflare.com/v1/b632a61caa85401f63c9b32eef3a74c8/aigetway/openrouter
base-url: https://dashscope-intl.aliyuncs.com/compatible-mode/
api-key: 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
# api-key: sk-cf112f49cf4d4138a49575cda1f852b4
base-url: https://gateway.ai.cloudflare.com/v1/b632a61caa85401f63c9b32eef3a74c8/aigetway/openrouter
# base-url: https://dashscope-intl.aliyuncs.com/compatible-mode/
chat:
options:
model: qwen-plus
model: google/gemini-2.5-flash-lite
embedding:
options:
model: text-embedding-v4