LM TTS (LM Studio + Kokoro)

Small Flask app that lets you chat with an LM Studio model and hear the replies via Kokoro text-to-speech. The web/ frontend talks to two endpoints: /api/chat for combined text + audio replies and /api/tts for on-demand speech.

Requirements

  • Python 3.10+ with pip
  • LM Studio running locally with a chat model loaded and the API server enabled (defaults to http://127.0.0.1:1234/v1 and key lm-studio)

Quickstart

  • Windows (simplest): double-click run_server.bat — it will create/activate .venv, install requirements, and start the server.
  • Mac/Linux (or manual):
python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt

# Start LM Studio separately, then run the...

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help