No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-07-14 01:13:50 +03:00
.gitignore init: Qwen3-TTS local server with FastAPI 2026-07-14 00:58:52 +03:00
AGENTS.md init: Qwen3-TTS local server with FastAPI 2026-07-14 00:58:52 +03:00
README.md init: Qwen3-TTS local server with FastAPI 2026-07-14 00:58:52 +03:00
requirements.txt init: Qwen3-TTS local server with FastAPI 2026-07-14 00:58:52 +03:00
server.py init: Qwen3-TTS local server with FastAPI 2026-07-14 00:58:52 +03:00
tts.py init: Qwen3-TTS local server with FastAPI 2026-07-14 00:58:52 +03:00
webui.py version 0.1, I add webui.py 2026-07-14 01:13:50 +03:00

Qwen3-TTS Local Server

Русскоязычный TTS на базе Qwen3-TTS-12Hz-1.7B-CustomVoice.

Установка

python3 -m venv qwen3-tts-env
source qwen3-tts-env/bin/activate
pip install -r requirements.txt

Запуск API

source qwen3-tts-env/bin/activate
uvicorn server:app --host 0.0.0.0 --port 8000

Примеры

curl -X POST http://localhost:8000/tts \
  -H "Content-Type: application/json" \
  -d '{"text": "Привет мир!"}' \
  --output hello.wav

curl "http://localhost:8000/tts?text=Ого,ты+крут!" --output wow.wav

CLI

python tts.py

Поддерживаемые языки

Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish, Italian

Дикторы

Ryan, Vivian, Serena, Uncle_Fu, Dylan, Eric, Aiden, Ono_Anna, Sohee