You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] Local speech engine: local/qwen3-tts served by the gateway via llama-tts #626
The gateway (PR inference-gateway/inference-gateway#575, resolving inference-gateway/inference-gateway#574) adds a built-in local speech engine for POST /v1/audio/speech: the reserved model id local/qwen3-tts is served by shelling out to llama.cpp's one-shot llama-tts binary instead of proxying to a provider. This is user-facing behavior change.
Affected pages / new content:
/features (or audio feature page): document local/qwen3-tts, zero-shot voice cloning via reference_audio, the shared cache (~/.infer/models/tts, ~/.infer/bin), and that the binary plus GGUF weights auto-download in the background on first use (sha256 verified from inference-gateway/binaries release assets)
Configurations: new env vars AUDIO_ENABLED (renamed from ENABLE_AUDIO, no alias), AUDIO_LOCAL_AUTO_DOWNLOAD, AUDIO_LOCAL_MAX_CONCURRENCY, AUDIO_LOCAL_TIMEOUT
Error semantics: 503 + Retry-After with download progress while assets are being prepared; actionable error when AUDIO_LOCAL_AUTO_DOWNLOAD=false and assets missing
README of the gateway mentions cloning via llamacpp/qwen3-tts; keep consistent with the new local/qwen3-tts model id
Note: Configurations.md in the gateway repo is auto generated from the schema; the docs hub page should point at the env vars rather than duplicate them.
Validate (lint:md, format:check, build - all pass)
Commit and open PR
No new page - the Audio API section in api-reference.md was already the natural home, so everything landed there instead of a page that would duplicate it.
api-reference.md - new #### Local speech engine (local/qwen3-tts) subsection:
reserved model id served by the gateway itself (no provider, no key, no outbound call), with a curl example
shared caches ~/.infer/models/tts + ~/.infer/bin, PATH binary wins, otherwise sha256-verified download from inference-gateway/binaries, atomic rename so a concurrent CLI cannot corrupt the cache
503 + Retry-After with download progress while assets are being prepared; background retry, boot never blocked
AUDIO_LOCAL_AUTO_DOWNLOAD=false consumer-only mode and its actionable error
tuning table for the three AUDIO_LOCAL_* vars
known ceiling: per-request model/graph init (~1s warm), no batching, stopgap until ggml-org/llama.cpp#21956
voice-cloning example switched from llamacpp/qwen3-tts to local/qwen3-tts
configuration.md - ENABLE_AUDIO renamed to AUDIO_ENABLED (no alias) and the three AUDIO_LOCAL_* vars added to General Settings; prose links to the API reference rather than restating the semantics, per the issue note.
sdks.md / cli-text-to-speech.md - env var rename, plus a pointer from the CLI TTS page to the gateway-side engine and the shared cache.
Not done: gateway PR #575 is still open, so this documents unreleased behavior - worth holding the merge until it ships.
Activity
edenreich commentedon Sep 1, 2026
@claude Can you document this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Sep 1, 2026
Claude finished @edenreich's task in 2m 52s —— View job •
docs/issue-626-20260901-1324• Create PR ➔Documented the local speech engine - PR #627
local/qwen3-ttslint:md,format:check,build- all pass)No new page - the Audio API section in
api-reference.mdwas already the natural home, so everything landed there instead of a page that would duplicate it.api-reference.md- new#### Local speech engine (local/qwen3-tts)subsection:~/.infer/models/tts+~/.infer/bin,PATHbinary wins, otherwise sha256-verified download frominference-gateway/binaries, atomic rename so a concurrent CLI cannot corrupt the cache503+Retry-Afterwith download progress while assets are being prepared; background retry, boot never blockedAUDIO_LOCAL_AUTO_DOWNLOAD=falseconsumer-only mode and its actionable errorAUDIO_LOCAL_*varsllamacpp/qwen3-ttstolocal/qwen3-ttsconfiguration.md-ENABLE_AUDIOrenamed toAUDIO_ENABLED(no alias) and the threeAUDIO_LOCAL_*vars added to General Settings; prose links to the API reference rather than restating the semantics, per the issue note.sdks.md/cli-text-to-speech.md- env var rename, plus a pointer from the CLI TTS page to the gateway-side engine and the shared cache.Not done: gateway PR #575 is still open, so this documents unreleased behavior - worth holding the merge until it ships.
docs/issue-626-20260901-1324inference-gateway-releaser commentedon Sep 22, 2026
🎉 This issue has been resolved in version 0.9.14 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀