From 5cbfd0f0fa7499f859c361707eec057c6d6c1ed6 Mon Sep 17 00:00:00 2001 From: Xin Wang Date: Fri, 29 May 2026 16:47:07 +0800 Subject: [PATCH] Refactor TTS configuration in fastgpt.state.xfyun.json: update provider, base URL, voice settings, and adjust sample rate for improved performance. --- config/fastgpt.state.xfyun.json | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/config/fastgpt.state.xfyun.json b/config/fastgpt.state.xfyun.json index 6d62bcf..c992636 100644 --- a/config/fastgpt.state.xfyun.json +++ b/config/fastgpt.state.xfyun.json @@ -82,20 +82,18 @@ "timeout_sec": 60.0 }, "tts": { - "provider": "xfyun_super", + "provider": "xfyun", "app_id": "416ce125", "api_key": "c65342fe603126c3610031d8429bb36d", "api_secret": "MzkyYmI5OWEyODQzN2FiN2VhN2UzYzU4", - "base_url": "wss://cbm01.cn-huabei-1.xf-yun.com/v1/private/mcd9m97e6", - "voice": "x5_lingxiaoxuan_flow", + "base_url": "wss://tts-api.xfyun.cn/v2/tts", + "voice": "x4_xiaoyan", "aue": "raw", + "tte": "UTF8", "speed": 50, "volume": 50, "pitch": 50, - "oral_level": "mid", - "source_sample_rate_hz": 24000, - "text_aggregation_mode": "token", - "timeout_sec": 30.0 + "source_sample_rate_hz": 16000 } } }