Refactor TTS configuration in fastgpt.state.xfyun.json: update provider, base URL, voice settings, and adjust sample rate for improved performance.

This commit is contained in:
Xin Wang
2026-05-29 16:47:07 +08:00
parent 991c8a02e7
commit 5cbfd0f0fa

View File

@@ -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
}
}
}