Closed thevickypedia closed 1 year ago
After looking into the docker logs, I figured it is simply vcoder
param
requests.post(
url="http://0.0.0.0:5002/api/tts", params={"voice": "en-us_northern_english_male-glow_tts", "vocoder": "low"},
data='Welcome to the world of speech synthesis!', headers={"Content-Type": "text/plain"}, verify=False
)
Hence, closing the issue.
Hello,
I'm looking for some clarification towards getting a text converted to speech in low quality. I run
larynx
in a docker container and use python'srequests
module to make apost
call to the endpoint0.0.0.0:5002/api/tts
to get the audio output.I tried adding
'quality': 'low'
as part of theparams
but it keeps defaulting toVocoderQuality.HIGH
Your readme says,
I naively tried using
params={"voice": "en-us_northern_english_male-glow_tts;low"}
but ended up getting the following error since the source URL is malformed by it,Any clarity on this would be much helpful. Thank you.