Compare commits

...

2 Commits

Author SHA1 Message Date
jackwu982
be1c3424f1
Merge 61afcf2600646fca8e27b412cd9564fefb6a6678 into ea2d2a81667239d37615697e8f0056e35bab2db6 2026-04-20 10:30:34 +00:00
wuyuefeng
61afcf2600 docs(api): 修正 API 文档中的参数格式错误
- 修正了 API_V2 接口中 text_lang 和 split_bucket 参数的格式错误
2024-11-21 13:53:44 +08:00

View File

@ -22,7 +22,7 @@ POST:
```json
{
"text": "", # str.(required) text to be synthesized
"text_lang: "", # str.(required) language of the text to be synthesized
"text_lang": "", # str.(required) language of the text to be synthesized
"ref_audio_path": "", # str.(required) reference audio path
"aux_ref_audio_paths": [], # list.(optional) auxiliary reference audio paths for multi-speaker tone fusion
"prompt_text": "", # str.(optional) prompt text for the reference audio
@ -350,7 +350,7 @@ async def tts_handle(req: dict):
req (dict):
{
"text": "", # str.(required) text to be synthesized
"text_lang: "", # str.(required) language of the text to be synthesized
"text_lang": "", # str.(required) language of the text to be synthesized
"ref_audio_path": "", # str.(required) reference audio path
"aux_ref_audio_paths": [], # list.(optional) auxiliary reference audio paths for multi-speaker tone fusion
"prompt_text": "", # str.(optional) prompt text for the reference audio