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:
@@ -82,20 +82,18 @@
|
|||||||
"timeout_sec": 60.0
|
"timeout_sec": 60.0
|
||||||
},
|
},
|
||||||
"tts": {
|
"tts": {
|
||||||
"provider": "xfyun_super",
|
"provider": "xfyun",
|
||||||
"app_id": "416ce125",
|
"app_id": "416ce125",
|
||||||
"api_key": "c65342fe603126c3610031d8429bb36d",
|
"api_key": "c65342fe603126c3610031d8429bb36d",
|
||||||
"api_secret": "MzkyYmI5OWEyODQzN2FiN2VhN2UzYzU4",
|
"api_secret": "MzkyYmI5OWEyODQzN2FiN2VhN2UzYzU4",
|
||||||
"base_url": "wss://cbm01.cn-huabei-1.xf-yun.com/v1/private/mcd9m97e6",
|
"base_url": "wss://tts-api.xfyun.cn/v2/tts",
|
||||||
"voice": "x5_lingxiaoxuan_flow",
|
"voice": "x4_xiaoyan",
|
||||||
"aue": "raw",
|
"aue": "raw",
|
||||||
|
"tte": "UTF8",
|
||||||
"speed": 50,
|
"speed": 50,
|
||||||
"volume": 50,
|
"volume": 50,
|
||||||
"pitch": 50,
|
"pitch": 50,
|
||||||
"oral_level": "mid",
|
"source_sample_rate_hz": 16000
|
||||||
"source_sample_rate_hz": 24000,
|
|
||||||
"text_aggregation_mode": "token",
|
|
||||||
"timeout_sec": 30.0
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user