coqui TTS install on Ubuntu 22

Ubuntu 22.04 ISO: https://releases.ubuntu.com/jammy/ubuntu-22.04.5-desktop-amd64.iso

Install pip:

apt-get install python3-pip

Istall TTS:

pip install TTS
apt-get install espeak-ng

Run in server mode

tts-server --model_name tts_models/en/vctk/vits

How to send api request

localhost:5002/api/tts?text=Budapest is the capital city of Hungary&speaker_id=p230&style_wav=&language_id=