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] Document the TextToSpeech agent tool (text-to-speech and voice cloning) #592
The CLI added an opt-in text-to-speech feature (inference-gateway/cli PR 1118, resolving issue inference-gateway/cli#1115): a TextToSpeech agent tool backed by a local llama.cpp llama-tts binary running Qwen3-TTS GGUF models, with stock-voice synthesis and zero-shot voice cloning from a reference WAV.
The CLI's own documentation is included in that PR:
docs/tools-reference.md (new TextToSpeech entry under Media Tools)
This ticket tracks surfacing the feature in the org docs site so users can discover it:
New page or section covering text-to-speech and voice cloning setup (config keys under text_to_speech, env vars INFER_TEXT_TO_SPEECH_*, engine prerequisites: llama-tts binary and ffmpeg)
New page cli-text-to-speech.md - prerequisites (llama-tts build, ffmpeg), enabling snippet, full text_to_speech.* config table with the matching INFER_TEXT_TO_SPEECH_* env vars, model presets (base/q8/bf16), tool parameters (text, voice_sample, output_path), voice-cloning guidance, and a troubleshooting table (missing llama-tts, missing ffmpeg, model-download errors, slow first call, bad clones, timeouts).
cli.md - new Audio row in the tool-categories table and a TextToSpeech section beside the Image tools, both stating the opt-in gating (tool definition absent from the LLM payload while text_to_speech.enabled is false).
.vitepress/config.ts - "Text-to-Speech" in both sidebars, next to Speech-to-Text; plus a cross-link added to the speech-to-text page's Related list.
Values were taken from the PR branch's TextToSpeechConfig struct rather than paraphrased, so defaults (timeout: 300, ~/.infer/tts, ~/.infer/models/tts) match the implementation.
Not done: nothing else in the repo enumerates config-gated tools, so there was no separate "opt-in tools" list to update. Since cli#1118 is still open, the docs describe unreleased behavior - worth landing after it merges. configuration.md is generator-owned (gateway schema), so CLI-only keys stay on the CLI page, matching how speech_to_text is documented.
Activity
edenreich commentedon Aug 28, 2026
@claude Can you document this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Aug 28, 2026
Claude finished @edenreich's task in 3m 5s —— View job •
docs/issue-592-20260828-1629• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-592-20260828-1629?quick_pull=1&title=Issue%20%23592%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23592%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documented the TextToSpeech tool
cli-speech-to-text.md)docs/text-to-speech.md,docs/tools-reference.md,config/config.go)cli-text-to-speech.mdcli.mdPR: #593
What changed
cli-text-to-speech.md- prerequisites (llama-ttsbuild,ffmpeg), enabling snippet, fulltext_to_speech.*config table with the matchingINFER_TEXT_TO_SPEECH_*env vars, model presets (base/q8/bf16), tool parameters (text,voice_sample,output_path), voice-cloning guidance, and a troubleshooting table (missingllama-tts, missingffmpeg, model-download errors, slow first call, bad clones, timeouts).cli.md- new Audio row in the tool-categories table and aTextToSpeechsection beside the Image tools, both stating the opt-in gating (tool definition absent from the LLM payload whiletext_to_speech.enabledis false)..vitepress/config.ts- "Text-to-Speech" in both sidebars, next to Speech-to-Text; plus a cross-link added to the speech-to-text page's Related list.Values were taken from the PR branch's
TextToSpeechConfigstruct rather than paraphrased, so defaults (timeout: 300,~/.infer/tts,~/.infer/models/tts) match the implementation.Not done: nothing else in the repo enumerates config-gated tools, so there was no separate "opt-in tools" list to update. Since cli#1118 is still open, the docs describe unreleased behavior - worth landing after it merges.
configuration.mdis generator-owned (gateway schema), so CLI-only keys stay on the CLI page, matching howspeech_to_textis documented.inference-gateway-releaser commentedon Aug 28, 2026
🎉 This issue has been resolved in version 0.9.13 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀
feat(tts): add opt-in TextToSpeech tool with local Qwen3-TTS synthesis (