What causes the error "APIError_11 is not defined"?
This is a typo. Please re-download the 3.77-0809 patch package and overwrite the existing files. Even if you are already on version 3.77 and have applied the patch before, please download it again and overwrite the files one more time to resolve the issue.
Download update link: https://pyvideotrans.com/downpackage
Why do I always get a 400 error when using the GPT-SoVITS api_v2 interface?
- First, ensure your software version is v3.77. If not, please upgrade first. If it is already v3.77, download the 3.77-0809 patch package and overwrite the existing files.
- Check if the reference audio you entered in
Menu--TTS Settings--GPT-SoVITS
is correct. The audio must be in WAV format, and its duration must be between 3 and 10 seconds; otherwise, a 400 error will occur. Place the audio file in the root directory of the GPT-SoVITS project. Here, you should enter the filename including the.wav
extension. The format is as follows: 123.wav#你好啊我的朋友#zh
Example Explanation:123.wav
is the WAV audio file, placed in the GPT-SoVITS root directory, with a duration between 3 and 10 seconds. The text in the middle is the corresponding transcript for the audio, and zh
represents the language code for that text.