diff --git a/api_v2.py b/api_v2.py index 21511db3..9eefd417 100644 --- a/api_v2.py +++ b/api_v2.py @@ -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