local-tts-studio
Local Piper text-to-speech studio, shipped as a single pip package. One command starts a server that opens exactly one port (7878) and serves:
- Web UI — speech studio, voice catalog/downloads, logs, system monitor
(
http://127.0.0.1:7878/) - REST API under
/api/*(used by the web UI itself) - OpenAI-compatible speech API under
/v1/*(/v1/audio/speech) so any OpenAI client can point athttp://127.0.0.1:7878/v1
PyPI name note:
local-ttswas blocked by PyPI's name-similarity policy, so the package is published aslocal-tts-studio. The command stayslocal-tts.
Install
pip install local-tts-studio
Run
local-tts
Then open http://127.0.0.1:7878 in your browser. The web UI, REST API and
OpenAI-compatible API are all served from that single port — no other ports are
opened. Press Ctrl+C to stop.
Options
local-tts --host 0.0.0.0 # listen on the LAN (default: 127.0.0.1)
local-tts --port 7878 # change the port (default: 7878)
local-tts --version
Environment overrides: LOCAL_TTS_HOST, LOCAL_TTS_PORT, LOCAL_TTS_DATA_DIR.
First-time setup
- Open the web UI → Voices & setup.
- Click Install piper (installs the
piper-ttsengine into the same Python environment, done once). - Pick a voice from the catalog to download (e.g.
en_US-amy-medium). - Go to Speech studio, type text, synthesize.
Configuration / data locations
Settings, downloaded voices and the voice catalog live in a per-user data
directory (override with LOCAL_TTS_DATA_DIR):
| OS | Path |
|---|---|
| Linux | ~/.local/share/local-tts |
| macOS | ~/Library/Application Support/local-tts |
| Windows | %LOCALAPPDATA%\local-tts |
OpenAI-compatible API example
curl http://127.0.0.1:7878/v1/audio/speech \
-H "Content-Type: application/json" \
-d '{"model":"local-tts","voice":"en_US-amy-medium","input":"Hello world"}' \
--output hello.wav
License
MIT
Metadata
Release files for local-tts-studio 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| local_tts_studio-1.0.0.tar.gz | 129.4 kB | Without provenance | Details for local_tts_studio-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| local_tts_studio-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for local_tts_studio-1.0.0-py3-none-any.whl |
Total release size: 265.5 kB
Release files / local_tts_studio-1.0.0.tar.gz
| Download URL | local_tts_studio-1.0.0.tar.gz |
|---|---|
| Size | 129.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b8ca3b36a6dbf9d608060f8624e20071ab542ec339aebb3460258c329918d19
|
|
BLAKE2b-256 checksum How to use checksums |
4c9dade5a0d019130a86567df4483b40a7bb248dcfd75ad17c16800c09bcc012
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / local_tts_studio-1.0.0-py3-none-any.whl
| Download URL | local_tts_studio-1.0.0-py3-none-any.whl |
|---|---|
| Size | 136.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1d54e8fd10722c4d0e151d42d1904bbd72d7dee3721348b230e1c467c4678ee2
|
|
BLAKE2b-256 checksum How to use checksums |
99daa2764e4fb2103f4f6f965c48f296f234aa4e1c9f3cf15d53ba99fbe8040e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for local-tts-studio 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.