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 TextToSFX tool (text-to-sound-effect generation) #723
The CLI just added a TextToSFX tool for text-to-sound-effect generation (inference-gateway/cli#1227, PR: inference-gateway/cli#1268). It turns a text prompt into a short sound effect or ambience clip (a whoosh, a click, a riser, room tone) through the gateway's SFX API (POST /v1/audio/sfx, gateway v0.54.0) with the model elevenlabs/eleven_text_to_sound_v2, saved as a WAV file. The tool is gated by text_to_sfx.enabled (default false) and mirrors the existing TextToSpeech and TextToMusic tools.
Affected pages
The following pages in the cli repo are already updated by the PR and can serve as the source material:
docs/tools-reference.md: new "TextToSFX Tool" section (parameters, config block)
docs/configuration-reference.md: INFER_TEXT_TO_SFX_* env vars and the text_to_sfx YAML block
Suggested follow-up in the docs repo (mirroring how text-to-speech and text-to-music are covered):
A text-to-sfx guide page covering enabling, gateway requirements (AUDIO_ENABLED=true plus an ElevenLabs key on the gateway), the prompt/seconds/loop/output_path knobs, and troubleshooting
Any tool listing / navigation that enumerates agent tools gains TextToSFX
Cross-link from the text-to-music and text-to-speech pages to the new page (shared output_path rules, non-speech vs speech vs music)
cli.md: new TextToSFX Tool section - parameters (prompt, seconds 0.5-30, loop, output_path), the text_to_sfx YAML block, the INFER_TEXT_TO_SFX_* env var table, gateway requirements (AUDIO_ENABLED=true + an ElevenLabs key, gateway v0.54.0) and the failure behavior. Plus TextToSFX in the Audio row of the tool category table and ~/.infer/tmp/sfx in the userspace tmp tree table.
api-reference.md: the Sound Effects section links to the CLI tool.
cli-text-to-speech.md: Related now points at the non-speech siblings and the shared output_path rule.
Not done, deliberately: no standalone cli-text-to-sfx.md page. TextToMusic lives as a section in cli.md, and SFX has no local-engine story the way text-to-speech does - a page would be one section of prose duplicated. Add one when SFX grows engine/model choices.
Flagged for review: the CLI requests response_format: wav, but the api-reference field table says ElevenLabs serves only mp3, opus and pcm. Docs follow the CLI PR (WAV); if the gateway does not transcode, one of the two pages is wrong. Noted in the PR body.
| Branch
Activity
edenreich commentedon Sep 22, 2026
@claude Can you work on this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Sep 22, 2026
Claude finished @edenreich's task in 2m 30s —— View job •
docs/issue-723-20260922-1850• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-723-20260922-1850?quick_pull=1&title=Issue%20%23723%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23723%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documenting the TextToSFX tool
cli.md(tool listing + tmp-tree table)api-reference.mdandcli-text-to-speech.mdlint:md,format:check,build- all passPR: #724
What changed
cli.md: new TextToSFX Tool section - parameters (prompt,seconds0.5-30,loop,output_path), thetext_to_sfxYAML block, theINFER_TEXT_TO_SFX_*env var table, gateway requirements (AUDIO_ENABLED=true+ an ElevenLabs key, gateway v0.54.0) and the failure behavior. PlusTextToSFXin the Audio row of the tool category table and~/.infer/tmp/sfxin the userspace tmp tree table.api-reference.md: the Sound Effects section links to the CLI tool.cli-text-to-speech.md: Related now points at the non-speech siblings and the sharedoutput_pathrule.Not done, deliberately: no standalone
cli-text-to-sfx.mdpage.TextToMusiclives as a section incli.md, and SFX has no local-engine story the way text-to-speech does - a page would be one section of prose duplicated. Add one when SFX grows engine/model choices.Flagged for review: the CLI requests
response_format: wav, but the api-reference field table says ElevenLabs serves onlymp3,opusandpcm. Docs follow the CLI PR (WAV); if the gateway does not transcode, one of the two pages is wrong. Noted in the PR body.| Branch
feat(tools): add TextToSFX tool for text-to-sound-effect generation (#…
inference-gateway-releaser commentedon Sep 23, 2026
🎉 This issue has been resolved in version 0.9.15 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀