Using Kokoro TTS
Navigate to Kokoro TTS GitHub repository.
Setting Up Kokoro TTS Server
Clone the Repository
git clone https://github.com/flukexp/kokoro-tts.git
cd kokoro-ttsCreate a Virtual Environment
python -m venv venv
source venv/bin/activate # On Windows, use `venv\Scripts\activate`Install Dependencies
pip install -r requirements.txtRunning the Server
Start the FastAPI Server
python server.pyMake sure Kokoro is enabled for TTS:
Settings -> Text-to-Speech -> TTS Backend -> KokoroSet the voice
Settings -> Text-to-Speech -> Kokoro -> VoiceUsing Kokoro with OpenAI TTS
You can use Kokoro by choosing OpenAI and configuring your Kokoro endpoint and voice.
Notes
Kokoro TTS can be used as a local text-to-speech backend in your application.
If you want to explore more models or functionalities, refer to the official Kokoro TTS GitHub repository.
Last updated