Skip to content

docs: document the POST /audio/sfx operation - #708

Merged
edenreich merged 1 commit into
mainfrom
docs/issue-704-20260922-1200
Sep 22, 2026
Merged

edenreich merged 1 commit into
mainfrom
docs/issue-704-20260922-1200

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

Documents the new POST /audio/sfx gateway extension (text prompt -> non-speech audio clip).

  • api-reference.md: new Sound effects subsection under the Audio API with the endpoint, a curl example via ElevenLabs, the raw-bytes response, and the full CreateSFXRequest field table (ranges and defaults for duration_seconds, prompt_influence, loop, response_format). Notes that ElevenLabs produces only mp3, opus and pcm and that other formats are rejected with 400.
  • Split the Audio API intro into speech vs sound effects, and documented the separate 400 Bad Request (Sound effect generation is not supported by this provider yet.) for providers without text-to-sound support.
  • No SDK wraps the endpoint yet (checked the TypeScript/Go/Rust/Python SDK repos), so the second example is a plain fetch call with a note; a follow-up issue tracks SDK coverage.
  • supported-providers.md: the ElevenLabs entry now reads audio-only (speech plus sound effects) instead of speech-only, and links to the new section.

Verified with bun run lint:md, bun run format:check, bun test and bun run build (anchors confirmed in the built HTML).

Closes #704

@inference-gateway-releaser

inference-gateway-releaser Bot commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

🗑️ Preview environment destroyed.

@edenreich
edenreich merged commit 8e9b2ab into main Sep 22, 2026
1 check passed
@edenreich
edenreich deleted the docs/issue-704-20260922-1200 branch September 22, 2026 14:04
inference-gateway-releaser Bot added a commit that referenced this pull request Sep 22, 2026
## [0.9.14](0.9.13...0.9.14) (2026-09-22)

### 📚 Documentation

* add music 400 error and fix elevenlabs music model id ([#714](#714)) ([33136ab](33136ab))
* add sdks.md to generated list and note pre-commit hook in AGENTS.md ([#687](#687)) ([60d6563](60d6563))
* add voice cloning section to audio api ([#612](#612)) ([713d474](713d474))
* askuserquestion is available in all modes ([#673](#673)) ([b7fd49d](b7fd49d))
* **cli:** document chat-capable model picker filter and empty opt-in exclude_models default ([#611](#611)) ([9110f45](9110f45))
* **cli:** document per-step token_usage custom event in ag-ui headless stream ([#701](#701)) ([e4d6178](e4d6178))
* **cli:** document reset disk-space totals ([#695](#695)) ([5a22260](5a22260)), closes [#694](#694)
* **cli:** drop hardcoded version pin from cli page ([#622](#622)) ([5bce552](5bce552))
* **cli:** rename per-mode prompts to mode adjustments ([#624](#624)) ([182e594](182e594))
* condense AGENTS.md ([#596](#596)) ([d7ba57f](d7ba57f))
* correct ENABLE_VISION behavior description ([#652](#652)) ([f14929d](f14929d))
* correct inverted VISION_ENABLED stripping behavior ([#667](#667)) ([1e94197](1e94197))
* desktop browser use via opentask extension ([#677](#677)) ([f10affe](f10affe))
* **desktop:** document fps, clip framing and trims ([#699](#699)) ([8cbeeee](8cbeeee))
* **desktop:** document the captions track and presets ([#697](#697)) ([eb8b7c1](eb8b7c1))
* document ~/.infer/auth.json key fallback ([#645](#645)) ([1bb807b](1bb807b))
* document ~/.infer/tmp media dirs and auth.yaml ([#691](#691)) ([9f7e0b2](9f7e0b2))
* document ag-ui RUN_FINISHED result keys ([#674](#674)) ([32db136](32db136))
* document AUTH_OIDC_AUDIENCE and new auth examples ([#668](#668)) ([c9918bc](c9918bc))
* document auto-with-judge mode and judge.yaml ([#634](#634)) ([9c97fbd](9c97fbd))
* document content projects and overlay cards ([#685](#685)) ([40f12c9](40f12c9))
* document desktop text-to-speech and voice samples ([#658](#658)) ([07b3c3d](07b3c3d))
* document elevenlabs music models in /v1/models ([#716](#716)) ([4aa2f42](4aa2f42))
* document go sdk CreateSpeech audio api ([#614](#614)) ([ca50daa](ca50daa))
* document INFER_MODEL for generated infer.yml ([#655](#655)) ([acdeba7](acdeba7)), closes [#654](#654)
* document language field on /v1/audio/speech ([#629](#629)) ([2e760eb](2e760eb))
* document local/qwen3-tts speech engine ([#627](#627)) ([37ed950](37ed950))
* document model selector capability tabs and view-only rows ([#640](#640)) ([01971fa](01971fa))
* document POST /v1/audio/music ([#713](#713)) ([50a005f](50a005f))
* document RequestApproval judge escalation tool ([#636](#636)) ([954014a](954014a))
* document rust adk tool.<name> tracing spans ([#683](#683)) ([1097c2f](1097c2f))
* document the /reset chat shortcut ([#690](#690)) ([52b6120](52b6120))
* document the /videos operations and the audio avatar extension ([#711](#711)) ([0dc901b](0dc901b))
* document the audio speech endpoint ([#608](#608)) ([f28a448](f28a448))
* document the elevenlabs speech provider ([#706](#706)) ([1412999](1412999))
* document the POST /audio/sfx operation ([#708](#708)) ([8e9b2ab](8e9b2ab))
* document tool.<name> spans in typescript adk ([#682](#682)) ([65b6e35](65b6e35))
* document voice_sample samples-library fallback ([#659](#659)) ([511cdd5](511cdd5))
* drop duplicate judge mode nav entry ([#686](#686)) ([95cd0b0](95cd0b0))
* **github-action:** document enable-git-hooks and hooks-path inputs ([#598](#598)) ([59e0e76](59e0e76)), closes [#597](#597)
* **github-action:** point infer-action snippets at [@main](https://github.com/main) and fix drifted input defaults ([#617](#617)) ([bcc5e19](bcc5e19))
* link sfx and music sdk gaps to tracking issues ([#715](#715)) ([d755eb3](d755eb3))
* mark llamacpp speech as work in progress ([#653](#653)) ([5e00bb6](5e00bb6))
* move gateway binary and logs to home dir ([#603](#603)) ([b4e9e09](b4e9e09))
* note all ollama cloud models are subscription-gated ([#639](#639)) ([0557904](0557904))
* note tts engine validation skipped when disabled ([#631](#631)) ([dc0c6a4](dc0c6a4))
* rename enable_images env var to images_enabled ([#649](#649)) ([3b54fd6](3b54fd6))
* rename ENABLE_IMAGES to IMAGES_ENABLED ([#644](#644)) ([638b00c](638b00c))
* rename ENABLE_VISION to VISION_ENABLED and record deprecation ([#662](#662)) ([c249426](c249426))
* **sdks:** add python create_speech audio api section ([#621](#621)) ([19a1985](19a1985))
* **sdks:** add rust create_speech audio api section ([#619](#619)) ([81b3e5f](81b3e5f))
* **sdks:** add typescript createSpeech audio api section ([#620](#620)) ([0960e21](0960e21))
* update conversation storage to home-dir layout ([#601](#601)) ([3b7e505](3b7e505))
* update go version references to 1.26.7 ([#648](#648)) ([1efd6fd](1efd6fd))
* use --user in infer skills install examples ([#693](#693)) ([2754254](2754254))

### 🔧 Miscellaneous

* **deps-dev:** bump @types/node from 26.4.0 to 26.4.1 in the bun group ([#664](#664)) ([62b36a7](62b36a7))
* **deps-dev:** bump the bun group with 2 updates ([#675](#675)) ([6da6ef3](6da6ef3))
* **deps-dev:** bump the bun group with 3 updates ([#604](#604)) ([e744776](e744776))
* **deps-dev:** bump the bun group with 3 updates ([#702](#702)) ([db1855e](db1855e))
* **deps:** bump claude-code 2.1.238 -> 2.1.245 ([#641](#641)) ([a578783](a578783))
* **deps:** bump claude-code 2.1.245 -> 2.1.266 ([#678](#678)) ([9983390](9983390))
* **deps:** bump infer CLI v0.183.0 -> v0.192.0 ([#679](#679)) ([a4d333e](a4d333e))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.9.14 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] Document the new POST /audio/sfx operation

1 participant