👧
Amica
Launch DemoTelegramGitHubTwitter
  • Welcome to Amica!
  • 🌸Overview
    • How Amica Works
    • Core Features
    • Amica Life
    • Emotion System
    • Other Features
    • Use Cases
    • Amica vs Other Tools
  • 🌳Getting Started
    • Quickstart Guide
    • Installing Amica
    • Next Steps
  • 🗣️Connecting LLMs (Your Core AI Chatbot Model)
    • Using LM Studio
    • Using LLaMA.cpp
    • Using Ollama
    • Using KoboldCpp
    • Using OpenAI
    • Using Oobabooga
    • Using OpenRouter
  • 🔊Connecting Speech Options (TTS)
    • Using SpeechT5
    • Using ElevenLabs
    • Using Coqui Local
    • Using Piper
    • Using Alltalk TTS
    • Using Kokoro TTS
    • Using RVC
  • 👂Connecting Microphone Options (STT)
    • Using whisper.cpp
  • 👁️Connecting Multi-Modal Modules
    • Using LLaVA
  • 🔧Other Guides
    • Using Window.ai
    • Using Moshi (Voice to Voice)
  • 🧩Plugin System
    • Plugins Intro
    • Getting Real World News on Amica
  • 🔌API System
    • External API for Agents
  • 🌻Tutorials
    • Creating new Avatars
    • Using Custom Assets
  • 🌺Contributing to Amica
    • Setting up your developer environment
    • Contributing to the Docs
    • Developing Amica
    • Adding Translations
Powered by GitBook
On this page
  • Setting Up Kokoro TTS Server
  • Running the Server
  • Make sure Kokoro is enabled for TTS:
  • Set the voice
  • Using Kokoro with OpenAI TTS
Edit on GitHub
  1. Connecting Speech Options (TTS)

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-tts

Create a Virtual Environment

python -m venv venv
source venv/bin/activate  # On Windows, use `venv\Scripts\activate`

Install Dependencies

pip install -r requirements.txt

Running the Server

Start the FastAPI Server

python server.py

Make sure Kokoro is enabled for TTS:

Settings -> Text-to-Speech -> TTS Backend -> Kokoro

Set the voice

Settings -> Text-to-Speech -> Kokoro -> Voice

Using 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.

PreviousUsing Alltalk TTSNextUsing RVC

Last updated 3 months ago

🔊